#2188 closed defect (invalid)

Running RTEMS sample application on MPC8548 (Hello world)

Reported by: utkarsh Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: bsps Version: 4.11
Severity: normal Keywords:
Cc: sebastian.huber@… Blocked By:
Blocking:

Description

Hi
I have powerpc board MPC8548 & I am using freescale BSP for bringing up the board.
I want to run simple rtems hello world application .Uboot is coming up but when it gives controls to the application it stucks here
## Transferring control to RTEMS (at address 00010000) ...

I have few questions

  1. Will the RTEMS applcaition will directly run with freescale uboot or do I have to make any further changes in uboot

2 . Dont know load address & entry point I am giving it ok or not.

Following procdedure I have followed to run the application .

1.Installed the RTEMS powerpc for virtex board and compiled rtems samples(helloworld ..)
for that powerpc architecture
2.got sample binaries hello.exe,hello.bin,hello.num,hello.ralf

  1. powerpc-rtems4.10-objcopy -R -S -O binary hello.exe hello.bin cat hello.bin | gzip>hello.gz mkimage -A ppc -O rtems -T kernel -a 0x10000 -e 0x10000 -n "RTEMS" -d hello.gz hello.img

4.loaded hello.img on 10000 ram address through tftp
tftp 10000 hello.img

  1. bootm command

log
=> tftp 10000000 hello.img
Speed: 1000, full duplex
Using eTSEC0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.253
Filename 'hello.img'.
Load address: 0x10000000
Loading: *########################################
done
Bytes transferred = 204726 (31fb6 hex)
=> bootm
## Booting image at 10000000 ...

Image Name: RTEMS Application
Image Type: PowerPC RTEMS Kernel Image (gzip compressed)
Data Size: 204662 Bytes = 199.9 kB
Load Address: 00010000
Entry Point: 00010000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

## Transferring control to RTEMS (at address 00010000) ...

Change History (1)

comment:1 Changed on Sep 16, 2014 at 4:03:22 AM by Sebastian Huber

Resolution: invalid
Status: newclosed, sebastian.huber@embedded-brains.de

Hello,

please ask such questions on the RTEMS mailing list (devel or users). You need a BSP that supports U-Boot and your particular chip. You can get the entry and load address via various tools, for example readelf or objdump.

Note: See TracTickets for help on using tickets.