新手入门
- 积分
- 4
- 金钱
- 4
- 注册时间
- 2021-5-15
- 在线时间
- 0 小时
|
1金钱
请问一下这个报错怎么解决
U-Boot 2016.03 (May 12 2021 - 14:04:05 +0800)
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 59C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Display: ATK-LCD-7-1024x600 (1024x600)
Video: 1024x600x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC1
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1(part 0) is current device
reading zImage
6039328 bytes read in 199 ms (28.9 MiB/s)
reading imx6ull-alientek-emmc.dtb
** Unable to read file imx6ull-alientek-emmc.dtb **
Kernel image @ 0x80800000 [ 0x000000 - 0x5532b0 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
=>
还有就是为啥我的ls mmc 1:1 下有这么多的文件 我不知道那些是没用的我想删除

|
最佳答案
查看完整内容[请看2#楼]
楼主编译的是出厂的uboot吗还是自己移植的Uboot?,如果是编译的出厂的uboot的话,出厂的uboot不是默认加载imx6ull-alientek-emmc.dtb这个设备树的。
自己移植的uboot的话,应该是在移植的时候有设置了uboot加载哪个设备树了?怎么设置呢,下面会说到。
关于uboot加载设备树,提示找不到的问题是非常常见的,这个和uboot的环境变量有关。
为啥提示Unable to read file imx6ull-alientek-emmc.dtb呢?先分析uboot的环境变量吧 ...
|