<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div>Hi,<br><br>I would like to get some help on running hello_world on Lite5200 eval board (icecube).<br><br>I
downloaded and compiled u-boot-2009.03 successfully on my Fedora box and
tftp/flash_updated to the eval board. Here is the boot message when the
board is up:<br><br>U-Boot 2009.03 (Apr 21 2009 - 12:25:02)<br><br>CPU: MPC5200 v1.2, Core v1.1 at 198 MHz<br> Bus 66 MHz, IPB 33 MHz, PCI 16.500 MHz<br>Board: Motorola MPC5200 (IceCube)<br>I2C: 85 kHz, ready<br>DRAM: 64 MB<br>FLASH: 16 MB<br>PCI: Bus Dev VenId DevId Class Int<br> 00 1a 1057 5803 0680 00<br>In: serial<br>Out: serial<br>Err: serial<br>Net:
FEC ETHERNET<br>IDE: Bus 0: not available <br><br>Type "run flash_nfs" to mount root filesystem over NFS<br><br>Hit any key to stop autoboot: 0 <br>=> <br>=> <br>=> tftp 90000 hello.bin<br>Using FEC ETHERNET device<br>TFTP from server
172.21.3.224; our IP address is 172.21.3.46<br>Filename 'hello.bin'.<br>Load address: 0x90000<br>Loading: #########<br>done<br>Bytes transferred = 127712 (1f2e0 hex)<br>=> go 90000<br>## Starting application at 0x00090000 ...<br><br><br>I also configure/make/installed the released branch of RTEMS 4.9 by the following steps<br><br>Configure RTEMS for icecube<br> cd build<br>
../rtems-4.9.2/configure --target=powerpc-rtems4.9 --enable-cxx
--enable-networking --disable-itron --enable-rtemsbsp=icecube<br><br>Compile RTEMS for icecube<br> make all<br> su<br> make install<br><br>Compile examples<br> cd ../examples-4.9.2<br> export RTEMS_MAKEFILE_PATH=/opt/rtems-4.9/powerpc-rtems4.9/icecube/<br> make<br><br>I did add a section in the hello_world make file to create an image file (irrelevant for now since I use 'go'
directly)<br> /opt/rtems-4.9/bin/powerpc-rtems4.9-objcopy -R -S -O binary ${ARCH}/hello.exe ${ARCH}/hello.bin<br> cat ${ARCH}/hello.bin | gzip -9 > ${ARCH}/hello.gz<br> /opt/eldk_42/usr/bin/mkimage \<br> -A ppc -O rtems -T kernel -a 0x40000 -e 0x40000 -n "RTEMS" \<br> -d ${ARCH}/hello.gz ${ARCH}/hello.img<br><br>After
tftp hello.bin to 0x90000, then typing 'go 90000' under u-boot, nothing
gets printout. I do have a BDI3000 with me. By stepping through the
code, it seems that the code stuck at 0x9064c of the boot_card()<br><br> * Set the program name in case some application cares.<br> */<br> if ((argc > 0) && argv && argv[0])<br> rtems_progname = argv[0];<br> else<br> rtems_progname = "RTEMS";<br> 10640: 3d 20 00
03 lis r9,3<br> 10644: 39 29 bc 28 addi r9,r9,-17368<br> 10648: 91 2d 04 94 stw r9,1172(r13)<br> 1064c: 4b ff ff 50 b 1059c
<boot_card+0x64><br> if (heap_start == BSP_BOOTCARD_HEAP_USES_WORK_AREA) {<br> /* Use the work area start as heap start */<br> heap_start = work_area_start;<br><br>I
believe I am missing some obvious stuff since everything so far has
been straightforward. I'd appreciate if someone can point out the
mistake. Thanks in advance.<br><br>Brian <br><br></div></div></div></div><br>
</body></html>