我使用TI SDK(am335x)创建了一个Linux启动映像,然后启动了Beaglebone black。
u-boot引导消息是..
U-Boot SPL 2019.01-gf95c3e0297-dirty (Oct 15 2019 - 08:45:45 +0900)
Trying to boot from MMC1
U-Boot 2019.01-gf95c3e0297-dirty (Oct 15 2019 - 08:45:45 +0900)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is de:ad:be:ef:00:01
Address in environment is f4:e1:1e:ce:d7:49
, eth1: usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
** Unable to read file uEnv.txt **
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
4080128 bytes read in 266 ms (14.6 MiB/s)
36717 bytes read in 3 ms (11.7 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff4000, end 8fffff6c ... OK
Starting kernel ...
我无法确定需要解决的三个警告消息。
Loading Environment from FAT... *** Warning - bad CRC, using default environment
** Unable to read file boot.scr **
** Unable to read file uEnv.txt **
u-boot和linux内核可以正常工作。
我需要解决此警告吗?。
答案 0 :(得分:0)
也许在开始阅读uEnv.txt之前,您的u-boot脚本没有切换到MMC的正确分区。如果您对引导行为没问题,那就可以了。这些文件包含您要启用HDMI或控制台等功能,但是可以直接在u-boot env中完成。