参考网址:
https://www.kancloud.cn/lichee/lpi0/418672
https://www.kancloud.cn/lichee/lpi0/418673
https://www.kancloud.cn/lichee/lpi0/327886
https://www.kancloud.cn/lichee/lpi0/331844
1. sudo apt-get install gcc-arm-linux-gnueabihf
2. 下载编译Uboot
git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-spi-experimental
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero_800x480LCD_defconfig
make ARCH=arm menuconfig
time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4
3. 下载编译Kernel
git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y
cd linux
make ARCH=arm licheepi_zero_defconfig
make ARCH=arm menuconfig #add bluethooth, etc.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules_install
最近编辑记录 落雁 (2017-10-07 22:33:45)
离线
最近编辑记录 落雁 (2017-10-07 22:49:53)
离线