Dnia 2017-01-08, o godz. 14:54:33 Felix Fietkau <n...@nbd.name> napisaĆ(a):
> Hi all, > > I've just pushed the code for converting ar71xx routerboard support to > UBI + sysupgrade to my staging tree at: > https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary > > So far I've only managed to test it on RB 912UAG-5HPnD, other devices > are still untested. If you have any affected hardware, please test the > new code with a fresh build from that tree (make sure you reset your > config) and let me know if it works. > > Installation is now done only over sysupgrade (from the initramfs > image), the old wget2nand script and rootfs tarballs are gone. Boot from initramfs: RouterBoard 411U CPU frequency: 300 MHz Memory size: 32 MiB NAND size: 128 MiB Press any key within 2 seconds to enter setup trying bootp protocol... OK Got IP address: 192.168.1.134 resolved mac address E8:11:32:99:3D:A0 Gateway: 192.168.1.10 transfer started ................................................ transfer ok, time=2.79s setting up elf image... OK jumping to kernel code [ 0.000000] Linux version 4.4.40 (cez...@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2900-e5aeb4a) ) #0 Tue Jan 10 17:18:04 2017 [ 0.000000] bootconsole [early0] enabled .... [ 0.000000] Kernel command line: parts=1 boot_part_size=4194304 gpio=1855 HZ=150000000 mem=32M kmac=4C:5E:0C:31:B3:F5 board=411U hw_opt=00000000 boot=0 mlc=8 rootfstype=squashfs noinitrd .... [ 7.784959] m25p80 spi0.0: pm25lv512 (64 Kbytes) [ 7.840380] Creating 4 MTD partitions on "spi0.0": [ 7.897848] 0x000000000000-0x00000000b000 : "routerboot" [ 7.966111] 0x00000000b000-0x00000000c000 : "hard_config" [ 8.033665] 0x00000000d000-0x00000000f000 : "bios" [ 8.093852] 0x00000000f000-0x000000010000 : "soft_config" [ 8.161543] NAND flash driver for RouterBoard 4xx series version 0.2.0 [ 8.239896] rb4xx_nand: write cmd failed, err=-22 [ 8.296268] rb4xx_nand: write cmd failed, err=-22 [ 8.352640] rb4xx_nand: write cmd failed, err=-22 [ 8.409041] rb4xx_nand: write cmd failed, err=-22 [ 8.465399] rb4xx_nand: write cmd failed, err=-22 [ 8.521847] nand: second ID read did not match ec,f1 against 41,ec [ 8.595962] nand: No NAND device found [ 8.655044] libphy: ag71xx_mdio: probed $ ./scripts/diffconfig.sh CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_mikrotik=y CONFIG_TARGET_ar71xx_mikrotik_Default=y $ git log -1 commit e5aeb4ad918081c5df19e7b48e4e73604465f5f3 Author: Felix Fietkau <n...@nbd.name> Date: Tue Jan 10 18:09:22 2017 +0100 ar71xx: fix up the kernel config for the mikrotik subtarget Limit enabled devices to routerboards, disable all other devices Signed-off-by: Felix Fietkau <n...@nbd.name> From "old" CC: [ 2.690000] m25p80 spi0.0: pm25lv512 (64 Kbytes) [ 2.720000] Creating 4 MTD partitions on "spi0.0": [ 2.730000] 0x000000000000-0x00000000b000 : "routerboot" [ 2.740000] 0x00000000b000-0x00000000c000 : "hard_config" [ 2.740000] 0x00000000d000-0x00000000f000 : "bios" [ 2.750000] 0x00000000f000-0x000000010000 : "soft_config" [ 2.760000] NAND flash driver for RouterBoard 4xx series version 0.2.0 [ 2.760000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 2.770000] nand: Samsung NAND 128MiB 3,3V 8-bit [ 2.770000] nand: 128MiB, SLC, page size: 2048, OOB size: 64 [ 2.780000] Scanning device for bad blocks [ 3.260000] Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit": [ 3.270000] 0x000000000000-0x000000040000 : "booter" [ 3.280000] 0x000000040000-0x000000400000 : "kernel" [ 3.280000] 0x000000400000-0x000008000000 : "rootfs" [ 3.290000] mtd: device 6 (rootfs) set to be root filesystem [ 3.300000] mtdsplit: no squashfs found in "rootfs" [ 3.300000] mtdsplit: no squashfs found in "NAND 128MiB 3,3V 8-bit" -- Pozdrawiam, Cezary Jackiewicz _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev