source: rtems/bsps/powerpc/motorola_powerpc/bootloader/README @ 03e1d837

5
Last change on this file since 03e1d837 was 03e1d837, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 24, 2018 at 5:06:36 AM

bsps/powerpc: Move bootloader to bsps

This bootloader is only used by the motorola_powerpc BSP.

This patch is a part of the BSP source reorganization.

Update #3285.

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