I am cross posting because I am not sure where this post fits best. I have also posted in the MCF5329 forum
I have been trying to use Lolo as a boot loader for the uclinux image I have built using the BSP supplied by Freescale. The image I have built downloads and runs fine using Dbug, but I cannot seem to get it to work through Lolo. I want to use Lolo, so I can do some simple logic of mounting the Compact Flash, check for a new image, dump that image to flash, dump flash image to ram, run the image. I can do all of that except for running the image. Whenever I try to load it using the command load I get the following.
losh> load bin image.bin
loading from image.bin:
error: load: address space does not fit in ram (0x2ebc00 bytes at 0x7cfc0980)
load failed
I tried to write it to the free RAM using the raw switch on the load command and it loads it, but it doesn't seem to want to run.
losh> load raw 0x400c0000 3748864 image.bin
loading from image.bin:
loading raw binary to 0x400c0000 (ram) len 00393400:
...................................................................................................................................:
ea61e0b03eeb5eb7c1476472ec249b68 - addr: 400c0000 len: 00393400
file loaded
losh> exec 0x400c0000 - "root=romfs"
kernel cmdline: 'root=romfs' at 4004e840
Any ideas about how to go about this? Am I missing something simple?