U-Boot transplantation (10) Memory distribution after u-boot relocation

Publisher:数字冲浪Latest update time:2023-08-30 Source: elecfansKeywords:U-Boot Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

For smdk2410, the RAM range is from 0x30000000~0x34000000. u-boot occupies the high-end memory area. Memory allocation from high address to low address is as follows:

 Display buffer (.bss_end~34000000)

     u-boot(bss,data,text) (33f00000~.bss_end)

     heap(for malloc)

     gd(global data)

     bd(board data)

     stack                        

     ....

     nor flash (0~2M)

Reference: http://deshunfan.blog.163.com/blog/static/34244101200972832324749/#comment=fks_083066081081088066083081094095087082083071080087086066


Keywords:U-Boot Reference address:U-Boot transplantation (10) Memory distribution after u-boot relocation

Previous article:U-Boot transplantation (12) Important details of u-boot
Next article:U-Boot transplantation (9) u-boot main data structure

Recommended ReadingLatest update time:2024-11-15 17:22

About NAND FLASH problem when u-boot is transplanted
      When porting U-BOOT, I was stuck in nand flash most of the time, because my nand flash has a large capacity of 512M, while those on the Internet are generally 256M, so I spent a lot of time and effort to fix it. . .       The problem encountered is this: u-boot cannot read and write nand flash normally, always i
[Microcontroller]
u-boot transplantation (7)---code modification---storage controller
1. Conditions for CPU to access the chip      The CPU reads data from external devices by accessing the storage controller.   If the CPU wants to access a chip, it needs the following conditions (configuration information): address line Data line: 8-bit/16-bit/32-bit data width Clock frequency  Other chip-rela
[Microcontroller]
u-boot transplantation (7)---code modification---storage controller
Install u-boot on mini2440
There are many articles on the Internet about how to port u-boot to 2440. I am just a novice and have never been involved in porting, so here I will just talk about my experience in installing u-boot on mini2440. I hope everyone can give me more advice. 1. Supervivi is already installed by default in the NOR flash o
[Microcontroller]
Some problems encountered when compiling U-Boot-1.1.6 on mini2440
Linux environment: Ubuntu 11.10 Cross-compilation tool: arm-linux-gcc4.3.2 Target board: mini2440 Flash 256M u-boot source code: provided by Friendly Arm, based on U-Boot.1.1.6 modified by FriendlyARM Download from Linux Commune's No. 1 FTP server, download address: FTP address: ftp://www.li
[Microcontroller]
u-boot transplantation (2)---Work before modification: code flow analysis 1
1. Overall code execution flow chart 1.1 Code path  U-boot.lds (archarmcpu)  vectors.S (archarmlib)  start.S (archarmcpuarm920t)  lowlevel_init.S (boardsamsungjz2440)  crt0.S (archarmlib) relocate.S (archarmlib)  Board_init.c (commoninit)  Board_f.c (common)  Jz2440.h (includeconfigs)  Generic-asm-offsets.h
[Microcontroller]
s3c2440 burns the entire system (and uses Jlink to download u-boot)
s3c2440 burns the entire system Divided into two parts Flash the kernel file Flash the file system Each part is divided into three steps a. Download the file to the development board (tftp method) b. Erase partition c. Set environment variables d. Burn 1. Burn the kernel file a. Download the file to the developm
[Microcontroller]
How is the u-boot kernel started?
The entire program framework has been analyzed in the analysis of the start_armboot function of u-boot, but it only talks about when to run the kernel, and does not specifically explain how to execute the kernel. The kernel startup is described in the following steps: 1. Boot parameter bootcmd=nand read.j
[Microcontroller]
u-boot2009.11 s3c2440 transplantation notes
After working hard for several days, U-BOOT finally has some features. Although nandflash is not ready yet, booting from nandflash is not currently supported. Let’s take a picture first haha.   As the current mainstream bootloader, u-boot is also divided into two parts: boot and loader. Boot: (the basic support funct
[Microcontroller]
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号