xref: /openbmc/u-boot/doc/README.lynxkdi (revision 8e6f1a8e)
1			   LYNX KDI SUPPORT
2
3		    Last Update: July 20, 2003
4=======================================================================
5
6This file describes support for LynuxWorks KDI within U-Boot. Support
7is enabled by defining CONFIG_LYNXKDI.
8
9
10LYNXOS AND BLUECAT SUPPORTED
11============================
12Both LynxOS and BlueCat linux KDIs are supported. The implementation
13automatically detects which is being booted. When you use mkimage
14you should specify "lynxos" for both (see target-specific notes).
15
16
17SUPPORTED ARCHITECTURE/TARGETS
18==============================
19The following targets have been tested:
20
21-PowerPC  MPC8260ADS
22
23
24FILES TO LOOK AT
25================
26include/lynxkdi.h    -defines a simple struct passed to a kdi.
27common/lynxkdi.c     -implements the call to the kdi.
28common/cmd_bootm.c   -top-level command implementation ("bootm").
29
30
31====================================================================
32TARGET SPECIFIC NOTES
33====================================================================
34
35MPC8260ADS
36===========
37The default LynxOS and BlueCat implementations require some
38modifications to the config file.
39
40Edit include/configs/MPC8260ADS.h to use the following:
41
42#define CFG_IMMR	0xFA200000
43#define CFG_BCSR	0xFA100000
44#define CFG_BR1_PRELIM	0xFA101801
45
46When creating a LynxOS or BlueCat u-boot image using mkimage,
47you must specify the following:
48
49Both:    -A ppc -O lynxos -T kernel -C none
50LynxOS:  -a 0x00004000 -e 0x00004020
51BlueCat: -a 0x00500000 -e 0x00507000
52
53To pass the MAC address to BlueCat you should define the
54"fcc2_ether_addr" parameter in the "bootargs" environment
55variable. E.g.:
56
57==> setenv bootargs fcc2_ether_addr=00:11:22:33:44:55:66
58