AnsweredAssumed Answered

A question about LS1043ARDB can't mount rootfs with the ubifs image.

Question asked by TIC TIO on Jan 13, 2020
Latest reply on Jan 19, 2020 by Yiping Wang

Hi, 

Then I have got a openwrt-layerscape-armv8_64b-ls1043ardb-ubifs-firmware.bin in bin/targets/layerscape/armv8_64b/.

by the thread:LS1043ARDB can't build ext4 image over the OpenWrt. 

 

But when I burned it into the norflash, It can't mount the ubifs rootfs,And I wonder about why the uboot env is not change to boot the ubifs?

 

The bootargs is:

root=/dev/mtdblock8 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1m(bl2),4m(fip),1m(u-boot-env),3m(reserved-1),256k(fman),5888k(reserved-2),1m(dtb),16m(kernel),32m(rootfs)

So I modified it to(Reference LS1012A):

ubi.mtdblock=8 root=ubi0:rootfs rw rootfstype=ubifs, noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1m(bl2),4m(fip),1m(u-boot-env),3m(reserved-1),256k(fman),5888k(reserved-2),1m(dtb),16m(kernel),32m(rootfs)

 

The Kernel log is that:

[ 2.901703] ubi0: attaching mtd8
[ 2.908726] ubi0: scanning is finished
[ 2.912481] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 2.919714] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd8, error -22
[ 2.926766] UBI error: cannot attach mtd8

 

What's wrong about this issue?

 

Kind wishes.

 

Thanks.

Outcomes