[OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

Paul Blazejowski paulb at blazebox.homeip.net
Sun Jun 28 08:36:15 EDT 2020



-------- Original Message --------
Subject: Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4
From: David Bauer <mail at david-bauer.net>
To: Paul Blazejowski <paulb at blazebox.homeip.net>
Date: 6/27/2020, 4:17:41 PM

> Hi all,

Hi David

> 
> On 6/27/20 9:33 PM, Paul Blazejowski wrote:
>> What worked for me in the initial report to the mailing list was to use
>> this patch from Kevin's staging tree [1] (modified for kernel 5.4, and
>> building with any gcc version on a clean checkout).
> 
> Removing the 308-mips32r2_tune.patch patch is enough.
> What would be interesting to know is whether or not we run
> into a similar / more significant issue with that down the road.

I can confirm, dropping this patch and building the image using GCC
9.3.0 and kernel 5.4.48 produces working image and the router boots
properly, working properly for 14 hours now...on my end.

[    0.000000] Linux version 5.4.48 (diffie at blaze) (gcc version 9.3.0
(OpenWrt GCC 9.3.0 r13136+1-ad27c133eb)) #0 Sat Jun 27 21:07:58 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is Netgear WNDR3700 v4

> 
> If the issue is due to the optimization being flawed we might be okay
> with that. But i lack significant knowledge about the inner workings of GCC.
> So take that with a grain of salt.

I don't know {yet!) of any implications or pitfalls from removal of said
patch but for now compiled code is working, so optimization may be NOT
the right thing to *do in this case, just a test case on my part. What
you say?

> 
> Best wishes
> David
> 

Thank you,
-paul



More information about the openwrt-devel mailing list