#20982: jffs2-error / nanostation M5 xw / r47658
------------------------+------------------------
  Reporter:  bittorf@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by mdeneen):

 If you first flash an older AirOS version, such as 5.5.10, and then flash
 OpenWrt, it will flash successfully.  You need to flash AirOS using the
 web interface, as loading it over tftp fails with the same error message
 that OpenWrt does.

 Newer Ubiquiti devices have shipped with:

 {{{ U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50) }}}

 and older devices had:

 {{{ U-Boot 1.1.4.2-s594 (Dec 5 2012 - 15:23:07) }}}

 The MTD partition layout appears to be the same:

 {{{
 new:

 XM.v5.6.3# cat /proc/mtd
 dev:    size   erasesize  name
 mtd0: 00040000 00010000 "u-boot"
 mtd1: 00010000 00010000 "u-boot-env"
 mtd2: 00100000 00010000 "kernel"
 mtd3: 00660000 00010000 "rootfs"
 mtd4: 00040000 00010000 "cfg"
 mtd5: 00010000 00010000 "EEPROM"

 [    0.000000] Kernel command line: console=tty0 root=31:03
 rootfstype=squashfs init=/init mtdparts=ar7240-nor0:256k(u-boot),64k(u
 -boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) panic=3 quiet


 old:

 XM.v5.5.10# cat /proc/mtd
 dev:    size   erasesize  name
 mtd0: 00040000 00010000 "u-boot"
 mtd1: 00010000 00010000 "u-boot-env"
 mtd2: 00100000 00010000 "kernel"
 mtd3: 00660000 00010000 "rootfs"
 mtd4: 00040000 00010000 "cfg"
 mtd5: 00010000 00010000 "EEPROM"

 [    0.000000] Kernel command line: console=tty0 root=31:03
 rootfstype=squashfs init=/init mtdparts=ar7240-nor0:256k(u-boot),64k(u
 -boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
 }}}

 The only difference appears to be U-Boot version.  I've attached a serial
 console to the one which is in a boot loop, and there's nothing useful
 printed.  Since the kernel command line now has "quiet" in it, I didn't
 get anything useful.  I'll modify the boot arguments and report back.  One
 should be able to extract the uboot image from the AirOS firmware and
 replace the existing u-boot, but a serial cable is required to do this.

--
Ticket URL: <https://dev.openwrt.org/ticket/20982#comment:12>
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