Re: [問題] UBIFS 掛載 抓到癥結點

作者: gn00618777 (非常念舊)   2014-11-22 16:11:19
※ 引述《gn00618777 (非常念舊)》之銘言:
: ※ 引述《gn00618777 (非常念舊)》之銘言:
: : 已解決了,原因是不要去指定 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
: 謝謝。
我抓到ㄧ些問題想請教,我發現板子必須要偵測到 mmc0 也就是 sd 卡他才能進入
filesystem,為了以防他是從SD卡的filesystem進去,特別把SD卡裡的filesystem
刪除,確定它是從UBI進入filesystem。
請問這和 filesystem 的行為有關係還是板子問題呢??? 我有試過 ti 的 filesystem
沒有需要偵測到 sd 卡就能從UBI進去。
謝謝指點。
作者: askacis (ASKA)   2014-11-23 14:36:00
你可以檢查/etc/fstab,看裡面有沒有關於mmc0的設定如果沒有,可以檢查/etc/init.d/ or /etc/rc.d/裡面的一些啟動script,有沒有關於mmc0的東西~
作者: gn00618777 (非常念舊)   2014-11-23 14:53:00
a大是說我想掛載的 ubuntu filesystem 嗎?a大太感謝,我已解決。就像你說的那要那樣

Links booklink

Contact Us: admin [ a t ] ucptt.com