UBIリリース前に「一時停止」

UBIリリース前に「一時停止」

組み込みボードにubifsイメージをインストールしましたが、ブート時にボードの電源を入れると、次の出力で数秒(約10秒)ブートが一時停止します。

Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x800000
 8388608 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Booting from nand with DTS...
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "mtd=4", size 1013 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
UBI: VID header offset: 512 (aligned 512), data offset: 2048
UBI: good PEBs: 8108, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1663921903
UBI: available PEBs: 6533, total reserved PEBs: 1575, PEBs reserved for bad PEB handling: 160

次のコマンドを使用してubiイメージを作成しました。

sudo mkfs.ubifs -v -m 2048 -e 129024 -c 1675 -r $PWD/$1 -o rootfs.img
sudo ubinize -o rootfs.ubi -p 131072  -m 2048 -s 512 -O 512 ubi.ini

もちろん、$ 1はファイルシステムのrootfsディレクトリです。 ubi.iniファイルの内容は次のとおりです。

[rootfs]
mode=ubi
image=rootfs.img
vol_id=4
vol_type=static
vol_name=rootfs
vol_alignment=1

たぶん私の設定ファイルに問題があるのでしょうか? UBI一時停止の開始を防ぐ方法は?

ありがとうございます。

ベストアンサー1

改行の問題を修正しました。

vol_type=static

到着

vol_type=dynamic

ここから:http://www.linux-mtd.infradead.org/faq/ubi.html#L_dyn_faster

おすすめ記事