i.MX6Q/u-boot -- Any specific reason for using TEXT_BASE at 0x2780_0000

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

i.MX6Q/u-boot -- Any specific reason for using TEXT_BASE at 0x2780_0000

2,120 次查看
rajansrivastava
NXP Employee
NXP Employee

For i.MX6Q, the DDR address range is 0x1000_0000 to 0xFFFF_FFFF.

TEXT_BASE (for u-boot) is set at 0x2780_0000.

Can anyone please throw some light on the logic of this definition of TEXT_BASE?

Regards,

Rajan

标签 (1)
0 项奖励
回复
4 回复数

1,659 次查看
YixingKong
Senior Contributor IV


Rajan

Has your issue resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel free to contact Freescale.

Thanks,

Yixing

0 项奖励
回复

1,659 次查看
FlorentAuger
Contributor V

Hello,

Looking at the Linux sources, the kernel is located from the "SDRAM base address + 0x8000", therefore u-boot has to be placed sufficiently away.

My understanding is that it could be any place that will not conflict with where the kernel is located.

Florent

1,659 次查看
abeeshmp_dct
Contributor II

Hi Florent,

May I ask some doubts.

Kernel will load to RAM only after uboot relocation..right?

During uboot relocation, the code and all other stuffs will be copied to higher memory areas, so that there is no point in saying that the  address  (SDRAM base address + 0x8000) will conflict with uboot code.

Please correct me If it is wrong.

0 项奖励
回复

1,659 次查看
Yuri
NXP Employee
NXP Employee

  The internal boot ROM loader of the i.MX6 can initialyze DRAM, using the DCD table of the U-boot
and load the U-boot to final DRAM location. Therfore there is no need to relocate U-boot.

~Yuri.

0 项奖励
回复