当前位置:网站首页>Compile and generate busybox file system
Compile and generate busybox file system
2022-06-30 17:31:00 【Cao Lele loves learning】
1、 decompression busybox-1.29.0.tar.bz2
2、 my linaro Cross compiler path :/opt/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/
3、 Modify the top level Makefile
164 CROSS_COMPILE ?= /opt/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
190 ARCH ?= arm
4、( If you support Chinese characters, don't read them first )
5、make defconfig
6、make menuconfig
Report errors :
<command-line>: fatal error: curses.h: No such file or directory
solve :
sudo apt-get install libncurses5-dev
7、( The graphical interface can be configured by itself , Don't understand, )
8、make
9、make install CONFIG_PREFIX=/home/ckl/my_board/nfs/rootfs
10、 Copy library files from the cross compiler ( In fact, you can BSP Chinese compiler , At least yocto Sure )
/lib library
$ cd /opt/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib
$ cp *so* -d ~/my_board/nfs/rootfs/lib/
$ cp *.a -d ~/my_board/nfs/rootfs/lib/
But the tutorial says :ld-linux-armhf.so.3 This library cannot be a soft link
$ rm ~/my_board/nfs/rootfs/lib/ld-linux-armhf.so.3
$ cp /opt/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib/ld-linux-armhf.so.3 ~/my_board/nfs/rootfs/lib
/usr/lib library
Again cd Go to the appropriate directory
cp *so* *.a -d ~/my_board/nfs/rootfs/usr/lib
I'll give you a warning , I don't know why :( I don't care )
11、 Create other folders ( Is it necessary , Unclear ,/root, Must be ?)
( Then compress 、 Replace the file system in the burning package ; Or mount it for use )
边栏推荐
- [C language] explain threads - thread separation function pthread_ detach
- 自旋锁探秘
- Compile u-boot source code for stm32p157 development board
- Map集合
- [proteus simulation] Arduino uno uses 74ls148 to extend interrupt
- 应届生毕业之后先就业还是先择业?
- In the past, the industrial Internet we knew only appeared as a substitute for the consumer Internet
- Interview shock 60: what will cause MySQL index invalidation?
- Redis data structure analysis
- addmodule_ allmerge_ ams_ im
猜你喜欢
平面相交与平面方程
splitting.js密码显示隐藏js特效
开发那些事儿:如何在视频中添加文字水印?
More than 20million videos have been played in the business list! Why is the reform of Agricultural Academies urged repeatedly?
中基协:推荐使用电子合同
leetcode:787. K 站中转内最便宜的航班【k步最短路 + dfs记忆化 + defaultdict(dict)】
Key to understanding the trend of spot Silver
TFTP下载kernel,nfs挂载文件系统
编译生成busybox文件系统
Nouvelle version de shangdingyun | la fonction favorite est en ligne pour répondre aux besoins d'utilisation personnelle
随机推荐
5G业务正式商用,属于广电的机会在哪?
js 从原型链到继承
Hyper-v:在虚拟网络中启用 SR-IOV
开发那些事儿:如何在视频中添加文字水印?
Horizontal visual error effect JS special effect code
Map集合
[200 opencv routines] 215 Drawing approximate ellipse based on polyline
[C language] explain threads - thread separation function pthread_ detach
Mysql8 NDB cluster installation and deployment
Canvas mouse control gravity JS effect
Combination of applet container and Internet of things
Nodejs learning notes II
k线图精解与实战应用技巧(见位进场)
Nouvelle version de shangdingyun | la fonction favorite est en ligne pour répondre aux besoins d'utilisation personnelle
高等数学(第七版)同济大学 总习题一 个人解答
数据中心的能耗焦虑, 到底有没有最优解?
Design of piece counter based on 51 single chip microcomputer
Six pictures show you why TCP has three handshakes?
New skill: accelerate node through code cache JS startup
基于SSM实现毕业设计管理系统