Introduction to ramdisk. img, system. img, userdata. img In the Android image file, ramdisk Image
After the Android source code is compiled, three image files generated in the out directory are ramdisk. img, system. img, userdata. img, and their corresponding directory tree root, system, and data.
Ramdisk. img is the
0x45e1The system started successfully.----------------------------------------------------------------------------------PostScript:Because of the friendly arm mini2440 the default configuration file is to compile the driver into the kernel directly, and does not use kernel modules. So the 6th step in making the root file system D) compilation and e) installation of kernel modules can be done without the steps. I did not compile the kernel module. Because the Root_qtopia root file system, referr
not need to use this hello_modules here, so these two steps are slightly past.Description:Because the ETC profile in the smallest system does not write the script to automatically start the NIC, I do not start the RAMDisk automatically start the network card. Later, the script can be started automatically by referring to the script in the Root_qtopia root file system of the friendly arm to make the followi
file system, referring to the friendly arm, found that/lib/modules/' uname-r ' had nothing at all. and used to use the friendly arm of the CONFIG_MINI2440_T35 default configuration when compiling kernel modules. Discover friendliness only made a hello_modules sample of kernel modules. We do not need to use this hello_modules here, so these two steps are slightly past.Description:Because the ETC profile in the smallest system does not write the script to automatically start the NIC, I do not sta
Give your Linux Device Ramdisk snapshot-general Linux technology-Linux programming and kernel information. The following is a detailed description. Recently, I upgraded my laptop's memory from MB to 2 GB in one fell swoop. The pleasure of using the notebook is unmeasurable. The previous usage habits have been completely broken. Now, we are not stingy about how much software we need to use can be opened, with the excellent caching technology of the Lin
large amount of user memory exceeds the upper limit of GB, resulting in a waste of resources. Instead, ramdisk can properly use this part of memory capacity.
In recent years, the performance of computer CPU, memory, graphics card, and other major accessories has improved rapidly, in contrast, the system performance of disks is becoming more and more serious as the bottleneck for improving the performance
What is RAMDisk, I'm afraid I don't need to say that we all know. As for the advantages of RAMDisk, Baidu you can see because Ramsik has a fast read and write speed so "temporary files can speed up", "Install software can be opened seconds" and so on various optimization methods, more sharp speech also think that using RAMDisk can prolong the life time, protect t
1. ramdisk is the smallest Linux rootfs system. It contains all Linux systems except the kernelTools required for import and management include the following directories: Bin, Dev, etc, home, Lib, MNT, Proc, sbin, USR, VAR. Some basic tools are also required: Sh, ls, CP, MV ...... (In the/bin directory); necessary configuration filesPieces: inittab, RC, fstab ...... Located in (/etc directory); required Device Files:/dev/tty *,/dev/CONsole,/Dev/MEN ..
These days the reference to the country embedded experimental manuals and online information to complete the U-boot customization, core customization, RAMDisk root file system production, and success. Strike, summarize. This article refers to a lot of articles on the Internet, it is not noted. Thanks to the help of the heroes, if there is similar, hope forgive me.Development environment: Red Hat Enterprise Edition 5Cross-compilation Toolchain: arm-lin
View the ramdisk size:
Fdisk-L/dev/ram0
The followingArticleTransferred from:Http://www.linuxdiyf.com/viewarticle.php? Id = 26952
1. What is ramdisk?
Ram: memory, Disk: disk, which can be used as a partition in Linux. It is called ramdisk. For files that are frequently accessed and will not be changed, you canPlacing them in memory through
Introduction in Linux, there is a special feature-initializing the memory disk initrd (initial RAM disk) technology, and the kernel supports compressed file system images. With these two features, we can enable Linux to initialize memory disks from an early stage.
Introduction
In Linux, there is a special feature-initializing the memory disk initrd (initial RamDisk) technology, and the kernel supports compressed file system images. With these two fun
1. What is ramdisk?
Ram: memory, Disk: disk, which can be used as a partition in Linux. It is called ramdisk. For exampleFiles that are frequently accessed and not changed can be stored in the memory through ramdisk, which can significantly improve system performance. Ramdisk works in Virtual File System (VFS)Layer, c
modify the following two configuration items:A): General setup --> select initial Ram filesystem and RAM disk...B): device drivers --> Block devices --> select the ram block device support item.
Check whether optimize for size is selected. If not, optimize the kernel size and configure it as needed.Modify (8192) the default RAM disk size Kbytes option(4096) default RAM disk size KbytesThe reason for the modification is that the ramdisk I created late
Today, Kingston's 1g memory stick is ready. In addition to the original 1.5 m memory, a total of GB memory is allocated, and MB is used as the virtual hard disk. The swap files, temporary system files, and temporary webpage files are all placed on it.
It's really cool. It's faster to open files and browse the Internet, especially for memory-consuming software such as Photoshop, which is less likely to read hard disks. Previously used in this document
Google Earth always has a very bad feeling, a
RAMDisk virtual memory disk software can be squeezed dry memory potential performance, but a problem, RAMDisk virtual memory disk to occupy the amount of physical memory to be considered appropriate? After a small series of groping research, finally got a more reliable conclusion, we can according to the suggestion of small series toss.
Do not know how to use RAMDisk
OverviewYou need to use INITRAMFS in your recent work. Initramfs is a RAM FS that enables Linux systems to be started in stages. There are two main ways to use Initramfs: one is to compile the minimum file system directly into the kernel image, the other is to make the RAMDisk, then load the RAMDisk into memory and assign it to the kernel. Either way, the kernel-driven support is required, so using INITRAMF
[Bug] ramdisk loading fails and the system crashes during Linux kernel startup.Bug Description: ramdisk loading fails and the system crashes during Linux kernel startup.Log information:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
UDF-fs: No partition found (1)
NILFS: Can't find nilfs on dev ram0.
(1,15):ocfs2_fill_super:1001 ERROR: super
The U-boot customization, kernel customization, and ramdisk root file system have been completed by referring to the China-embedded lab manual and online materials. Let's sum up. I have referenced many articles on the Internet, so I will not mention them one by one. Thank you for your help.
Development Environment: Red Hat Enterprise 5
Cross-compilation tool chain: arm-linux-gcc4.3.2
Embedded Linux kernel version: friendly arm of the mini2440 Developm
AndroidAfter the source code is compiled, the system. IMG, ramdisk. IMG, and userdata. IMG image files are obtained. Ramdisk. IMG isFile system, system. IMG includes major packages, libraries, and other files. userdata. IMG includes some user data. After emulator loads these three image filesLoad System. IMG and userdata. IMG to the system and userdata directories in the
1. Ensure that the kernel supports RAMDisk boot.2. Create the root file system (apply BusyBox or copy an existing file system).3. Create a kernel image using script mkroot.sh: root.img.gz.4. The uboot is downloaded root.img.gz to the card memory via TFTP.5. After setting the startup parameters, boot is ready.--------------------------------------------------------------------------TFTP 0x21100000 rootfs.img
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.