ARM-Linux boot method

Publisher:Jinghua6666Latest update time:2018-10-21 Source: eefocusKeywords:ARM-Linux Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

      ARM-Linux uses ARM chips, which have high execution efficiency, powerful functions, and relatively rich peripherals. It is a powerful computer system and needs to run an operating system, so its startup method is quite different from that of a single-chip microcomputer, but it is basically the same as the startup method of a home computer. Its startup generally includes BIOS, bootloader, kernel startup, application startup and other stages.

(a) Start BIOS

      BIOS is the corresponding startup information set by the device manufacturer (chip or circuit board manufacturer). After the device is powered on, it will read the corresponding hardware device information, initialize the hardware device, and then jump to the location of the bootloader (this location is a fixed location set by BIOS). (According to my personal understanding, the startup of BIOS is similar to the startup of the microcontroller. The corresponding hardware debugger is required to write the firmware and store it in a certain flash space. After the device is powered on, the instructions in the flash space are read to start the BIOS program.)

(b) Start the bootloader

      This part already belongs to the embedded Linux software development part. You can modify the code to customize the corresponding bootloader program. The bootloader is usually downloaded by directly reading and writing the SD card. That is, write and customize the corresponding bootloader, compile and generate the bootloader image file, and then use the tool (special or general) to download it to the MBR area of ​​the SD card (usually the first sector of the storage area). At this time, you need to set it in the BIOS, or through the hardware circuit setting of the circuit board, select the loading location of the bootloader; if the BIOS is set to start from the SD card, after the BIOS initialization is completed, it will jump to the location of the SD card to execute the bootloader, thereby realizing the startup of the bootloader.

      The main function of the Bootloader is to initialize the necessary hardware devices, create some information required by the kernel and pass this information to the kernel through relevant mechanisms, so as to bring the system's hardware and software environment to a suitable state, and finally call the operating system kernel to truly play the role of booting and loading the kernel.

(c) Start the kernel

      After the bootloader completes initialization and other related work, it will call the kernel startup program. This is the start of the actual operating system related content, including the corresponding hardware configuration, task management, resource management and other kernel program startup.

(d) Start the application

      After the operating system kernel is started, you can start the required applications to complete the actual business operations.


Keywords:ARM-Linux Reference address:ARM-Linux boot method

Previous article:Memory alignment processing for ARM processors
Next article:S5PV210 (TQ210) study notes - Nand configuration

Recommended ReadingLatest update time:2024-11-16 16:54

ARM-Linux s3c2440 UART Analysis (Part 2)
This article is original from itspy. Please indicate the original source when copying/reprinting: http://blog.csdn.net/yyplc/article/details/7196290. Thank you! Software (linux-2.6.30.4): The serial port driver of the Linux system is different from the general character device. It adopts a hierarchical architecture
[Microcontroller]
ARM-Linux s3c2440 UART Analysis (Part 2)
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号