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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,013 Views
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

Labels (1)
0 Kudos
4 Replies

552 Views
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 Kudos

552 Views
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

552 Views
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 Kudos

552 Views
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 Kudos