This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to pass arguments to a bare-metal app using u-boot

I'd like to pass arguments to a bare-metal application using u-boot. Ideally, I would like to do this using CPU registers, in the same way u-boot passes the device tree address to Linux. But solutions of some other kind would also be acceptable.

I'm using fatload or loadb to load my applications binary, and using the go command to jump to the entry point address. The go command supposedly has optional arguments. But how are these passed to the application? I can't find any documentation that specifies this.

Thank you in advance

0