--- elwix/ALFA_N2.txt 2014/01/23 23:06:49 1.1.2.6 +++ elwix/ALFA_N2.txt 2014/01/28 00:40:50 1.1.2.9 @@ -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,10 +29,22 @@ 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 era 0x9F650000 +0x190000 @@ -39,7 +55,7 @@ tftp 0x80100000 rootfs.ulzma era 0x9F050000 +0x600000 cp.b 0x80100000 0x9F050000 0x600000 -3. update cfg -tftp 0x80100000 cfg.dsk -era 0x9f7E0000 +0x10000 -cp.b 0x80100000 0x9f7e0000 0x10000 +3. update entire firmware image +tftp 0x80100000 elwix_firmware.img +era 0x9F050000 +0x790000 +cp.b 0x80100000 0x9F050000 0x790000