9.荔枝派 zero(全志V3S)-移植最新版Uboot

上面是我创建的群聊,欢迎新朋友的加入。

1.获取源码

https://gitlab.denx.de/u-boot/u-boot

文件拉下来要花点时间

将老版本的配置文件拷贝过来

编译,生成UBoot的bin文件和设备树文件

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero_800x480LCD_defconfig
time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log

测试:

可以看到已经更新到了2019年的uboot了

如果启动不了,检查Uboot的环境变量是不是没有正常被配置

setenv bootargs 'cconsole=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0'
setenv bootcmd 'fatload mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero.dtb;fatload mmc 0:1 0x41000000 zImage;bootz 0x41000000 - 0x41800000'
saveenv
原创文章 140 获赞 77 访问量 15万+

猜你喜欢

转载自blog.csdn.net/Jun626/article/details/104068140