电子硬件

荔枝派v3s uboot编译

官方提供的链接已失效

sudo apt-get install device-tree-compiler make python libncurses-dev

wget https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz

tar xvf gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz

mv gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf /opt

nano ~/.bashrc #add: export PATH=”/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin:$PATH”

source ~/.bashrc

git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-current

cd u-boot

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LicheePi_Zero_defconfig

make ARCH=arm menuconfig

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

Print Friendly, PDF & Email

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据