mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
Solves ticket #14356 <https://dev.openwrt.org/ticket/14356> Without this patch, UART output will show only 4 partitions: [ 0.740000] 4 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 4 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000050000 : "u-boot" [ 0.760000] 0x000000050000-0x000000070000 : "u-boot-env" [ 0.770000] 0x000000070000-0x0000007f0000 : "firmware" [ 0.790000] 0x0000007f0000-0x000000800000 : "art" and then linux complains :VFS: Cannot open root device "(null)" With this patch, UART out will show 7 partitions: [ 0.740000] 4 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 4 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000040000 : "u-boot" [ 0.760000] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.770000] 0x000000050000-0x0000007f0000 : "firmware" [ 0.780000] 2 netgear-fw partitions found on MTD device firmware [ 0.780000] 0x000000050000-0x00000014b440 : "kernel" [ 0.790000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.800000] 0x00000014b440-0x0000007f0000 : "rootfs" [ 0.810000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.820000] mtd: device 4 (rootfs) set to be root filesystem [ 0.830000] 1 squashfs-split partitions found on MTD device rootfs [ 0.830000] 0x000000340000-0x0000007f0000 : "rootfs_data" [ 0.840000] 0x0000007f0000-0x000000800000 : "art" This patch is tested against r39502 of trunk. Signed-off-by: Jonathan Chang <changcs@santos.ee.ntu.edu.tw> Patchwork: http://patchwork.openwrt.org/patch/4870/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39625 |
||
|---|---|---|
| .. | ||
| adm5120 | ||
| adm8668 | ||
| amazon | ||
| ar7 | ||
| ar71xx | ||
| at91 | ||
| atheros | ||
| au1000 | ||
| avr32 | ||
| bcm53xx | ||
| brcm47xx | ||
| brcm63xx | ||
| brcm2708 | ||
| cns3xxx | ||
| cns21xx | ||
| cobalt | ||
| ep93xx | ||
| gemini | ||
| generic | ||
| imx6 | ||
| iop32x | ||
| ixp4xx | ||
| kirkwood | ||
| lantiq | ||
| malta | ||
| mcs814x | ||
| mpc52xx | ||
| mpc83xx | ||
| mpc85xx | ||
| mvebu | ||
| mxs | ||
| octeon | ||
| omap | ||
| omap24xx | ||
| orion | ||
| ppc40x | ||
| ppc44x | ||
| pxa | ||
| ramips | ||
| rb532 | ||
| realview | ||
| sibyte | ||
| sparc | ||
| sunxi | ||
| uml | ||
| x86 | ||
| x86_64 | ||
| xburst | ||
| Makefile | ||