Skip to content

Commit 6507831

Browse files
aakoskinamalon
authored andcommitted
MIPS: bcm47xx: enable ZBOOT support
Enable ZBOOT support. The WRT54GL router's bootloader limits kernel size to 3 MB with the normal load address, which is a bit challenging vmlinux size with modern Linux. A compressed kernel allows booting much bigger kernels. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18492/ Signed-off-by: James Hogan <jhogan@kernel.org>
1 parent cc48044 commit 6507831

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/mips/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ config BCM47XX
253253
select SYS_SUPPORTS_32BIT_KERNEL
254254
select SYS_SUPPORTS_LITTLE_ENDIAN
255255
select SYS_SUPPORTS_MIPS16
256+
select SYS_SUPPORTS_ZBOOT
256257
select SYS_HAS_EARLY_PRINTK
257258
select USE_GENERIC_EARLY_PRINTK_8250
258259
select GPIOLIB

arch/mips/bcm47xx/Platform

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ platform-$(CONFIG_BCM47XX) += bcm47xx/
55
cflags-$(CONFIG_BCM47XX) += \
66
-I$(srctree)/arch/mips/include/asm/mach-bcm47xx
77
load-$(CONFIG_BCM47XX) := 0xffffffff80001000
8+
zload-$(CONFIG_BCM47XX) += 0xffffffff80400000

0 commit comments

Comments
 (0)