[PATCH 18/21] Convert CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST Signed-off-by: Tom Rini --- configs/da850evm_nand_defconfig | 1 + configs/k2e_evm_defconfig| 1 + configs/k2e_hs_evm_defconfig | 1 + configs/k2hk_evm_defconfig | 1 +

[PATCH 19/21] global: Migrate CONFIG_SYS_MPC8* symbols to the CFG_SYS namespace

2022-10-28 Thread Tom Rini
Migrate all of COFIG_SYS_MPC* to the CFG_SYS namespace. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c | 2 +- arch/powerpc/cpu/mpc85xx/c29x_serdes.c| 2 +- arch/powerpc/cpu/mpc85xx/cpu.c| 8 +- arch/powerpc/cpu/mpc85xx/cpu_init.c

[PATCH 17/21] Convert CONFIG_SYS_NONCACHED_MEMORY to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_NONCACHED_MEMORY To do this we introduce CONFIG_SYS_HAS_NONCACHED_MEMORY as a bool to gate if we are going to have noncached_... functions available and then continue to use CONFIG_SYS_NONCACHED_MEMORY to store the size of said cache. We make

[PATCH 16/21] SYS_NONCACHED_MEMORY: Correct comment in common/board_f.c

2022-10-28 Thread Tom Rini
The comment block in reserve_noncached has a typo in one filename and an incorrect filename in another function reference. Correct both of these. Signed-off-by: Tom Rini --- common/board_f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/board_f.c

[PATCH 10/21] rtc: Remove unused drivers

2022-10-28 Thread Tom Rini
These drivers are not enabled anywhere, remove them. Signed-off-by: Tom Rini --- drivers/rtc/Makefile | 4 - drivers/rtc/m41t11.c | 168 -- drivers/rtc/m41t60.c | 239 - drivers/rtc/m41t94.c | 123

[PATCH 15/21] mediatek: Include where needed

2022-10-28 Thread Tom Rini
These files reference SZ_ macros without including , correct this. Signed-off-by: Tom Rini --- arch/arm/mach-mediatek/mt7981/init.c | 1 + arch/arm/mach-mediatek/mt7986/init.c | 1 + arch/arm/mach-mediatek/mt8512/init.c | 1 + drivers/spi/mtk_spim.c | 1 + 4 files changed, 4

[PATCH 13/21] Convert CONFIG_SYS_MMC_MAX_DEVICE to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_DEVICE Signed-off-by: Tom Rini --- api/Kconfig| 5 + api/api_storage.c | 4 include/configs/am335x_evm.h | 18 -- include/configs/stm32mp13_common.h | 3 ---

[PATCH 09/21] Convert CONFIG_SYS_LOADS_BAUD_CHANGE et al to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_LOADS_BAUD_CHANGE CONFIG_LOADS_ECHO As part of this, we move CMD_SAVES to be after CMD_LOADS as they are logically related (load or save an s-record format file) and this makes grouping of CONFIG_SYS_LOADS_BAUD_CHANGE easier.

[PATCH 11/21] Convert CONFIG_SYS_MAX_NAND_DEVICE to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_MAX_NAND_DEVICE Signed-off-by: Tom Rini --- configs/CHIP_pro_defconfig | 1 + configs/Nintendo_NES_Classic_Edition_defconfig | 1 + configs/etamin_defconfig| 1 + doc/README.nand

[PATCH 12/21] Convert CONFIG_SYS_MMC_MAX_BLK_COUNT to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_BLK_COUNT Signed-off-by: Tom Rini --- configs/hikey960_defconfig | 1 + configs/octeontx2_95xx_defconfig| 1 + configs/octeontx2_96xx_defconfig| 1 + configs/octeontx_81xx_defconfig | 1 +

[PATCH 02/21] Convert CONFIG_SYS_INIT_RAM_LOCK to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_INIT_RAM_LOCK Signed-off-by: Tom Rini --- arch/powerpc/Kconfig | 4 arch/powerpc/include/asm/cache.h | 2 -- configs/MPC837XERDB_defconfig| 1 + configs/MPC8548CDS_36BIT_defconfig

[PATCH 08/21] powerpc: Migrate SYS_L3_SIZE to Kconfig

2022-10-28 Thread Tom Rini
Introduce three options, one for each observed L3 cache size, and have the size select'd as needed. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/Kconfig | 24 include/configs/P2041RDB.h | 2 -- include/configs/T102xRDB.h | 1 -

[PATCH 07/21] powerpc: Migrate SYS_L2_SIZE to Kconfig

2022-10-28 Thread Tom Rini
Introduce two options, one for each observed L2 cache size, and have the size select'd as needed. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/Kconfig | 16 include/configs/P1010RDB.h | 3 --- include/configs/p1_p2_rdb_pc.h | 3 --- 3 files changed, 16

[PATCH 03/21] Remove dead code

2022-10-28 Thread Tom Rini
This header is unreferenced, remove. Signed-off-by: Tom Rini --- include/w83c553f.h | 161 - 1 file changed, 161 deletions(-) delete mode 100644 include/w83c553f.h diff --git a/include/w83c553f.h b/include/w83c553f.h deleted file mode 100644 index

[PATCH 06/21] fs: jffs2: Move SYS_JFFS2_SORT_FRAGMENTS to Kconfig

2022-10-28 Thread Tom Rini
Move the symbol SYS_JFFS2_SORT_FRAGMENTS to Kconfig and use the only remaining part of doc/README.JFFS2 that is still relevant and useful to the help for this option. Signed-off-by: Tom Rini --- doc/README.JFFS2 | 30 -- fs/jffs2/Kconfig | 12 2 files

[PATCH 05/21] Remove unused symbols CONFIG_SYS_JFFS2_FIRST_BANK et al

2022-10-28 Thread Tom Rini
This removes the following symbols: CONFIG_RTC_MCFRRTC CONFIG_SYS_JFFS2_FIRST_BANK CONFIG_SYS_JFFS2_FIRST_SECTOR CONFIG_SYS_JFFS2_NUM_BANKS CONFIG_SYS_LBC_CACHE_BASE CONFIG_SYS_LIME_SIZE CONFIG_SYS_MAMR CONFIG_SYS_MCFRRTC_BASE CONFIG_SYS_MONITOR_SEC Signed-off-by: Tom

[PATCH 04/21] Convert CONFIG_SYS_INTERLAKEN et al to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_INTERLAKEN CONFIG_SYS_ISA_IO CONFIG_SYS_ISA_IO_BASE_ADDRESS Signed-off-by: Tom Rini --- drivers/rtc/mc146818.c | 2 +- include/configs/T208xQDS.h | 1 - include/configs/T208xRDB.h | 1 - include/configs/T4240RDB.h | 1 -

[PATCH 01/21] Convert CONFIG_SYS_I2C_INIT_BOARD to Kconfig

2022-10-28 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_I2C_INIT_BOARD Signed-off-by: Tom Rini --- README | 11 --- board/keymile/Kconfig| 3 +++ board/samsung/common/board.c | 4 board/samsung/goni/goni.c| 10

Re: [PATCH 5/5] cyclic: get rid of cyclic_init()

2022-10-28 Thread Rasmus Villemoes
On 28/10/2022 16.10, Stefan Roese wrote: > On 28.10.22 13:50, Rasmus Villemoes wrote: >> As for cyclic_uninit(), it was never really the opposite of >> cyclic_init() since it didn't free the struct cyclic_drv nor set >> gd->cyclic to NULL. Rename it to cyclic_unregister_all() and use that >> in

Re: Support for Banana Pi BPI-P2 Zero

2022-10-28 Thread Martin Thomas
Hi, I found a solution. I had to use CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-bananapi-m2-zero" This defconfig works! Best regards Martin Am 28.10.22 um 20:38 schrieb Martin Thomas: Hi Developers, I am struggling with the u-boot for the Banana Pi BPI-P2 Zero. I used this defconfig but

[PATCH 1/1] doc: update sbi command example

2022-10-28 Thread Heinrich Schuchardt
The output of the sbi command has been changed since the last release of the man-page. Update the example. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/sbi.rst | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/doc/usage/cmd/sbi.rst

Re: [RFC 1/1] tools: Dockerfile for armv7

2022-10-28 Thread Tom Rini
On Fri, Oct 28, 2022 at 09:14:13PM +0200, Heinrich Schuchardt wrote: > On 10/28/22 21:04, Tom Rini wrote: > > On Sun, Oct 16, 2022 at 12:03:30PM +0200, Heinrich Schuchardt wrote: > > > On 10/16/22 09:43, Heinrich Schuchardt wrote: > > > > Provide an armv7 docker environment to build and test the

Re: [RFC 1/1] tools: Dockerfile for armv7

2022-10-28 Thread Heinrich Schuchardt
On 10/28/22 21:04, Tom Rini wrote: On Sun, Oct 16, 2022 at 12:03:30PM +0200, Heinrich Schuchardt wrote: On 10/16/22 09:43, Heinrich Schuchardt wrote: Provide an armv7 docker environment to build and test the sandbox. Signed-off-by: Heinrich Schuchardt --- I have been discussing with Simon, if

Re: [RFC 1/1] tools: Dockerfile for armv7

2022-10-28 Thread Tom Rini
On Sun, Oct 16, 2022 at 12:03:30PM +0200, Heinrich Schuchardt wrote: > On 10/16/22 09:43, Heinrich Schuchardt wrote: > > Provide an armv7 docker environment to build and test the sandbox. > > > > Signed-off-by: Heinrich Schuchardt > > --- > > I have been discussing with Simon, if we can test

Support for Banana Pi BPI-P2 Zero

2022-10-28 Thread Martin Thomas
Hi Developers, I am struggling with the u-boot for the Banana Pi BPI-P2 Zero. I used this defconfig but it has problems with at least the mmc card: CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-bananapi-m2-plus-v1.2" CONFIG_SPL=y CONFIG_MACH_SUN8I_H3=y

mkimage regression: legacy images with Image Type IH_TYPE_FLATDT

2022-10-28 Thread Marc Kleine-Budde
Hello! ld;dr: I want to create legacy images with Image Type IH_TYPE_FLATDT. Details: During the migration of an older system to recent yocto, we noticed that the u-boot's mkimage doesn't work anymore as expected. The system runs an older version of u-boot and requires the kernel's dtb wrapped

[PATCH v1 1/1] arm64: zynqmp: dynamically mark r5 cores as used

2022-10-28 Thread Lukas Funke
From: Lukas Funke When Linux boot takes over control of the pmu (by signaling PM_INIT_FINALIZE via ipi), pmu will switch off 'unused' rpu cores. The Xilinx zynqmp fsbl prevents switching off those cores by marking rpu cores as 'used' when loading code partitions to those cores. The current

[PATCH v1 0/1] Marks real-time processing units (rpu) as used when released

2022-10-28 Thread Lukas Funke
When Linux boot takes over control of the pmu (by signaling PM_INIT_FINALIZE via ipi), pmu will switch off 'unused' rpu cores. The Xilinx zynqmp fsbl prevents switching off those cores by marking rpu cores as 'used' when loading code partitions to those cores. The current u-boot SPL is missing

Re: Adapteva Parallella board

2022-10-28 Thread Martin Husemann
On Thu, Oct 27, 2022 at 11:14:01AM +0200, Michal Simek wrote: > add DT to tree. If you have ps7_init create folder in board/xilinx/zynq/ > folder I didn't find a ps7_init in the parallela u-boot fork, so skipped that part... > export DEVICE_TREE=... I put the zynq-parallella.dtb that I had in

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-10-28 Thread Pali Rohár
Hello! This is really much better solution! Few comments are below. On Friday 28 October 2022 18:18:49 Max Krummenacher wrote: > From: Max Krummenacher > > With LTO enabled the U-Boot initial environment is no longer stored > in an easy accessible section in env/common.o. I.e. the section name

Re: [PATCH v2] configs: mediatek: enable boot via extlinux

2022-10-28 Thread Tom Rini
On Fri, Oct 28, 2022 at 10:28:27AM +0200, Julien STEPHAN wrote: > From: Alexandre Mergnat > > Enable FAT and SYSBOOT to use extlinux boot script > > Signed-off-by: Jerome Brunet > Signed-off-by: Alexandre Mergnat > Signed-off-by: Julien STEPHAN > > --- > V1 -> V2: adding missing

[PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-10-28 Thread Max Krummenacher
From: Max Krummenacher With LTO enabled the U-Boot initial environment is no longer stored in an easy accessible section in env/common.o. I.e. the section name changes from build to build, its content maybe compressed and it is annotated with additional data. Drop trying to read the initial env

[PATCH v2 0/1] Makefile: rework u-boot-initial-env target

2022-10-28 Thread Max Krummenacher
From: Max Krummenacher With CONFIG_LTO enabled the current way of extracting the configured environment no longer works, i.e. the object file content changes due to LTO. Build a host tool which prints the configured environment instead of using objcopy and friends to achive the same. The code

Re: [PATCH 0/5] cyclic: get rid of (the need for) cyclic_init()

2022-10-28 Thread Tim Harvey
On Fri, Oct 28, 2022 at 4:51 AM Rasmus Villemoes wrote: > > I have only compile-tested each of these for sandbox_defconfig and > imx8mq_cm_defconfig. I couldn't even figure out how to run the cyclic > test inside sandbox by itself, and I don't have any hardware here at > home. So perhaps just

Re: [PATCH v8 0/8] Add MV88E6xxx DSA driver and use on gwventana

2022-10-28 Thread Tim Harvey
On Fri, Oct 28, 2022 at 1:45 AM Vladimir Oltean wrote: > > On Thu, Oct 27, 2022 at 05:49:29PM -0700, Tim Harvey wrote: > > This series adds a DSA driver for the MV88E6xxx based on > > drivers/net/phy/mv88e61xx and uses it in the gwventana_gw5904_defconfig. > > Looks good, thanks. To me this is

Re: question about uboot mt7620 RAM_VERSION

2022-10-28 Thread Kang-sen Lu
Hi, Stefan: Thanks for your effort to build a ubbot.bin (RAM_VERSION) for mt7620 router. I tried it out, using tftp to download it. It did start but having some errors. I have saved the log for you. It is in the attachment. I want to report to you that I have built the uboot.bin (ROM_VERSION)

Re: [PATCH 0/5] cyclic: get rid of (the need for) cyclic_init()

2022-10-28 Thread Stefan Roese
Hi Rasmus, On 28.10.22 13:50, Rasmus Villemoes wrote: I have only compile-tested each of these for sandbox_defconfig and imx8mq_cm_defconfig. I couldn't even figure out how to run the cyclic test inside sandbox by itself, and I don't have any hardware here at home. There is "cyclic demo"

Re: [PATCH 5/5] cyclic: get rid of cyclic_init()

2022-10-28 Thread Stefan Roese
On 28.10.22 13:50, Rasmus Villemoes wrote: Currently, we must call cyclic_init() at some point before cyclic_register() becomes possible. That turns out to be somewhat awkward, especially with SPL, and has resulted in a watchdog callback not being registered, thus causing the board to

Re: [PATCH 3/5] list.h: synchronize hlist_for_each_entry* iterators with linux

2022-10-28 Thread Stefan Roese
On 28.10.22 13:50, Rasmus Villemoes wrote: All the way back in 2013, the linux kernel updated the four hlist_for_each_entry* iterators to require one less auxiliary variable: commit b67bfe0d42cac56c512dd5da4b1b347a23f4b70a Author: Sasha Levin Date: Wed Feb 27 17:06:00 2013 -0800

Re: [PATCH 4/5] cyclic: switch to using hlist instead of list

2022-10-28 Thread Stefan Roese
On 28.10.22 13:50, Rasmus Villemoes wrote: A hlist is headed by just a single pointer, so can only be traversed forwards, and insertions can only happen at the head (or before/after an existing list member). But each list node still consists of two pointers, so arbitrary elements can still be

Re: [PATCH 2/5] cyclic: drop redundant cyclic_ready flag

2022-10-28 Thread Stefan Roese
On 28.10.22 13:50, Rasmus Villemoes wrote: We're already relying on gd->cyclic being NULL before cyclic_init() is called - i.e., we're relying on all of gd being zeroed before entering any C code. And when we do populate gd->cyclic, its ->cyclic_ready member is automatically set to true. So we

Re: [PATCH 1/5] cyclic: use a flag in gd->flags for recursion protection

2022-10-28 Thread Stefan Roese
On 28.10.22 13:50, Rasmus Villemoes wrote: As a preparation for future patches, use a flag in gd->flags rather than a separate member in (the singleton) struct cyclic_drv to keep track of whether we're already inside cyclic_run(). Signed-off-by: Rasmus Villemoes --- common/cyclic.c

Re: imx8 regression: cyclic_register for watchdog@30280000 failed

2022-10-28 Thread Stefan Roese
Hi Rasmus, On 28.10.22 14:14, Rasmus Villemoes wrote: On 26/10/2022 21.06, Tim Harvey wrote: 29caf9305b6f cyclic: Use schedule() instead of WATCHDOG_RESET() ^^^ build issue resolved, boot issue on imx8mm-venice resolved, but this is where we now encounter watchdog failures in both the SPL and

[PATCH] mips: mtmips: spl/Kconfig: Set CONFIG_SPL_PAD_TO to 0x0 for ARCH_MTMIPS

2022-10-28 Thread Stefan Roese
It was noticed that while converting CONFIG_SPL_PAD_TO to Kconfig its value for the MIPS MT762x/8x targets got not ported correctly. Its default is not 0x1 instead of 0x0. This patch fixes this issue. Fixes: ca8a329a1b7f ("Convert CONFIG_SPL_PAD_TO et al to Kconfig") Signed-off-by: Stefan

Re: imx8 regression: cyclic_register for watchdog@30280000 failed

2022-10-28 Thread Rasmus Villemoes
On 26/10/2022 21.06, Tim Harvey wrote: > 29caf9305b6f cyclic: Use schedule() instead of WATCHDOG_RESET() > ^^^ build issue resolved, boot issue on imx8mm-venice resolved, but > this is where we now encounter watchdog failures in both the SPL and > U-Boot: > > SPL: > cyclic_register for

[PATCH 5/5] cyclic: get rid of cyclic_init()

2022-10-28 Thread Rasmus Villemoes
Currently, we must call cyclic_init() at some point before cyclic_register() becomes possible. That turns out to be somewhat awkward, especially with SPL, and has resulted in a watchdog callback not being registered, thus causing the board to prematurely reset. We already rely on gd->cyclic

[PATCH 4/5] cyclic: switch to using hlist instead of list

2022-10-28 Thread Rasmus Villemoes
A hlist is headed by just a single pointer, so can only be traversed forwards, and insertions can only happen at the head (or before/after an existing list member). But each list node still consists of two pointers, so arbitrary elements can still be removed in O(1). This is precisely what we

[PATCH 2/5] cyclic: drop redundant cyclic_ready flag

2022-10-28 Thread Rasmus Villemoes
We're already relying on gd->cyclic being NULL before cyclic_init() is called - i.e., we're relying on all of gd being zeroed before entering any C code. And when we do populate gd->cyclic, its ->cyclic_ready member is automatically set to true. So we can actually just rely on testing gd->cyclic

[PATCH 3/5] list.h: synchronize hlist_for_each_entry* iterators with linux

2022-10-28 Thread Rasmus Villemoes
All the way back in 2013, the linux kernel updated the four hlist_for_each_entry* iterators to require one less auxiliary variable: commit b67bfe0d42cac56c512dd5da4b1b347a23f4b70a Author: Sasha Levin Date: Wed Feb 27 17:06:00 2013 -0800 hlist: drop the node parameter from

[PATCH 1/5] cyclic: use a flag in gd->flags for recursion protection

2022-10-28 Thread Rasmus Villemoes
As a preparation for future patches, use a flag in gd->flags rather than a separate member in (the singleton) struct cyclic_drv to keep track of whether we're already inside cyclic_run(). Signed-off-by: Rasmus Villemoes --- common/cyclic.c | 6 +++---

[PATCH 0/5] cyclic: get rid of (the need for) cyclic_init()

2022-10-28 Thread Rasmus Villemoes
I have only compile-tested each of these for sandbox_defconfig and imx8mq_cm_defconfig. I couldn't even figure out how to run the cyclic test inside sandbox by itself, and I don't have any hardware here at home. So perhaps just consider these a POC of the overall idea, namely to use a list

Re: Missing variable in *_defconfig of MT7628/MT7688

2022-10-28 Thread Tom Rini
On Fri, Oct 28, 2022 at 01:00:45PM +0200, Stefan Roese wrote: > Hi Tom, > > please find below a mail from Ruben, remarking that the Kconfig > conversion of CONFIG_SPL_PAD_TO seems to have gone wrong. At least > for MIPS MT7620/88. This was the commit from you: > > ca8a329a1b7f ("Convert

Re: [PATCH] rpi: copy the eMMC controller configuration from firmware-supplied DT

2022-10-28 Thread Jian-Hong Pan
Ilya K 於 2022年10月27日 週四 晚上7:48寫道: > > FWIW, my vote is for the revised series. Also, we've been shipping both > patches downstream in NixOS for a while now, and had no issues with either. > > 27.10.2022, 09:27, "Peter Robinson" : > > Adding Matthias as the RPi maintainer. > > There was also this

Re: Missing variable in *_defconfig of MT7628/MT7688

2022-10-28 Thread Stefan Roese
Hi Tom, please find below a mail from Ruben, remarking that the Kconfig conversion of CONFIG_SPL_PAD_TO seems to have gone wrong. At least for MIPS MT7620/88. This was the commit from you: ca8a329a1b7f ("Convert CONFIG_SPL_PAD_TO et al to Kconfig") I just double checked this and Ruben is

Re: Binman entry 'u-boot-any' not found in list

2022-10-28 Thread Fabio Estevam
[Adding Alper - binmam maintainer and Oliver, who faced the same issue on imx8] On Fri, Oct 28, 2022 at 7:56 AM Neha Malcom Francis wrote: > > Hi! > > U-Boot build for J721E with binman enabled on the latest tip of the > master branch throws an error when I try to use u-boot-spl-nodtb entry > in

Binman entry 'u-boot-any' not found in list

2022-10-28 Thread Neha Malcom Francis
Hi! U-Boot build for J721E with binman enabled on the latest tip of the master branch throws an error when I try to use u-boot-spl-nodtb entry in my dtsi. What I'm trying to do is, to show I've made a small example

Re: [PATCH 2/3] cmd: pxe: support INITRD and FDT selection with FIT

2022-10-28 Thread Neil Armstrong
Hi Patrick, On 28/10/2022 11:01, Patrick Delaunay wrote: Since the commit d5ba6188dfbf ("cmd: pxe_utils: Check fdtcontroladdr in label_boot") the FDT or the FDTDIR label is required in extlinux.conf and the fallback done by bootm command when only the device tree present in this command

Re: [PATCH 1/3] cmd: pxe: reorder kernel treatment in label_boot

2022-10-28 Thread Neil Armstrong
On 28/10/2022 11:01, Patrick Delaunay wrote: Reorder kernel treatment in label_boot at the beginning of the function. This patch doesn't change the pxe command behavior, it is only a preliminary step for next patch, build kernel_addr before parsing the label initrd and fdt to build the next

Re: [PATCH 3/3] cmd: pxe: use strdup to copy config

2022-10-28 Thread Neil Armstrong
On 28/10/2022 11:01, Patrick Delaunay wrote: Replace malloc and strcpy by strdup in function parse_label_kernel. Signed-off-by: Patrick Delaunay --- boot/pxe_utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index

[PATCH 3/3] cmd: pxe: use strdup to copy config

2022-10-28 Thread Patrick Delaunay
Replace malloc and strcpy by strdup in function parse_label_kernel. Signed-off-by: Patrick Delaunay --- boot/pxe_utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index 756b201eda91..84e63c5cb85f 100644 --- a/boot/pxe_utils.c +++

[PATCH 2/3] cmd: pxe: support INITRD and FDT selection with FIT

2022-10-28 Thread Patrick Delaunay
Since the commit d5ba6188dfbf ("cmd: pxe_utils: Check fdtcontroladdr in label_boot") the FDT or the FDTDIR label is required in extlinux.conf and the fallback done by bootm command when only the device tree present in this command parameters is no more performed when FIT is used for kernel. When

[PATCH 1/3] cmd: pxe: reorder kernel treatment in label_boot

2022-10-28 Thread Patrick Delaunay
Reorder kernel treatment in label_boot at the beginning of the function. This patch doesn't change the pxe command behavior, it is only a preliminary step for next patch, build kernel_addr before parsing the label initrd and fdt to build the next bootm arguments. Signed-off-by: Patrick Delaunay

[PATCH 0/3] cmd: pxe: support INITRD and FDT selection with FIT

2022-10-28 Thread Patrick Delaunay
Since the commit d5ba6188dfbf ("cmd: pxe_utils: Check fdtcontroladdr in label_boot") the FDT or the FDTDIR label is required in extlinux.conf and the fallback done by bootm command when only the device tree is present in this command parameters is no more performed when FIT is used for kernel.

Re: [PATCH v8 0/8] Add MV88E6xxx DSA driver and use on gwventana

2022-10-28 Thread Vladimir Oltean
On Thu, Oct 27, 2022 at 05:49:29PM -0700, Tim Harvey wrote: > This series adds a DSA driver for the MV88E6xxx based on > drivers/net/phy/mv88e61xx and uses it in the gwventana_gw5904_defconfig. Looks good, thanks. To me this is ready to go!

Re: [PATCH] riscv: Rename Andes PLIC to PLICSW

2022-10-28 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Tuesday, October 25, 2022 11:04 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; Peter Yu-Chien Lin(林宇謙) > Subject: [PATCH] riscv: Rename Andes PLIC to PLICSW > > As PLICSW is used to trigger the software interrupt,

Re: [PATCH V2 01/13] env: Complete generic support for writable list

2022-10-28 Thread Stefan Herbrechtsmeier
Hi Jan, Am 27.10.2022 um 14:38 schrieb Jan Kiszka: On 27.10.22 09:49, Stefan Herbrechtsmeier wrote: Hi, Am 05.10.2022 um 10:33 schrieb Jan Kiszka: From: Jan Kiszka This completes what 890feecaab72 started by selecting ENV_APPEND and ENV_IS_NOWHERE and by moving this driver to top if the

[PATCH v2] configs: mediatek: enable boot via extlinux

2022-10-28 Thread Julien STEPHAN
From: Alexandre Mergnat Enable FAT and SYSBOOT to use extlinux boot script Signed-off-by: Jerome Brunet Signed-off-by: Alexandre Mergnat Signed-off-by: Julien STEPHAN --- V1 -> V2: adding missing CONFIG_ENV_OFFSET config --- configs/mt8183_pumpkin_defconfig | 3 +++

Re: [PATCH] ARM: stm32: Add boot counter to DHSOM

2022-10-28 Thread Patrice CHOTARD
On 10/27/22 23:17, Marek Vasut wrote: > Add boot counter to STM32MP15xx DHSOM. This aligns the software with > other upstream DHSOM products which already do enable boot counter. > > The boot counter on STM32MP15xx is placed in the TAMP block TAMP_BKPxR > register 19, right past register 17 and