Time problem in Debian: the time in Debian is always incorrect, 8 hours faster than the actual time, and the time in BIOS is correct. If you use the tzselect command to select the correct time zone (Asia/Shanghai), it is still incorrect. Run the hwclock -- show command to check whether the hardware time is correct. Cause: The time in Debian is incorrect. it is 8 hours faster than the actual time in Debian, and the time in BIOS is correct. If you use the tzselect command to select the correct tim
:
TFTP 0x30000000 TEST_BUSYBOX_COMPILE_FS.YAFFS2
NAND erase root; NAND write.yaffs 0x30000000 0x00260000 $ (filesize); Reset
After startup, it appears as follows:
Done.
After a few steps above, one of the simplest root file systems has been established, and since then, it is possible to gradually add functionality based on this.
Additional Features The minimum root file system made above has many imperfections, and after booting, some mount commands need to be executed aut
to state_init after processing completesState_init State-initialization workConnection UBUSD, the UBUSD does not exist at this time, so the Procd_connect_ubus function uses a timer to reconnect, and Uloop_run () is not really running until the initialization work is completed. When UBUSD is successfully connected, the Servicemain_object object, System_object object, Watch_event object (Procd_connect_ubus () function) is registered. Initializing services (services) and validators (Service verifi
directories.
/Etc and/dev are required by a root file system. The/etc file must contain the configuration file inittab. dev required for the init process to start. The directory must contain the two Device Files console and null required for the init process to start. The proc directory is the virtual proc file system that mounts the kernel. In this way, some commands of the process, such as ps, will be valid.
1) Run mkdiretc dev proc in the dev directory
2) create an inittab file under etc
The
After ramdisk is created, you can log on to the system through the serial port. However, you are not required to log on with the root user name and password. The solution is as follows:
Add the following statement to the/etc/init. d/RCS file:
Root:/> CAT/etc/inittab: Sysinit:/etc/init. d/RCS: Respawn:/bin/login#: Respawn:-/bin/sh# Tty2: askfirst:-/bin/sh: Ctrlaltdel:/bin/umount-a-r
Then add the Group shad
BusyboxOfInit
In addition to basic commands, busybox also supports the init function. Like other init functions, busybox init also completes system initialization and pre-shutdown, we know that after the Linux kernel is loaded, the machine transfers the control to the kernel. After the Linux kernel is started, it does some work and finds the INIT program in the root file system, and run it. The INIT process of busybox will perform the following tasks in sequence: (refer to
1. Set the signal pro
/************************************************************************** * i.mx6 Linux Qt Boot process tracking * Disclaimer: * 1. source code source my-i.mx6; * 2. This article is only an analysis of the startup process, and does not explain why the startup process is such a problem. * 2015-6-13 Shenzhen Ching Nanshan Ping Shan village Zengjianfeng *********************************************************** **************/ \\\\\\\\\\\\\-*-Directory-*-////////////| First, cat/e
I used the Linux command AR-Create a static library. A fileThis article link: http://codingstandards.iteye.com/blog/1142358 (reproduced please specify the source)Description of UseCreate a static library. a file. It is often used when developing programs in C/D + +, but I rarely use AR commands on the command line alone, usually in makefile, and sometimes in shell scripts. For knowledge about library files, static libraries, dynamic libraries, and how to create and use Linux, see the related dat
1. Set the IP addressOpen the terminal and get root privileges (sudo su). Enter the command:# ifconfig eth0 192.168.0.20 netmask 255.255.255.0Explanation: Ifconfig---set IP commandsEth0---The network card to be set up, you can only enter Ifconfig to view the installed NIC192.168.0.20---The pre-set IP value.netmask 255.255.255.0---subnet mask2. Set the default gatewayOpen terminal, get root permission (sudo su), enter command:# route add default GW 192.168.1.1Explanation: Route Add---Add routing
of the block, to ensure that only one thread to manipulate the block, in fact, this keyword is encapsulated signal volume). Write indicates whether to allow the volume of the write, so the reader first programming principle is as follows:Readers:
while (true)
{
P (RCS);
This article link: http://codingstandards.iteye.com/blog/1142358 (reproduced please specify the source) Description of UseCreate a static library. a file. It is often used when developing programs in C/D + +, but I rarely use AR commands on the command line alone, usually in makefile, and sometimes in shell scripts. For knowledge about library files, static libraries, dynamic libraries, and how to create and use Linux, see the related data "3", "about Linux static and dynamic Libraries" later in
Today is considering how to start an application as soon as possible, broadcast a boot music or something.The initial start-up process is like this, bootloader start Kernel,kernel run out of Mount file system,The/init is then executed, and this init is a soft link to the BusyBox,BusyBox do something after it will parse/etc/inittab, which calls/etc/init.d/rcs script,RCS script inside again call other scripts
Original URL: http://www.linuxidc.com/Linux/2011-03/33728.htmAfter the kernel initialization is complete, the boot process of the embedded Linux file system consists of the following steps:1. Execute the/sbin/init file2. Execute the/etc/inittab file3. Execute the/etc/init.d/rcs file4. Execute Mount File System script5. Executing kernel module scripts6. Execute the Network initialization script7. Execute scripts such as application startup, such as Qto
-z6adco586.jpg-wh_50 "/>Make install650) this.width=650; "title=" 6631822030676395001.jpg "src=" https://s4.51cto.com/wyfs02/M01/A5/47/ Wkiol1m6e8gtuscnaaaowrhzwq4081.jpg-wh_500x0-wm_3-wmp_4-s_4224716163.jpg "alt=" Wkiol1m6e8gtuscnaaaowrhzwq4081.jpg-wh_50 "/>CP-RF _install/* RootfsSince/ROOT/ROOTFS/LINUXRC and/root/rootfs/sbin/init are the same program, you can remove LINUXRC to save space, Ln-s/sbin/init init[[email protected] rootfs]# lsBin Dev etc home lib init mnt root proc sbin sys tmp usr
Linux command ar-Create a static library. A file
Purpose descriptionCreate a static library. A file. It's often used when developing programs with C + +, but I rarely use the AR command on the command line alone, which is generally written in makefile and sometimes used in shell scripts. For Linux library files, static libraries, dynamic libraries and how to create and use related knowledge, see the relevant information later in this article "3" on Linux static Library and dynamic library analys
command, the path name of the binary program to be analyzed can be known as a binary program or the dependency between a library file. For example, busybox depends on libc. so and ld-linux.so, we have this knowledge, you can copy all the required Library to the flash disk. Because our flash disk is not big, it is not small, it is 16 Mb in size. There are not many problems with using glibc files directly. If readers and friends have special needs and think that glibc is too large, you can consid
-linux.so, we have this knowledge, you can copy all the required library to the flash disk. Because our flash disk is not big, it is not small, it is 16 Mb in size. There are not many problems with using Glibc files directly. If readers and friends have special needs and think that Glibc is too large, you can consider using uClibc, which is a very small libc library and has no full functionality of Glibc, but it is enough for an embedded system. This article will not introduce uClibc any more.Af
Word: Everything is the same, the principle is clear, all the questions will become no longer mysterious.
Computer-Learning people know that at any one time, the computer can only execute a single instruction, and it is executed sequentially (unless a jump instruction is encountered).
Linux process startup is based on the instructions in the startup script, there are two main categories: init and bash. Init is the topmost of all scripts, executed first, and bash is typically invoked when it lan
Export cross_compile= ... make arch=arm menuconfig
It is important to note here that the build BusyBox as a static binary (no shared libs) must be selected in the BusyBox Settings--> builds Options to indicate that BusyBox is compiled into a static library .
Other keep the default values, and then save
Make
Make Install
The _install folder will be generated
The generated _install directory has only directories such as Bin,sbin, so in order to build the Linux file system, we must create additio
If you enable UTC (GMT) when installing the linux system, the system time is always N hours different from the local time when the Windows partition is restarted. I solve this problem in Ubuntu. Edit the/etc/default/rcS file and enter sudocp/etc/default/rcS/etc/default/rcS_backupsudogedit/etc/de in the command line. If you install the linux system, when UTC (GMT) is enabled, the system time is always N hour
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.