From: Rafał Miłecki <[email protected]>

This allows loader to handle kernel 5.10 that grew bigger than 5.4.

Variations tested on BCM4706:

BAD:
BZ_TEXT_START  := 0x80600000
BZ_STACK_START := 0x80700000

GOOD:
BZ_TEXT_START   := 0x80700000
BZ_STACK_START  := 0x80700000

BAD:
BZ_TEXT_START   := 0x80600000
BZ_STACK_START  := 0x80800000

GOOD:
BZ_TEXT_START   := 0x80700000
BZ_STACK_START  := 0x80800000

Cc: Hauke Mehrtens <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
---
 target/linux/bcm47xx/image/lzma-loader/src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/bcm47xx/image/lzma-loader/src/Makefile 
b/target/linux/bcm47xx/image/lzma-loader/src/Makefile
index a08fc05b9f..94b78254b8 100644
--- a/target/linux/bcm47xx/image/lzma-loader/src/Makefile
+++ b/target/linux/bcm47xx/image/lzma-loader/src/Makefile
@@ -18,7 +18,7 @@
 #
 
 TEXT_START     := 0x80001000
-BZ_TEXT_START  := 0x80600000
+BZ_TEXT_START  := 0x80700000
 BZ_STACK_START := 0x80700000
 
 OBJCOPY                := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R 
.note -R .comment -R .mdebug -S
-- 
2.31.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to