[U-Boot] Standalone program help needed

Szabolcs Báder sb at baader.hu
Wed Jul 10 13:59:17 UTC 2019


Hello,

I read the past posts (eg. from 2014) in this topic, but wasn't helpful.
I would like to run from u-boot a test binary or test image, both good. I
thought, I could solve this with standalone applications. I use
gcc-linaro-6.2-2016.11.tar.xz > arm-linux-gnuabi-

I downloaded the u-boot repo, hello_world.c
I got all files: like hello_world, hello_world.bin, hello_world.srec.. etc

Run
tools/mkimage -A arm -O u-boot -T standalone -C none -a 0x200000 -e
0x200000 -n hello_world -d example/standalone/hello_world hello_world.img #
I tried without u-boot too

I added to boot partition these files..
I did:

load mmc 0:1 0xc100000 hello_world.bin # I tried with fatload and
hello_world,img too here..
go 0xc100000 Hello World!

But nothing happens.. I can't exit from the command line..
I will add files with Yocto.. so therefore I would like to try out how to
run in this way..

Any suggestions what I should do?


Thanks in advance,
Szabolcs


More information about the U-Boot mailing list