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