From: Zoltan HERPAI Date: Tue, 14 May 2024 21:27:50 +0000 (+0200) Subject: opensbi: update FW_JUMP_FDT_ADDR as needed on cv18x0 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e0f9ed6262c14ba218301934d65548076473dd28;p=openwrt%2Fstaging%2Fwigyori.git opensbi: update FW_JUMP_FDT_ADDR as needed on cv18x0 Later this should be worked into an ifdef. Signed-off-by: Zoltan HERPAI --- diff --git a/package/boot/opensbi/patches/001-update-JUMP_FDT_ADDR.patch b/package/boot/opensbi/patches/001-update-JUMP_FDT_ADDR.patch new file mode 100644 index 0000000000..a28ccb5862 --- /dev/null +++ b/package/boot/opensbi/patches/001-update-JUMP_FDT_ADDR.patch @@ -0,0 +1,11 @@ +--- a/platform/generic/objects.mk 2024-05-14 18:54:31.492413207 +0200 ++++ b/platform/generic/objects.mk 2023-12-27 08:02:58.000000000 +0100 +@@ -32,7 +32,7 @@ + # This needs to be 2MB aligned for 64-bit system + FW_JUMP_ADDR=$(shell printf "0x%X" $$(($(FW_TEXT_START) + 0x200000))) + endif +-FW_JUMP_FDT_ADDR=$(shell printf "0x%X" $$(($(FW_TEXT_START) + 0x2200000))) ++FW_JUMP_FDT_ADDR=$(shell printf "0x%X" $$(($(FW_TEXT_START) + 0x30000000))) + FW_PAYLOAD=y + ifeq ($(PLATFORM_RISCV_XLEN), 32) + # This needs to be 4MB aligned for 32-bit system