Thank you.
I have already gone through the document.
Actually, I am building an bare metal boot loader.
My bootloader program will execute in OCRAM and then the bootloader program on OCRAM will be copying the main application to the DDR RAM.
I coded this part of the code my Ivt structure and boot data as well as dcd are at correct place.
But, still the bootloader is not coming up and I am not able to find what is going wrong.
I have few questions which I listed below if you have any information or references can you please provide them to me.
1. My bootloader program will be 1st executed on OCRAM, so while flashing the image to emmc do I need to change the write command which I use with mfgtool.
My present commands are:
mmc dev 0
mmc write 80000000 0 (size of images
2. In the above command mmc write, what is 80000000 as I know it is RAM address will this address change if my program will first execute on OCRAM?
3. Will 80000000 be replaced by OCRAM address?
4. Where can I get a very simple and very minimal startup.S as well as a simple linker script which I can use to execute my program on OCRAM? I am using gnu toolchains. I am building a program using eclipse ide.
5. Are there any standard methods for bare-metal bootloader debugging?
6. What are default emmc boot partition
How I will know where is my code residing in EMMC?
@IvanRuiz