mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
1f4bb37d6b
Add support for LynuxWorks Kernel Downloadable Images (KDIs). Both LynxOS and BlueCat linux KDIs are supported. * Patch by Richard Woodruff, 25 Jul 2003: use more reliable reset for OMAP/925T * Patch by Nye Liu, 25 Jul 2003: fix typo in mpc8xx.h * Patch by Richard Woodruff, 24 Jul 2003: Fixes for cmd_nand.c: - Fixed null dereferece which could result in incorrect ECC values. - Added support for devices with no Ready/Busy signal hooked up. - Added OMAP1510 read/write protect handling. - Fixed nand.h's ECCPOS. A conflict existed with POS5 and badblock for non-JFFS2. - Switched default ECC to be JFFS2.
57 lines
1.6 KiB
Text
57 lines
1.6 KiB
Text
LYNX KDI SUPPORT
|
|
|
|
Last Update: July 20, 2003
|
|
=======================================================================
|
|
|
|
This file describes support for LynuxWorks KDI within U-Boot. Support
|
|
is enabled by defining CONFIG_LYNXKDI.
|
|
|
|
|
|
LYNXOS AND BLUECAT SUPPORTED
|
|
============================
|
|
Both LynxOS and BlueCat linux KDIs are supported. The implementation
|
|
automatically detects which is being booted. When you use mkimage
|
|
you should specify "lynxos" for both (see target-specific notes).
|
|
|
|
|
|
SUPPORTED ARCHITECTURE/TARGETS
|
|
==============================
|
|
The following targets have been tested:
|
|
|
|
-PowerPC MPC8260ADS
|
|
|
|
|
|
FILES TO LOOK AT
|
|
================
|
|
include/lynxkdi.h -defines a simple struct passed to a kdi.
|
|
common/lynxkdi.c -implements the call to the kdi.
|
|
common/cmd_bootm.c -top-level command implementation ("bootm").
|
|
|
|
|
|
====================================================================
|
|
TARGET SPECIFIC NOTES
|
|
====================================================================
|
|
|
|
MPC8260ADS
|
|
===========
|
|
The default LynxOS and BlueCat implementations require some
|
|
modifications to the config file.
|
|
|
|
Edit include/configs/MPC8260ADS.h to use the following:
|
|
|
|
#define CFG_IMMR 0xFA200000
|
|
#define CFG_BCSR 0xFA100000
|
|
#define CFG_BR1_PRELIM 0xFA101801
|
|
|
|
When creating a LynxOS or BlueCat u-boot image using mkimage,
|
|
you must specify the following:
|
|
|
|
Both: -A ppc -O lynxos -T kernel -C none
|
|
LynxOS: -a 0x00004000 -e 0x00004020
|
|
BlueCat: -a 0x00500000 -e 0x00507000
|
|
|
|
To pass the MAC address to BlueCat you should define the
|
|
"fcc2_ether_addr" parameter in the "bootargs" environment
|
|
variable. E.g.:
|
|
|
|
==> setenv bootargs fcc2_ether_addr=00:11:22:33:44:55:66
|