--- elwix/ALFA_N2.txt 2014/01/23 23:06:49 1.1.2.6 +++ elwix/ALFA_N2.txt 2014/01/23 23:11:12 1.1.2.7 @@ -8,6 +8,10 @@ u-boot 8MB nand map:: 0x007E0000 - 0x007F0000 cfg (64KB == 65536) // +0x10000 0x007F0000 - 0x00800000 ART (64KB == 65536) // +0x10000 +Helper nand map for easy updates :) +* 0x00050000 - 0x007E0000 firmware (7929856) // +0x790000 + + u-boot environment:: mtdids=nor0=ar7240-nor0 mtddevnum=0 @@ -25,9 +29,21 @@ device nor0 , # parts = 6 5: ART 0x00010000 0x007f0000 0 active partition: nor0,0 - (u-boot) 0x00040000 @ 0x00000000 +u-boot make mtdparts on NAND:: +mtd default -Helper nand map for easy updates :) -* 0x00050000 - 0x007E0000 firmware (7929856) // +0x790000 +mtd del nor0,5 +mtd del nor0,4 +mtd del nor0,3 +mtd del nor0,2 + +mtd add nor0 0x600000 rootfs +mtd add nor0 0x190000 uImage +mtd add nor0 0x10000 cfg +mtd add nor0 0x10000 ART + +save + 1. update kernel tftp 0x81000000 kernel.lzma.uImage