官方uboot
-
获取官方uboot
NXP 官方uboot 使用git 工具下载到linux本地git clone https://github.com/Freescale/u-boot-fslc.git
-
查看配置文件
ls configs | grep mx6ull
-
编译
前提是你已经安装好交叉编译工具链和配置好环境make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6ull_14x14_evk_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4
-
烧写
使用100ask的烧写工具将编译出来的u-boot-imx.dtb 烧入emmc中。
emmc启动结果
U-Boot 2021.04-03714-g31cf6b483b (Aug 14 2022 - 01:02:25 -0400)
CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 47C
Reset cause: WDOG
Model: Freescale i.MX6 UltraLiteLite 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
...
问题
- uboot 下载过程报以下校验错误
Loading Environment from MMC... *** Warning - bad CRC, using default environment