LTIB m shell

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LTIB m shell

801 次查看
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 项奖励
回复
1 回复

676 次查看
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 项奖励
回复