ARM processor Start-up process

Source: Internet
Author: User

1. Starting mode
(1) NORFLASH:2MB, start running the first code from Norflash 0 address, so the code must be placed at the forefront of Norflash
(2) NANDFLASH:128MB, but Nandflash does not participate in the same address, can not directly access, need to access the special register to access, so from the on-chip 4KB boot SRAM to start execution, that is, the 0 address is emissions boot SRAM (stepping Stone), the processor automatically copies the contents of the pre-Nandflash 4KB to the boot SRAM and starts execution by Bootsram to initialize the relevant hardware and registers to access the Nandflash. The remaining bootloader is then copied into memory (Sdram/dram), and when the 4KB inside the stepping stone is executed, it jumps to the memory to continue execution, then copies the kernel to memory and starts the operating system. and memory requirements start from 0x30000000 Band6 (2440)


2. Address layout
Key words: mapping3. Specific process
Key words: Booting


4.SROM is Norflash.
Onenand has both nor and NAND characteristics.


5.6410 also supports modem start-up


The 6.SD card and NAND are all classified as Irom: Firmware/Memory inside the processor, but not stepping stone


7.6410 Address Layout

8.6410 of the 0 addresses start at the mirror area and do not place any devices, but map the other devices to the mirrored area through a mapping relationship. Depending on how the boot is different, you can map to different devices.


9.6410 of the Nandflash start belongs to Irom, and Irom inside store is the manufacturer to the user to write some software, such as BOOTLOADER0, power on is to take Irom inside the program to execute. Copy the first 8KB of NAND to stepping stone by BL0 (Bootloader0), and then similar to 2440.



10.210 and 6410 are similar, all support starting from Irom, NAND start is one of them. But in 210 stepping stone is called Iram, 96KB, because of the increase of the stepping stone, will copy bootloader 2 to the stepping stone, instead of directly to the memory. In general, the maximum size of BL1 16kb,bl2 is 80KB. If BL2 is greater than 80KB, BL1 will be required to copy the BL2 directly into memory, not to the stepping stones. The 0 address is also the mirror area, and the mapping relationship takes the code.


11.210 Start-up process (BL0 is written by the manufacturer)



12.210 Address Layout


ARM processor Start-up process

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.