Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-14 Thread Pali Rohár
On Tuesday 15 November 2022 11:06:23 Peng Fan wrote: > On 11/9/2022 3:40 PM, Pali Rohár wrote: > > On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: > > > On 11/8/2022 4:03 PM, Pali Rohár wrote: > > > > On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: > > > > > > Subject: Re: [PATCH

Re: [PATCH] watchdog: designware: make reset really optional

2022-11-14 Thread Stefan Roese
goto err; --- base-commit: 0cbeed4f6648e0e4966475e3544280a69ecb59d3 change-id: 20221114-dw-wdt-no-reset-2296a2bf37b3 Best regards, Other than this: Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH 1/1] doc: fix documentation of enum gd_flags

2022-11-14 Thread Stefan Roese
On 14.11.22 10:25, Heinrich Schuchardt wrote: Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style. Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection") Signed-off-by: Heinrich Schuchardt Reviewed-by: Stefan Roese Thanks, Stefan ---

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-14 Thread Peng Fan
On 11/9/2022 3:40 PM, Pali Rohár wrote: On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: On 11/8/2022 4:03 PM, Pali Rohár wrote: On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize On Tuesday 08 November 2022 09:38:01

Re: [PATCH] rockchip: clk: add watchdog clock to px30_clk_enable

2022-11-14 Thread Kever Yang
k %ld\n", __func__, clk->id); --- base-commit: 0cbeed4f6648e0e4966475e3544280a69ecb59d3 change-id: 20221114-px30-wdt-clk-58c875b33d37 Best regards,

RE: [PATCH] include/configs: mx6/mx7: drop dangling comments

2022-11-14 Thread Peng Fan
> Subject: [PATCH] include/configs: mx6/mx7: drop dangling comments > > Cleanup some dangling comments left by automated migration processes > that are no longer value. > > Signed-off-by: Peter Robinson Acked-by: Peng Fan > --- > include/configs/mx6_common.h | 4 >

Re: [PATCH 1/2] udoo_neo: Move to DM for REGUALTOR/PMIC/I2C drivers

2022-11-14 Thread Peter Robinson
On Mon, Nov 14, 2022 at 10:50 PM Simon Glass wrote: > > On Mon, 14 Nov 2022 at 10:32, Fabio Estevam wrote: > > > > Hi Peter, > > > > On Mon, Nov 14, 2022 at 1:15 PM Peter Robinson wrote: > > > > > > This moves over the PMIC power init to DM and the associated i2c and > > > regulator bits. > > >

Re: [PATCH 06/10] Convert CONFIG_SYS_NAND_MAX_OOBFREE et al to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:38, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_MAX_OOBFREE >CONFIG_SYS_NAND_MAX_ECCPOS > > Signed-off-by: Tom Rini > --- > configs/CHIP_pro_defconfig | 1 + > configs/Nintendo_NES_Classic_Edition_defconfig

Re: [PATCH 08/10] Convert CONFIG_SYS_NAND_PAGE_2K et al to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:38, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_PAGE_2K >CONFIG_SYS_NAND_PAGE_4K > > Signed-off-by: Tom Rini > --- > configs/k2l_evm_defconfig | 1 + > configs/k2l_hs_evm_defconfig| 1 + >

Re: Peculiar problem executing boot.scr

2022-11-14 Thread Simon Glass
Hi, On Mon, 14 Nov 2022 at 06:50, Tasos Terzidis wrote: > > Hello, > > I have a very peculiar problem. > > I have a very simple boot.scr script so that u-boot can load it and run it. > > My set up is a Raspberry 3 B (32 bit) > > Sript is > > Fatload mmc 0:1 ${kernel_addr_r} kernel7.img > > Bootz

Re: [PATCH 10/10] global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_*

2022-11-14 Thread Simon Glass
n Sat, 12 Nov 2022 at 15:38, Tom Rini wrote: > > The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_NAND > namespace do not easily transition to Kconfig. In many cases they likely > should come from the device tree instead. Move these out of CONFIG > namespace and in to CFG namespace. >

Re: [PATCH 09/10] Convert CONFIG_SYS_NAND_SIZE to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:38, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_SIZE > > Signed-off-by: Tom Rini > --- > drivers/mtd/nand/raw/Kconfig | 5 + > include/configs/M5329EVB.h | 1 - > include/configs/M5373EVB.h | 1 - >

Re: [PATCH 04/10] Convert CONFIG_SYS_NAND_HW_ECC to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:38, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_HW_ECC > > Signed-off-by: Tom Rini > --- > configs/da850evm_nand_defconfig | 1 - > configs/k2e_evm_defconfig | 1 - > configs/k2e_hs_evm_defconfig| 1 - >

Re: [PATCH 02/10] Remove unused symbols

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:37, Tom Rini wrote: > > This commit removes the following unused symbols: >CONFIG_SYS_NAND_DDR_LAW >CONFIG_SYS_NAND_ECCSTEPS >CONFIG_SYS_NAND_ECCTOTAL >CONFIG_SYS_NAND_ENABLE_PIN_SPL >CONFIG_SYS_NAND_MX7_GPMI_62_ECC_BYTES >

Re: [PATCH 1/2] udoo_neo: Move to DM for REGUALTOR/PMIC/I2C drivers

2022-11-14 Thread Simon Glass
On Mon, 14 Nov 2022 at 10:32, Fabio Estevam wrote: > > Hi Peter, > > On Mon, Nov 14, 2022 at 1:15 PM Peter Robinson wrote: > > > > This moves over the PMIC power init to DM and the associated i2c and > > regulator bits. > > There is a typo in the Subject line: s/REGUALTOR/REGULATOR > > > diff

Re: [PATCH 1/1] doc: fix documentation of enum gd_flags

2022-11-14 Thread Simon Glass
On Mon, 14 Nov 2022 at 02:25, Heinrich Schuchardt wrote: > > Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style. > > Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion > protection") > Signed-off-by: Heinrich Schuchardt > --- > include/asm-generic/global_data.h

Re: [PATCH 07/10] Convert CONFIG_SYS_NAND_NO_SUBPAGE_WRITE to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:37, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_NO_SUBPAGE_WRITE > > Signed-off-by: Tom Rini > --- > README | 5 - > configs/k2e_evm_defconfig| 1 + > configs/k2e_hs_evm_defconfig

Re: [PATCH 03/10] Convert CONFIG_SYS_NAND_HW_ECC_OOBFIRST to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:37, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_HW_ECC_OOBFIRST > > Signed-off-by: Tom Rini > --- > README | 4 > configs/da850evm_nand_defconfig | 1 + > configs/omapl138_lcdk_defconfig | 1 + >

Re: [PATCH 05/10] mtd: nand: raw: atmel_nand: Use ATMEL_BASE_ECC directly

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:37, Tom Rini wrote: > > This is the only driver, and only one platform makes use of, setting > CONFIG_SYS_NAND_ECC_BASE. Reference ATMEL_BASE_ECC directly in this > case. > > Signed-off-by: Tom Rini > --- > drivers/mtd/nand/raw/atmel_nand.c | 18 +- >

Re: [PATCH 01/10] Convert CONFIG_SYS_NAND_DBW_8 et al to Kconfig

2022-11-14 Thread Simon Glass
On Sat, 12 Nov 2022 at 15:37, Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_SYS_NAND_DBW_8 >CONFIG_SYS_NAND_DBW_16 > > Note that all instances of the code check for CONFIG_SYS_NAND_DBW_16 > being defined, and then "else" to CONFIG_SYS_NAND_DBW_8 whereas all of > the

Re: [PATCH 1/1] sandbox: fix documentation of struct host_ops

2022-11-14 Thread Simon Glass
On Mon, 14 Nov 2022 at 02:28, Heinrich Schuchardt wrote: > > The documentation of struct host_ops should be Sphinx compliant. > > Fixes: 9bd1aa8af2ed ("dm: sandbox: Create a new HOST uclass") > Signed-off-by: Heinrich Schuchardt > --- > include/sandbox_host.h | 19 --- > 1 file

Re: [PATCH 1/1] Documentation: man-page for command bootd

2022-11-14 Thread Simon Glass
On Mon, 14 Nov 2022 at 02:31, Heinrich Schuchardt wrote: > > Provide a man-page for the bootd command. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/cmd/bootd.rst | 38 ++ > doc/usage/index.rst | 1 + > 2 files changed, 39 insertions(+) >

[PATCH] include/configs: mx6/mx7: drop dangling comments

2022-11-14 Thread Peter Robinson
Cleanup some dangling comments left by automated migration processes that are no longer value. Signed-off-by: Peter Robinson --- include/configs/mx6_common.h | 4 include/configs/mx7_common.h | 12 2 files changed, 16 deletions(-) diff --git a/include/configs/mx6_common.h

[PATCH v2 2/2] test: cmd: fdt: Add fdt get value test case

2022-11-14 Thread Marek Vasut
Add test case for 'fdt get value' sub command. The test case can be triggered using: " ./u-boot -d u-boot.dtb -c 'ut fdt' " Acked-by: Heinrich Schuchardt Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Simon Glass Cc: Tom Rini --- V2: - Add AB from Heinrich --- test/cmd/fdt.c |

[PATCH v2 1/2] cmd: fdt: Fix iteration over elements above index 1 in fdt get

2022-11-14 Thread Marek Vasut
Always increment both the iterator and pointer into the string property value by length of the current element + 1 (to cater for the string delimiter), otherwise the element extracted from the string property value would be extracted from an offset that is multiple of the length of the first

Re: [PATCH] rockchip: rk3399: pass platform parameter to TF-A by default

2022-11-14 Thread Jerome Forissier
On 11/14/22 18:37, Quentin Schulz wrote: > From: Quentin Schulz > > Long are gone the times TF-A couldn't handle the FDT passed by U-Boot. > Specifically, since commit e7b586987c0a ("rockchip: don't crash if we > get an FDT we can't parse") in TF-A, failure to parse the FDT will use > the

Re: [PATCH v2 2/2] udoo_neo: Select DM_SERIAL and drop iomux board level init

2022-11-14 Thread Fabio Estevam
On Mon, Nov 14, 2022 at 5:53 PM Peter Robinson wrote: > > Convert to DM_SERIAL and drop the iomux board file > level init as it's handled as part of the DM serial > layer instead. > > Signed-off-by: Peter Robinson Reviewed-by: Fabio Estevam

Re: [PATCH v2 1/2] udoo_neo: Move to DM for REGULATOR/PMIC/I2C drivers

2022-11-14 Thread Fabio Estevam
On Mon, Nov 14, 2022 at 5:53 PM Peter Robinson wrote: > > This moves over the PMIC power init to DM and the associated i2c and > regulator bits. > > Signed-off-by: Peter Robinson Reviewed-by: Fabio Estevam

[PATCH v2 2/2] udoo_neo: Select DM_SERIAL and drop iomux board level init

2022-11-14 Thread Peter Robinson
Convert to DM_SERIAL and drop the iomux board file level init as it's handled as part of the DM serial layer instead. Signed-off-by: Peter Robinson --- Changes in v2: - Drop no longer needed setup_iomux_uart and associated bits board/udoo/neo/neo.c | 26 +++---

[PATCH v2 1/2] udoo_neo: Move to DM for REGULATOR/PMIC/I2C drivers

2022-11-14 Thread Peter Robinson
This moves over the PMIC power init to DM and the associated i2c and regulator bits. Signed-off-by: Peter Robinson --- Changes in v2: - Fix spelling mistake - Drop unneeded DM_MMC - Drop dangling comment in udoo_neo.h board/udoo/neo/neo.c | 139 +++--

Re: Pull request: u-boot-imx u-boot-imx-20221114

2022-11-14 Thread Tom Rini
lable in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20221114 > > for you to fetch changes up to fc1c1760de38823edbdc2cdd9606dff938a07f6e: > > Revert "serial: mxc: have putc use the TXFIFO" (2022-11-12 14:1

Re: Please pull u-boot-i2c

2022-11-14 Thread Tom Rini
On Mon, Nov 14, 2022 at 10:12:10AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c: > > The following changes since commit 0cbeed4f6648e0e4966475e3544280a69ecb59d3: > > Merge branch '2022-11-10-symbol-migrations' (2022-11-10 10:09:40 -0500) > > are available in the

Re: [PATCH 04/11] imx: mx6ull/z_14x14_evk: clean up UART iomux

2022-11-14 Thread Peter Robinson
On Mon, Nov 7, 2022 at 7:14 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > After DM_SERIAL, and set pinctrl_uart1 as pre-reloc, no need initialize > iomux at board file. > > Signed-off-by: Peng Fan > --- > arch/arm/dts/imx6ull-14x14-evk-u-boot.dtsi | 8 >

Re: [PATCH 2/2] udoo_neo: Select DM_SERIAL

2022-11-14 Thread Fabio Estevam
On Mon, Nov 14, 2022 at 2:51 PM Peter Robinson wrote: > Yes, I realised that, I was going to do a follow up patch like some of > the other conversions I'd seen, but I'm reviewing a few other bits > while I'm at it. It is OK to do that on incremental patches, thanks.

Re: [PATCH 2/2] test: cmd: fdt: Add fdt get value test case

2022-11-14 Thread Marek Vasut
On 11/14/22 09:30, Heinrich Schuchardt wrote: On 11/13/22 21:45, Marek Vasut wrote: Add test case for 'fdt get value' sub command. The test case can be triggered using: " ./u-boot -d u-boot.dtb -c 'ut fdt' " Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Simon Glass Cc: Tom

Re: [PATCH 11/11] imx: mx6sabresd: select DM_SERIAL

2022-11-14 Thread Fabio Estevam
Hi Peng, On Mon, Nov 7, 2022 at 4:14 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Select DM_SERIAL When converting to DM_SERIAL, please also remove setup_iomux_uart() from the board code.

Re: [PATCH 2/2] udoo_neo: Select DM_SERIAL

2022-11-14 Thread Peter Robinson
On Mon, Nov 14, 2022 at 5:34 PM Fabio Estevam wrote: > > On Mon, Nov 14, 2022 at 1:15 PM Peter Robinson wrote: > > > > The conversion to DM_SERIAL is mandatory, so select this > > option. > > After converting it to DM_SERIAL, the setup_iomux_uart() could be removed. > > With that removed: Yes,

Re: [PATCH v4] schemas: Add schema for U-Boot driver model 'phase tags'

2022-11-14 Thread Rob Herring
+Ilias, Bill and Joakim On Sat, Nov 12, 2022 at 9:21 AM Simon Glass wrote: > > Hi Rob, > > (unfortunately I have a filter on this list due to the insane traffic > and am not sure how to let these emails through, so I just saw this)

[PATCH] rockchip: rk3399: pass platform parameter to TF-A by default

2022-11-14 Thread Quentin Schulz
imply TPL_SERIAL imply TPL_LIBCOMMON_SUPPORT --- base-commit: 0cbeed4f6648e0e4966475e3544280a69ecb59d3 change-id: 20221114-rk3399-tf-a-plat-param-3ab055f40b9e Best regards, -- Quentin Schulz

Re: [PATCH v4] schemas: Add schema for U-Boot driver model 'phase tags'

2022-11-14 Thread Simon Glass
+Ilias Apalodimas too On Mon, 14 Nov 2022 at 10:33, Simon Glass wrote: > > +Ilias Apalodimas too > > On Sat, 12 Nov 2022 at 08:21, Simon Glass wrote: >> >> Hi Rob, >> >> (unfortunately I have a filter on this list due to the insane traffic >> and am not sure how to let these emails through, so

Re: [PATCH 2/2] udoo_neo: Select DM_SERIAL

2022-11-14 Thread Fabio Estevam
On Mon, Nov 14, 2022 at 1:15 PM Peter Robinson wrote: > > The conversion to DM_SERIAL is mandatory, so select this > option. After converting it to DM_SERIAL, the setup_iomux_uart() could be removed. With that removed: Reviewed-by: Fabio Estevam

Re: [PATCH v4] schemas: Add schema for U-Boot driver model 'phase tags'

2022-11-14 Thread Simon Glass
+Ilias Apalodimas too On Sat, 12 Nov 2022 at 08:21, Simon Glass wrote: > Hi Rob, > > (unfortunately I have a filter on this list due to the insane traffic > and am not sure how to let these emails through, so I just saw this) > > On Thu, 10 Nov 2022 at 11:30, Rob Herring wrote: > > > > On

Re: [PATCH 1/2] udoo_neo: Move to DM for REGUALTOR/PMIC/I2C drivers

2022-11-14 Thread Fabio Estevam
Hi Peter, On Mon, Nov 14, 2022 at 1:15 PM Peter Robinson wrote: > > This moves over the PMIC power init to DM and the associated i2c and > regulator bits. There is a typo in the Subject line: s/REGUALTOR/REGULATOR > diff --git a/configs/udoo_neo_defconfig b/configs/udoo_neo_defconfig > index

[PATCH 2/2] udoo_neo: Select DM_SERIAL

2022-11-14 Thread Peter Robinson
The conversion to DM_SERIAL is mandatory, so select this option. Signed-off-by: Peter Robinson --- configs/udoo_neo_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/udoo_neo_defconfig b/configs/udoo_neo_defconfig index 6c29f8fd251..0c60e4a6f4a 100644 ---

[PATCH 1/2] udoo_neo: Move to DM for REGUALTOR/PMIC/I2C drivers

2022-11-14 Thread Peter Robinson
This moves over the PMIC power init to DM and the associated i2c and regulator bits. Signed-off-by: Peter Robinson --- Rebase this and I think I've fixed the previous build error reported by Stefano. board/udoo/neo/neo.c | 139 +++--

[PATCH] ARM: dts: at91: sama7g5: fix signal name of pin PD8

2022-11-14 Thread Mihai Sain
The signal name of pin PD8 with function D is A22_NANDCLE as it is defined in the datasheet. Fixes: 558378a4cd ("ARM: mach-at91: add support for new SoC sama7g5") Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5-pinfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [TF-A] Re: [RFC] Proposed location to host the firmware handoff specification.

2022-11-14 Thread Jose Marinho
Hi, We're glad to announce that the Firmware Handoff document sources are now available publicly from: https://github.com/FirmwareHandoff/firmware_handoff Note that this does not constitute a full "1.0" release of the document. There are still some topics raised in the ML that need to be

Peculiar problem executing boot.scr

2022-11-14 Thread Tasos Terzidis
Hello, I have a very peculiar problem. I have a very simple boot.scr script so that u-boot can load it and run it. My set up is a Raspberry 3 B (32 bit) Sript is Fatload mmc 0:1 ${kernel_addr_r} kernel7.img Bootz ${kernel_addr_r} - ${fdt_addr} When u-boot stops autocounting, finds the

Re: [PATCH 0/6] broken CVE fix (b85d130ea0ca)

2022-11-14 Thread Tom Rini
On Mon, Nov 14, 2022 at 10:35:51AM +0100, Rasmus Villemoes wrote: > On 14/10/2022 19.43, Rasmus Villemoes wrote: > > tl;dr: b85d130ea0ca didn't fix the CVE(s), but did break tftp of > > certain file sizes - which is somewhat lucky, since that's how I > > noticed in the first place. > > > > At

[PATCH] watchdog: designware: make reset really optional

2022-11-14 Thread Quentin Schulz
_read_prop(dev_ofnode(dev), "resets", )) { ret = reset_get_bulk(dev, >resets); if (ret) goto err; --- base-commit: 0cbeed4f6648e0e4966475e3544280a69ecb59d3 change-id: 20221114-dw-wdt-no-reset-2296a2bf37b3 Best regards, -- Quentin Schulz

[PATCH v2 9/9] MAINTAINERS: Adopt SanCloud boards

2022-11-14 Thread Paul Barker
Signed-off-by: Paul Barker Cc: Marc Murphy --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8d3d528650a7..3ab1dca33a4a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -485,6 +485,12 @@ F: arch/arm/mach-exynos/ F: arch/arm/mach-s5pc1xx/

[PATCH v2 5/9] am335x-evm: Fix spiboot configuration

2022-11-14 Thread Paul Barker
The advanced address translation provided by CONFIG_SPL_OF_TRANSLATE is needed to determine the base address of the uart0 peripheral on am335x platforms when CONFIG_SPL_OF_CONTROL is enabled. If CONFIG_SPL_OF_CONTROL is enabled in the base (non-spiboot) am335x_evm_defconfig, then

[PATCH v2 8/9] am335x-sancloud-bbe: Add -u-boot.dtsi files

2022-11-14 Thread Paul Barker
The SanCloud BBE requires the same dtb nodes to be present in the SPL as the AM335x EVM. The SanCloud BBE Lite also requires the SPI flash node and all dependencies to be present in the SPL to support SPI boot. Signed-off-by: Paul Barker --- .../dts/am335x-sancloud-bbe-lite-u-boot.dtsi | 44

[PATCH v2 7/9] am335x-sancloud-bbe-lite: SPI flash is JEDEC compatible

2022-11-14 Thread Paul Barker
Signed-off-by: Paul Barker --- arch/arm/dts/am335x-sancloud-bbe-lite.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/am335x-sancloud-bbe-lite.dts b/arch/arm/dts/am335x-sancloud-bbe-lite.dts index d6ef19311a91..8ffbc72dc57e 100644 ---

[PATCH v2 6/9] am335x-evm: Support STMicro/Micron SPI flash

2022-11-14 Thread Paul Barker
This change enables access to the SPI flash on the SanCloud BBE Lite board. Signed-off-by: Paul Barker --- configs/am335x_evm_defconfig | 1 + configs/am335x_evm_spiboot_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/am335x_evm_defconfig

[PATCH v2 4/9] am335x-evm: Enable required dtb nodes in SPL

2022-11-14 Thread Paul Barker
For successful boot when CONFIG_SPL_OF_CONTROL=y, we need to ensure that the board EEPROM on i2c0, the uart0 serial port and the relevant boot device (mmc1 or mmc2) can be accessed in the SPL. We also need to preserve the parent nodes for each required dtb node. Signed-off-by: Paul Barker ---

[PATCH v2 3/9] bus: Optionally include TI sysc driver in SPL/TPL

2022-11-14 Thread Paul Barker
The TI sysc bus driver is required to allow access to the SPI bus on am335x platforms. To support SPI boot this driver needs to be enabled in the SPL/TPL as appropriate. Signed-off-by: Paul Barker --- drivers/Makefile | 2 +- drivers/bus/Kconfig | 7 +++ drivers/bus/Makefile | 5 -

[PATCH v2 2/9] bus: TI sysc driver requires DM

2022-11-14 Thread Paul Barker
This driver does not build if CONFIG_DM is disabled as it uses the function `dev_get_priv`. Signed-off-by: Paul Barker --- drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index d742ed333b16..c607d24ecf60 100644

[PATCH v2 1/9] dm: core: Fix iteration over driver_info records

2022-11-14 Thread Paul Barker
We should only perform additional iteration steps when needed to initialize the parent of a device. Other binding errors (such as a missing driver) should not lead to additional iteration steps. Unnecessary iteration steps can cause issues when memory is tightly constrained (such as in the

[PATCH v2 0/9] Fixes for SPI boot on SanCloud BBE Lite

2022-11-14 Thread Paul Barker
These changes fix SPI boot on the SanCloud BBE Lite and other AM335x boards. They also put us in a good place to enable SPL_OF_CONTROL for eMMC/SD card boot on AM335x boards. Note that if SPL_OF_CONTROL is enabled, some SPL features need to be dropped due to the limited amount of sram available.

[PATCH] imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix SPI NAND read access

2022-11-14 Thread Frieder Schrempf
From: Frieder Schrempf The introduction of CONFIG_FSL_QSPI_AHB_FULL_MAP as default in: def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX") broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual

Re: [PATCH] eficonfig: fix missing variable initialization

2022-11-14 Thread Ilias Apalodimas
On Mon, 14 Nov 2022 at 11:59, Masahisa Kojima wrote: > > The 'ret' variable must be initialized before use > in eficonfig_delete_invalid_boot_option(). > > Fixes: c416f1c0bc ("bootmenu: add removable media entries") > Addresses-Coverity: 376207 ("Uninitialized variables") > Signed-off-by:

[PATCH] rockchip: clk: add watchdog clock to px30_clk_enable

2022-11-14 Thread Quentin Schulz
280a69ecb59d3 change-id: 20221114-px30-wdt-clk-58c875b33d37 Best regards, -- Quentin Schulz

Pull request: u-boot-imx u-boot-imx-20221114

2022-11-14 Thread Stefano Babic
-20221114 for you to fetch changes up to fc1c1760de38823edbdc2cdd9606dff938a07f6e: Revert "serial: mxc: have putc use the TXFIFO" (2022-11-12 14:16:26 +0100) For 2022.01 --- CI: https://source.denx.de/u-boot/cu

Re: [PATCH v7 02/10] lib: uuid: introduce uuid_str_to_le_bin function

2022-11-14 Thread Abdellatif El Khlifi
On Fri, Nov 11, 2022 at 05:02:26PM +, Anders Dellien wrote: > Hi Abdel, > > From: U-Boot on behalf of Abdellatif El Khlifi > > Date: Monday, 7 November 2022 at 19:22 > To: Abdellatif El Khlifi > Cc: Drew Reed , Achin Gupta , > ilias.apalodi...@linaro.org , > jens.wiklan...@linaro.org ,

[PATCH] eficonfig: fix missing variable initialization

2022-11-14 Thread Masahisa Kojima
The 'ret' variable must be initialized before use in eficonfig_delete_invalid_boot_option(). Fixes: c416f1c0bc ("bootmenu: add removable media entries") Addresses-Coverity: 376207 ("Uninitialized variables") Signed-off-by: Masahisa Kojima --- cmd/eficonfig.c | 2 +- 1 file changed, 1

Re: [PATCH 0/6] broken CVE fix (b85d130ea0ca)

2022-11-14 Thread Rasmus Villemoes
On 14/10/2022 19.43, Rasmus Villemoes wrote: > tl;dr: b85d130ea0ca didn't fix the CVE(s), but did break tftp of > certain file sizes - which is somewhat lucky, since that's how I > noticed in the first place. > At this point it seems unlikely that any more comments or reviews will come, so

[PATCH 1/1] Documentation: man-page for command bootd

2022-11-14 Thread Heinrich Schuchardt
Provide a man-page for the bootd command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/bootd.rst | 38 ++ doc/usage/index.rst | 1 + 2 files changed, 39 insertions(+) create mode 100644 doc/usage/cmd/bootd.rst diff --git

[PATCH 1/1] sandbox: fix documentation of struct host_ops

2022-11-14 Thread Heinrich Schuchardt
The documentation of struct host_ops should be Sphinx compliant. Fixes: 9bd1aa8af2ed ("dm: sandbox: Create a new HOST uclass") Signed-off-by: Heinrich Schuchardt --- include/sandbox_host.h | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git

[PATCH 1/1] doc: fix documentation of enum gd_flags

2022-11-14 Thread Heinrich Schuchardt
Correct GD_FLG_CYCLIC_RUNNING documentation to match Sphinx style. Fixes: d7de5ef62935 ("cyclic: use a flag in gd->flags for recursion protection") Signed-off-by: Heinrich Schuchardt --- include/asm-generic/global_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Please pull u-boot-i2c

2022-11-14 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c: The following changes since commit 0cbeed4f6648e0e4966475e3544280a69ecb59d3: Merge branch '2022-11-10-symbol-migrations' (2022-11-10 10:09:40 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-i2c.git

Re: [PATCH v1 2/2] i2c: microchip: fix erroneous late ack send

2022-11-14 Thread Heiko Schocher
Hello Conor, On 26.10.22 09:49, Conor Dooley wrote: > A late ack is currently being sent at the end of a transfer due to > incorrect logic in mchp_corei2c_empty_rx(). Currently the Assert Ack > bit is being written to the controller's control reg after the last > byte has been received, causing

Re: [PATCH v1 1/2] i2c: microchip: fix ack sending logic

2022-11-14 Thread Heiko Schocher
Hello Conor, On 26.10.22 09:49, Conor Dooley wrote: > "Master receive mode" was not correctly sending ACKs/NACKs in the > interrupt handler. Bring the handling of M_SLAR_ACK, M_RX_DATA_ACKED & > M_RX_DATA_NACKED in line with the Linux driver. > > Fixes: 0dc0d1e094 ("i2c: Add Microchip PolarFire

Re: [PATCH] i2c: i2c-gpio: add newline

2022-11-14 Thread Heiko Schocher
Hello Sergei, On 20.10.22 16:28, Sergei Antonov wrote: > Add newline at the end of the printed string. > > Signed-off-by: Sergei Antonov > --- > drivers/i2c/i2c-gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-i2c.git master Thanks! bye, Heiko -- DENX

Re: Changing eMMC boot partition size

2022-11-14 Thread Jaehoon Chung
Hi, On 11/9/22 03:30, Tom Rini wrote: > On Tue, Nov 08, 2022 at 06:34:18PM +0100, Philip Oberfichtner wrote: >> Hi everybody, >> >> I have a question regarding changing the eMMC boot partition size. >> According the the JEDEC eMMC spec it is read-only (BOOT_SIZE_MULT >> register). >> >> But we

Re: [PATCH] efi_loader: add missing EFI_CALL when closing a file

2022-11-14 Thread Heinrich Schuchardt
On 11/11/22 17:20, Ilias Apalodimas wrote: Closing the files uses the EFI protocol and specifically it's .close callback. This needs to be wrapped on an EFI_CALL() Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] efi_loader: replace a u16_strdup with alloc + memcpy

2022-11-14 Thread Heinrich Schuchardt
On 11/11/22 19:04, Ilias Apalodimas wrote: Heinrich reports that on RISC-V unaligned access is emulated by OpenSBI which is very slow. Performance wise it's better if we skip the calls to u16_strdup() -- which in turn calls u16_strsize() and just allocate/copy the memory directly. The access

Re: [PATCH 2/2] test: cmd: fdt: Add fdt get value test case

2022-11-14 Thread Heinrich Schuchardt
On 11/13/22 21:45, Marek Vasut wrote: Add test case for 'fdt get value' sub command. The test case can be triggered using: " ./u-boot -d u-boot.dtb -c 'ut fdt' " Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc: Simon Glass Cc: Tom Rini --- test/cmd/fdt.c | 53

Re: [PATCH 1/2] cmd: fdt: Fix iteration over elements above index 2 in fdt get

2022-11-14 Thread Heinrich Schuchardt
On 11/13/22 21:45, Marek Vasut wrote: Always increment both the iterator and pointer into the string property value by length of the current element + 1 (to cater for the string delimiter), otherwise the element extracted from the string property value would be extracted from an offset that is