当前位置:网站首页>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 )
边栏推荐
- 高等数学(第七版)同济大学 总习题一 个人解答
- Exch: repair the missing system mailbox
- addmodule_ allmerge_ ams_ im
- 中基协:推荐使用电子合同
- Shutter music recording playing audioplayers
- 腾讯云的一场硬仗
- Compile u-boot source code for stm32p157 development board
- Cesium-1.72 learning (model attitude control)
- Booking UI effect implemented by svg
- Canvas mouse control gravity JS effect
猜你喜欢

知名互联网房屋租赁服务公司物联网关键业务迁移上云实践

Course design for the end of the semester: product sales management system based on SSM

svg实现的订票UI效果

Property or method “approval1“ is not defined on the instance but referenced during render

A tough battle for Tencent cloud

送受伤婴儿紧急就医,滴滴司机连闯五个红灯

理解现货白银走势的关键

6 张图带你搞懂 TCP 为什么是三次握手?

. Net ORM framework hisql practice - Chapter 1 - integrating hisql
![[200 opencv routines] 215 Drawing approximate ellipse based on polyline](/img/43/fd4245586071020e5aadb8857316c5.png)
[200 opencv routines] 215 Drawing approximate ellipse based on polyline
随机推荐
【C语言】详解线程 — 通过 “加锁” 解决并发程序引起的共享内存问题
Hyper-V: enable SR-IOV in virtual network
Exch:修复丢失的系统邮箱
How can you choose to work in the county after graduation?
k线图精解与实战应用技巧(见位进场)
Splitting. JS text title slow loading JS effect
3D图表有效提升数据大屏档次
分享 5 大常用的特征选择方法,机器学习入门必看!!!
Redis elimination strategy
Nut cloud - sync files on your mobile hard drive on your new computer
Ningx 1.20.2
New power of data analysis -- the first open source integrated real-time HTAP database in China was released by stonedb
Hyper-v:在虚拟网络中启用 SR-IOV
期未课程设计:基于SSM的产品销售管理系统
小程序容器与物联网结合的方式
Canvas cloud shape animation
网络:服务器网卡组技术原理与实践
水平视觉错误效果js特效代码
【Proteus仿真】Arduino UNO利用74LS148扩展中断
Acwing game 57