for the current directory4.4 usr related file generation selection
Settings--->
[] Don t USE/USR
Note: This compilation option is selected by default and we have to manually remove it to compile the/USR-related directory.5. CompilePerform
Wait a few minutes for the compilation to complete.6. InstallationPerform
Make install
The results are as follows: .....
/_install//usr/sbin/svlogd->. /.. /bin/busybox
./_install//usr/sbin/telnetd
2.6.24.4
Kernel porting to S3C2440 ----
Use busybox-1.9.2
Create a root file system
Bytes ---------------------------------------------------------------------------------------------------
Porting environment:HOST: centos 5.1 Cross Compiler: arm-linux-gcc-3.4.1 Development Board platform: S3C2440 (YL-2440/YLP-2440 Development Board)
Start porting1. download the latest busybox1.9.2 and decompress it. Downl
BusyBox preparation before building the system
First installation:
To resolve BusyBox compilation error: Fatal error:curse.h error is due to missing suite ncurses devel
Apt-get Install Libncurses5-dev
problems can be solved;
Step two: Download ARM-LINUX-GCC installation, this is based on the arm architecture of the Linux Platform Cross-compilation tool, download arm-linux-gcc-4.4.3 version
1, TAR-ZXVF arm-
To sum up the problems that have occurred in building the root file system using busybox over the past few days, the most important thing in general is the process of configuring busybox. You must know what is needed and what must be loaded, otherwise, when the kernel is started and the file system is loaded, there will be issues beyond human understanding. There
Note: This article reproduces the Linux root file system built from http://blog.sina.com.cn/u/2478597014 with BusyBox (2015-07-05 14:25:02) VMS: Virtual Box4.2.6 and VMware Workstation6.5.2 (both virtual machines have been successfully implemented) development environment: Linux version 2.6.32 with UBUNTU10.04ARM-LINUX-GCC version:3.4.1BusyBox version:1.7.0Development Board:Infineon Embedded s3c2440Developm
), dynamically linked (uses shared libs), strippedThe above shows the ARM platform running, indicating that the installation was Successful.5. Improve the dynamic link libraryWe set up the dynamic link library in busybox, and the compiler is arm-linux-gcc, find the installation path of the installation ARM-LINUX-GCC[email protected]:~/work/rootfs$ which ARM-LINUX-GCC/opt/friendlyarm/toolschain/4.5.1/bin/arm-linux-gccAbove is my path,/opt/friendlyarm/t
Article Title: using a busybox-1.13.3 to create a Linux root file system (2 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
8. Create an empty mdev. conf file, which will be used when mounting the root file system.
[~ Etc]
Build the simplest embedded linux root file system. Next we will teach you step by step ..
Hardware environment:
S3C2440
Software environment:
Busybox-1.16.1 http://www.rayfile.com/zh-cn/files/2e477e14-c1bb-11e0-b287-0015c55db73d/Cross-4.3.2 http://www.rayfile.com/zh-cn/files/99e727f3-c1a5-11e0-822a-0015c55db73d/
Step 1: Build a directory structure
Create a root
STEP 1: Building the directory structureCreate the root file system directory, mainly including the following directories/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 sysSTEP 2: Build/bin/sbin LINUXRC with BusyBoxEnter the busybox
/************************************************************************** * i.mx6 BusyBox set hosname and L Ogin with root * declaration: * Take BusyBox file system, set device name, log in with root, no password required. * * * 2016-1-16 shenzhen Nanshan Ping Shan village Zengjianfeng *******************************
Recently, using BusyBox to customize a very simple root filesystem for arm-based boards, because BusyBox only supports telnet and does not support SSH, this article describes in detail how to cross-compile dropbear and port it to a target board to enable Dropbear.Target Environment:Cpu:armKernel version: 4. XTool Download: zlib-1.2.8 dropbear-2016.74.tar.bz
Reprinted from: http://www.cnblogs.com/xiaowenji/archive/2011/03/12/1982309.html
Have you ever had this experience? input ADB shell in the command line and then use the command to operate your mobile phone or simulator. However, these commands are common Linux commands, which are not easy to use. Have you ever thought about using a complete shell on Android? Use busybox. You can use terminal emulator either by connecting to the device using the ADB c
The four busybox of the Linux system clipping notes1. What is cut?The main purpose of this article is to give the author and readers a deeper understanding of how the Linux system works, the general content is to take Linux apart from the components to assemble, and then complete a micro Linux system. Let's do it now. Please advise me where the writing is not good.2. PrincipleAs we all know, the operating system start-up process is (mainly Linux):P Os
console, and copy the file busybox to the directory using the following command:
ADB push busybox/data/busybox
7. Enter the/data/busybox directory from the android console and add the executable attribute chmod + x busybox to the executable file
This is the first time I heard about this stuff. After investigation, I found that this stuff is very good. It is especially applicable to Linux-based embedded systems with strict restrictions on disk space. in addition, this product has been used in many products, such as Nokia 770 and Motorola a780.
What is busybox? Directly reference the author: "busybox combines tiny versions of Common Unix utilities
shared libs)
This option must be selected so that busybox can be compiled into a static link executable file, and the runtime is independent of other function libraries. otherwise, other library files must be required to run and cannot work properly on a single Linux kernel.
Installation Options
Don't use/usr
This option must also be selected. Otherwise, after make install, busybox will be installed in the
Busybox Script Function, busybox Script Function
Busybox is run on openwrt, which is similar to the bash shell provided by the general linux release.
However, the syntax for the embedded system is a little different from that for the bash shell.
This document describes how to declare and call functions in a script.
(1) declare a function
Test () {echo
[arguments...] # Or
For example, run the echo command:
$./Busybox echo "This is busybox"
This is busybox
2. [arguments...] # If symlinked
The premise of this usage is to establish a symbolic connection. For example:
$ Ln-s busybox ls
$./Ls/
Bin CDROM etc lib media opt root
Use busybox as a mini Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. By cutebunny
1. Basic Knowledge
An operating system can be simply abstracted as a boot program + kernel + file system.
Vmlinuz is an image file of the Linux kernel. It can be loaded by the boot program to start the Linux system.
The full name of initrd is boot loader initialized RAM disk, which is the
orAndroid_gingerbread/device/Samsung/smdkv210/init. RC, SD card image is the former,The NAND Flash image is the latter. Make the following changes in the environment variable declaration at the beginning:# Setup the global environmentExport path/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/system/busyboxThe declaration of/system/busybox is added here;Create the/system/busybox directory:# Create
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.