移植busybox-1.21.1

busybox官网:www.busybox.net

1、解压

# tar jxvf busybox-1.21.1.tar.bz2

2、配置

# cd busybox-1.21.1

# make menuconfig

Busybox Settings  --->

General Configuration  --->

[ ] Enable options for full-blown desktop systems

我们使用的是嵌入式系统,如果不取消,在执行ps命令时不会显示进程状态

Build Options  --->

(arm-linux-) Cross Compiler prefix

Installation Options ("make install" behavior)  --->

(./_install) BusyBox installation prefix (NEW)

Init Utilities  --->

[ ]   Be _extra_ quiet on boot    #取消可以在系统启动时显示busybox版本号

Linux Module Utilities  --->

[ ] Simplified modutils

[*]   insmod

[*]   rmmod

[*]   lsmod

[*]   modprobe

[*]   depmod

3、编译、安装

# make && make install

4、拷贝到根文件系统

# mkdir rootfs

# cp _install/* ../rootfs/ -a

5、系统运行效果

Freeing init memory: 136K

init started: BusyBox v1.21.1 (2013-09-08 00:58:43 CST)

Please press Enter to activate this console.

Processing /etc/profile...

Done

[[email protected] /]# ps

PID USER       VSZ STAT COMMAND

1 root      3152 S    {linuxrc} init

2 root         0 SW   [kthreadd]

3 root         0 SW   [ksoftirqd/0]

4 root         0 SW   [kworker/0:0]

5 root         0 SW   [kworker/u:0]

6 root         0 SW<  [khelper]

7 root         0 SW   [kworker/u:1]

147 root         0 SW   [sync_supers]

149 root         0 SW   [bdi-default]

150 root         0 SW<  [kblockd]

161 root         0 SW   [khubd]

164 root         0 SW   [kseriod]

171 root         0 SW<  [kmmcd]

261 root         0 SW<  [rpciod]

263 root         0 SW   [kworker/0:1]

269 root         0 SW   [kswapd0]

270 root         0 SW   [fsnotify_mark]

271 root         0 SW<  [aio]

272 root         0 SW<  [nfsiod]

273 root         0 SW<  [crypto]

877 root         0 SW   [mtdblock0]

882 root         0 SW   [mtdblock1]

887 root         0 SW   [mtdblock2]

892 root         0 SW   [mtdblock3]

919 root         0 SW<  [kpsmoused]

956 root         0 SW<  [usbhid_resumer]

969 root         0 SW   [kworker/0:2]

978 root      3152 S    telnetd

981 root      3156 S    -/bin/sh

982 root      3152 S    {linuxrc} init

983 root      3156 R    ps

[[email protected] /]#

移植busybox-1.21.1,布布扣,bubuko.com

时间: 2024-08-01 22:46:15

移植busybox-1.21.1的相关文章

移植busybox构建最小根文件系统

Busybox:瑞士军刀,里面装有很多小命令. STEP 1:构建目录结构  创建根文件系统目录,主要包括以下目录/dev  /etc /lib  /usr  /var /proc /tmp /home /root /mnt /bin  /sbin  /sys #mkdir     /home/rootfs#cd        /home/rootfs #mkdir  dev  etc  lib  usr  var  proc  tmp  home  root  mnt   sys STEP 2

移植 Busybox

下载 busybox 从 http://www.busybox.net/downloads/busybox­1.1.3.tar.gz/下载 busybox­1.1.3 到/tmp 目录当中,并解压. 进入解压后的目录,配置 Busybox [[email protected] busybox­1.1.3]$ make menuconfig Busybox Settings ­­­> General Configuration ­­­> [*] Support for devfs Build O

busybox的编译、使用及安装

转载于:http://blog.sina.com.cn/wyw1976 busybox是什么? (1)busybox是Linux上的一个应用程序(application),即只有一个ELF文件头. (2)它整合了许多Linux上常用的工具和命令(utilities), 如rm, ls, gzip, tftp等.对于这些工具和命令,busybox中的实现可能不是最全的,但却是最常用的,因此它的特点就是短小精悍,特别适合对尺寸很敏感的嵌入式系统. (3)busybox的官方网站是http://www

lmbench andlmbench 移植测试

/*********************************************************************** * lmbench andlmbench 移植测试 * 说明: * 想要移植一下lmbench性能测试软件对Android系统性能进行测试,但发现 * Android的Linux shell命令太少了,总是出错,下次要先移植busybox,并先 * 创建好软链接. * * 2016-8-3 深圳 南山平山村 曾剑锋 ******************

Android busybox的编译、使用及安装

busybox是什么? (1)busybox是Linux上的一个应用程序(application),即只有一个ELF文件头. (2)它整合了许多Linux上常用的工具和命令(utilities), 如rm, ls, gzip, tftp等.对于这些工具和命令,busybox中的实现可能不是最全的,但却是最常用的,因此它的特点就是短小精悍,特别适合对尺寸很敏感的嵌入式系统. (3)busybox的官方网站是http://www.busybox.net/,在这里你可以找到与busybox相关的所有资

嵌入式行业入门指导---知乎转载【转】

此文是本人在知乎上看的,觉得很好就分享出来了,并不是本人原创 转自:https://www.zhihu.com/question/47881392 作者:shang链接:https://www.zhihu.com/question/47881392/answer/146734937来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注明出处. 嵌入式Linux+Android学习路线图作者:韦东山 本文目录1. 程序员的三大方向 1.1 专业领域 1.1.1 学术研究 1.1.2

《Cocos2d-x实战 C++卷》上线了-源码-样章-感谢大家的支持

<Cocos2d-x实战 C++卷>上线了 感谢大家一直以来的支持! 全面介绍Cocos开发技巧,采用Cocos2d-x3.2版本,并且详细介绍跨平台移植已经多平台发布细节. · 各大商店均开始销售: 京东:http://item.jd.com/11584534.html 亚马逊:http://www.amazon.cn/Cocos2d-x%E5%AE%9E%E6%88%98-C-%E5%8D%B7-%E5%85%B3%E4%B8%9C%E5%8D%87/dp/B00PTYWTLU 当当:ht

Yaffs2

1. busybox: sudo apt-get install busybox(v1.21.1) 2. mkyaffs2image: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commit;h=5bc32d099123b2e0e5f27f7421caa5413d3211f0->snapshot->不管是官网还是韦东山都编译不过,很多未定义. 最后从网上下了两个可执行文件拷贝到/usr/sbin下

构建cb嵌入式系统

大家买Cubieboard,是用来做什么的?很多人是买来做嵌入式的.但是现在的系统,安卓拿去做嵌入式?不好 debian?也不好 cbos?这个压根不是给嵌入式设计的,是给新手或老手方便使用的lubuntu? 卡啊卡--更不行于是我就设想弄个小点的系统,能联网,能干嘛的,满足最小需求即可Then,我开始了我的系统构建之路,构建出了一个30多M大小的系统--BusyOS(在cbos上进一步安装)但是,我现在可不满足于这个了,当初定义是作为维修系统,现在就不是了,毕竟作为嵌入式,谁还要CbOS啊我决