Hi, there
In the case of using arago-base-tisdk-image-am335x-evm.ubi as rootfs the board works well, it can get into bash promt. But when I tried to create the ubi image using commands of mkfs.ubifs –F -q -r /home/usr/fs -m 2048 -e 126976 -c 2047 -o ubifs.img and ubinize -o ubi.img -m 2048 -p 128KiB ubinize.cfg(/home/usr/fs is the location of file system unzipped from arago-base-tisdk-image-am335x-evm.tar.gz), this ubi image seems not working. I have attached the kernel log for reference. Any suggestion about this?
[ 2.241607] UBI: attaching mtd9 to ubi0
[ 2.817959] UBI: scanning is finished
[ 2.841403] UBI: volume 0 ("rootfs") re-sized from 826 to 920 LEBs
[ 2.849105] UBI: attached mtd9 (name "NAND.file-system", size 118 MiB) to ubi0
[ 2.856704] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.863872] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 2.870832] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.878051] UBI: good PEBs: 944, bad PEBs: 0, corrupted PEBs: 0
[ 2.884278] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.891784] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1971850362
[ 2.901313] UBI: available PEBs: 0, total reserved PEBs: 944, PEBs reserved for bad PEB handling: 20
[ 2.910961] UBI: background thread "ubi_bgt0d" started, PID 853
[ 2.998384] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 3.004804] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 3.029331] libphy: 4a101000.mdio: probed
[ 3.033554] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[ 3.059373] cpsw 4a100000.ethernet: Detected MACID = d0:ff:50:03:da:96
[ 3.080274] input: volume_keys.8 as /devices/volume_keys.8/input/input1
[ 3.098925] omap_rtc 44e3e000.rtc: setting system clock to 2015-02-11 16:09:32 UTC (1423670972)
[ 3.111291] ALSA device list:
[ 3.114429] No soundcards found.
[ 3.138526] UBIFS: background thread "ubifs_bgt0_0" started, PID 867
[ 3.270025] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 3.276355] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.286001] UBIFS: FS size: 115421184 bytes (110 MiB, 909 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 3.296336] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 3.301681] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 4223E53A-8A3C-4B0D-A941-1EF21870489D, small LPT model
[ 3.351088] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 3.369489] devtmpfs: mounted
[ 3.372968] Freeing unused kernel memory: 268K (c07be000 - c0801000)
[ 3.396318] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Best Regards
Yang