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
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
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
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.
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.