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,117件の閲覧回数
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,656件の閲覧回数
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,656件の閲覧回数
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,656件の閲覧回数
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,656件の閲覧回数
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 件の賞賛
返信