Re: [PATCH 1/2] configs:pm9g45_defconfig:Fix boot arguments and boot command

2023-02-28 Thread Eugen Hristev
On 2/20/23 16:27, Ilko Iliev wrote: This patch modify boot arguments and boot command to load 512KB DTB and 8MB Linux Kernel Signed-off-by: Ilko Iliev --- Applied both (with minor tweaks) to u-boot-at91/master, thanks !

[PATCH 0/1] introduce .editorconfig

2023-02-28 Thread Dzmitry Sankouski
Current process of sending patches includes running checkpatch.pl script for each patch, and fixing found style problems. Editorconfig may help to prevent some style related problems (like spaces vs tab indentation) on the fly. Dzmitry Sankouski (1): editorconfig: introduce .editorconfig

[PATCH 1/1] editorconfig: introduce .editorconfig

2023-02-28 Thread Dzmitry Sankouski
Current process of sending patches includes running checkpatch.pl script for each patch, and fixing found style problems. Editorconfig may help to prevent some style related problems (like spaces vs tab indentation) on the fly. --- .editorconfig | 19 +++ .gitignore| 1 + 2

[PATCH] board: rockchip: Add rk3588 evb

2023-02-28 Thread Kever Yang
rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for rockchip and also a reference board for board vendors. Hardware: SoC: RK3588 DRAM: LPDDR4X 8GB Debug: UART2 via USB PCIe: 3x4 *1 SATA *2 HDMI out *2 HDMI IN *1 USB2.0 Host *2 USB3.0 Host *1 Type C *1 MIPI DSI panel

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-02-28 Thread Frieder Schrempf
On 27.02.23 16:24, Dario Binacchi wrote: > Hi Frieder, > > On Mon, Feb 13, 2023 at 10:47 AM Frieder Schrempf wrote: >> >> From: Frieder Schrempf >> >> In [1] Michael agreed on taking patches for SPI NAND through the RAW >> NAND tree. Add a dedicated entry to the MAINTAINERS file which adds >>

Re: [PATCH v5 3/6] Revert "board: rockchip: Fix binman_init failure on EVB-RK3568"

2023-02-28 Thread Jagan Teki
On Sun, 26 Feb 2023 at 00:31, Jonas Karlman wrote: > > An external TPL binary is now expected to be provided using ROCKCHIP_TPL > when building RK3568 targets. > > This reverts commit 31500e7bcfaca08ab7c2879f502a6cf852410244. > > Signed-off-by: Jonas Karlman > Reviewed-by: Simon Glass >

Pull request for tpm-next-28022023

2023-02-28 Thread Ilias Apalodimas
Hi Tom, The following changes since commit 5b197eee334bdf75cc9e9148161299679a5251ea: Merge tag 'v2023.04-rc3' into next (2023-02-27 17:28:21 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-next-28022023 for you to fetch changes

Pull request for tpm-next-28022023

2023-02-28 Thread Ilias Apalodimas
Hi Tom, The following changes since commit 5b197eee334bdf75cc9e9148161299679a5251ea: Merge tag 'v2023.04-rc3' into next (2023-02-27 17:28:21 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-next-28022023 for you to fetch changes

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-28 Thread Pali Rohár
On Tuesday 28 February 2023 11:01:55 Stefan Roese wrote: > Hi Pali, > > On 2/28/23 10:54, Pali Rohár wrote: > > On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote: > > > Hi Martin, > > > Hi Pali, > > > > > > On 2/27/23 12:29, Martin Rowe wrote: > > > > On Mon, 27 Feb 2023 at 08:04, Pali

Re: [PATCH v5 1/6] binman: Add support for a rockchip-tpl entry

2023-02-28 Thread Jagan Teki
On Sun, 26 Feb 2023 at 00:31, Jonas Karlman wrote: > > The rockchip-tpl entry can be used when an external TPL binary should be > used instead of the normal U-Boot TPL. > > Signed-off-by: Jonas Karlman > Reviewed-by: Simon Glass > Reviewed-by: Kever Yang > Tested-by: Eugen Hristev > ---

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-28 Thread Pali Rohár
On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote: > Hi Martin, > Hi Pali, > > On 2/27/23 12:29, Martin Rowe wrote: > > On Mon, 27 Feb 2023 at 08:04, Pali Rohár > > wrote: > > > > On Monday 27 February 2023 08:44:30 Stefan Roese wrote: > > > Hi Pali, > >

Re: [PATCH] board: rockchip: Add rk3588 evb

2023-02-28 Thread Kever Yang
Hi Jagan, On 2023/2/28 17:09, Jagan Teki wrote: On Tue, 28 Feb 2023 at 14:34, Kever Yang wrote: rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for rockchip and also a reference board for board vendors. Hardware: SoC: RK3588 DRAM: LPDDR4X 8GB Debug: UART2 via USB PCIe:

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-28 Thread Pali Rohár
On Tuesday 28 February 2023 11:10:21 Pali Rohár wrote: > On Tuesday 28 February 2023 11:01:55 Stefan Roese wrote: > > Hi Pali, > > > > On 2/28/23 10:54, Pali Rohár wrote: > > > On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote: > > > > Hi Martin, > > > > Hi Pali, > > > > > > > > On 2/27/23

Re: [PATCH] board: rockchip: Add rk3588 evb

2023-02-28 Thread Jagan Teki
Hi Kever, On Tue, 28 Feb 2023 at 15:30, Kever Yang wrote: > > Hi Jagan, > > On 2023/2/28 17:09, Jagan Teki wrote: > > On Tue, 28 Feb 2023 at 14:34, Kever Yang wrote: > >> rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for > >> rockchip and also a reference board for board

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-28 Thread Stefan Roese
Hi Pali, On 2/28/23 08:03, Stefan Roese wrote: Hi Martin, Hi Pali, On 2/27/23 12:29, Martin Rowe wrote: On Mon, 27 Feb 2023 at 08:04, Pali Rohár > wrote:     On Monday 27 February 2023 08:44:30 Stefan Roese wrote: > Hi Pali, > > On 2/25/23 23:00, Pali

[PATCH] rpi: Update the RPi Zero 2W DT filename

2023-02-28 Thread Peter Robinson
Update the Raspberry Pi Zero 2W device tree file name to match what landed upstream. Signed-off-by: Peter Robinson --- board/raspberrypi/rpi/rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index

Re: [PATCH v5 5/6] rockchip: mkimage: Update init size limit for RK3568

2023-02-28 Thread Jagan Teki
On Sun, 26 Feb 2023 at 00:31, Jonas Karlman wrote: > > The current init size limit of 76KiB is too big to fit in the 64KiB SRAM > on RK3568, sync init size limit from vendor u-boot to fix this. > > Set init size limit to 60KiB (-16KiB) for RK3568. > > Signed-off-by: Jonas Karlman > Reviewed-by:

Re: [RFC PATCH] binman: bintool: etype: Add support for ti-secure entry

2023-02-28 Thread Neha Malcom Francis
Hi Simon, On 28/02/23 06:05, Simon Glass wrote: Hi Neha, On Fri, 24 Feb 2023 at 05:03, Neha Malcom Francis wrote: core-secdev-k3 is the TI security development package provided for K3 platform devices. This tool helps sign bootloader images with the x509 ceritificate header. Signed-off-by:

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-28 Thread Stefan Roese
Hi Pali, On 2/28/23 11:10, Pali Rohár wrote: On Tuesday 28 February 2023 11:01:55 Stefan Roese wrote: Hi Pali, On 2/28/23 10:54, Pali Rohár wrote: On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote: Hi Martin, Hi Pali, On 2/27/23 12:29, Martin Rowe wrote: On Mon, 27 Feb 2023 at

Re: [PATCH V2 8/9] arm64: dts: rockchip: add gpio-ranges property to gpio nodes

2023-02-28 Thread Quentin Schulz
Hi Vasily, On 2/23/23 22:12, Vasily Khoruzhick wrote: On Mon, Feb 13, 2023 at 2:30 PM Chris Morgan wrote: From: Chris Morgan Add gpio-ranges property to GPIO nodes so that the bank ID can be correctly derived for each GPIO bank. Should not it be merged into linux first? Otherwise it will

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-28 Thread Stefan Roese
Hi Pali, On 2/28/23 10:54, Pali Rohár wrote: On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote: Hi Martin, Hi Pali, On 2/27/23 12:29, Martin Rowe wrote: On Mon, 27 Feb 2023 at 08:04, Pali Rohár mailto:p...@kernel.org>> wrote: On Monday 27 February 2023 08:44:30 Stefan Roese

Re: [PATCH] board: rockchip: Add rk3588 evb

2023-02-28 Thread Mark Kettenis
> Date: Tue, 28 Feb 2023 18:00:35 +0800 > From: Kever Yang > > Hi Jagan, > > On 2023/2/28 17:09, Jagan Teki wrote: > > On Tue, 28 Feb 2023 at 14:34, Kever Yang wrote: > >> rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for > >> rockchip and also a reference board for

Re: [PATCH] board: rockchip: Add rk3588 evb

2023-02-28 Thread Jagan Teki
On Tue, 28 Feb 2023 at 14:34, Kever Yang wrote: > > rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for > rockchip and also a reference board for board vendors. > > Hardware: > SoC: RK3588 > DRAM: LPDDR4X 8GB > Debug: UART2 via USB > PCIe: 3x4 *1 > SATA *2 > HDMI out *2 >

Re: [PATCH v5 4/6] rockchip: mkimage: Update init size limit for RK3328

2023-02-28 Thread Jagan Teki
On Sun, 26 Feb 2023 at 00:31, Jonas Karlman wrote: > > Latest vendor TPL for RK3328 has grown past the current init size limit > of 28KiB, sync the init size limit from vendor u-boot to fix this. > > Set init size limit to 30KiB (+2KiB) for RK3328. > > This makes it possible to use latest vendor

Re: [PATCH v5 2/6] rockchip: Use an external TPL binary on RK3568

2023-02-28 Thread Jagan Teki
On Sun, 26 Feb 2023 at 00:31, Jonas Karlman wrote: > > Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps > back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then > jumps to U-Boot SPL to continue the normal boot flow. > > However, there is no support to

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-28 Thread Pali Rohár
On Monday 27 February 2023 17:17:31 Tony Dinh wrote: > Hi Pali, > > On Mon, Feb 27, 2023 at 4:42 PM Tony Dinh wrote: > > > > Hi Pali, > > > > On Mon, Feb 27, 2023 at 3:41 PM Tony Dinh wrote: > > > > > > Hi Pali, > > > > > > On Mon, Feb 27, 2023 at 1:57 PM Tony Dinh wrote: > > > > > > > > Hi

Re: [PATCH v5 1/6] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-02-28 Thread Michal Simek
On 2/28/23 01:52, jassisinghb...@gmail.com wrote: From: Jassi Brar Any requirement of FWU should not require changes to bindings of other subsystems. For example, for mtd-backed storage we can do without requiring 'fixed-partitions' children to also carry 'uuid', a property which is

Re: [RFC PATCH] binman: bintool: etype: Add support for ti-secure entry

2023-02-28 Thread Simon Glass
Hi Neha, On Tue, 28 Feb 2023 at 02:50, Neha Malcom Francis wrote: > > Hi Simon, > > On 28/02/23 06:05, Simon Glass wrote: > > Hi Neha, > > > > On Fri, 24 Feb 2023 at 05:03, Neha Malcom Francis wrote: > >> > >> core-secdev-k3 is the TI security development package provided for K3 > >> platform

Re: [PATCH 1/1] editorconfig: introduce .editorconfig

2023-02-28 Thread Simon Glass
Hi Dzmitry, On Tue, 28 Feb 2023 at 01:46, Dzmitry Sankouski wrote: > > Current process of sending patches includes running checkpatch.pl > script for each patch, and fixing found style problems. > Editorconfig may help to prevent some style related problems > (like spaces vs tab indentation) on

Re: [PATCH 5/6] video: simple-panel: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 18:56, Marek Vasut wrote: > > The DM_REGULATOR symbol has SPL counterpart in: > drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR > Use CONFIG_IS_ENABLED() macro to match on the correct > variant depending on the build stage. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH v2] CI: gitlab: Collect pytest artifacts

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 19:26, Marek Vasut wrote: > > Copy build artifacts for all test.py tests, so they show up in > artifacts storage for later inspection. The test.py tests output > in CI is basically useless, but it is far more useful in the html > output for analysis and debugging. > >

[PATCH] rpi: Use OF_BOARD rather than OF_EMBED

2023-02-28 Thread Peter Robinson
The use of OF_EMBED isn't recommended for standard use and the OF_BOARD is actually a better fit for the Raspberry Pi as the prior firmware provides a DT that can be used by U-Boot and the subsequent OS too, but it still allows the loading of a DT from disk as well if users wish to use the

Re: [PATCH 2/6] mmc: npcm_sdhci: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 18:56, Marek Vasut wrote: > > The DM_REGULATOR symbol has SPL counterpart in: > drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR > Use CONFIG_IS_ENABLED() macro to match on the correct > variant depending on the build stage. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH 3/6] video: otm8009a: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 18:56, Marek Vasut wrote: > > The DM_REGULATOR symbol has SPL counterpart in: > drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR > Use CONFIG_IS_ENABLED() macro to match on the correct > variant depending on the build stage. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH 1/6] misc: ub251xb: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 18:55, Marek Vasut wrote: > > The DM_REGULATOR symbol has SPL counterpart in: > drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR > Use CONFIG_IS_ENABLED() macro to match on the correct > variant depending on the build stage. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH 6/6] video: tl070wsh30: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 18:57, Marek Vasut wrote: > > The DM_REGULATOR symbol has SPL counterpart in: > drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR > Use CONFIG_IS_ENABLED() macro to match on the correct > variant depending on the build stage. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH 0/5] Convert the LS208xA RDB/QDS boards to DM_SERIAL

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 06:32:07PM +0200, Ioana Ciornei wrote: > This patch set converts the LS208xA based boards to DM_SERIAL. > > Since we don't want to introduce even more differences between the > U-Boot's and Linux's device trees the first 4 patches make the necessary > updates so that the

Re: [PATCH 0/5] Convert the LS208xA RDB/QDS boards to DM_SERIAL

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 06:47:04PM +0200, Ioana Ciornei wrote: > On Tue, Feb 28, 2023 at 11:40:15AM -0500, Tom Rini wrote: > > On Tue, Feb 28, 2023 at 06:32:07PM +0200, Ioana Ciornei wrote: > > > This patch set converts the LS208xA based boards to DM_SERIAL. > > > > > > Since we don't want to

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wrote: > On 27.02.23 16:24, Dario Binacchi wrote: > > Hi Frieder, > > > > On Mon, Feb 13, 2023 at 10:47 AM Frieder Schrempf wrote: > >> > >> From: Frieder Schrempf > >> > >> In [1] Michael agreed on taking patches for SPI NAND through

Re: [PATCH 5/7] imx8image: Remove unused cont_img_count variable

2023-02-28 Thread Fabio Estevam
On Mon, Feb 27, 2023 at 7:08 PM Tom Rini wrote: > > With clang-15, it is now reported that cont_img_count is unused. This is > true as the code will increment / reset this counter, but never > functionally use it. Remove it. > > Signed-off-by: Tom Rini Reviewed-by: Fabio Estevam

[PATCH 3/5] arch: arm: dst: fsl-ls2080a.dts: sync serial nodes with Linux

2023-02-28 Thread Ioana Ciornei
Sync the serial nodes of the LS208XA RDB/QDS boards with their representation in Linux. We also imported the clockgen and sysclk nodes which are dependencies. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls2080a.dtsi | 33 +++-- 1 file changed, 27 insertions(+),

[PATCH 4/5] arch: arm: dst: fsl-ls2080a.dts: tag serial nodes with bootph-all

2023-02-28 Thread Ioana Ciornei
Tag the serial nodes with bootph-all in order to have these nodes and the drivers available before relocation. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls2080a.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index

[PATCH 5/5] configs: ls208x: enable DM_SERIAL

2023-02-28 Thread Ioana Ciornei
Now that the DT nodes for the serial devices are in place for these boards, enable DM_SERIAL in the associated configs. Signed-off-by: Ioana Ciornei --- configs/ls2088aqds_tfa_defconfig | 5 +++-- configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 4 +++-

[PATCH 2/5] arch: arm: dst: fsl-ls2080a.dtsi: move the serial nodes under soc

2023-02-28 Thread Ioana Ciornei
Move the serial nodes under the soc node. No changes are made to the nodes, just their location is changed. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls2080a.dtsi | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git

[PATCH 1/5] arch: arm: dst: fsl-ls2080a.dtsi: add an 'soc' node

2023-02-28 Thread Ioana Ciornei
The u-boot dts for these boards do not have an soc node, unlike its Linux counterpart. This patch just adds the soc node as seen in Linux, the next patches will move some nodes under it. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls2080a.dtsi | 9 + 1 file changed, 9

[PATCH 0/5] Convert the LS208xA RDB/QDS boards to DM_SERIAL

2023-02-28 Thread Ioana Ciornei
This patch set converts the LS208xA based boards to DM_SERIAL. Since we don't want to introduce even more differences between the U-Boot's and Linux's device trees the first 4 patches make the necessary updates so that the serial nodes are synced with their counterpart. The last patch just

Re: [PATCH 0/5] Convert the LS208xA RDB/QDS boards to DM_SERIAL

2023-02-28 Thread Ioana Ciornei
On Tue, Feb 28, 2023 at 11:40:15AM -0500, Tom Rini wrote: > On Tue, Feb 28, 2023 at 06:32:07PM +0200, Ioana Ciornei wrote: > > This patch set converts the LS208xA based boards to DM_SERIAL. > > > > Since we don't want to introduce even more differences between the > > U-Boot's and Linux's device

Re: [PATCH] CI: gitlab: Collect pytest artifacts

2023-02-28 Thread Harald Seiler
Hi Marek, On Tue, 2023-02-28 at 03:25 +0100, Marek Vasut wrote: > On 2/28/23 00:36, Tom Rini wrote: > > [...] > > > > @@ -454,9 +457,4 @@ coreboot test.py: > > > TEST_PY_BD: "coreboot" > > > TEST_PY_TEST_SPEC: "not sleep" > > > TEST_PY_ID: "--id qemu" > > > - artifacts: > > >

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-02-28 Thread Jagan Teki
On Tue, Feb 28, 2023 at 2:22 PM Frieder Schrempf wrote: > > On 27.02.23 16:24, Dario Binacchi wrote: > > Hi Frieder, > > > > On Mon, Feb 13, 2023 at 10:47 AM Frieder Schrempf wrote: > >> > >> From: Frieder Schrempf > >> > >> In [1] Michael agreed on taking patches for SPI NAND through the RAW >

Re: [PATCH 4/6] video: rm68200: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 18:56, Marek Vasut wrote: > > The DM_REGULATOR symbol has SPL counterpart in: > drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR > Use CONFIG_IS_ENABLED() macro to match on the correct > variant depending on the build stage. > > Signed-off-by: Marek Vasut > --- >

Re: [PATCH] Kconfig: Sort the BUILD_TARGET list

2023-02-28 Thread Simon Glass
On Mon, 27 Feb 2023 at 23:22, Marek Vasut wrote: > > Sort the defaults list in BUILD_TARGET Kconfig option. No functional change. > > Signed-off-by: Marek Vasut > --- > Cc: Heinrich Schuchardt > Cc: Simon Glass > Cc: Tom Rini > --- > Kconfig | 10 +- > 1 file changed, 5

Re: [PATCH v5 1/6] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-02-28 Thread Jassi Brar
On Tue, Feb 28, 2023 at 4:50 AM Michal Simek wrote: > On 2/28/23 01:52, jassisinghb...@gmail.com wrote: > > From: Jassi Brar > > > > Any requirement of FWU should not require changes to bindings > > of other subsystems. For example, for mtd-backed storage we > > can do without requiring

Re: [PATCH] README.mpc85xx-sd-spi-boot: Suggest the NXP boot format github repo

2023-02-28 Thread Pali Rohár
On Friday 13 January 2023 09:10:18 Fabio Estevam wrote: > On Fri, Jan 13, 2023 at 4:53 AM Pali Rohár wrote: > > > > you can browse it online at: > > > -https://source.codeaurora.org/external/qoriq/qoriq-yocto-sdk/boot-format > > > +https://github.com/nxp-qoriq-yocto-sdk/boot-format > > > > This

[PATCH 1/2] Azure CI: Save pytest output automatically

2023-02-28 Thread Tom Rini
Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index

[PATCH 2/2] Azure CI: Be explicit about pytest cache directory

2023-02-28 Thread Tom Rini
The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 09:21:23PM +0100, Angelo Dureghello wrote: > The following changes since commit e8c80ac0f7a13bf0fc016ce324b870c0cff7a2b8: > > Prepare v2023.04-rc3 (2023-02-27 17:18:36 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-coldfire.git

Re: Pull request for u-boot-nand-20230227

2023-02-28 Thread Tom Rini
On Mon, Feb 27, 2023 at 05:52:29PM +0100, Dario Binacchi wrote: > Hi Tom, > > The following changes since commit 0024e7f72b689f8c2df731a69e20f47b6f8dc5a7: > > Merge branch 'master' of > https://source.denx.de/u-boot/custodians/u-boot-tegra (2023-02-23 > 17:40:18 -0500) > > are available in

Re: [PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Angelo Dureghello
Hi Tom, On 28/02/23 9:34 PM, Tom Rini wrote: On Tue, Feb 28, 2023 at 09:21:23PM +0100, Angelo Dureghello wrote: The following changes since commit e8c80ac0f7a13bf0fc016ce324b870c0cff7a2b8: Prepare v2023.04-rc3 (2023-02-27 17:18:36 -0500) are available in the Git repository at:

[PATCH v5 02/21] mtd: nand: raw: rockchip_nfc: remove the compatible string "rockchip,rk3308-nfc"

2023-02-28 Thread Johan Jonker
The compatible string for rk3308 has as fallback string "rockchip,rv1108-nfc". As there is no logic in probe priority between the SoC orientated string and the fall back, so remove the compatible string "rockchip,rk3308-nfc" from the driver. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang

[PATCH v5 01/21] mtd: nand: raw: rockchip_nfc: use dev_read_addr_ptr

2023-02-28 Thread Johan Jonker
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expext 64-bit data from the device tree parser, so use dev_read_addr_ptr in the rockchip_nfc.c file. Signed-off-by: Johan Jonker Reviewed-by: Michael Trimarchi --- drivers/mtd/nand/raw/rockchip_nfc.c | 6 +++--- 1 file

[PATCH V7 00/15] IOT2050-related enhancements

2023-02-28 Thread Jan Kiszka
Flushing our upstream queue for the IOT2050 device, this mostly brings board-specific changes such as: - updated build process and firmware layout for PG1 vs. PG2 devices - more watchdog preparations - preparations for verified boot on IOT2050 Advanced devices - support for M.2 variant

[PATCH V7 09/15] iot2050: Add script for signing artifacts

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka There are many ways to get a signed firmware for the IOT2050 devices, namely for the parts under user-control. This script documents one way of doing it, given a signing key. Augment the board documentation with the required procedure around it. Signed-off-by: Jan Kiszka ---

[PATCH V7 08/15] tools: Add script for converting public key into device tree include

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka Allows to create a public key device tree dtsi for inclusion into U-Boot SPL and proper during first build already. This can be achieved via CONFIG_DEVICE_TREE_INCLUDES. Signed-off-by: Jan Kiszka --- tools/key2dtsi.py | 64 +++ 1

[PATCH V7 12/15] board: siemens: iot2050: use the named gpio to control the user-button

2023-02-28 Thread Jan Kiszka
From: chao zeng User-button is controlled by the mcu domain gpio number 25. But main0 main1 mcu domain all have gpio number 25. To identify where the gpio is from, Using gpio controll base as the prefix to indicate the gpio resource. Signed-off-by: chao zeng --- board/siemens/iot2050/board.c

[PATCH V7 06/15] iot2050: Add CFG_ENV_FLAGS_LIST_STATIC

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka Will be needed when CONFIG_ENV_WRITEABLE_LIST is enabled. The listed variables shall remain writable, for informational purposes - they have to be considered untrusted because the persistent U-Boot env is not protected. Signed-off-by: Jan Kiszka --- include/configs/iot2050.h

[PATCH V7 03/15] iot2050: Update firmware layout

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka The latest version of the binary-only firmware parts come in a combined form of FSBL and sysfw containers. This implies some layout changes to the generated firmware image but also makes handling of artifacts much simpler (4 files less). The env locations will not change, just

[PATCH V7 01/15] board: siemens: iot2050: Split the build for PG1 and PG2

2023-02-28 Thread Jan Kiszka
From: Su Baocheng Due to different signature keys, the PG1 and the PG2 boards can no longer use the same FSBL (tiboot3). This makes it impossible anyway to maintaine a single flash.bin for both variants, so we can also split the build. A new target is added to indicates the build is for PG1 vs.

[PATCH V7 02/15] arm: dts: iot2050: Use the auto generator nodes for fdt

2023-02-28 Thread Jan Kiszka
From: Su Baocheng Refactor according to the entry `fit: Entry containing a FIT` of document tools/binman/README.entries. As the generator uses the device tree name for the config description, board_fit_config_name_match requires a small adjustment as well. Signed-off-by: Su Baocheng [Jan:

[PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Angelo Dureghello
The following changes since commit e8c80ac0f7a13bf0fc016ce324b870c0cff7a2b8: Prepare v2023.04-rc3 (2023-02-27 17:18:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git master for you to fetch changes up to 4c885f9f64cd85471614c75027620e3bcf3046bd:

Re: [PATCH v5 2/6] rockchip: Use an external TPL binary on RK3568

2023-02-28 Thread Jonas Karlman
On 2023-02-28 10:19, Jagan Teki wrote: > On Sun, 26 Feb 2023 at 00:31, Jonas Karlman wrote: >> >> Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps >> back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then >> jumps to U-Boot SPL to continue the normal boot

Re: [PATCH] rpi: Use OF_BOARD rather than OF_EMBED

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 03:56:05PM +, Peter Robinson wrote: > The use of OF_EMBED isn't recommended for standard use and the OF_BOARD > is actually a better fit for the Raspberry Pi as the prior firmware > provides a DT that can be used by U-Boot and the subsequent OS too, but > it still

[PATCH V7 05/15] iot2050: Add watchdog start to bootcmd

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka Allows run-time control over watchdog auto-start and the timeout via setting the environment variable watchdog_timeout_ms. A value of zero means "do not start". Use CONFIG_WATCHDOG_TIMEOUT_MSECS as initial value and this to zero by default. Users can then enable the watchdog

[PATCH V7 07/15] arm: dts: iot2050: Allow verifying U-Boot proper by SPL

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka Add hashes and configuration signature stubs to prepare verified boot of main U-Boot by SPL. Signed-off-by: Jan Kiszka --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 16 1 file changed, 16 insertions(+) diff --git

[PATCH V7 04/15] iot2050: Migrate settings into board env file

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka Anything that is not boot-env related is better kept there by now. At this chance, also drop a stale comment from iot2050.h Signed-off-by: Jan Kiszka --- board/siemens/iot2050/iot2050.env | 9 + include/configs/iot2050.h | 11 ++- 2 files changed, 11

[PATCH V7 15/15] iot2050: Add support for configuring M.2 connector

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka The M.2 slots of the related IOT2050 variant need to be configured according to the plugged cards. This tries to detect the card using the M.2 configuration pins of the B-key slot. If that fails, a U-Boot environment variable can be set to configure manually. This variable is

[PATCH V7 10/15] arm: dts: iot2050: Optionally embed OTP programming data into image

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka Use external blob otpcmd.bin to replace the 0xff filled OTP programming command block to create a firmware image that provisions the OTP on first boot. This otpcmd.bin is generated from the customer keys using steps described in the meta-iot2050 integration layer for the device.

[PATCH V7 13/15] iot2050: Refresh defconfigs and activate CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka This feature is desired on the platform. Signed-off-by: Jan Kiszka --- configs/iot2050_pg1_defconfig | 1 + configs/iot2050_pg2_defconfig | 5 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/iot2050_pg1_defconfig b/configs/iot2050_pg1_defconfig

[PATCH V7 11/15] doc: iot2050: Add a note about the watchdog firmware

2023-02-28 Thread Jan Kiszka
From: Jan Kiszka This is enabled by default, thus should be described as well. Signed-off-by: Jan Kiszka --- doc/board/siemens/iot2050.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/board/siemens/iot2050.rst b/doc/board/siemens/iot2050.rst index cb49a0e36bf..efe94a448a9

[PATCH V7 14/15] arm: dts: iot2050: Add support for M.2 variant

2023-02-28 Thread Jan Kiszka
From: chao zeng Add support for the M.2 board based on the iot2050 advanced board. The board has two m.2 connectors, one is B-keyed, the other E-keyed. The B-key slot can connect 5G/SSD devices, and E-key can be used for WIFI/BT devices. This variant is covered by PG2 firmware image.

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-28 Thread Pali Rohár
On Tuesday 28 February 2023 10:48:24 Pali Rohár wrote: > On Monday 27 February 2023 17:17:31 Tony Dinh wrote: > > Hi Pali, > > > > On Mon, Feb 27, 2023 at 4:42 PM Tony Dinh wrote: > > > > > > Hi Pali, > > > > > > On Mon, Feb 27, 2023 at 3:41 PM Tony Dinh wrote: > > > > > > > > Hi Pali, > > > >

Re: Pull request for tpm-next-28022023

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 11:28:24AM +0200, Ilias Apalodimas wrote: > Hi Tom, > > The following changes since commit 5b197eee334bdf75cc9e9148161299679a5251ea: > > Merge tag 'v2023.04-rc3' into next (2023-02-27 17:28:21 -0500) > > are available in the Git repository at: > >

[PATCH v5 00/21] Fixes for Rockchip NFC driver part 1

2023-02-28 Thread Johan Jonker
This serie contains fixes for the Rockchip NFC driver, which was ported to U-boot and merged with little review and testing it seems. Part 1 aims at passing the probe function without errors. Extended with tree wide function cleanup needed for 64bit DT parsing. Fixed are: 64bit FDT parsing

[PATCH] clk: renesas: Always select DM_RESET to prevent inobvious failure of rst_gen3 subdriver

2023-02-28 Thread Marek Vasut
The CLK_RCAR_GEN3 registers two subdrivers, clk_gen3 and rst_gen3. The former depends on the clock framework, which is always enabled in this context of clock framework driver, while the later depends on reset framework which may not always be enabled. Ensure the reset framework is also always

[PATCH v5 03/21] mtd: nand: raw: rockchip_nfc: add layout structure

2023-02-28 Thread Johan Jonker
The MTD framework in U-boot is not identical for drivers ported from Linux. The rockchip_nfc driver was ported with OOB ops functions while the framework expects a layout structure per chip. Fix by adding a structure with OOB data and remove unused functions. Signed-off-by: Johan Jonker

[PATCH v5 13/21] spi: spi-aspeed-smc: use devfdt_get_addr_index_ptr

2023-02-28 Thread Johan Jonker
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expect 64-bit data from the device tree parser, so use devfdt_get_addr_index_ptr and devfdt_get_addr_size_index_ptr function in the spi-aspeed-smc.c file. Also fix dev_dbg to be able to handle both sizes. Signed-off-by:

[PATCH v5 11/21] core: fdtaddr: add devfdt_get_addr_size_index_ptr function

2023-02-28 Thread Johan Jonker
Add devfdt_get_addr_size_index_ptr function with the same functionality as devfdt_get_addr_size_index, but instead a return pointer is given. Suggested-by: Michael Nazzareno Trimarchi Signed-off-by: Johan Jonker Reviewed-by: Michael Trimarchi --- Changed V5: fix spelling use tabs ---

[PATCH v5 14/21] drivers: use dev_read_addr_index_ptr when cast to pointer

2023-02-28 Thread Johan Jonker
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expect 64-bit data from the device tree parser, so use dev_read_addr_index_ptr instead of the dev_read_addr_index function in the various files in the drivers directory that cast to a pointer. Signed-off-by: Johan Jonker

[PATCH v5 12/21] core: read: add dev_read_addr_index_ptr function

2023-02-28 Thread Johan Jonker
Add dev_read_addr_index_ptr function with the same functionality as dev_read_addr_index, but instead a return pointer is given. Signed-off-by: Johan Jonker --- Changed V5: new patch --- drivers/core/read.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/core/read.c

[PATCH 05/11] pinctrl: renesas: Add R8A779F0 S4 PFC tables

2023-02-28 Thread Marek Vasut
From: LUU HOAI Add pinctrl tables for R8A779F0 S4 SoC. Based on Linux next 20230228 PFC tables tables up to commit 058f4df42121 ("Add linux-next specific files for 20230228") Reviewed-by: Marek Vasut Signed-off-by: LUU HOAI Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [

[PATCH 11/11] ARM: renesas: Add R8A779F0 S4 Spider board code

2023-02-28 Thread Marek Vasut
From: Hai Pham Add board code for R8A779F0 S4 Spider board. Reviewed-by: Marek Vasut Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [Marek: Synchronize configuration symbols which are now switched to Kconfig Mallocate gd->bd->bi_boot_params, i.e. drop the assignment Sort

[PATCH 2/9] dt-bindings: clock: Add R8A779G0 V4H CPG Core Clock Definitions

2023-02-28 Thread Marek Vasut
From: Tho Vu Add all Clock Pulse Generator Core Clock Outputs for the Renesas R-Car V4H (R8A779G0) SoC from Linux next commit 058f4df42121 ("Add linux-next specific files for 20230228") Reviewed-by: Marek Vasut Signed-off-by: Tho Vu Signed-off-by: Hai Pham Signed-off-by: Marek Vas

[PATCH 1/9] dt-bindings: power: Add R8A779G0 V4H SYSC power domain definitions

2023-02-28 Thread Marek Vasut
From: Tho Vu Add power domain indices for R-Car V4H (R8A779G0) from Linux next commit 058f4df42121 ("Add linux-next specific files for 20230228") Reviewed-by: Marek Vasut Signed-off-by: Tho Vu Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [Marek: Update to linux next 2023

Re: [PULL] Please pull u-boot-coldfire/master

2023-02-28 Thread Tom Rini
On Tue, Feb 28, 2023 at 10:01:46PM +0100, Angelo Dureghello wrote: > Hi Tom, > > On 28/02/23 9:34 PM, Tom Rini wrote: > > On Tue, Feb 28, 2023 at 09:21:23PM +0100, Angelo Dureghello wrote: > > > > > The following changes since commit > > > e8c80ac0f7a13bf0fc016ce324b870c0cff7a2b8: > > > > > >

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-28 Thread Pali Rohár
On Tuesday 28 February 2023 13:51:24 Tony Dinh wrote: > Hi Pali, > > On Tue, Feb 28, 2023 at 10:52 AM Pali Rohár wrote: > > > > On Tuesday 28 February 2023 10:48:24 Pali Rohár wrote: > > > On Monday 27 February 2023 17:17:31 Tony Dinh wrote: > > > > Hi Pali, > > > > > > > > On Mon, Feb 27, 2023

Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-28 Thread Tony Dinh
Hi Pali, On Tue, Feb 28, 2023 at 2:19 PM Pali Rohár wrote: > > On Tuesday 28 February 2023 13:51:24 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Feb 28, 2023 at 10:52 AM Pali Rohár wrote: > > > > > > On Tuesday 28 February 2023 10:48:24 Pali Rohár wrote: > > > > On Monday 27 February 2023

[PATCH v2 2/2] mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros

2023-02-28 Thread Marek Vasut
Instead of #if and #ifdef, use IS_ENABLED and CONFIG_IS_ENABLED macros. This improves build test coverage. The CONFIG_SPL_BUILD must remain an ifdef, as CONFIG_SPL_STACK may not always be defined, e.g. in U-Boot proper build. No functional change. Signed-off-by: Marek Vasut --- Cc: Jaehoon Chung

[PATCH v5 04/21] mtd: nand: raw: rockchip_nfc: add flash_node to chip structure

2023-02-28 Thread Johan Jonker
Add flash_node to the rockchip_nfc driver chip structure in order to find the partitions in the add_mtd_partitions_of() function. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Reviewed-by: Michael Trimarchi --- drivers/mtd/nand/raw/rockchip_nfc.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 2/2] serial: sh: Add DEBUG_UART support

2023-02-28 Thread Marek Vasut
Add support for debug output very early during boot using the DEBUG_UART mechanism. This uses a static fixed UART port configuration selected via Kconfig options and dedicated print functions from debug_uart.h. This is useful e.g. when debugging problems so early during boot, that not even the DM

[PATCH v5 08/21] rockchip: timer: dw-apb-timer: convert dev_read_addr output to phys_addr_t

2023-02-28 Thread Johan Jonker
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expect 64-bit data from the device tree parser, so convert dev_read_addr output to phys_addr_t in the dw-apb-timer.c file. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- drivers/timer/dw-apb-timer.c | 4 ++-- 1

[PATCH v5 09/21] include: dm: ofnode: fix headers

2023-02-28 Thread Johan Jonker
When fdt_addr_t and phys_addr_t are split it turns out that the header don't match the functions, so fix the headers. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- include/dm/ofnode.h | 16 1 file changed, 8 insertions(+), 8 deletions(-)

  1   2   >