[PATCH] ramips: switch to kernel 5.10

Adrian Schmutzler mail at adrianschmutzler.de
Sun Sep 26 14:45:10 PDT 2021


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Stijn Segers
> Sent: Donnerstag, 9. September 2021 14:26
> To: openwrt-devel at lists.openwrt.org; Paweł Dembicki
> <paweldembicki at gmail.com>; Rui Salvaterra <rsalvaterra at gmail.com>
> Cc: OpenWrt Development List <openwrt-devel at lists.openwrt.org>; Adrian
> Schmutzler <freifunk at adrianschmutzler.de>; David Bauer <mail at david-
> bauer.net>
> Subject: Re: [PATCH] ramips: switch to kernel 5.10
> 
> "Paweł Dembicki" <paweldembicki at gmail.com> schreef op 9 september
> 2021 13:47:36 CEST:
> >czw., 9 wrz 2021 o 10:49 Rui Salvaterra <rsalvaterra at gmail.com> napisał(a):
> >>
> >> Tested on mt7621 (Redmi AC2100) and running stable for several months.
> >>
> >
> >Hi Rui,
> >
> >Please remember, if this patch will be merged before my PR #4255 [1],
> >all mt7620 JBOOT devices will be broken.
> >
> >The reason is simple: The 5.10 kernel will be > 2MB. My PR will switch
> >all mt7620 JBOOT devices to the OKLI loader.
> 
> Would something similar need to be done for the mt76x8 subtarget?
> 
> I just have a single one of these but I reckon they are equally flash-starved...

But if KERNEL_SIZE/IMAGE_SIZE is set properly there, those would just fail to build, so no harm could be done?

Best

Adrian

> 
> Cheers
> 
> Stijn
> 
> >
> >Best Regards,
> >Pawel
> >
> >[1] https://github.com/openwrt/openwrt/pull/4255
> >
> >> Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
> >> ---
> >>  target/linux/ramips/Makefile | 3 +--
> >>  1 file changed, 1 insertion(+), 2 deletions(-)
> >>
> >> diff --git a/target/linux/ramips/Makefile
> >> b/target/linux/ramips/Makefile index d3f2d4b8fc..c9fc1aa58a 100644
> >> --- a/target/linux/ramips/Makefile
> >> +++ b/target/linux/ramips/Makefile
> >> @@ -10,8 +10,7 @@ BOARDNAME:=MediaTek Ralink MIPS
> >>  SUBTARGETS:=mt7620 mt7621 mt76x8 rt288x rt305x rt3883
> >> FEATURES:=squashfs gpio
> >>
> >> -KERNEL_PATCHVER:=5.4
> >> -KERNEL_TESTING_PATCHVER:=5.10
> >> +KERNEL_PATCHVER:=5.10
> >>
> >>  define Target/Description
> >>         Build firmware images for Ralink RT288x/RT3xxx based boards.
> >> --
> >> 2.33.0
> >>
> >>
> >> _______________________________________________
> >> openwrt-devel mailing list
> >> openwrt-devel at lists.openwrt.org
> >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> >
> >_______________________________________________
> >openwrt-devel mailing list
> >openwrt-devel at lists.openwrt.org
> >https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> Hi,
> --
> Sent from my smartphone with K-9 Mail. Please excuse my brevity.
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210926/9aa98c18/attachment.sig>


More information about the openwrt-devel mailing list