Linux kernel Beaglebone黑色图像引导问题

Linux kernel Beaglebone黑色图像引导问题,linux-kernel,beagleboneblack,u-boot,Linux Kernel,Beagleboneblack,U Boot,我正在尝试使用使用mkimage命令创建的uImage文件引导beaglebone black。有一个emmc-to-sd图像闪光器软件包在线提供,其中有一个uImage和其他必需的文件(),我遵循这个网站,创建了一个使用mkimage实用程序制作的uImage闪光器卡 从具有该uImage的SD卡引导时,我遇到以下错误: U-Boot SPL 2016.01-00763-g3faf221 (Jan 29 2016 - 20:47:08) Trying to boot from MMC Card

我正在尝试使用使用mkimage命令创建的uImage文件引导beaglebone black。有一个emmc-to-sd图像闪光器软件包在线提供,其中有一个uImage和其他必需的文件(),我遵循这个网站,创建了一个使用mkimage实用程序制作的uImage闪光器卡

从具有该uImage的SD卡引导时,我遇到以下错误:

U-Boot SPL 2016.01-00763-g3faf221 (Jan 29 2016 - 20:47:08)
Trying to boot from MMC
Card doesn't support part_switch
MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment

reading u-boot.img
reading u-boot.img


U-Boot 2016.01-00763-g3faf221 (Jan 29 2016 - 20:47:08 +0000)

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
=> set sdboot 1
=> boot
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
235 bytes read in 5 ms (45.9 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading uImage
5497536 bytes read in 302 ms (17.4 MiB/s)
reading /am335x-boneblack.dtb
25926 bytes read in 8 ms (3.1 MiB/s)
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux kernel
   Created:      2015-09-07  21:47:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5497472 Bytes = 5.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 81ff0000
   Booting using the fdt blob at 0x81ff0000
   Loading Kernel Image ... OK
   Loading Device Tree to 8fff6000, end 8ffff545 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.177572] omap2_mbox_probe: platform not supported
[    0.333923] tps65217-bl tps65217-bl: no platform data provided
[    0.397544] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.434652] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.471760] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.508869] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.528815] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    0.591166] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.602845] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    0.610128] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[    0.686675] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.695344] [<c0010f5d>] (unwind_backtrace+0x1/0x98) from [<c04994c3>] (panic+0x5b/0x158)
[    0.703882] [<c04994c3>] (panic+0x5b/0x158) from [<c07bc94b>] (mount_block_root+0xf7/0x178)
[    0.712595] [<c07bc94b>] (mount_block_root+0xf7/0x178) from [<c07bcb09>] (mount_root+0x95/0xb0)
[    0.721676] [<c07bcb09>] (mount_root+0x95/0xb0) from [<c07bcbef>] (prepare_namespace+0xcb/0x11c)
[    0.730836] [<c07bcbef>] (prepare_namespace+0xcb/0x11c) from [<c0495aff>] (kernel_init+0x7/0x98)
[    0.740007] [<c0495aff>] (kernel_init+0x7/0x98) from [<c000c7fd>] (ret_from_fork+0x11/0x34)
U-Boot SPL 2016.01-00763-g3faf221(2016年1月29日-20:47:08)
正在尝试从MMC启动
卡不支持part_开关
MMC分区切换失败
***警告-MMC分区切换失败,使用默认环境
读取u-boot.img
读取u-boot.img
U-Boot 2016.01-00763-g3faf221(2016年1月29日-20:47:08+0000)
看门狗启用
I2C:准备好了吗
DRAM:512 MiB
MMC:OMAP SD/MMC:0,OMAP SD/MMC:1
***警告-错误的CRC,使用默认环境
网络:未设置。验证第一个E-fuse MAC
usb_乙醚
按空格键可在2秒内中止自动启动
=>设置sdboot 1
=>开机
切换到分区#0,好吗
mmc0是当前设备
正在扫描mmc 0:1。。。
切换到分区#0,好吗
mmc0是当前设备
在设备0上找到SD/MMC
读取boot.scr
**无法读取boot.scr文件**
读取uEnv.txt
以5ms(45.9kib/s)的速度读取235字节
从uEnv.txt加载环境
正在从mmc导入环境。。。
正在运行uenvcmd。。。
阅读图像
以302毫秒(17.4 MiB/s)读取5497536字节
reading/am335x-boneblack.dtb
在8毫秒内读取25926字节(3.1 MiB/s)
##正在从旧映像以82000000启动内核。。。
图像名称:Linux内核
创建时间:2015-09-07 21:47:16 UTC
映像类型:ARM Linux内核映像(未压缩)
数据大小:5497472字节=5.2 MiB
加载地址:80008000
入境点:80008000
正在验证校验和。。。好啊
##81ff0000处的扁平设备树blob
在0x81ff0000处使用fdt blob引导
正在加载内核映像。。。好啊
正在将设备树加载到8fff6000,结束8ffff545。。。好啊
正在启动内核。。。
解压缩Linux。。。完成,启动内核。
[0.177572]omap2_mbox_探头:不支持平台
[0.333923]tps65217 bl tps65217 bl:未提供平台数据
[0.397544]bone capemgr bone_capemgr.9:插槽#0:未找到cape
[0.434652]bone capemgr bone#u capemgr.9:插槽1:未找到cape
[0.471760]bone capemgr bone#u capemgr.9:插槽2:未找到cape
[0.508869]bone capemgr bone#u capemgr.9:插槽#3:未找到cape
[0.528815]omap\u hsmmc mmc.5:参数为“reset”的\u parse\u phandle\u的操作失败
[0.591166]pinctrl single 44e10800.pinmux:44e10800.pinmux已请求引脚44e10854;无法声明gpio指示灯。8
[0.602845]pinctrl单个44e10800.pinmux:pin-21(gpio LED.8)状态-22
[0.610128]pinctrl single 44e10800.pinmux:无法请求设备pinctrl single上的针脚21
[0.686675]内核死机-不同步:VFS:无法在未知块(0,0)上装载根fs
[0.695344][](从[](死机+0x5b/0x158)展开回溯+0x1/0x98)
[0.703882][](死机+0x5b/0x158)从[](挂载块根+0xf7/0x178)
[0.712595][](从[]装入块根目录+0xf7/0x178)(装入块根目录+0x95/0xb0)
[0.721676][](从[](准备命名空间+0xcb/0x11c)装入根目录+0x95/0xb0)
[0.730836][](准备命名空间+0xcb/0x11c)来自[](内核初始化+0x7/0x98)
[0.740007][](内核初始化+0x7/0x98)来自[](从内核派生+0x11/0x34)

任何帮助都会很有用。

内核找不到根分区。内核命令行是通过环境变量bootargs在U-Boot中设置的。

可能重复的