* [PATCH] mips: ralink: enable zboot support
@ 2020-10-13 2:05 Chuanhong Guo
2020-10-13 9:32 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Chuanhong Guo @ 2020-10-13 2:05 UTC (permalink / raw)
To: linux-mips; +Cc: Chuanhong Guo, Thomas Bogendoerfer, linux-kernel
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.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f52fa211a4cf..534ecff2e2c5 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -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
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mips: ralink: enable zboot support
2020-10-13 2:05 [PATCH] mips: ralink: enable zboot support Chuanhong Guo
@ 2020-10-13 9:32 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-10-13 9:32 UTC (permalink / raw)
To: Chuanhong Guo; +Cc: linux-mips, linux-kernel
On Tue, Oct 13, 2020 at 10:05:47AM +0800, Chuanhong Guo wrote:
> 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.
>
> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
> ---
> arch/mips/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-13 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-13 2:05 [PATCH] mips: ralink: enable zboot support Chuanhong Guo
2020-10-13 9:32 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).