Hello guys,

I am trying to boot openwrt on Ubiquiti NS M5. Openwrt is not booting up
properly — root filesystem is not getting mounted and booted into fail-safe
mode. I can recover the system by mounting rootfs (mount_root) and launch
inittab (/etc/init.d/rcS S boot).

I have tried with both attitude, and trunk images. And I have tried with
another NS M5 device. The problem persists with those images/devices.
However, if I use the same image with NS LoCo M5, it is booting properly.
So, this problem is specific to NS M5.

Another strange thing is it is booting properly when the serial console is
attached and kernel command line is somewhat different.

with serial console — [    0.000000] Kernel command line:  board=UBNT-NM
console=ttyS0,115200
mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)rod

without serial console — [    0.000000] Kernel command line:  board=UBNT-NM
console=ttyS0,115200
mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware)
rootfstype=squashfs,jffs2 noinitrd

Any idea on what might be causing the problem?

-- 
Yours,
Thura Hlaing
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to