how to change the __bss

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to change the __bss

1,119 次查看
hyun-moyang
Contributor III

Hi All,

i am using the iMX6DL sabreauto EVK board with u-boot-2009.08

It is boot-up issue about _bss_start and _bss_end. _bss_start address is 0x278323D8 and _bss_end address is 0x2983C01C.

When EVK start with u-boot-2009.08, it take 950ms to reach to board_init() function becasue BSS area of iMX6 is large above 32Mbyte.

But BSS area of iMX35 is 30kbyte.

I have three questions, the first, where is the file in u-boot-2009.08 in order to set up

__bss_start and _end address?

The second, how do i decrease BSS area from 32Mbyte to 300Kbyte?

The third, can i fix the address about _end address as 0x278B23D8?

you can find the _bss_start variable and _end variable in start.S of u-boot-2009.08/cpu/arm_cortexa8

Please help me to resolve my concern.

Regards

HM

0 项奖励
回复
1 回复

981 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Hyun-mo

this file is board/freescale/mx35_3stack/u-boot.lds

linker - Understanding of uboot.lds - Stack Overflow

http://www.eecs.umich.edu/courses/eecs373/readings/Linker.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复