[PATCH] ramips: switch MT7620 subtarget to 5.4

mail at adrianschmutzler.de mail at adrianschmutzler.de
Wed Jul 22 05:26:16 EDT 2020


> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of David Bauer
> Sent: Dienstag, 21. Juli 2020 23:41
> To: openwrt-devel at lists.openwrt.org
> Subject: [PATCH] ramips: switch MT7620 subtarget to 5.4
> 
> MT7620 seems to work fine with kernel 5.4. Set the default kernel version to
> 5.4 to bring this to a broader audience.
> 
> Tested on Archer C2 v1 / Archer C20i
> 
> Signed-off-by: David Bauer <mail at david-bauer.net>
> ---
>  target/linux/ramips/mt7620/target.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/target/linux/ramips/mt7620/target.mk
> b/target/linux/ramips/mt7620/target.mk
> index 56ceaee37f..ff890c5540 100644
> --- a/target/linux/ramips/mt7620/target.mk
> +++ b/target/linux/ramips/mt7620/target.mk
> @@ -9,6 +9,8 @@ CPU_TYPE:=24kc
> 
>  DEFAULT_PACKAGES += kmod-rt2800-soc wpad-basic swconfig
> 
> +KERNEL_PATCHVER:=5.4
> +

Hi David,

thanks for taking care.

I wonder whether it would be better to invert the statements, i.e. have

KERNEL_PATCHVER:=5.4

in target Makefile and

KERNEL_PATCHVER:=4.14
KERNEL_TESTING_PATCHVER:=5.4

in the rt**** subtarget Makefiles, as in the meantime those have become the "exceptions" after all.

It's a mere matter of taste, though, feel free to ignore it.

Best

Adrian

>  define Target/Description
>  	Build firmware images for Ralink MT7620 based boards.
>  endef
> --
> 2.27.0
> 
> 
> _______________________________________________
> 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/20200722/8fc9c316/attachment.sig>


More information about the openwrt-devel mailing list