#22320: wndr 3700v4 and 4300v1 couldn't effectively use 128 nand flash space;
--------------------------+-------------------------
  Reporter:  312705@…     |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  base system  |    Version:  Trunk
Resolution:               |   Keywords:  wndr 3700v4
--------------------------+-------------------------

Comment (by anonymous):

 Replying to [comment:4 312705@…]:
 > current mtd layout:
 according to this patch
 https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.10/490
 -ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch?rev=41120
 and
  dmesg
 -------------------------------------
 [    0.000000] Kernel command line:  board=WNDR3700_V4
 console=ttyS0,115200 mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-
 
env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubi),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved)
 rootfstype=squashfs noinitrd
 [    2.160000] UBI: ubiblock0_0 created from ubi0:0(rootfs)
 [    2.170000] ubiblock: device ubiblock0_0 (rootfs) set to be root
 filesystem
 [    2.180000] VFS: Mounted root (squashfs filesystem) readonly on device
 254:0.
 [    9.160000] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
 --------------------------------------------------------------------------
 I think just simply named mtd 11 (96MB) as ubi should could work.
 In boot process , it find mtd nameed ubi and attach as ubi0 and create
 block device  interface from ubi0_0 as root(rom) path. mount ubi0_1 as
 /overlay.
 Both just been  affected by  the mtd name not affeted by mtd num and
 offset address

 ----------------------------------------------------------

--
Ticket URL: <https://dev.openwrt.org/ticket/22320#comment:5>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to