<div dir="ltr"><div>Hello</div><div><br></div><div>I follow my last email, I solved the
 reboot things. Works fine.. but I found a cool/interesting thing, what I
 would like to integrate. >></div><div><br></div><div>I read about standalone binaries (from C, or with Rust generated too?) could use at uboot. <br></div><div><a href="http://www.denx.de/wiki/view/DULG/UBootCmdGroupExec#Section_5.9.4.1" target="_blank">http://www.denx.de/wiki/view/DULG/UBootCmdGroupExec#Section_5.9.4.1</a></div><div>Hello World example: <a href="http://www.denx.de/wiki/view/DULG/UBootStandalone" target="_blank">http://www.denx.de/wiki/view/DULG/UBootStandalone</a></div><div><br></div><div>I
 understand but really not, how possible use with Yocto. I just create a
 similar hello_world.c program like at example and solved? Drop to the 
same folder? .. (I use rpi3.) Somebody did similar thing in the past? Or
 good example?<br></div><div><br></div><div>On Stackoverflow: <a href="https://stackoverflow.com/questions/49814470/u-boot-how-to-run-a-standalone-binary-program" target="_blank">https://stackoverflow.com/questions/49814470/u-boot-how-to-run-a-standalone-binary-program</a></div><div>"You can use the Yocto toolchain but you cannot link against the C 
library (which is done by default) so you have to put some extra options
 to GCC to let it know that, also, you cannot use the <code>go</code> 
instruction from U-Boot to jump to an ELF binary that you just loaded in
 memory, the ELF binary has to be converted to a 'raw' binary (list of 
ARM instructions in your case) with the tool <code>objdump</code>. An 
ELF binary it's a specific format that encapsulate your code/your data 
and some extra information, and the first part of the ELF is the 
description of the binary, so right now, when you do a <code>go</code> 
at the first address, you are trying to tell the CPU to execute 
something which is not an ARM instruction. You basically want to execute
 what we call the '.text' section of the ELF binary."</div><div><br></div><div>Many thanks,</div><div>Szabolcs</div></div>