openwrtv4/target/linux/ar71xx
Gabor Juhos d6cb5215a9 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
2014-02-18 17:34:16 +00:00
..
base-files ar71xx: dragino2: add missing sysupgrade support. 2014-01-30 17:08:02 +00:00
files ar71xx: wpe72: set active_low flag for the reset button 2014-01-26 14:55:34 +00:00
generic generate images for the On Networks N150 (rebranded Netgear WNR612v2) 2014-01-18 19:44:40 +00:00
image ar71xx: WNR2200: fix mounting root fs problem 2014-02-18 17:34:16 +00:00
mikrotik ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards 2013-12-16 18:08:51 +00:00
nand ar71xx: move WNDR4300 profile to the nand subtarget 2013-11-04 18:37:09 +00:00
patches-3.10 kernel: update 3.10 to 3.10.28 2014-01-26 11:30:34 +00:00
base-files.mk ar71xx: drop procd_init console hack 2013-06-21 16:53:11 +00:00
config-3.10 ar71xx: enable MTD_SPLIT_LZMA_FW option 2014-01-24 17:15:01 +00:00
Makefile kernel: update 3.10 to 3.10.28 2014-01-26 11:30:34 +00:00
modules.mk ar71xx: always enable hw ecc support for the ar934x-nfc module 2013-11-01 18:33:18 +00:00