Rock/partitions
This page describe the partition layout of nand flash on radxa rock.
The partition is decided by the mtd parts in cmd line bootloader passed to the kernel, which is like this:
CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 root=LABEL=linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x00280000(kpanic),0x00100000@0x00282000(system),0x00300000@0x00382000(linuxroot),-@0x00682000(user)
The layout of the system is described as below:
Address | Size | Name | Description |
---|---|---|---|
0x000000400000-0x000000800000 | misc | ||
0x000000800000-0x000001800000 | kernel | ||
0x000001000000-0x000002000000 | boot | ||
0x000002000000-0x000004000000 | recovery | ||
0x000004000000-0x000008000000 | backup | ||
0x000008000000-0x000010000000 | cache | ||
0x000010000000-0x000050000000 | userdata | ||
0x000050000000-0x000050400000 | kpanic | ||
0x000050400000-0x000070400000 | system | ||
0x000070400000-0x0000d0400000 | linuxroot | ||
0x0000d0400000-0x0000eb200000 | user |