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

David Bauer mail at david-bauer.net
Sat Apr 11 11:13:38 EDT 2020


Hello Paul,

On 4/3/20 10:58 PM, Paul Blazejowski wrote:
> Hello David,
> 
> It is great to hear to we're switching to 5.4 on ath79 target but i
> wanted to bring to your attention that at least on the NAND subtargets
> (for me wndr3700v4) we need this commit [1] from Kevin to get the router
> to boot otherwise there's an oops in do dsp which prevents my router to
> boot and produces bootloop, Kevin's patch is incomplete as i have also
> alter it locally to apply to 5.4 kernel. With Michal's mtd concat patch
> i have successfully run the kernel/build for a couple of days with no
> issues. Maybe Michal can chaim in to confirm as he uses the same
> hardware in WNDR4300 routers just to be sure?

I've bisected this issue a bit further. Changing the CPU type for the 
whole target doesn't seem right, as boards prior to AR934x are 24kc.

I've isolated the issue we are facing to 308-mips32r2_tune.patch. I'm a 
bit puzzled how to proceed as i suspect other targets using a 74kc arch 
will most likely show the same issue.

I propose to revert the change for ath79 locally using a target patch to 
allow the target to be upgraded to Kernel 5.4.

IMHO 308-mips32r2_tune.patch should be a target specific patch anyhow, 
as optimizing for a single CPU arch for all affected targets might not 
be very efficient. But I'm not all to familiar with this topic.

Best wishes
David

> 
> [1]
> https://git.openwrt.org/?p=openwrt/staging/ldir.git;a=commit;h=a2a8b6bae13a74667da457d7fdc11e6367edd0df
> 
> Best,
> 
> -paul
> 

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list