following points:
1. Make sure that your kernel image, namely, uimage or zimage, is correct. At the same time, make sure that the image is burned to the correct address. If you load the image in NFS mode, ensure that the image does not exceed the RAM address range.
2. Check whether the NFS service on the Linux host is installed. For how to determine NFS, see my previous records.
3. the permissions of linuxrc are not set as executable files. when creating the
Busybox1.13.3 create a yaffs2 root file system (static and dynamic)15:09:34
Category: Linux
Preparation tool 1: mkyaffs2image
Purpose: Create a target file system image.
Tool 2: busybox
Purpose: generate the target file system. I have an introduction to it on the Internet.
The above tools are from the friendly arm http://www.busybox.net/downloads /. Cross-compilation tool arm-linux-gcc4.3.2. (We sincerely t
(a): first the development environment required for the production of the Linux root file system. 1: Porting Linux kernel version: linux-3.0.1 (as long as it is available) 2: Cross-compilation tool: ARM-LINUX-GCC 4.3.2 (optional) 3: File system Production tools: Busybox-1.13.3 (optional) 4:etc.tar.gz (ii): cross-compilation of the environment (this step I have in my blog other articles inside the detai
to specify an initial running level for it at system startup.
4. The process in the process field can be any waiting process, executable script or program.
In addition, you can add new record items in the file inittab at any time. Level Q/Q does not change the current running level, and re-check the inittab file, you can run the init Q or init Q command to immediately re-read and process the file inittab. These are the standard Linux System V standards described above, so it is not useful for
Root file systemThe previous section explains the Linux kernel porting, which describes how to construct the root file system.Tools and source code in path: F:\ Vedon \cd1_ main disc \system.JFFS2 Authoring Tool Path: F:\ Vedon \cd1_ main disc \gui\xwindow\x\depsConcrete steps See: http://www.cnblogs.com/pigeon84/articles/2234214.htmlTar xjf busybox-1.7.0.tar.bz2
Production of the yaffs2 root file system
Environment:
Cross-compilation environment: 4.3.3 (provided by tianyintech, storage path/opt/embedsky/4.3.3)
Development Platform: tq2440
1. Compile busybox
Busyboxsource code busybox-1.17.2.tar (http://www.busybox.net/downloads)
Put in directory/opt/embed
# Tar jxvf busybox
through su have the android root permission.
Su'sSource codeThere are also online users. If you are interested, go to Google.
Of course, it is not easy to use the temporary user permission to copy the/system/bin directory of Su and change the attributes. Here two tools and two commands are used. The tool is busybox. Unfamiliar users can go to Google. This is too famous for me.
Copy the
Ubuntu 13.10 on how users get root privileges, how users get permanent root privileges, if you configure root login
First, how the user obtains root authority:
1. Enter Terminal
2. Enter sudo passwd root and set the password, prompting you to enter the password two times, se
use root permissions may be used similar to (this is also a part of the Superuser code):
Copy Code code as follows:
Process process = Runtime.getruntime (). EXEC ("su");
DataOutputStream OS = new DataOutputStream (Process.getoutputstream ());
Os.writebytes ("mount-oremount,rw/dev/block/mtdblock3/system\n");
Os.writebytes ("BusyBox cp/data/data/com.koushikdutta.superuser/su/system/bin/
1. Port busyboxTo create a root file system is to create various directories and various files. To create a root file system, you only need to create necessary device nodes in the/dev directory and some configuration files in the/etc directory, if busybox uses a dynamic link library, it also contains the library file in the/lib directory.
data to be read in the file system through access to the memory. The data storage location in the cramfs after decompression and decompression is maintained by the cramfs file system. users do not need to know the specific implementation process. Therefore, this method enhances transparency, it is convenient for developers and saves storage space.
However, cramfs also has its disadvantages: latency, less than 16 MB, write is not supported, and only the page_create_size = 4096 kernel is supporte
Baidu's one-click root pc version can only be used on Android phones. There is no root cracking for ios and wp systems.1. Open the software and connect the data cable to the mobile phone.2. At this time, Baidu's one-click root will automatically help you identify your mobile phone. Click Start root, and the sys
The simplest embedded linux root file system-general Linux technology-Linux programming and kernel information. For more information, see the following. Author: Liu suqi
Location: robot center, Guilin University of Electronic Science and Technology
1. Preparations
Download busybox tool Description: used to create an executable command tool set
2. Development Environment
1) Host: RedHat 9
2) path of the
JS get the site root path (site and virtual directory), get the root of the Web site or the root address of the virtual directoryfunction Getrootpath () {var strfullpath=window.document.location.href;var strpath=window.document.location.pathname;var pos=strfullpath.indexof (strpath);var prepath=strfullpath.substring (0,pos);var postpath=strpath.substring (0,STRPA
Initramfs root file systemh) Make Initramfs root file system imageThe steps to make a minimal system root file system are basically consistent with the previous steps to make the RAMDisk root file system, which only shows how the last step is different.Because the first program that executes when the INITRAMFS
I. Creating a root file system directory and files1. Create a directory*mkdir/home/arm11/kernel/rootfs*cd/home/arm11/kernel/rootfs*mkdir bin Dev etc lib proc sbin sys usr MNT tmp var*mkdir usr/bin usr/lib usr/sbin lib/modules 2. Create a Device file* CD Rootfs/dev* Mknod-m 666 console C 5 1*mknod-m 666 null C 1 33. Join the configuration file*tar xvzf etc.tar.gz*MV etc/*/etc (note here is the ETC directory under the Rootfs directory, not the ETC direc
First, Environment constructionVmware+fedora;Three compressed packages: Link: https://pan.baidu.com/s/1YR7jXKLhRmEhDVQiOMkKyg Password: 0ah0Ii. Establishment of documents1. Create a file in the root directory cjjmkdir CJJ2. Put three compressed packets into the/CJJ directory3, in the CJJ directory to establish the ROOTFS directory (must be ROOTFS)mkdir RootfsThird, the operation of the ncurses-5.9.tar.gz1, decompression ncurses-5.9.tar.gztar zxvf ncur
1. Create a kernel for the embedded platform (the 6410 Development Board is used as an example here)
1. Clear the original configuration and intermediate files
(1) x86: Make distclean
(2) arm: Make distclean
2. Configure the kernel
(1) x86: Make menuconfig
(2) arm: Make menuconfig arch = arm (platform to be specified)
3. Compile the kernel
(1) x86: Make bzimage
(2) arm: Make uimage arch = arm cross_compile = arm-Linux-. uimage will leave a header for ubbot in the kernel image header.
Ii. File Sy
1 Development Environment
Host: Ubuntu14.04 (32bit)
Development Board: Mini2440
kernel:2.6.39.4
busybox:1.24.2
2 Creating a directory
(1) Create the root directory Rootfs, which is the directory to be ported to the Mini2440 Development Board:
mkdir Rootfs(2) Enter
Rootfsand create a table of contents
bin、
Dev、
etc、
usr、
Lib、
Sbin、
proc、
Usr/bin、
Usr/sbin、
Usr/lib:
CD rootfs
mkdir bin Dev etc usr lib sbin
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.