Hauke Mehrtens <ha...@hauke-m.de> wrote: > On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote: > > Arjen de Korte <arjen+l...@de-korte.org> wrote: > >> Citeren Hauke Mehrtens <ha...@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 Tested on mikrotik rb2011 (2011r5) NAND working: [ 3.576007] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1 [ 3.582617] nand: Unknown NAND 128MiB 3,3V 8-bit [ 3.587387] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 3.595261] Scanning device for bad blocks [ 3.645341] Bad eraseblock 889 at 0x000006f20000 [ 3.657026] Creating 3 MTD partitions on "ar934x-nfc": [ 3.662371] 0x000000000000-0x000000040000 : "booter" [ 3.669186] 0x000000040000-0x000000400000 : "kernel" [ 3.676383] 0x000000400000-0x000008000000 : "ubi" [ 3.687064] libphy: Fixed MDIO Bus: probed USB working, ethernet working, SFP not working. _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev