作者gn00618777 (非常念舊)
看板LinuxDev
標題Re: [問題] UBIFS 掛載
時間Fri Nov 21 09:32:43 2014
※ 引述《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
謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.147.121
※ 文章網址: http://www.ptt.cc/bbs/LinuxDev/M.1416533567.A.605.html
→ gn00618777: 我們使用1GB的nand flash會這樣,用256MB的就不會.. 11/21 21:32
→ wgst88w: [5.979766] mux: Failed to setup hwmod io irq -22 11/21 23:33
→ wgst88w: 該不會是這造成的吧! 11/21 23:34
→ gn00618777: 用SD卡開機也有這訊息,但SD開的進去別的filesystem 11/22 09:07
→ gn00618777: 也可以開進去,所以應該不是他影響 11/22 09:07
→ alongalone: 看log就是init啟動到一半掛掉.看是不是要夾log看看 11/22 09:46
→ gn00618777: a大,感謝你的幫助,我晚點會去試試看。 我SD卡開機 11/22 10:32
→ gn00618777: 也是最後出現這條,但他還是開的進去@@ 11/22 10:32
→ gn00618777: 256MB nand flash 也開得進去 11/22 10:53
→ gn00618777: 問題最後是出在有無偵測到mmc0,有的話就可以登入.. 11/22 21:02
→ gn00618777: 不過還是很開心接近問題點,雖然我現在還解決不了... 11/22 21:03