U-Boot booting RTEMS
Erwin Rol
erwin at muffin.org
Thu Feb 27 14:21:21 UTC 2003
Hey all,
I dunno if anybody else is already using U-Boot( AKA PPCBoot ) with
RTEMS, but i made a small patch for U-Boot (which i will submit shortly
to the U-Boot maintainers ) that give mkimage the posibility to create
gzipped RTEMS images, and boot them. I pass the U-Boot config structure
in R3 , to use this structure one needs a tweaked header from U-boot,
the structure is depended on what CPU is used, it is very simple though,
and should not be hard to integrate in the BSP.
If there is any interest i can make patches for both RTEMS and U-Boot so
that ppl can try it before those patches get accepted by the developers
of U-Boot/RTEMS.
- Erwin
-------
U-Boot 0.2.2 (Feb 25 2003 - 18:57:58)
CPU: XPC860xxZPnnD3 at 48 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
Board: tt1860
DRAM: 8 MB
FLASH: MXAM29LV800T (8 Mbit, top boot sector)
Size: 1 MB in 19 Sectors
Sector Start Addresses:
40000000 40010000 40020000 40030000 40040000
40050000 40060000 40070000 40080000 40090000
400A0000 400B0000 400C0000 400D0000 400E0000
400F0000 400F8000 400FA000 400FC000
1 MB
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET [PRIME]
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
=> bootp
BOOTP broadcast 1
ARP broadcast 1
TFTP from server 10.0.0.2; our IP address is 10.0.0.13
Filename '/rtems.PPCBoot'.
Load address: 0x100000
Loading: #############
done
Bytes transferred = 61516 (f04c hex)
=> bootm
## Booting image at 00100000 ...
Image Name: RTEMS-Test
Created: 2003-02-26 11:46:07 UTC
Image Type: PowerPC RTEMS Kernel Image (gzip compressed)
Data Size: 61452 Bytes = 60 kB
Load Address: 00010000
Entry Point: 00010000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Transferring control to RTEMS (at address 00010000) ...
*** SAMPLE SINGLE PROCESSOR APPLICATION ***
Creating and starting an application task
Application task was invoked with argument (0) and has id of 0xa010002
*** END OF SAMPLE SINGLE PROCESSOR APPLICATION ***
--
Dipl.-Ing. Erwin Rol - Software Engineering
tel: +49-(0)8024-479377 gsm: +49-(0)171-6929198 fax: +49-(0)8024-479379
email: erwin at muffin.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rtems.org/pipermail/users/attachments/20030227/6aecb685/attachment.bin>
More information about the users
mailing list