Linux-MIPS Archive on lore.kernel.org
 help / color / Atom feed
* [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	[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, back to index

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

Linux-MIPS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mips/0 linux-mips/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mips linux-mips/ https://lore.kernel.org/linux-mips \
		linux-mips@vger.kernel.org
	public-inbox-index linux-mips

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-mips


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git