Re: [EXT] Re: [PATCH] tools/mrvl_uart.sh: Remove script

2022-02-05 Thread Kostya Porotchkin
Hi, Stefan, From: Stefan Roese Sent: Friday, February 4, 2022 07:46 To: Pali Rohár ; Marek Behún Cc: u-boot@lists.denx.de ; Kostya Porotchkin Subject: [EXT] Re: [PATCH] tools/mrvl_uart.sh: Remove script External Email -

Re: [PATCH] apple: Fix debug uart clock rate

2022-02-05 Thread Sean Anderson
On 2/5/22 6:14 PM, Mark Kettenis wrote: The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 Hz. nit: kHz? Signed-off-by: Mark Kettenis --- configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/apple_m1_defcon

[PATCH] apple: Fix debug uart clock rate

2022-02-05 Thread Mark Kettenis
The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 Hz. Signed-off-by: Mark Kettenis --- configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig index cb235e4e7d..71ffbc6

[PATCH] drivers: serial: Make sure we really return a serial device

2022-02-05 Thread Mark Kettenis
The stdout-path property in the device tree does not necessarily point at a serial device. The code that binds the device if it isn't marked to be bound before relocation does not check whether the device really is a serial device. So check that its uclass is UCLASS_SERIAL before probing it. Signe

Pull request for efi-2022-04-rc2-2

2022-02-05 Thread Heinrich Schuchardt
Dear Tom, I removed the problematic mkeficapsule series now and added a patch to get rid of the malloc.h usage. The following changes since commit 3aaabfe9ff4bbcd11096513b1b28d1fb0a40800f: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-02-03 23:24:31 -050

Re: [PATCH v10 6/9] tools: mkeficapsule: allow for specifying GUID explicitly

2022-02-05 Thread Heinrich Schuchardt
On 2/1/22 02:27, AKASHI Takahiro wrote: The existing options, "--fit" and "--raw," are only used to put a proper GUID in a capsule header, where GUID identifies a particular FMP (Firmware Management Protocol) driver which then would handle the firmware binary in a capsule. In fact, mkeficapsule d

Re: Pull request for efi-2022-04-rc2

2022-02-05 Thread Heinrich Schuchardt
On 2/5/22 20:07, Heinrich Schuchardt wrote: On 2/5/22 17:50, Tom Rini wrote: On Sat, Feb 05, 2022 at 02:52:17PM +0100, Heinrich Schuchardt wrote: Dear Tom, The following changes since commit 3aaabfe9ff4bbcd11096513b1b28d1fb0a40800f:    Merge branch 'master' of https://source.denx.de/u-boot/c

[PATCH 1/1] tools: mkeficapsule: dont use malloc.h

2022-02-05 Thread Heinrich Schuchardt
malloc() functions are declared via stdlib.h. Including malloc.h can lead to build errors e.g. on OS-X. Signed-off-by: Heinrich Schuchardt --- tools/mkeficapsule.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/mkeficapsule.c b/tools/mkeficapsule.c index 243fd6e483..d6e3725e5f 100644

Re: Pull request for efi-2022-04-rc2

2022-02-05 Thread Heinrich Schuchardt
On 2/5/22 17:50, Tom Rini wrote: On Sat, Feb 05, 2022 at 02:52:17PM +0100, Heinrich Schuchardt wrote: Dear Tom, The following changes since commit 3aaabfe9ff4bbcd11096513b1b28d1fb0a40800f: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-02-03 23:24:31 -

Re: Pull request for efi-2022-04-rc2

2022-02-05 Thread Tom Rini
On Sat, Feb 05, 2022 at 02:52:17PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 3aaabfe9ff4bbcd11096513b1b28d1fb0a40800f: > > Merge branch 'master' of > https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-02-03 > 23:24:31 -0500) > > are availabl

[PATCH v1 1/2] imx: imx8qm_rom7720: Increase CONFIG_SYS_BOOTM_LEN to 64MB

2022-02-05 Thread sbabic
> Increase CONFIG_SYS_BOOTM_LEN to 64MB > Signed-off-by: Oliver Graute Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Mu

[PATCH v4 1/2] GPIO: fxl6408: Add support for FXL6408 GPIO expander

2022-02-05 Thread sbabic
> From: Oleksandr Suvorov > Initial support for Fairchild's 8 bit I2C gpio expander FXL6408. > The CONFIG_FXL6408_GPIO define enables support for such devices. > Based on: https://patchwork.kernel.org/patch/9148419/ > Signed-off-by: Oleksandr Suvorov > Reviewed-by: Simon Glass > Tested-by: Marce

[PATCH v2] arm: dts: imx8mq kernel dts updates

2022-02-05 Thread sbabic
> Update to the 5.16 imx8mq dts files and dt bindings > Changes since v1: > Dropped rfkill.h that is not in linux mainline yet. > Signed-off-by: Angus Ainslie > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH 05/20] imx8ulp: clock: Add MIPI DSI clock and DCNano clock

2022-02-05 Thread sbabic
> From: Ye Li > Add the DSI clock enable and disable with PCC reset used. > Add the LCD pixel clock calculation and configuration for DCNano > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2022-02-05 Thread sbabic
> Now the dts information corresponds to the one available in the kernel. > With this patch applied the 'mtd list' shows proper names and > offsets for MTD partitions. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH 2/2] ARM: imx: imx8m: Add PLL 1.4 GHz, 1.5 GHz, 1.6 GHz, 1.8 GHz options

2022-02-05 Thread sbabic
> Add PLL 1.4 GHz, 1.5 GHz, 1.6 GHz, 1.8 GHz options for iMX8M SoCs > in case they should be operated faster, e.g. to improve boot time. > Signed-off-by: Marek Vasut > Cc: Peng Fan > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH v7 1/2] arm: dts: add imx8mp-rsb3720-a1 dts file

2022-02-05 Thread sbabic
> From: "Ying-Chun Liu (PaulLiu)" > Add board dts for Advantech's imx8mp-rsb3720-a1 > Signed-off-by: Darren Huang > Signed-off-by: Kevin12.Chen > Signed-off-by: Phill.Liu > Signed-off-by: Tim Liang > Signed-off-by: wei.zeng > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: uboot-imx Applied to

[PATCH] imx8mn-ddr4-evk: generate single bootable image

2022-02-05 Thread sbabic
> As suggested in commit 028abfd9b157 ("imx8mm-evk: Generate a single > bootable flash.bin again") for imx8mm_evk, it is possible to produce > single bootable image via binman. This restores the original behavior in > distros, where only one boot container is used to create target image. > Perform

[PATCH 2/3] doc: sl-mx8mm: Remove ATF_LOAD_ADDR export

2022-02-05 Thread sbabic
> imx8mm-u-boot.dtsi passes the ATF load address via the > 'entry' and 'load' properties. > Remove the step that performs the ATF_LOAD_ADDR export, which is > now unneeded. > Signed-off-by: Fabio Estevam > Reviewed-by: Patrick Wildt Applied to u-boot-imx, master, thanks ! Best regards, Stefano B

[PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF

2022-02-05 Thread sbabic
> This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected. > Signed-off-by: Heiko Thiery > Reviewed-by: Giulio Benetti Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 07/20] imx8ulp_evk: Control LPI2C0 PCA6416 and TPM0 for display

2022-02-05 Thread sbabic
> From: Ye Li > The board use IO9 of PCA6416 on LPI2C0 and TPM0 for MIPI DSI MUX and > backlight. However the LPI2C0 and TPM0 are M33 resources, in this > patch we simply access them, but this is a temporary solution. > We will modify it when M33 FW changes to set MIPI DSI panel as default > path

[PATCH v2 3/4] arm: xea: config: Provide special defconfig for a single binary u-boot

2022-02-05 Thread sbabic
> The new configs/imx28_xea_sb_defconfig is introduced to facilitate > building the single binary u-boot.sb fox XEA board. > The biggest distinction from "normal" XEA imx28_xea_sb_defconfig is > support for USB mass storage devices (pen drives). > To achieve that, the CONFIG_DM_USB is enabled and s

[PATCH] ARM: dts: imx6q-dhcom: Use 1G ethernet on the PDK2 board

2022-02-05 Thread sbabic
> From: Christoph Niedermaier > The PDK2 board is capable of running both 100M and 1G ethernet. However, > the i.MX6 has only one ethernet MAC, so it is possible to configure > either 100M or 1G Ethernet. In case of 100M option, the PHY is on the > SoM and the signals are routed to a RJ45 port. Fo

[PATCH v2 4/4] arm64: dts: imx8mq-u-boot.dtsi: improve odd blob-ext naming

2022-02-05 Thread sbabic
> Rather than using odd implicit blob-ext naming, explicitly specify the > type to be of blob-ext and therefore also simplify the node naming. > Signed-off-by: Patrick Wildt > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] arm64: dts: imx8mm: Add missing MX8MM_IOMUXC_NAND_READY_B_SD3_RESET_B

2022-02-05 Thread sbabic
> The i.MX8M Mini Application Processor Reference Manual, Rev. 3, 11/2020 > documents AF MX8MM_IOMUXC_NAND_READY_B_SD3_RESET_B , add it into the > pinmux tables. > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, than

[PATCH 06/20] imx8ulp: rdc: allow A35 access flexspi0 mem

2022-02-05 Thread sbabic
> From: Ye Li > For singel boot, set flexspi0 mem to be accessed by A35 > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH v1 2/2] colibri-imx7: improve env badblock management

2022-02-05 Thread sbabic
> Use the complete 512kb (4 blocks) nand partition reserved for u-boot > environment instead of just the first block, this allows the module > to have a working environment even if 3 blocks are bad. > Signed-off-by: Francesco Dolcini Applied to u-boot-imx, master, thanks ! Best regards, Stefano B

[PATCH] arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0

2022-02-05 Thread sbabic
> From: Oliver Stäbler > Fix address of the pad control register > (IOMUXC_SW_PAD_CTL_PAD_SD1_DATA0) for SD1_DATA0_GPIO2_IO2. This seems > to be a typo but it leads to an exception when pinctrl is applied due to > wrong memory address access. > Signed-off-by: Oliver Stäbler > Reviewed-by: Fabio

[PATCH] mach-imx: iomux-v3: add a define for the SION bit

2022-02-05 Thread sbabic
> SION (Software Input On Field) - force the select mode input path > Signed-off-by: Angus Ainslie Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director:

[PATCH 1/1] imx8mm-cl-iot-gate-optee: add CONFIG_SPL_MMC and CONFIG_SPL_SERIAL

2022-02-05 Thread sbabic
> From: "Ying-Chun Liu (PaulLiu)" > Previously these two options are called CONFIG_SPL_MMC_SUPPORT > and CONFIG_SPL_SERIAL_SUPPORT. During the transition they are > removed by accident. Thus adding them back. > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: uboot-imx > Reviewed-by: Fabio Estevam

[PATCH 16/20] imx8ulp: clock: Handle the DDRLOCKED when setting DDR clock

2022-02-05 Thread sbabic
> From: Ye Li > The DDRLOCKED bit in CGC2 DDRCLK will auto lock up and down by HW > according to DDR DIV updating or DDR CLK halt status change. So DDR > PCC disable/enable will trigger the lock up/down flow. We > need wait until unlock to ensure clock is ready. > And before configuring the DDRCLK

[PATCH 03/20] imx8ulp: assign PXP/HIFI4/EPDC to APD domain

2022-02-05 Thread sbabic
> From: Peng Fan > Assign the PXP/HIFI4/EPDC to APD domain, otherwise APD not > able to receive interrupts from the modules. > Reviewed-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 15/20] imx8ulp: clock: Support to enable/disable the ADC1 clock

2022-02-05 Thread sbabic
> From: Alice Guo > This patch implements enable_adc1_clk() to enable or disable the ADC1 > clock on i.MX8ULP. > Reviewed-by: Ye Li > Signed-off-by: Alice Guo > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/2] ARM: dts: imx: Add labels to remaining anatop regulators

2022-02-05 Thread sbabic
> Add labels to remaining anatop regulators, so their supplies can be > assigned in board DTs. This is similar to Linux kernel commit > 93385546ba369 ("ARM: dts: imx6qdl-sabresd: Assign corresponding power supply > for LDOs") > except it does not contain the unrelated sabresd changes. > Signed-off

[PATCH] Makefile: imx: Do not call arch/arm/mach-imx flash.bin generation if BINMAN enabled

2022-02-05 Thread sbabic
> Skip running arch/arm/mach-imx flash.bin generation in case BINMAN is > enabled, otherwise the target in arch/arm/mach-imx/Makefile regenerates > the flash.bin again and produces corrupted result. > Signed-off-by: Marek Vasut > Cc: Peng Fan > Cc: Simon Glass > Reviewed-by: Simon Glass Applied

[PATCH] spi: mxc_spi: remove redundant code in spi_xchg_single()

2022-02-05 Thread sbabic
> From: Haolin Li > The value of cnt is overwritten without being used. > Signed-off-by: Haolin Li > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineerin

[PATCH 09/20] imx8ulp: Fix DCNANO QoS setting

2022-02-05 Thread sbabic
> From: Ye Li > The setting does not have effect because we should set it after > power on the PS16 for NIC AV. > So move it after upower_init which has powered on all PS > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regar

[PATCH 1/2] arm: dts: imx8mm-cl-iot-gate: add Compulab's ied overlays

2022-02-05 Thread sbabic
> From: "Ying-Chun Liu (PaulLiu)" > add the following overlays: > - IED extension board > - CAN/TPM/ADC extension board on IED board. > Signed-off-by: Uri Mashiach > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: uboot-imx Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board u-boot.dtsi

2022-02-05 Thread sbabic
> When using a board variant that selects the lvds specific dtb the > *.u-boot.dtsi file will not be included. To have a lvds dtb specific > u-boot.dtsi file move this part to a common board u-boot.dtsi file and > include this in the board base u-boot.dtsi and create an additional one > for the lvd

[PATCH] mxs: power: Change sequence of enabling DCDC switches

2022-02-05 Thread sbabic
> The imx28 uses following voltage supplies hierarchy: > VDD_5V (VDD_BAT) -> VDDIO -> VDDA -> VDDMEM >\-> VDDD > One shall first enable DCDC on the parent source (VDDIO) and then > follow with its children. > Signed-off-by: Lukasz Majewski > Reviewed-by: Jaehoon Chu

[PATCH] smegw01: Update DDR initialization

2022-02-05 Thread sbabic
> Sync with the latest DDR initialization from Phytec, which > uses version 1.2 of NXP's i.MX7D DRAM Register Programming Aid > spreadsheet. > This updated DDR initialization fixes occasional system freeze. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefa

[PATCH v4 2/2] colibri-imx8x: add on-module gpio expander fxl6408

2022-02-05 Thread sbabic
> From: Oleksandr Suvorov > The FXL6408 GPIO expander manages critical devices, > including on-module USB hub. Configure the expander to > switch the USB hub into bypass mode, allowing to use > on-carrier-board USB hub. > Signed-off-by: Oleksandr Suvorov > Signed-off-by: Oleksandr Suvorov Applie

[PATCH] imx: imx8mn_beacon: Enable TrustZone

2022-02-05 Thread sbabic
> When the board was added, enabling tzc380 was left off by > mistake. > Signed-off-by: Adam Ford > diff --git a/board/beacon/imx8mn/spl.c b/board/beacon/imx8mn/spl.c > index b5263ccfd7..bb51be01c5 100644 > --- a/board/beacon/imx8mn/spl.c > +++ b/board/beacon/imx8mn/spl.c > @@ -122,6 +122,8 @@ voi

[PATCH v2] imx: Enable ACTLR.SMP in SPL for i.MX6/7

2022-02-05 Thread sbabic
> Similar to what has been done before with c5437e5b for u-boot proper, we > enable the SMP bit for SPL as well. This is necessary when SDP booting > straight into Linux, i.e. falcon boot. When SDP boot mode is active, the > ROM code does not set this bit which makes the caches not work once > acti

[PATCH] regulator: bd718x7: Bypass bogus warnings

2022-02-05 Thread sbabic
> When regulator consumer attempts to set enabled DVS regulator voltage, > the driver aborts with "Only DVS bucks can be changed when enabled". > In case the regulator is already set to specified voltage, do nothing > instead of failing outright. > When regulator consumer attempts to set enables re

[PATCH 18/20] imx8ulp: implement to obtain the SoC current temperature

2022-02-05 Thread sbabic
> From: Alice Guo > Obatin the SoC current temperature in print_cpuinfo(). > Reviewed-by: Ye Li > Signed-off-by: Alice Guo > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DE

[PATCH] mx6: Use imx6_src_get_boot_mode() to check boot device

2022-02-05 Thread sbabic
> Use imx6_src_get_boot_mode() instead of manually reading SBMR1. The > existing function has proper handling for software overrides of the > bootdevice which can happen, for example, when booting from an alternate > source using `bmode`. > Signed-off-by: Harald Seiler > Reviewed-by: Fabio Esteva

[PATCH 01/20] imx8ulp: soc: Check the DBD_EN fuse before setting RDC

2022-02-05 Thread sbabic
> From: Ye Li > S400 enables RDC only when the DBD_EN is fused. Otherwise, the RDC > is allowed by all masters. > Current S400 has issue if the XRDC has released to A35, then A35 reset > will fail in ROM due to S400 fails to get XRDC. > So temp work around is checking the DBD_EN, if it is not fuse

[PATCH 1/1] configs: imx8mm-cl-iot-gate: update dfu_alt_info for single flash.bin

2022-02-05 Thread sbabic
> From: "Ying-Chun Liu (PaulLiu)" > We changed to single flash.bin now. So dfu_alt_info should be modified > to reflect this change. > Signed-off-by: Ying-Chun Liu (PaulLiu) > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH 1/3] doc: imx8mm_evk: Remove ATF_LOAD_ADDR export

2022-02-05 Thread sbabic
> imx8mm-u-boot.dtsi passes the ATF load address via the > 'entry' and 'load' properties. > Remove the step that performs the ATF_LOAD_ADDR export, which is > now unneeded. > Signed-off-by: Fabio Estevam > Reviewed-by: Patrick Wildt Applied to u-boot-imx, master, thanks ! Best regards, Stefano B

[PATCH 3/3] doc: verdin-imx8mm: Remove ATF_LOAD_ADDR export

2022-02-05 Thread sbabic
> imx8mm-u-boot.dtsi passes the ATF load address via the > 'entry' and 'load' properties. > Remove the step that performs the ATF_LOAD_ADDR export, which is > now unneeded. > Signed-off-by: Fabio Estevam > Reviewed-by: Patrick Wildt Applied to u-boot-imx, master, thanks ! Best regards, Stefano B

[PATCH 13/20] imx8ulp: clock: Support to reset DCNano and MIPI DSI

2022-02-05 Thread sbabic
> From: Ye Li > When LPAV is allocated to RTD, the LPAV won't be reset. So we have to > reset DCNano and MIPI DSI in u-boot before enabling the drivers > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic

[PATCH 3/3] arm64: dts: imx8mm: Add the pcie support

2022-02-05 Thread sbabic
> From: Richard Zhu > Add the PCIe support on i.MX8MM platforms. > Signed-off-by: Richard Zhu > Tested-by: Marcel Ziswiler > Reviewed-by: Tim Harvey > Tested-by: Tim Harvey > Signed-off-by: Shawn Guo > Signed-off-by: Marek Vasut # Pick from Linux 854a4766ac12 > ("arm64: dts: imx8mm: Add the

[PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50}

2022-02-05 Thread sbabic
> The clock composite is required when using the clock framework. So > select it automatically. > Signed-off-by: Heiko Thiery > Reviewed-by: Giulio Benetti Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[RESEND PATCH 1/2] imx: mx6ull: fix REFTOP_VBGADJ setting

2022-02-05 Thread sbabic
> The previous code wrote the contents of the fuse as is in the > REFTOP_VBGADJ[2:0], but this was wrong if you consider the contents of > the table in the code comment. This table is also different from the > table in the commit description. But then, which of the two is correct? > If it is assume

[PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot

2022-02-05 Thread sbabic
> Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy > environment variables. > Signed-off-by: Andrey Zhizhikin Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineerin

[PATCH v9] board: kontron: pitx-imx8m: Add Kontron pitx-imx8m board support

2022-02-05 Thread sbabic
> The Kontron pitx-imx8m is an NXP i.MX8MQ based board in the pITX form factor. > Signed-off-by: Heiko Thiery Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managin

[PATCH 10/20] imx8ulp: Remove freescale name from CPU revision

2022-02-05 Thread sbabic
> From: Ye Li > Remove the freescale vendor name from CPU revision print to align > with other i.MX platforms > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH v2 3/4] arm64: dts: imx8mm-u-boot.dtsi: use dash for node names

2022-02-05 Thread sbabic
> Some of the nodes were named using a underscore, so rectify this and > consistenly use dashes. > Signed-off-by: Patrick Wildt > Reviewed-by: Fabio Estevam > Reviewed-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 12/20] imx8ulp: clock: Reset DDR controller before clock enable

2022-02-05 Thread sbabic
> From: Ye Li > The LPAV is not allocated to APD when dual boot, so LPAV won't > reset when APD is reset. We have to explicitly reset the DDR, > otherwise its initialization will fail. > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks

[RESEND PATCH 2/2] mx6: crm_regs: drop BM_ANADIG_ANA_MISC0_REFTOP_VBGADJ

2022-02-05 Thread sbabic
> Commit 97c16dc8bf098 ("imx: mx6ull: update the REFTOP_VBGADJ setting") > made this macro unused. Then remove it. > Signed-off-by: Dario Binacchi > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH] imx: ventana: correct splashimage load address

2022-02-05 Thread sbabic
> Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to > CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with > SYS_LOADADDR. > Use the correct macro in environment by replacing CONFIG_LOADADDR with > CONFIG_SYS_LOADADDR. > Fixes: d75ebf3482c3 ("imx: ventana: fix splash logo

[PATCH v3] arm: xea: Modify board code to generate single binary u-boot

2022-02-05 Thread sbabic
> This change provides the possibility to build XEA (imx287 based) board > U-Boot as a single binary (without support for CONFIG_SPL_FRAMEWORK). > The generated u-boot.sb can be used in the factory environment to for > example perform initial setup or HW testing. > It can be used with 'uuu' utility

[PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig

2022-02-05 Thread sbabic
> CONFIG_SPL_MMC and CONFIG_SPL_SERIAL > Signed-off-by: Heiko Thiery > Reviewed-by: Frieder Schrempf Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Direct

[PATCH] imx8m: lock id_swap_bypass bit in tzc380 enable

2022-02-05 Thread sbabic
> According to TRM for i.MX8M Nano and Plus, GPR10 register contains lock > bit for TZASC_ID_SWAP_BYPASS bit. This bit is required to be set in > order to avoid AXI bus errors when GPU is enabled on the platform. > TZASC_ID_SWAP_BYPASS bit is alread set for all imx8m applicable > derivatives, but i

[PATCH 1/2] imx: imx8mm_beacon: Remove redundant code

2022-02-05 Thread sbabic
> The function to return the default MMC device for the environment > already has a __weak instance doing exactly the same thing. Remove > the superfluous one. > Signed-off-by: Adam Ford > diff --git a/board/beacon/imx8mm/imx8mm_beacon.c > b/board/beacon/imx8mm/imx8mm_beacon.c > index 87ffebb571

[PATCH] imx: nandbcb: Fix printf format in write_fcb

2022-02-05 Thread sbabic
> Correct printf format for unsigned long long is %llx and not %llxx. > Signed-off-by: Pali Rohár > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH 1/2] ARM: imx: imx8m: Align PLL 1.2 GHz option with Linux

2022-02-05 Thread sbabic
> Linux uses slightly different divider settings for the 1.2 GHz PLL > configuration, adjust the coefficients to match Linux. > Signed-off-by: Marek Vasut > Cc: Peng Fan > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 11/20] imx8ulp: Workaround LPOSC_TRIM fuse load issue

2022-02-05 Thread sbabic
> From: Ye Li > 8ULP ROM should read the LPOSC trim BIAS fuse to fill the CGC0 > LPOSCCTRL[7:0], but it writes a fixed value on A0.1 revision. > A0.2 will fix the issue in ROM. But A0.1 we have to workaround > it in SPL by setting LPOSCCTRL BIASCURRENT again. > Reviewed-by: Peng Fan > Signed-off-

[PATCH 2/2] ARM: dts: imx: Synchronize iMX6QDL DHCOM PDK2 DTs with Linux 5.15.12

2022-02-05 Thread sbabic
> Synchronize DH DHCOM DTs with Linux commit 25960cafa06e ("Linux 5.15.12"). > There is no functional change to the resulting DTs. The > imx6qdl-dhcom-pdk2.dtsi > had to be adjusted with additional headers, gpio.h, pwm.h, input.h, else > the DT cannot be compiled, the same change is likely necessa

[PATCH] imx8mm-venice-gw7902: fix M2_RST# gpio pinmux

2022-02-05 Thread sbabic
> Fix the invalid gw7902 M2_RST# gpio pinmux. > Signed-off-by: Tim Harvey > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Dire

[PATCH 2/2] arm: imx8m: imx8mm-cl-iot-gate: detect extension board

2022-02-05 Thread sbabic
> From: "Ying-Chun Liu (PaulLiu)" > Extension boards can be added to Compulab's iot-gate-imx8mm. > We implement extension board manager for detecting the extension > boards. > Signed-off-by: Uri Mashiach > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: uboot-imx Applied to u-boot-imx, master, tha

[PATCH 19/20] imx8ulp:ddr: saving the dram config timing data into sram

2022-02-05 Thread sbabic
> From: Jacky Bai > On i.MX8ULP, The dram config timing need to be saved into sram for > ddr retention when APD enter PD mode, so add this support on i.MX8ULP. > Reviewed-by: Ye Li > Signed-off-by: Jacky Bai > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefan

[PATCH 2/3] arm64: dts: imx8mm: Add the pcie phy support

2022-02-05 Thread sbabic
> From: Richard Zhu > Add the PCIe PHY support on iMX8MM platforms. > Signed-off-by: Richard Zhu > Tested-by: Marcel Ziswiler > Reviewed-by: Tim Harvey > Tested-by: Tim Harvey > Signed-off-by: Shawn Guo > Signed-off-by: Marek Vasut # Pick from Linux b9ec888f636f > ("arm64: dts: imx8mm: Add

[PATCH] cmd: bcb: fix bcb struct alignment issue

2022-02-05 Thread sbabic
> Without this patch the bcb struct could be located at an odd address > which resulted in data not being copied to the buffer. > Here was the repro steps (from Mattijs): > => mmc dev 1 > => bcb load 1 misc > => bcb dump command > : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 0010

[PATCH v2 4/4] arm: dts: Enable support for USB on XEA (imx28) board

2022-02-05 Thread sbabic
> This change enables the support for USB with DM on the XEA (imx28) > board. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managi

[PATCH v2 1/3] mx7ulp: select soc features

2022-02-05 Thread sbabic
> Force selecting features present in SoC i.MX7ULP. > Signed-off-by: Oleksandr Suvorov > Reviewed-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, M

[PATCH 20/20] imx8ulp: ddr: Fix DDR frequency request issue

2022-02-05 Thread sbabic
> From: Ye Li > After acking the requested frequency, should wait the ack bit clear > by DDR controller and check the DFS interrupt for next request polling. > Otherwise, the next polling of request bit will get previous value > that DDR controller have not cleared it, so a wrong request frequency

[PATCH v2] ARM: dts: imx6ull: Use the correct name for ESAI_TX0

2022-02-05 Thread sbabic
> According to the i.MX6ULL Reference Manual, pad CSI_DATA07 may > have the ESAI_TX0 functionality, not ESAI_T0. > Also, NXP's i.MX Config Tools 10.0 generates dtsi with the > MX6ULL_PAD_CSI_DATA07__ESAI_TX0 naming, so fix it accordingly. > There are no devicetree users in mainline that use the old

[PATCH] spl: Provide more space to be used for storing SPL on imx28 OCRAM

2022-02-05 Thread sbabic
> With the current configuration provided in mxsimage{-spl}.mx28.cfg the > size of SPL binary has been constrained to 32 KiB, due to "LOAD IVT" > command with 0x8000 offset. > The problem was that, the imx28 ROM takes the u-boot.sb and then > extracts from it the IVT header and places it on the 0x8

[PATCH v2 1/4] arm64: dts: imx8mq-u-boot.dtsi: alphabetically re-order properties

2022-02-05 Thread sbabic
> Alphabetically re-order properties. > Signed-off-by: Patrick Wildt > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director:

[PATCH 14/20] imx8ulp: Update ethernet mac to get from fuse

2022-02-05 Thread sbabic
> From: Ye Li > Get the MAC address from fuse bank5 word 3 and 4. It has > MSB first at lowest address, so have a reverse order with other > iMX used in mac.c > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano

[PATCH V2 1/2] arm: dts: imx8mm-beacon: Resync dtsi with Kernel 5.17-rc1

2022-02-05 Thread sbabic
> Resync the SOM and baseboar files with the device trees that will > be included in 5.17-RC1 when it's cut. This will improve pinmuxing > for USDHC1 and add USB functionality. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam > diff --git a/arch/arm/dts/imx8mm-beacon-baseboard.dtsi > b/a

[PATCH 04/20] imx8ulp: clock: Support LPAV clocks in cgc and pcc

2022-02-05 Thread sbabic
> From: Ye Li > Add the PCC5 clocks support and more LPAV clocks and PLL4 PFD in CGC. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Eng

[PATCH v2 3/3] mx7ulp_com: add support for SPL

2022-02-05 Thread sbabic
> From: Ricardo Salveti > Add EA iMX7ULP COM board support for building SPL. > Signed-off-by: Ricardo Salveti > Signed-off-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX So

[PATCH] imx: imx8mn_beacon: Fix USB booting

2022-02-05 Thread sbabic
> The i.MX8M Nano can boot over USB using the boot ROM instead of > adding extra code to SPL to support USB drivers, etc. However, > when booting from USB, the environment doesnt' know where to load > and causes a hang. Fix this hang by supporting CONFIG_ENV_IS_NOWHERE=y. > It only falls back to

[PATCH 02/20] arm: imx8ulp: Allocate LPAV resources to AP domain

2022-02-05 Thread sbabic
> From: Ye Li > When single boot, assign AP domain as the master domain of the LPAV. > Allocates LPAV master and slave resources like GPU, DCNano, MIPI-DSI > eDMA channel and eDMA request to APD > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regard

[PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy

2022-02-05 Thread sbabic
> From: Richard Zhu > Add binding for reference clock PAD modes of the i.MX8 PCIe PHY. > Signed-off-by: Richard Zhu > Tested-by: Marcel Ziswiler > Reviewed-by: Tim Harvey > Tested-by: Tim Harvey > Reviewed-by: Rob Herring > Link: > https://lore.kernel.org/r/1638432158-4119-2-git-send-email-h

[PATCH] ARM: imx8m: support env in fat and ext4

2022-02-05 Thread sbabic
> Change boot device logic to also allow environment stored in fat and in > ext4 when booting from SD or from eMMC. > As the boot device check for SD and for eMMC was depending on > ENV_IS_IN_MMC being defined, change the ifdef blocks at env_get_location > to use IS_ENABLED instead for all modes, r

[PATCH v2 2/4] arm64: dts: imx8mq-u-boot.dtsi: explicitly add spl filename

2022-02-05 Thread sbabic
> Explicitly add SPL aka u-boot-spl.bin filename. > Signed-off-by: Patrick Wildt > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managi

[PATCH] arm: imx: imx8mq: add support to get values for more clocks

2022-02-05 Thread sbabic
> Return the root clock values for MXC_CSPI_CLK, MXC_I2C_CLK, > MXC_UART_CLK and MXC_QSPI_CLK. > At least for the I2C clock the missing support leads to a wrong > configured I2C frequency. The expected value is 100kHz but the resulting > value is about 1MHz. > Signed-off-by: Heiko Thiery > Reviewe

[PATCH v1 2/2] imx: imx8qm_rm7720: adjust fdt_addr

2022-02-05 Thread sbabic
> The Linux Kernel Image size for arm64 is still growing. > A Kernel with 54 MB at load address 0x8028 overlaps > with fdt_addr at 0x8300. So let's increase it to 0x8400 > Signed-off-by: Oliver Graute Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH v6 1/1] imx8mn_var_som: Add support for Variscite VAR-SOM-MX8M-NANO board

2022-02-05 Thread sbabic
> Add support for iMX8MN VAR-SOM-MX8M-NANO board. Enables support for: > - 1GiB DDR4 RAM > - 16 GiB eMMC > - SD card > - Gigabit ethernet > - USBOTG1 peripheral - fastboot > Signed-off-by: Ariel D'Alessandro > Reviewed-by: Tom Rini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, than

[PATCH V2 2/2] imx: imx8mm_beacon: Enable USB

2022-02-05 Thread sbabic
> With the updated device tree's having USB support, enable in > U-Boot. This also requires the addition of the imx8m power > domain, since the USB is gated by the power domain controller. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regar

[PATCH V3] cmd_nandbcb: Support secondary boot address of imx8mn

2022-02-05 Thread sbabic
> Add support of secondary boot address for imx8mn. The secondary > boot address is hardcoded in the fuse. The value is calculated > from there according to the following description: > The fuse IMG_CNTN_SET1_OFFSET (0x490[22:19]) is defined as follows: > - Secondary boot is disabled if fuse value

[PATCH 08/20] imx8ulp: Set DCNANO read QoS on NIC_LPAV to highest

2022-02-05 Thread sbabic
> From: Ye Li > To avoid DCNANO underrun issue on high loading test, set its > read Qos on NIC_LPAV to highest > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 2/2] imx: imx8mn_beacon: Remove redundant code

2022-02-05 Thread sbabic
> The function to return the default MMC device for the environment > already has a __weak instance doing exactly the same thing. Remove > the superfluous one. > Signed-off-by: Adam Ford > diff --git a/board/beacon/imx8mn/imx8mn_beacon.c > b/board/beacon/imx8mn/imx8mn_beacon.c > index 7fe252b262

[PATCH v2] tools/mxsimage: Remove fclose on empty FILE pointer

2022-02-05 Thread sbabic
> If `sb_load_cmdfile()` fails to open the configuration file it will jump > to error handling where the code will try to `fclose()` the FILE pointer > which is NULL causing `mkimage` to segfault. > This patch removes the label for error handling and instead returns > immediately which skips the `f

[PATCH 7/7] imx8m: Add imx8mm_beacon_fspi

2022-02-05 Thread Adam Ford
A special configuration is needed to build U-Boot, SPL and the FlexSPI Configuration block. Add a defconfig with this added and enable SPI booting from the board file. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/MAINTAINERS b/board/beacon/imx8mm/MAINTAINERS index e887db20a2..d28eb

[PATCH 6/7] arm: dts: Add imx8mm-beacon-kit-flexspi

2022-02-05 Thread Adam Ford
Add a new device tree which changes the binman configuration for U-Boot to generate a flash.bin file with the added FlexSPI Configuration Block and moves SPL and U-Boot.itb Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 75ea7e8e37..df897d175a 100644 ---

  1   2   >