Skip to contentSkip to conversation

mips: ralink: enable zboot support

PATCH Applied Chuanhong Guo 2 participants 2 messages Oct 13, 2020 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: ralink: enable zboot support

Some of these ralink devices come with an ancient u-boot which can't extract LZMA properly when image gets too big.
Enable zboot support to get a self-extracting kernel instead of relying on broken u-boot support.

---
 arch/mips/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/mips/Kconfig +1 -0
index f52fa211a4cf..534ecff2e2c5 100644
@@ -618,6 +618,7 @@ config RALINK
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select SYS_SUPPORTS_MIPS16
+	select SYS_SUPPORTS_ZBOOT
 	select SYS_HAS_EARLY_PRINTK
 	select CLKDEV_LOOKUP
 	select ARCH_HAS_RESET_CONTROLLER
Signature · 1 line
2.26.2
maintainer Applied
#1 lore raw
Quoted 9 lines · Chuanhong Guo

Some of these ralink devices come with an ancient u-boot which can't extract LZMA properly when image gets too big.
Enable zboot support to get a self-extracting kernel instead of relying on broken u-boot support.

---
 arch/mips/Kconfig | 1 +
 1 file changed, 1 insertion(+)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]