Dear All,
I have the problem about UBI file sytem at Appropho IPNC SDK 4.0.
To make ubifs : ( installed some libraries as libacl1-dev, liblzo2-dev and uuid-dev on ubuntu 10.04 PC)
hotst> make ubifsall
After comiling, the below is major execute command to generate ubifs in Makefile.
$(UBIFS_PATH)/mkfs.ubifs/mkfs.ubifs -r $(TARGET_FS) -m 2048 -e 126976 -c 313 -o ubifs.img
$(UBIFS_PATH)/ubi-utils/ubinize -v -o ipnc_$(HARDWARE)_ubifs -m 2048 -p 128KiB $(HARDWARE)_ubinize.cfg
host> vi dm368_ubinize.cfg
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=38MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
There is an error booting message : when the generated ubifs(ipnc_dm368_ubifs) is upload to DM368IPNC-MT5, it's happened like this.
Starting kernel ...
[ 1.939551] UBI error: process_eb: bad image sequence number 1262318900 in PEB 192, expected 1732479461
[ 1.949619] UBI error: ubi_init: cannot attach mtd3
[ 2.033534] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[ 2.082915] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.091319] Backtrace:
[ 2.093811] Function entered at [<c002e4ec>] from [<c0311888>]
[ 2.099655] r7:00008000 r6:c2813000 r5:c0023668 r4:c03b2920
[ 2.105478] Function entered at [<c0311870>] from [<c03118f4>]
[ 2.111396] Function entered at [<c031188c>] from [<c0008fcc>]
[ 2.117248] r3:00000000 r2:00000000 r1:c2825f78 r0:c03317d6
[ 2.123033] Function entered at [<c0008de8>] from [<c0009178>]
[ 2.128882] Function entered at [<c00090e4>] from [<c00084b4>]
[ 2.134777] r5:c0022e04 r4:c03b21d8
[ 2.138389] Function entered at [<c00083a4>] from [<c0042e0c>]
[ 2.144287] r5:c00083a4 r4:00000000
According to mtd_utils version or to change the option as "-c 350", the image sequence number is expected a differential variables. But the message "bad image sequence number 1262318900 in PEB 192" is fixed.
I need your help. please give me your advice!
thanks.