1. 编译uboot emmc版本镜像
a.进入uboot源代码目录后,执行以下操作:
tar xf u-boot-2020.01.tar.bz2
cd u-boot-2020.01
patch -p1 < ../u-boot-2020.01.patch
cp configs/ss928v100_defconfig .config(仅用于 spi nor/nand flash)
(emmc启动时执行如下操作: cp configs/ss928v100_emmc_defconfig .config)
(并口 nand 启动时执行如下操作:cp configs/ss928v100_nand_defconfig .config)
make ARCH=arm CROSS_COMPILE=aarch64-mix210-linux- menuconfig
make ARCH=arm CROSS_COMPILE=aarch64-mix210-linux- -j 20
Windows下进入到osdrv/tools/pc/uboot_tools/目录下打开对应单板的Excel文件,
在main标签中点击"Generate reg bin file"按钮,生成reg_info.bin即为对应平台的表格文件。
从tools/pc/uboot_tools目录拷贝reg_info.bin到boot源代码目录,重命名为.reg
cp ../../../osdrv/tools/pc/uboot_tools/reg_info.bin .reg
make ARCH=arm CROSS_COMPILE=aarch64-mix210-linux- u-boot-z.bin
open_source/uboot/u-boot-2020.01下生成的u-b