How do I load hello.exe to my lite5200?

Nickolay Kolchin nbkolchin at gmail.com
Thu Feb 22 14:22:02 UTC 2007


On 2/22/07, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:
>
> The make-exe rule leaves the file in ELF format so is that what u-boot
> can load?  Do you do anything special to the linked image before
> downloading it with u-boot?

I'm using this commands in linux shell:

$ powerpc-rtems-objcopy -O binary --strip-unneeded hello.exe hello.bin
$ mkimage -A ppc -O rtems -T kernel -a 0x100 -e 0x10000 -n "RTEMS" \
      -C none -d hello.bin hello.img

and then load "hello.img" with U-Boot: tftpboot; bootm

mkimage --- is an utility provided with U-Boot (look inside tools directory).

>
> Is there anyone out there using the Motorola lite5200 or is everyone
> using 3rd party or custom boards?
>

FreeScale lite5200b. Afaik, original 5200 is obsolete and not produced any more.

> --joel
> > On 2/22/07, Duncan Winn <duncan at winnd.sparks.nv.us> wrote:
> >
> >> I would like to run RTEMS on a Motorola lite5200 board.  This board uses
> >> the MPC5200 processor.  I was able to build RTEMS using the pm520-ze30
> >> bsp.  At first, I thought I should be using the gen5200 bsp, but I
> >> couldn't get it to build.
> >>
> >> My question is, is the pm520-ze30 the right bsp?  What part of the bsp
> >> would I need to modify in order to get hello.exe running on the
> >> lite5200?  How do I go about downloading hello.exe to the board.  When
> >> the board boots up, it gives me a dBUG> prompt from the Motorola
> >> standard monitor program.  I was able to build and download a version of
> >> u-boot to the board if this will make it easier to load RTEMS.  I was
> >> also able to build and download ELDK Linux (2.4.25) to the board, but
> >> this didn't get me any closer to RTEMS.  Any help would be greatly
> >> appreciated.
> >>
> >>
> >

---
Nickolay



More information about the users mailing list