Quote:
Originally Posted by hjalfi
Actually, I *am* looking for system level customisations; I want to use USB downloader mode to drop a binary into memory and jump to it.
- - - - -
|
I am pretty sure USB downloader mode only writes to flash.
Boot to u-boot, select bist, then use one of the binary transfer protocols to transfer to ram.
Then you can jump to it.
When you get it completed to your satisfaction, then burn it into flash and set-up u-boot to load and run it.
Duplicating the initialization done by u-boot is a big waste of time.
Plus, you will be limiting the size of your application to the size set aside for u-boot in the flash.
These SoCs boot from a reserved (fixed size) 'hidden' partition of the flash.
Just use the existing bootloader to load your bare metal application (as if it was a kernel, which is also a bare metal application).
This way you will not be limited to the size of the reserved, bootable, partition.
Also, if you don't like u-boot - Freescale also supports red-boot.