1: u-boot
2:
3: u-boot 8MB nand map::
4: 0x00000000 - 0x00040000 u-boot (256KB == 262144) // +0x40000
5: 0x00040000 - 0x00050000 u-boot-env (64KB == 65536) // +0x10000
6: 0x00050000 - 0x00650000 rootfs (6144KB == 6291456) // +0x600000
7: 0x00650000 - 0x007E0000 uImage (1600KB == 1638400) // +0x190000
8: 0x007E0000 - 0x007F0000 cfg (64KB == 65536) // +0x10000
9: 0x007F0000 - 0x00800000 ART (64KB == 65536) // +0x10000
10:
11: u-boot environment::
12: mtdids=nor0=ar7240-nor0
13: mtddevnum=0
14: mtddevname=u-boot
15: mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),6m(rootfs),1600k(uImage),64k(cfg),64k(ART)
16:
17: u-boot mtdparts::
18: device nor0 <ar7240-nor0>, # parts = 6
19: #: name size offset mask_flags
20: 0: u-boot 0x00040000 0x00000000 0
21: 1: u-boot-env 0x00010000 0x00040000 0
22: 2: rootfs 0x00600000 0x00050000 0
23: 3: uImage 0x00190000 0x00650000 0
24: 4: cfg 0x00010000 0x007e0000 0
25: 5: ART 0x00010000 0x007f0000 0
26: active partition: nor0,0 - (u-boot) 0x00040000 @ 0x00000000
27:
28:
29: Helper nand map for easy updates :)
30: * 0x00050000 - 0x007E0000 firmware (7929856) // +0x790000
31:
32: 1. update kernel
33: tftp 0x81000000 kernel.lzma.uImage
34: era 0x9F650000 +0x190000
35: cp.b 0x81000000 0x9F650000 0x190000
36:
37: 2. update rootfs
38: tftp 0x80100000 rootfs.ulzma
39: era 0x9F050000 +0x600000
40: cp.b 0x80100000 0x9F050000 0x600000
41:
42: 3. update cfg
43: tftp 0x80100000 cfg.dsk
44: era 0x9f7E0000 +0x10000
45: cp.b 0x80100000 0x9f7e0000 0x10000
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>