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