diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-02-19 18:59:29 -0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-03-06 11:24:12 +0100 |
commit | eda836e390af2e9f08618dde8e06af851e732a47 (patch) | |
tree | 112baa14e8058067d164a92b81b279a10d1974ce /target/linux/ramips/patches-5.10/0122-mips-ralink-enable-zboot-support.patch | |
parent | a9966793e81e1c0f48478ac42ea5bf284927c817 (diff) | |
download | upstream-eda836e390af2e9f08618dde8e06af851e732a47.tar.gz upstream-eda836e390af2e9f08618dde8e06af851e732a47.tar.bz2 upstream-eda836e390af2e9f08618dde8e06af851e732a47.zip |
ramips: 5.10: copy patches from 5.4
Strict copy, no changes made.
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.10/0122-mips-ralink-enable-zboot-support.patch')
-rw-r--r-- | target/linux/ramips/patches-5.10/0122-mips-ralink-enable-zboot-support.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-5.10/0122-mips-ralink-enable-zboot-support.patch b/target/linux/ramips/patches-5.10/0122-mips-ralink-enable-zboot-support.patch new file mode 100644 index 0000000000..76615ed491 --- /dev/null +++ b/target/linux/ramips/patches-5.10/0122-mips-ralink-enable-zboot-support.patch @@ -0,0 +1,26 @@ +From 1f0400d0e2c410b04f246aefb2e9b5155eb4b0bf Mon Sep 17 00:00:00 2001 +From: Chuanhong Guo <gch981213@gmail.com> +Date: Tue, 13 Oct 2020 10:05:47 +0800 +Subject: 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. + +Signed-off-by: Chuanhong Guo <gch981213@gmail.com> +Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> +--- + arch/mips/Kconfig | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/mips/Kconfig ++++ b/arch/mips/Kconfig +@@ -625,6 +625,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 |