[PATCH v3] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2B board

2025-05-31 Thread Michael Trimarchi
Introduce the BSH SystemMaster (SMM) M2B board. Notably, the M2B is designed to leverage the existing device tree of its predecessor, the M2. The primary distinction arises from memory incompatibilities with the M2. To address this, we've implemented a configuration system that allows for selective

Re: [PATCH v2] bootm: Fix bmi->images pointer not initialized in some cases

2025-05-31 Thread Tom Rini
On Tue, 20 May 2025 22:35:15 +0200, Benjamin ROBIN wrote: > When building with only bootz command, without bootm, images pointer > inside bootm_info structure is not initialized. And since this structure > is stored in stack, the generated error is kind of random, but most of > the time this will

Re: [PATCH] image: android: fix ramdisk default address

2025-05-31 Thread Tom Rini
On Wed, 21 May 2025 15:26:59 -0600, Eddie Kovsky wrote: > Commit 21e7fa0e3ac5 ("image: android: handle ramdisk default address") > changed the default behavior for header versions less than or equal to 2. > > The ramdisk address (img_data.ramdisk_ptr) is only assigned to *rd_data > if the physica

Re: [PATCH] env: Fix network support when CONFIG_NET_LWIP is set

2025-05-31 Thread Tom Rini
On Sat, 17 May 2025 22:09:30 +0200, Benjamin ROBIN wrote: > When lwIP (CONFIG_NET_LWIP) is used instead of legacy stack (CONFIG_NET), > environment flags support associated with network was not built: restore > support of "i" and "m" environment flags. > > Applied to u-boot/master, thanks! [1/

[PATCH 1/2] arm: armv7: restore section to .text after saved_args

2025-05-31 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen when CONFIG_BLOBLIST is enabled, the section is switched to .data but is not switched back to .text. It makes all the code below placed in .data section, also breaks CONFIG_POSITION_INDEPENDENT. Fix it by adding `.section .text` to switch the section back to .text. Fixes: 5103e

[PATCH 2/2] arm: qemu: Add imply CONFIG_POSITION_INDEPENDENT

2025-05-31 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen Add 'imply CONFIG_POSITION_INDEPENTDENT' for QEMU arm arch. This allows qemu arm boards to load u-boot.bin at any address. It is skipped by default when u-boot is loaded by either --bios or --kernel. To load u-boot.bin at a different address, one can use u-boot chain-loading or

[PATCH 0/2] arm: armv7: fix a bug that prevents CONFIG_BLOBLIST and CONFIG_POSITION_INDEPENDENT to be enabled together

2025-05-31 Thread Yang Xiwen via B4 Relay
This patchset also enables CONFIG_POSITION_INDEPENDENT for qemu boards to avoid similar issues to happen again in the future. Signed-off-by: Yang Xiwen --- Yang Xiwen (2): arm: armv7: restore section to .text after saved_args arm: qemu: Add imply CONFIG_POSITION_INDEPENDENT arch/arm

Adding AMD GPU support via Linux ATOM BIOS emulator port

2025-05-31 Thread BogDan Vatra
Hello there, I'd like to *try* to port the Linux ATOM BIOS emulator to U-Boot to enable AMD GPU initialization and basic display support across all platforms, eliminating the dependency on option ROMs. Linux already successfully uses this approach on platforms without option ROM support. Newer

[PATCH 02/13] kbuild: add -Werror=implicit-int flag unconditionally

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 61a0902a06d6a ("kbuild: add -Werror=implicit-int flag unconditionally") Signed-off-by: Ilias Apalodimas --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a1eb26c6e41..9098e732b4a8 100644 --- a/Makefile +++

[PATCH 06/13] kbuild: gitignore output directory

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 3a51ff344204 ("kbuild: gitignore output directory" Signed-off-by: Ilias Apalodimas --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 48a0af51bdd6..6758ec4103e8 100644 --- a/Makefile +++ b/Makefile @@ -513,10 +513,13 @@ PHO

[PATCH 11/13] kbuild: mark prepare0 as PHONY to fix external module build

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit e00d88804814 ("kbuild: mark prepare0 as PHONY to fix external module build") Signed-off-by: Ilias Apalodimas --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24d6cd8fd7aa..03f88e736a61 100644 --- a/Makefil

[PATCH 13/13] kbuild: fix single target build for external module

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit e07db28eea38 ("kbuild: fix single target build for external module") It's worth noting that crmodverdir is empty for U-Boot. Just backport it to make diffing easier Signed-off-by: Ilias Apalodimas --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH 12/13] kbuild: make 'archprepare' depend on 'scripts'

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 059bc9fc375e ("kbuild: make 'archprepare' depend on 'scripts'") Signed-off-by: Ilias Apalodimas --- Makefile | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 03f88e736a61..dbf1edc39ac4 100644 --

[PATCH 08/13] gcc-9: silence 'address-of-packed-member' warning

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 6f303d60534c ("gcc-9: silence 'address-of-packed-member' warning") Signed-off-by: Ilias Apalodimas --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 1f190b40ef2c..055898935372 100644 --- a/Makefile +++ b/Makefile @@ -800,7 +80

[PATCH 10/13] kbuild: skip parsing pre sub-make code for recursion

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 221cc2d27ddc ("kbuild: skip parsing pre sub-make code for recursion") Signed-off-by: Ilias Apalodimas --- Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 19fa77953d2f..24d6cd8fd7aa 100644 --- a/Makefile

[PATCH 09/13] kbuild: do not overwrite .gitignore in output directory

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 156e7cbb3ef5 ("kbuild: do not overwrite .gitignore in output directory") Signed-off-by: Ilias Apalodimas --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 055898935372..19fa77953d2f 100644 --- a/Makefile +++

[PATCH 07/13] kbuild: remove meaningless prepare2 target

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit 4f1c1008e786 ("kbuild: remove meaningless prepare2 target") Signed-off-by: Ilias Apalodimas --- Makefile | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6758ec4103e8..1f190b40ef2c 100644 --- a/Makefile +++ b/Makef

[PATCH 04/13] kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit ad15006cc784 ("kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD") Signed-off-by: Ilias Apalodimas --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9098e732b4a8..82bcc097e493 100644 --- a/Makefile +++ b/Makef

[PATCH 05/13] kbuild: use -Werror=implicit-... instead of -Werror-implicit-...

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit b89f25ea7892 ("kbuild: use -Werror=implicit-... instead of -Werror-implicit-..." Signed-off-by: Ilias Apalodimas --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 82bcc097e493..48a0af51bdd6 100644 --- a/Makef

[PATCH 03/13] kbuild: use assignment instead of define ... endef for filechk_* rules

2025-05-31 Thread Ilias Apalodimas
Backported from kernel commit ba97df45581f ("kbuild: use assignment instead of define ... endef for filechk_* rules") Signed-off-by: Ilias Apalodimas --- scripts/Kbuild.include | 7 +++ scripts/kconfig/Makefile | 4 +--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/scrip

[PATCH 01/13] kbuild: add -fno-PIE flag unconditionally

2025-05-31 Thread Ilias Apalodimas
Backport from kernel commit 42a92bccd213 ("kbuild: add -fno-PIE flag unconditionally") Signed-off-by: Ilias Apalodimas --- Makefile | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c7b82299c198..6a1eb26c6e41 100644 --- a/Makefile +++ b/Makefi

[PATCH] ARM: imx: mxs: Add support for imx287 based BTT devices

2025-05-31 Thread Lukasz Majewski
The btt[c3] devices are based on imx287 SoC. U-Boot SPL 2025.04-01081-g07e086681d26 (Apr 16 2025 - 12:24:36 +0200) Trying to boot from MMC1 U-Boot 2025.04-01081-g07e086681d26 (Apr 16 2025 - 12:24:36 +0200) CPU: Freescale i.MX28 rev1.2 at 454 MHz BOOT: SSP SPI #3, master, 3V3 NOR Model: BTT3 B