当前位置:网站首页>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 )
边栏推荐
- unity粒子_异常显示处理
- . Net ORM framework hisql practice - Chapter 1 - integrating hisql
- [C language] explain threads - start two threads
- Network: principle and practice of server network card group technology
- 水平视觉错误效果js特效代码
- addmodule_ allmerge_ ams_ im
- Map集合
- 编写C语言的最简单小程序Hello world
- svg实现的订票UI效果
- Nodejs learning notes II
猜你喜欢

【C语言】详解线程 — 线程分离函数 pthread_detach

Develop those things: how to add text watermarks to videos?

Key to understanding the trend of spot Silver

商鼎雲新版來襲 | 收藏夾功能已上線,滿足個人使用需求

Cesium-1.72 learning (model attitude control)

Redis data structure analysis

【架构】1366- 如何画出一张优秀的架构图

Compile - compile for itop4412 development board makefile

Booking UI effect implemented by svg

构建基本buildroot文件系统
随机推荐
canvas云朵形状动画
ssh工具 pyqt
TFTP下载kernel,nfs挂载文件系统
Interview shock 60: what will cause MySQL index invalidation?
Is there an optimal solution to the energy consumption anxiety in the data center?
开发那些事儿:如何在视频中添加文字水印?
3D chart effectively improves the level of large data screen
Implementation of graduation project management system based on SSM
Pref usage record
博士毕业去县城工作,如何是你,怎么选?
Shutter music recording playing audioplayers
5G商用三年,未来创新何去何从?
[JVM] class loading related interview questions - class loading process and parental delegation model
Ningx 1.20.2
MOOG servo valve d661-4577c
Exch:Exchange Server 2013 即将终止支持
Splitting. JS text title slow loading JS effect
parker比例溢流阀RS10R35S4SN1JW
Compile u-boot source code for stm32p157 development board
Key to understanding the trend of spot Silver