Re: [問題] UBIFS 掛載

作者: gn00618777 (非常念舊)   2014-11-21 09:32:43
※ 引述《gn00618777 (非常念舊)》之銘言:
: ※ 引述《gn00618777 (非常念舊)》之銘言:
: : 這次解決又遇到了
: : Failed to execute /init. Attempting defaults...
: : [ 8.459686] init: ureadahead main process (755) terminated with status 5
: : mountall: Plymouth command failed
: : mountall: Disconnected from Plymouth
: : 請問有人解決過嗎?
: : 謝謝。
: 已解決了,原因是不要去指定 init=/init
: 我用過SD卡開機, bootargs=
: console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=256M rootwait
: 可以登入 filesystem 打帳密
: 現在用 nandflash 開機,將檔案系統燒成UBIFS模式,並在 u-boot 打上
: setenv bootargs 'console=ttyO0,115200n8 ip=off mem=256M rootwait=1
: rw ubi.mtd=7,4096 rootfstype=ubifs root=ubi0_0'
: 他就進不進去無法打帳密登入...
: 請問是製作 UBIFS 的時候出了問題還是...其他原因呢? 謝謝。
進不去的訊息停在:
[ 5.975189] ThumbEE CPU extension supported.
[ 5.979766] mux: Failed to setup hwmod io irq -22
[ 5.985473] Power Management for AM33XX family
[ 5.990386] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 5.997131] Copied the M3 firmware to UMEM
[ 6.001525] Cortex M3 Firmware Version = 0x181
[ 6.011932] clock: disabling unused clocks to save power
[ 6.019714] Detected MACID=78:a5:4:af:a7:8f
[ 6.025451] cpsw: Detected MACID = 78:a5:04:af:a7:91
[ 6.031890] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 6.432891] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 6.439331] UBIFS: file system size: 257015808 bytes (250992 KiB, 245 MiB, 498 LEBs)
[ 6.447692] UBIFS: journal size: 10452992 bytes (10208 KiB, 9 MiB, 21 LEBs)
[ 6.455596] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 6.461730] UBIFS: default compressor: lzo
[ 6.466064] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 6.479492] VFS: Mounted root (ubifs filesystem) on device 0:13.
[ 6.486358] Freeing init memory: 232K
[ 8.077758] init: ureadahead main process (737) terminated with status 5
謝謝。
作者: gn00618777 (非常念舊)   2014-11-21 21:32:00
我們使用1GB的nand flash會這樣,用256MB的就不會..
作者: wgst88w (清楚明「熙」)   2014-11-21 23:33:00
[5.979766] mux: Failed to setup hwmod io irq -22該不會是這造成的吧!
作者: gn00618777 (非常念舊)   2014-11-22 09:07:00
用SD卡開機也有這訊息,但SD開的進去別的filesystem也可以開進去,所以應該不是他影響
作者: alongalone (沿著孤單的路)   2014-11-22 09:46:00
看log就是init啟動到一半掛掉.看是不是要夾log看看http://ppt.cc/z7VJ 我查到的答案,看是不是有幫助.
作者: gn00618777 (非常念舊)   2014-11-22 10:32:00
a大,感謝你的幫助,我晚點會去試試看。 我SD卡開機也是最後出現這條,但他還是開的進去@@256MB nand flash 也開得進去問題最後是出在有無偵測到mmc0,有的話就可以登入..不過還是很開心接近問題點,雖然我現在還解決不了...

Links booklink

Contact Us: admin [ a t ] ucptt.com