Hoping somebody can help me out here. This was suppose to have been something simple and easy. U-Boot has an example folder and a hello_world.c as a standalone application that gets compile as part of the U-Boot build and converted into a bin and srec file.
The U-Boot doc's said it should be as simple as issuing a "loads" and "go" command because the srec should have encoded the start and end address and entry point.
So all I should have to do download it over serial read off the start address and type go with that address(-4)?..
Anyway it didn't work, quick look at the build and there is a text offset on the compiler line
and another offset on the linker line
arm-none-linux-gnueabi-ld -g -Ttext 0xYYYYYYYY.
Using these offsets actually allow the "loads" command to complete but it still fails to run with a go command.
Has anybody ran this demo and got it to work. Could you post a cut and past of the commands from the U-Boot prompt.