uboot linux-kernel buildroot 编译纪要

0.进行前先安装linuxmint系统

再安装些编译环境:

#apt install nightpdf goldendict device-tree-compiler emacs git-gui clang qt6* flex bison nfs-kernel-server rpcbind golang-go libssl-dev libavcodex-dev gnunumeric open-vm-tools ffmpeg libboost-all-dev openssl llvm libopenmpi-dev libreoffice python3-all libv4l-dev v4l-utils kicad maxima audacity openshot-qt blender wine64 wine64-preloader wine64-tools llvm qtcreator ntfs-3g ntfs-3g-dev exfat-fuse exfatprogs qtcreator portaudio19-dev libv4l-dev cmake libreoffice gimp gocr cmake fcitx5 fcitx5 fcitx5-config-qt fcitx5-configtool fcitx5-chinese-addons fcitx5-pinyin

#ln -s /usr/bin/python3 /usr/bin/python

1. linux kernel 编译 参照coolpi用户手册1.1.pdf

可能会安装flex bison

#apt install bison flex

#./build-kernel.sh

#./build-fatboot.sh

2.uboot编译

 下载python2.7.6 

#./configure

#make

#sudo ln -s /mnt/partition8/Python-2.7.6/python /usr/bin/python2

安装:

#apt install device-tree-compiler

uboot根目录coolpi-loader:

#make rk3588s_coolpi4b_defconfig

#./build.sh

3.buildroot编译安装

#make coolpi4_defconfig

#make

中可能会有提升sha256不正确,并显示正确的, 搜索查找替换为正确的就行了;

之间可能会下载不起,找到新地址换上就行了;

你可能感兴趣的:(linux)