[Bug 2188] New: Running RTEMS sample application on MPC8548 (Hello world)

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Sep 15 10:06:43 UTC 2014


https://www.rtems.org/bugzilla/show_bug.cgi?id=2188

             Bug #: 2188
           Summary: Running RTEMS sample application on MPC8548 (Hello
                    world)
    Classification: Unclassified
           Product: RTEMS
           Version: 4.11
          Platform: powerpc
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ut_29 at rediffmail.com


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
3. 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
5. 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) ...

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the bugs mailing list