Problem with running hello_world on Lite5200 eval board

Brian Mu bmu88 at yahoo.com
Sat May 2 01:02:44 UTC 2009


Hello Sebastian and Joel,

Thanks for taking time answering my post. Indeed, 0x10000 made a difference and with bootm command now 'Hello World' is printing out to the console...I knew there was something I overlooked;-)

Could one of you comment on the significance of this 0x10000 offset since I don't seem to find it in the code? Thanks.

Brian




________________________________
From: Sebastian Huber <sebastian.huber at embedded-brains.de>
To: Joel Sherrill <joel.sherrill at oarcorp.com>
Cc: "rtems-users at rtems.org" <rtems-users at rtems.org>
Sent: Friday, May 1, 2009 2:14:56 AM
Subject: Re: Problem with running hello_world on Lite5200 eval board

Sebastian Huber wrote:
> The start address of the text section is 0x10000 an not 0x40000 (used in 
> -a and -e mkimage options). The README.IceCube is not up to date.
>
> Joel Sherrill wrote:
>  
>> I'm at home but there is a step past getting the executable
>> where you have to use mkimage on it.  The command might
>> be in the list archives. 
>>
>> Thomas or Sebastian might have this handier.
>>
>> --joel
>>
>> Brian Mu wrote:
>> [...]
>>> => tftp 90000 hello.bin
>>> Using FEC ETHERNET device
>>> TFTP from server 172.21.3.224; our IP address is 172.21.3.46
>>> Filename 'hello.bin'.
>>> Load address: 0x90000
>>> Loading: #########
>>> done
>>> Bytes transferred = 127712 (1f2e0 hex)
>>> => go 90000
>>> ## Starting application at 0x00090000 ...
[...]

You have to boot the hello.img (bootm command) and not the hello.bin.
_______________________________________________
rtems-users mailing list
rtems-users at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20090501/154c624f/attachment.html>


More information about the users mailing list