<div dir="ltr"><br><br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">I've tried on both.</blockquote><div><br>Wonderful! Can I ask which patch did you use for Mini2440 port? Cause RTEMS do not have Mini2440 support by default.<br>
And which version of RTEMS are you using?<br><br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">0x32000000 is the default load addr on mini2440, if you type "tftp" 
under U-Boot. If you use 30000000 (start of SDRAM), you could overwrite 
U-Boot...</blockquote><div><br>Thanks for your notice. <br></div></div><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 4:36 PM, Pierre Ficheux <span dir="ltr"><<a href="mailto:pierre.ficheux@openwide.fr" target="_blank">pierre.ficheux@openwide.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 17/07/2012 13:53, SAeeD a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks, I got the usage of -d option.<br>
I have three more questions:<br>
1. In one of your replies, you mentioned about the baud rate of Mini2440<br>
console that is 38400 bps. I wonder have you built and used RTEMS on<br>
Mini2440? (On the board or on QEMU)<br>
<br>
</blockquote>
<br></div>
I've tried on both.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
2. Why did you TFTP hello.img to address 0x32000000? Because I used my<br>
load address (0x30000000) as the address of TFTP and after execution of<br></div>
*bootm*, I got lots of<br>
</blockquote><div class="im">
> s3c_mc_write: Bad register 0x17983c<br>
> s3c_mc_write: Bad register 0x179840<br>
> errors with no "Hello World".<br>
> Is 0x32000000 a special address?<br>
<br></div>
0x32000000 is the default load addr on mini2440, if you type "tftp" under U-Boot. If you use 30000000 (start of SDRAM), you could overwrite U-Boot...<br>
<br>
ERROR: image overwritten - must RESET the board to recover<br>
<br>
Check-out <a href="http://andahammer.com/assets/Uploads/All2440/Firmware/Mini2440Essentials.pdf" target="_blank">http://andahammer.com/assets/<u></u>Uploads/All2440/Firmware/<u></u>Mini2440Essentials.pdf</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
<br>
3. I applied mkimage to make an image of hello.exe (ELF version) with<br>
following command:<br></div>
*mkimage -A arm -O rtems -T kernel -C none -a 0x30000100 -e 0x30000100<br>
-n hello-img -d hello.exe hello.img*<br>
</blockquote>
               ^^^^^^^^^^^^<br>
<br>
*not* hello.exe but hello.bin (see my previous email).<div class="HOEnZb"><div class="h5"><br>
<br>
regards<br>
<br>
-- <br>
Pierre FICHEUX  -/- CTO OWI, France -\- <a href="mailto:pierre.ficheux@openwide.fr" target="_blank">pierre.ficheux@openwide.fr</a><br>
                                         <a href="http://ingenierie.openwide.fr" target="_blank">http://ingenierie.openwide.fr</a><br>
                                         <a href="http://www.ficheux.org" target="_blank">http://www.ficheux.org</a><br>
I would love to change the world, but they won't give me the source code<br>
<br>
<br>
______________________________<u></u>_________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-users</a><br>
</div></div></blockquote></div><br></div>