我尝试通过以下方式在 eMMC 中启动 Linux 映像u启动但它总是下降到忙碌盒壳。根据 busybox shell 的建议,我使用 blkid 仔细检查了 PARTUUID ( 8fb410a9-01
),它匹配;为什么无法加载根文件系统('rfs')?
我的 emmc 有一个单分区 Debian 映像。 U-boot位于我的sd卡的第一个分区(通过按s2开关启动。这是我的日志,uEnv.txt。
这个独立的比格尔骨靴子很好(没有我的 u-boot 和未插入 SD 卡)。它从 emmc 启动正常(这意味着 emmc 映像很好),当我尝试从 sd 卡启动 uboot 时,就会发生这种情况
ipaddr=192.168.7.2
serverip=192.168.7.1
console=ttyO0,115200n8
finduuid=part uuid mmc 1:1 uuid
netargs=setenv bootargs console=ttyO0,115200n8 root=UUID=aa9109fe-2099-47e0-b8a5-e1a3f87848b0 rootwait rw rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
loadaddr=0x82000000
ftdaddr=0x88000000
initramaddr=0x88080000
initrdsize=452040
netboot=echo Booting from emmc ...; setenv autoload no ;echo moving zimage from emmc to DRAM...;load mmc 1:1 ${loadaddr} /boot/vmlinuz-4.14.71-ti-r80;echo moving dtb from emmc to DRAM... ; load mmc 1:1 ${fdtaddr} /boot/dtbs/4.14.71-ti-r80/am335x-boneblack-uboot-univ.dtb ; echo moving initrd from emmc to DRAM...;load mmc 1:1 ${initramaddr} /boot/initrd.img-4.14.71-ti-r80;echo running netargs ...; run netargs ; echo bootzzzz...;bootz ${loadaddr} ${initramaddr}:${initrdsize} ${ftdaddr}
uenvcmd=echo running netboot...;run netboot
Starting kernel ...
[ 0.002066] timer_probe: no matching timers found
[ 1.132460] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.444765] omap_voltage_late_init: Voltage driver support not added
[ 1.452379] PM: Cannot get wkup_m3_ipc handle
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
ALERT! PARTUUID=8fb410a9-01 does not exist. Dropping to a shell!
/dev/mmcblk1p1: LABEL="rootfs" UUID="aa9109fe-2099-47e0-b8a5-e1a3f87848b0" TYPE="ext4" PARTUUID="8fb410a9-01"
# /etc/fstab: static file system information.
#
/dev/mmcblk1p1 / ext4 noatime,errors=remount-ro 0 1
debugfs /sys/kernel/debug debugfs defaults 0 0