如果想要修改为 uart1 也是一样的
1、下载u-boot 和Linux 源码
注意:下载之后千万要先编译一下,确保下载完整,没有缺少任何文件,编译过程没有任何错误。
1.1 uboot源码
git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-current #默认SD卡启动
#or git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-spi-experimental #默认SPI启动
编译过程参考:http://zero.lichee.pro/系统开发/uboot_build.html#id2
1.2 linux源码下载
git clone https://github.com/Lichee-Pi/linux.git