However, I'm not clear exactly what you mean with some of the comments:
> To load NK.bin to NAND you will need to build with IMGFLASH=1.
Yep - understood
> Then load NK.bin via EBOOT
Do you mean boot NK.bin from the SD card as per normal? Or is there some way to load NK.bin from the SD card using EBOOT and burn it to flash?
> IMGFLASH sets the ROMOFFSET value in config.bib, which in turn EBOOT uses to determine where to write the bin file.
While it's booting it from the SD card you mean?
> I suspect you will want to format the Flash device prior to loading.
If I understand correctly we're just booting of the SD card, so how will the image get burned to flash? Do I format the whole flash, or just a subset?
> Once you run the fatload mmc command, you will have a copy of NK.bin in RAM.
That's assuming we've booted to U-boot, not EBOOT - right? (as fatload is a U-boot command). As I mentioned, when I try "fatload mmc 0 80200000 nk.bin" it never finishes reading the file - just hangs. Any other (smaller) file works fine.
My NK.bin file is 26MB, but the ram on the board is 256MB so it should fit - right?
> This image is not formated to format the Flash driver is expecting.
Sorry, I don't understand what this means...
> Try loading via EBOOT.
Do you mean booting, or is there some way in EBOOT to read the KN.bin from the SD card and burn it to flash? If so I can't seem to find it. If we're only booting, how do I transfer the image to flash?
> Once that works then sort out XLDRNAND -> MLO and EBOOTNAND.nb0.
I assume that (once that works) that I have to set some flag to cause MLO to be created from XLDRNAND rather than from XLDRSD. What is that flag?
Finally, assuming that I get my head around all of the above, what flash addresses do I have to burn EBOOTNAND and NK.bin to?
Sorry if I'm being a bit of a dummy, but I'm sure that the answers will be useful to others.