[LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

Hauke Mehrtens hauke at hauke-m.de
Sun Oct 8 06:08:05 PDT 2017


On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote:
> Arjen de Korte <arjen+lede at de-korte.org> wrote:
>> Citeren Hauke Mehrtens <hauke at hauke-m.de>:
> 
>>> This adds support for kernel 4.9.
>>> Please test this, I am lacking especially NAND devices.
>>>
>>> The most recent version of these patches can be found here:
>>> https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/ar71xx
>>>
>>> Hauke Mehrtens (4):
>>>   ar71xx: Copy kernel 4.4 code for kernel 4.9
>>>   ar71xx: make the target compile with kernel 4.9
>>>   ar71xx: fix section mismatches
>>>   ar71xx: switch to kernel 4.9 by default
> 
>> I checked the above patches on a WNDR4300 (a NAND device). No issues  
>> when building, but the device entered a bootloop after flashing with  
>> sysupgrade. Since this is a production system, I didn't have time to  
>> dig into what is exactly causing this.
> 
> ar934x NAND driver missing cmd_ctrl() function - so NAND devices not work at all.
> 
> [    3.575549] nand: chip.cmd_ctrl() callback is not provided
> [    3.581103] ar934x-nfc ar934x-nfc: nand_scan_ident failed, err:-22
> [    3.587515] ar934x-nfc: probe of ar934x-nfc failed with error -22

Hi,

Thanks for testing and reporting back.

I tried to fix this problem, can you please try the most recent version
from my git tree. This now has this additional change:
https://git.lede-project.org/?p=lede/hauke/staging.git;a=commitdiff;h=42a49cbca96875be43913688da60d637cbdff604

Hauke



More information about the Lede-dev mailing list