source: rtems/c/src/lib/libbsp/powerpc/shared/bootloader/README @ 3605c4e

Last change on this file since 3605c4e was 12838559, checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/03 at 17:40:41

2003-06-13 Greg Menke <gregory.menke@…>

PR 405/bsps

  • bootloader/pci.c: Added support for configuring devices for pci busses > 0
  • pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the INTERRUPT_LINE register of pci devices any # of hops away from the host processor.
  • motorola/motorola.c, motorola/motorola.h: Added interrupt routing tables in support of FixupPCI. This is board-specific, each board will have to supply information for FixupPCI() to do anything for it.
  • startup/bspstart.c: Extended bat2 to cover entire PCI address space.
  • irq/irq.c, irq/irq.h: Added support for shared interrupts. Existing single hander vectors are undisturbed, a new function added to allow adding/removing handlers from a vector.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2# $Id$
3#
4
5The code in this directory has been taken WITH PERMISSION from
6Gabriel Paubert, paubert@iram.es. The main reason for having
7a separate bootloader for PreP compliant firmware is that the
8initial code is relocated by firmware at an unknow address
9(actually  0x5000 on motorola MCP750) and that as Gabriel I
10think having a relocatable bootloder code is a must.
11
12So the way of building a binary executable that can be booted via
13hard disk or network boot goes like this :
14
15        - make a RTEMS executable,
16        - put is as data section in the bootloder binary,
17        - relink the loader (see make-exe macros for details),
18
19I would like to thank Gabriel for his support and his code.
20The original code can be found in form of a patch to official linux
21kernel at (I insist not vger ppc kernel or Imac ppc kernels!!) :
22
23<ftp://vlab1.iram.es/pub/linux-2.2/> 
24
25After applying the patch, the code is located in a new directory
26called prepboot.
27
28(NB : note use ftp not netscape...)
29
30Note that the actual code differs a lot since Gabriel choose to use
31a CHRP compliant mapping instead of a Prep Mapping to save
32BATs. I had no time to upgrade the code to its new one allthough
33I agree it should be done...
34
35I have also splitted the original code to have a more modular
36design enabling to reuse code between the loader and RTEMS
37initialization (e.g printk, ...).
38
39Eric Valette (valette@crf.canon.fr)
40
41
42**************************************************
432003/5/7, Greg Menke, gregory.menke@gsfc.nasa.gov
44
45Reworked the pci bus 0 initialization a little and added support for
46configuring an arbitrary number of other busses & their respective
47bridges.  Also added support for configuring IO ranges below 0x10000,
48which I think is reasonable given this is a PowerPC bsp.
49
Note: See TracBrowser for help on using the repository browser.