感谢两位回复。
又用mfgtools下载了官方固件,发现也有找不到boot.src这个提示,看来这个是无关紧要的。我编译的起不来另有原因。
这是官方固件启动信息:
reading logo.bmp
** Unable to read file logo.bmp **
switch to partitions #0, OK
mmc1(part 0) is current device
switch to partitions #0, OK
mmc1(part 0) is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
6326880 bytes read in 155 ms (38.9 MiB/s)
Booting from mmc ...
reading imx6ull-14x14-evk.dtb
40618 bytes read in 18 ms (2.2 MiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x608a60 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300cea9
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.1.15-2.1.0 (any@Any-Desktop) (gcc version 7.4.0 (Buildroot 2019.02.6-g28f7d48) ) #1 SMP PREEMPT Mon Jan 13 16:11:02 CST 2020------------------------------------------------------------------
问题找到了,用mfgtools烧写官方固件,设备树名称是imx6ull-14x14-evk.dtb。官方提供的最新的uboot,boot选项下设备树的默认名称,也是imx6ull-14x14-evk.dtb。我用的是emmc版本的野火的核心板,所以想当然的用了imx6ull-14x14-evk-emmc.dtb。结果没认出这个设备数来,而同名的原设备树虽然存在,但是和这个貌似不搭配。修改名称重新下载后没事了。
查看了-emmc.dts,发现包含了不带emmc的设备树文件,额外加了些内容。
/*
* Copyright 2019 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*/
#include "imx6ull-14x14-evk.dts"
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2_8bit>;
pinctrl-1 = <&pinctrl_usdhc2_8bit_100mhz>;
pinctrl-2 = <&pinctrl_usdhc2_8bit_200mhz>;
bus-width = <8>;
non-removable;
status = "okay";
};
最近编辑记录 Gentlepig (2022-04-21 15:57:24)