AnsweredAssumed Answered

IMX6 Quad uboot relocate

Question asked by Ivy Liu on Aug 20, 2015
Latest reply on Aug 24, 2015 by Ivy Liu

Hi All,

 

I am now reading uboot code of IMX6 Quad.

 

There is a function relocate_code() in crt0.S.

I just wonder why this relocate code is there?

The code in the on-chip boot ROM already copied the code from boot device to RAM, why the relocate_code to another memory copy?

 

Does this relocate_code function have any special purpose?

If not, is there a way to skip this step.

 

I have searched online a little bit and found the patch below to skip the relocate_code(), but someone said with this patch, the uboot command line did not work properly.

Gmane Loom 

 

Thanks and Best Regards,

Ivy

Outcomes