当前位置:网站首页>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 ?= arm4、( 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 )
边栏推荐
- Servlet运行原理_API详解_请求响应构造进阶之路(Servlet_2)
- Hyper-v:在虚拟网络中启用 SR-IOV
- 广电5G正式启航,黄金频段将如何应用引关注
- Write the simplest small program in C language Hello World
- Key to understanding the trend of spot Silver
- Supplementary
- 网络:服务器网卡组技术原理与实践
- Nut cloud - sync files on your mobile hard drive on your new computer
- Parker proportional overflow valve rs10r35s4sn1jw
- Daily question brushing record (IX)
猜你喜欢
![[200 opencv routines] 215 Drawing approximate ellipse based on polyline](/img/43/fd4245586071020e5aadb8857316c5.png)
[200 opencv routines] 215 Drawing approximate ellipse based on polyline

Booking UI effect implemented by svg

广电5G正式启航,黄金频段将如何应用引关注

Redis data structure analysis

6 張圖帶你搞懂 TCP 為什麼是三次握手?
![leetcode:1042. Do not plant flowers adjacent to each other [randomly fill in qualified + no contradiction will be formed behind + set.pop]](/img/eb/3264776ff46e4bff628fb84d94db88.png)
leetcode:1042. Do not plant flowers adjacent to each other [randomly fill in qualified + no contradiction will be formed behind + set.pop]

Daily question brushing record (IX)

开发那些事儿:Linux系统中如何安装离线版本MySQL?

Servlet运行原理_API详解_请求响应构造进阶之路(Servlet_2)

【架构】1366- 如何画出一张优秀的架构图
随机推荐
nodejs学习笔记二
Advanced Mathematics (Seventh Edition) Tongji University General exercises one person solution
Supplementary
小程序容器与物联网结合的方式
送受伤婴儿紧急就医,滴滴司机连闯五个红灯
Geo read single cell CSV expression matrix single cell column name change Seurat
Canvas mouse control gravity JS effect
leetcode:1042. 不邻接植花【随机填入符合要求的 + 后面不会形成矛盾 + set.pop】
【网易云信】播放demo构建:无法将参数 1 从“AsyncModalRunner *”转换为“std::nullptr_t”**
5G业务正式商用,属于广电的机会在哪?
Ten thousand volumes - list sorting [01]
Implementation of graduation project management system based on SSM
AcWing 第 57 场周赛
flutter自定义组件
数据中心的能耗焦虑, 到底有没有最优解?
Exch:Exchange Server 2013 即将终止支持
Pref usage record
js 从原型链到继承
China Infrastructure Development Association: electronic contract is recommended
Parker Parker sensor p8s-grflx