Porting An Operating System To The Cpu Board - Kontron PEP CP321 Manual

Power pc-based cpu board for compactpci applications
Table of Contents

Advertisement

NetBootLoader
CP321
5.6

Porting an Operating System to the CPU Board

The image for the absolute address 0x0 should be linked with an entry point at the absolute
address 0x100.
One should not attempt to reassign the PCI BAR registers. The assigned values should be read
back and these should always be used in the drivers.
The "interrupt line" field in the PCI configuration header is initialized with the IRQ line number
to which the INTA of the device is routed.
It is not necessary to rewrite the "EUMBBAR" field in the KAHLUA (MPC 8240) configuration
space as this has already been done by the NetBootLoader. The existing value should be used.
Downloaded images are never executed from the FLASH due to the fact that on the CPU board
it is paged. The programmed image is always downloaded to SDRAM, the absolute address
0x0 being downloaded first. There is no configuration option available to amend this process.
If it is necessary to relocate the image to another address after download, simply add a small
assembly routine at the beginning of the code which will move the image to the correct address.
Page 5 - 12
© 2003 Kontron Modular Computers GmbH
ID 24977, Rev. 02

Advertisement

Table of Contents
loading

Table of Contents