LTIB m shell

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LTIB m shell

421 Views
garimella
Contributor I

Trying to build standalone applications outside of uboot environment using ./ltib -m shell.

How do I specify the entry point of my application? Can my application start with main()?

0 Kudos
1 Reply

296 Views
Pavel
NXP Employee
NXP Employee

If loads command of the u-boot is used for loading .elf file, u-boot reports star address.

See message dump  below:

=> loads
## Ready for S-Record download ...
 
## First Load Addr = 0x00003000
## Last  Load Addr = 0x000031E3
## Total Size      = 0x000001E4 = 484 Bytes
## Start Addr      = 0x00003020
=> go 0x3020
## Starting application at 0x00003020 ...


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos