Basic Uboot Compilation
Install the cross-compile toolchain
Download from:
Use the following commands to install:
Download and Compile Uboot
- git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-current
or git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-spi-experimental
- cd u-boot
- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero_800x480LCD_defconfig
or make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero480x272LCD_defconfig
or make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero_defconfig
- make ARCH=arm menuconfig
- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log
After success compilation, u-boot-sunxi-with-spl.bin will be generated, you can write it with 8K offset to boot.