beautypg.com

Vmp1 bootstrap loader, 4 porting an operating system to the vmp1 – Kontron VMP1 User Manual

Page 81

background image

VMP1

Bootstrap Loader

ID 19972, Rev. 0101

Page 5 - 15

® PEP Modular Computers GmbH

5.4 Porting an Operating System to the VMP1

The image for the absolute address 0

×

0 should be linked with an entry point at the abso-

lute address at 0

×

100.

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) configu-
ration space as this has already been done by the Bootstrap Loader. The existing value
should be used.

Downloaded images are never executed from the Flash due to the fact that on the
VMP1 it is paged . The programmed image is always downloaded to SDRAM, the abso-
lute address 0

×

0 being downloaded first. There is no configuration option available to

amend this process. If it is necessary to re-locate 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.