On Fri, 12 Sep 2025 10:34:38 +0200, Ahmad Fatoum wrote:
> relocate_to_adr is decrementing two SZREG worth of stack space to be able
> to spill two registers. An off-by-one led us to reference the word after
> the reserved stack space, clobbering one word from the previous
> function's stack frame
On Mon, 15 Sep 2025 16:41:26 +0200, Sascha Hauer wrote:
>
Applied, thanks!
[1/1] ARM: dts: k3-am62l: read MAC address from E-Fuse
https://git.pengutronix.de/cgit/barebox/commit/?id=27764e8ee710 (link may
not be stable)
Best regards,
--
Sascha Hauer
On Mon, Sep 15, 2025 at 04:41:19PM +0200, Sascha Hauer wrote:
> CONFIG_USB_ROLE_SWITCH does not exist in barebox. Remove the test for
> this option.
>
> Fixes: 5d01c33175 ("usb: dwc3: sync with Linux-6.3-rc2")
> Signed-off-by: Sascha Hauer
> ---
> drivers/usb/dwc3/core.c | 3 +--
> 1 file change
From: Chali Anis
remove the allocate EFI_ALLOCATE_MAX_ADDRESSES and use a different
memsize for x86 since the initrd could be bigger that those used in
arm. it might be refactored in the future with a more generic allocation
strategy (i.e barebox malloc memory vs an allocator for the boot loader
Hi,
On 16.09.25 06:54, chalian...@gmail.com wrote:
> From: Ahmad Fatoum
>
> We currently lack a way to build a barebox EFI payload on ARM without
> enabling some other subarchitecture. As CONFIG_EFI_PAYLOAD has a global
> effect and adds EFI stubs to all enabled board, an EFI subarchitecture
> d
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/Kconfig b/efi/Kconfig
index 5f4c6713d539..5ae7ec92e5f8 100644
--- a/efi/Kconfig
+++ b/efi/Kconfig
@@ -6,7 +6,7 @@ config HAVE_EFI_PAY
From: Chali Anis
remove the unused FDT_PADDING.
Signed-off-by: Chali Anis
---
lib/Kconfig | 4
1 file changed, 4 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 89e95d202c2c..d07e2f3b6959 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -121,10 +121,6 @@ config FSL_QE_FIRMWARE
From: Chali Anis
Add the ability to install an initrd media protocol from an initrd file
or a fitImage, support both the initrd media protocol or installing the
initramfs directly to efi like what linux do.
Signed-off-by: Chali Anis
---
efi/guid.c| 7 +++
efi/payload/efi-init
From: Chali Anis
Signed-off-by: Chali Anis
---
arch/arm/configs/efi_v8_defconfig | 266 ++
1 file changed, 266 insertions(+)
create mode 100644 arch/arm/configs/efi_v8_defconfig
diff --git a/arch/arm/configs/efi_v8_defconfig
b/arch/arm/configs/efi_v8_defconfig
new
From: Chali Anis
this permits to select one of efi stub bootm or efi handover protocol
tested on dell latitude and qemu.
Signed-off-by: Chali Anis
---
efi/payload/Kconfig | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/efi/payload/Kconfig b/efi/payload/Kconfig
index 8f7
From: Chali Anis
implement the efi stub boot on x86, this code is tested on qemu,
and dell latitude 7490. the EFI_ALLOCATE_MAX_PAGES cause an xfuncs
issue on real hardware so I transformed it to allocate any pages.
Signed-off-by: Chali Anis
---
efi/payload/bootm.c | 143 +--
From: Chali Anis
add x86 linux filetype to be used to boot with efi stub
bootm image handler.
Signed-off-by: Chali Anis
---
common/filetype.c | 4
include/filetype.h | 6 ++
2 files changed, 10 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index eb397a175cb6..8735
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/Kconfig b/efi/Kconfig
index 5f4c6713d539..5ae7ec92e5f8 100644
--- a/efi/Kconfig
+++ b/efi/Kconfig
@@ -6,7 +6,7 @@ config HAVE_EFI_PAY
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig| 4 +
efi/payload/Kconfig| 4 +
efi/payload/Makefile | 2 +
efi/payload/handover.c | 195 +++
efi/payload/image.c| 228 ++
From: Ahmad Fatoum
We currently lack a way to build a barebox EFI payload on ARM without
enabling some other subarchitecture. As CONFIG_EFI_PAYLOAD has a global
effect and adds EFI stubs to all enabled board, an EFI subarchitecture
doesn't fit into our current model.
Instead, let's make it possi
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Chali Anis
remove the allocate EFI_ALLOCATE_MAX_ADDRESSES and use a different
memsize for x86 since the initrd could be bigger that those used in
arm. it might be refactored in the future with a more generic allocation
strategy (i.e barebox malloc memory vs an allocator for the boot loader
From: Chali Anis
Signed-off-by: Chali Anis
---
arch/arm/configs/efi_v8_defconfig | 266 ++
1 file changed, 266 insertions(+)
create mode 100644 arch/arm/configs/efi_v8_defconfig
diff --git a/arch/arm/configs/efi_v8_defconfig
b/arch/arm/configs/efi_v8_defconfig
new
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/Kconfig b/efi/Kconfig
index 5f4c6713d539..5ae7ec92e5f8 100644
--- a/efi/Kconfig
+++ b/efi/Kconfig
@@ -6,7 +6,7 @@ config HAVE_EFI_PAY
From: Chali Anis
Signed-off-by: Chali Anis
---
arch/arm/configs/efi_v8_defconfig | 266 ++
1 file changed, 266 insertions(+)
create mode 100644 arch/arm/configs/efi_v8_defconfig
diff --git a/arch/arm/configs/efi_v8_defconfig
b/arch/arm/configs/efi_v8_defconfig
new
From: Chali Anis
remove the unused FDT_PADDING.
Signed-off-by: Chali Anis
---
lib/Kconfig | 4
1 file changed, 4 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 89e95d202c2c..d07e2f3b6959 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -121,10 +121,6 @@ config FSL_QE_FIRMWARE
From: Chali Anis
implement the efi stub boot on x86, this code is tested on qemu,
and dell latitude 7490. the EFI_ALLOCATE_MAX_PAGES cause an xfuncs
issue on real hardware so I transformed it to allocate any pages.
Signed-off-by: Chali Anis
---
efi/payload/bootm.c | 143 +--
From: Chali Anis
add x86 linux filetype to be used to boot with efi stub
bootm image handler.
Signed-off-by: Chali Anis
---
common/filetype.c | 4
include/filetype.h | 6 ++
2 files changed, 10 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index eb397a175cb6..8735
From: Chali Anis
Add the ability to install an initrd media protocol from an initrd file
or a fitImage, support both the initrd media protocol or installing the
initramfs directly to efi like what linux do.
Signed-off-by: Chali Anis
---
efi/guid.c| 7 +++
efi/payload/efi-init
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Ahmad Fatoum
We currently lack a way to build a barebox EFI payload on ARM without
enabling some other subarchitecture. As CONFIG_EFI_PAYLOAD has a global
effect and adds EFI stubs to all enabled board, an EFI subarchitecture
doesn't fit into our current model.
Instead, let's make it possi
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig| 4 +
efi/payload/Kconfig| 4 +
efi/payload/Makefile | 2 +
efi/payload/handover.c | 195 +++
efi/payload/image.c| 228 ++
From: Chali Anis
remove the allocate EFI_ALLOCATE_MAX_ADDRESSES and use a different
memsize for x86 since the initrd could be bigger that those used in
arm. it might be refactored in the future with a more generic allocation
strategy (i.e barebox malloc memory vs an allocator for the boot loader
From: Chali Anis
implement the efi stub boot on x86, this code is tested on qemu,
and dell latitude 7490. the EFI_ALLOCATE_MAX_PAGES cause an xfuncs
issue on real hardware so I transformed it to allocate any pages.
Signed-off-by: Chali Anis
---
efi/payload/bootm.c | 143 +--
From: Chali Anis
add x86 linux filetype to be used to boot with efi stub
bootm image handler.
Signed-off-by: Chali Anis
---
common/filetype.c | 4
include/filetype.h | 6 ++
2 files changed, 10 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index eb397a175cb6..8735
From: Chali Anis
Add the ability to install an initrd media protocol from an initrd file
or a fitImage, support both the initrd media protocol or installing the
initramfs directly to efi like what linux do.
Signed-off-by: Chali Anis
---
efi/guid.c| 7 +++
efi/payload/efi-init
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/Kconfig b/efi/Kconfig
index 5f4c6713d539..5ae7ec92e5f8 100644
--- a/efi/Kconfig
+++ b/efi/Kconfig
@@ -6,7 +6,7 @@ config HAVE_EFI_PAY
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Ahmad Fatoum
Signed-off-by: Ahmad Fatoum
Signed-off-by: Chali Anis
---
efi/Kconfig| 4 +
efi/payload/Kconfig| 4 +
efi/payload/Makefile | 2 +
efi/payload/handover.c | 195 +++
efi/payload/image.c| 228 ++
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
From: Ahmad Fatoum
We currently lack a way to build a barebox EFI payload on ARM without
enabling some other subarchitecture. As CONFIG_EFI_PAYLOAD has a global
effect and adds EFI stubs to all enabled board, an EFI subarchitecture
doesn't fit into our current model.
Instead, let's make it possi
From: Chali Anis
Signed-off-by: Chali Anis
---
arch/arm/configs/efi_v8_defconfig | 266 ++
1 file changed, 266 insertions(+)
create mode 100644 arch/arm/configs/efi_v8_defconfig
diff --git a/arch/arm/configs/efi_v8_defconfig
b/arch/arm/configs/efi_v8_defconfig
new
From: Ahmad Fatoum
This patch has more stock, between implementing EFI STUB boot, refactor to
reuse the code and finaly support the fit image format.
This code is tested on many qemu EFI compilations comming from ovmf ubuntu
package, tianocore efi for qemu, local edk2 build, and also tested on RP
Signed-off-by: Sascha Hauer
---
arch/arm/dts/k3-am62l-main.dtsi | 1 +
arch/arm/dts/k3-am62l-wakeup.dtsi | 5 +
2 files changed, 6 insertions(+)
diff --git a/arch/arm/dts/k3-am62l-main.dtsi b/arch/arm/dts/k3-am62l-main.dtsi
index b7b52d6b56..f1f67c1cc4 100644
--- a/arch/arm/dts/k3-am62l-ma
CONFIG_USB_ROLE_SWITCH does not exist in barebox. Remove the test for
this option.
Fixes: 5d01c33175 ("usb: dwc3: sync with Linux-6.3-rc2")
Signed-off-by: Sascha Hauer
---
drivers/usb/dwc3/core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/driv
Hi,
On 9/14/25 9:40 PM, chalian...@gmail.com wrote:
> From: Chali Anis
>
> remove the framebuffer console and let develpers select it when needed, this
> fixes the problem that consist of having the screen splited to top and bottom
> displaying the output twice, and considerably speedup the efi
44 matches
Mail list logo