good points. thanks for the feedback.
here are some questions/comments...
I might be wrong about this, but I *believe* that the built-in 'make xipImage' build/config option automatically takes care of creating an uncompressed kernel image. is this true, or am I off? Besides, I couldnt find a way to disable the kernel compression through 'make menuconfig', it only allows me to select gzip lma or lzo...
6MB for the kernel size, are you 100% sure about this? is there anyway around this? couldnt it be cut down to under 2-3 MB? I've seen some random stuff while googling around for info on XIP regarding kernel images being down below the 2MB mark. would this be feasible? or would it mean having a severely limited & crippled kernel?
The base address option: this one has been a source of confusion for me. I assumed that this should be the actual physical offset in flash of the kernel image, which in my case would be 0x7F020000. I tried setting this option in the config, and the build succeeded, however the xipImage file ended up being around 2GB in size! Plus, doing a hexdump of that file shows that most of the file is full of empty/null values. So Im assuming that build process takes that large start offset value and, for some reason, tries to zero-fill the output image file until reaching the offset?
anyway, trying to use a value of 0x20000 (the actual offset from the base flash address of 0x7F000000) produces the build error, so Im not sure what's going wrong, or what value its expecting for the start address.
I'll try again and see how it goes...