aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sparc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-02-18 17:34:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-02-18 17:34:16 +0000
commitd6cb5215a9352359a1da9eef955779091b9612a7 (patch)
tree49b0ff5dcd70c037f5b6a162587f6d1cf97052a1 /target/linux/sparc
parent0da7d381f092e97ba334ce01beeef928fee271da (diff)
downloadupstream-d6cb5215a9352359a1da9eef955779091b9612a7.tar.gz
upstream-d6cb5215a9352359a1da9eef955779091b9612a7.tar.bz2
upstream-d6cb5215a9352359a1da9eef955779091b9612a7.zip
ar71xx: WNR2200: fix mounting root fs problem
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
Diffstat (limited to 'target/linux/sparc')
0 files changed, 0 insertions, 0 deletions