2011-09-17 07:17:47     passing arguments to bare metal elf file from u boot

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2011-09-17 07:17:47     passing arguments to bare metal elf file from u boot

Chandrashekhar Lavania (INDIA)

Message: 103436   

 

Hi,

 

I am using 2010R1-RC4 toolchain and 2010R1-RC2 u-boot.

 

I wanted to pass command line arguments to my bare metal code from uboot.

 

Can the 'go' command be used to pass arguments to a bare metal file.

 

If, not then how else can this be done? since bootelf currently supports only 2 arguments (the command bootelf and the address where the application is located).

 

Regards,

 

Shekhar

QuoteReplyEditDelete

 

 

2011-09-17 22:59:20     Re: passing arguments to bare metal elf file from u boot

Mike Frysinger (UNITED STATES)

Message: 103438   

 

`go` supports passing of arguments.  look at existing standalone examples in the u-boot tree.

Attachments

    Outcomes