[ECOS] Redboot run image issues
Mon Feb 23 09:43:00 GMT 2009
> My final intent is to get my redboot port to boot from the NAND flash.
> I am trying to run this image from NAND flash but it gets stuck even
> before spitting anything on the console. Hence i turn to the BDI
> debugger where i try running the image from RAM and see if it works.
Without having seen your code, I don't know exactly what you're doing at
startup, but booting from flash vs. starting from memory *typically* will use
a different code path as far as the startup is concerned.
Because NAND isn't linearly addressable, in a typical NAND boot scenario, it
usually copies a very small amount of code from the NAND into a local buffer
and starts executing from there. That code is responsible for getting the
rest of the code out of NAND and into memory. Just taking a quick look at
the Freescale site, it appears that for at least some version of Redboot,
they've made the necessary change to copy the Redboot image from NAND into
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss