使用NXP MfgTool 烧写系统到eMMC
- [1. 简单描述](#1. 简单描述)
- [2. 编译u-boot](#2. 编译u-boot)
- [3. 编译BuildRoot](#3. 编译BuildRoot)
- [4. 烧录步骤](#4. 烧录步骤)
- [4. U盘使用](#4. U盘使用)
1. 简单描述
1、完全基于亿佰特iMX6ULLBTB核心板 ECK20-6Y28C5E8-I开发板及测试资料;
2、因为不会移植uboot、内核、正点原子的内核版本又比较低。
3、内核版本为5.10
2. 编译u-boot
bash
tar-xavf uboot.tar.xz
./build e
3. 编译BuildRoot
bash
tar-xaf <your_path>/buildroot.tar.xz
tar-xaf <your_path>/buildroot_dl.tar.xz
cd buildroot
./build.sh config
mv dl .downloads
./build.sh
4. 烧录步骤
- 将编译的后的内核文件替换file文件下文件
- 将模块开关拨到USB模式
- 将OTG线连接带开发板
- 打开一个命令行终端,进入uuu目录
- 烧录系统到eMMC中:
bash
./uuu eck20_6Y2xA_flash_emmc.auto # 邮票孔
./uuu eck20_6Y2xC_flash_emmc.auto # BTB
- 烧录系统到NAND中:
bash
./uuu eck20_6Y2xA_flash_nand.auto # 邮票孔
./uuu eck20_6Y2xC_flash_nand.auto # BTB
- 执行完成将模块开关拨到emmc模式
4. U盘使用
- 查看u盘
bash
lsblk
sudo fdisk -l
df -h
- 挂载U盘(因为我的linux没有界面)
bash
sudo mkdir /mnt/myUSB
sudo mount /dev/sdb1 /mnt/myUSB
cd /mnt/myUSB
ls
sudo umount /mnt/myUSB