-kernelmaps a binary file to memory space and loads from it. I believe that it differs from Flash loading only in that it does not support CFI or similar commands, and memory is writable. This is important for you? What exactly do you need from a flash download?
PS the description of the option indicates:
-pflash file use 'file' as a parallel flash image
Thus, it seems that even if you do, you still need some kind of bootloader code that will access this flash memory and load code from it.
source
share