wdenk 7a8e9bed17 * Patch by Marc Singer, 29 May 2003: %!s(int64=22) %!d(string=hai) anos
..
I2C_Edge_Conditions 3e38691e8f * Patch by Arun Dharankar, 4 Apr 2003: %!s(int64=22) %!d(string=hai) anos
README-i386 3bac351370 * Patch by Josef Wagner, 12 Mar 2003: %!s(int64=22) %!d(string=hai) anos
README.EVB-64260-750CX 88cfb53c0c Initial revision %!s(int64=22) %!d(string=hai) anos
README.INCA-IP 3e38691e8f * Patch by Arun Dharankar, 4 Apr 2003: %!s(int64=22) %!d(string=hai) anos
README.IPHASE4539 3bac351370 * Patch by Josef Wagner, 12 Mar 2003: %!s(int64=22) %!d(string=hai) anos
README.JFFS2 06d01dbe00 * Avoid flicker on the TRAB's VFD by synchronizing the enable with %!s(int64=22) %!d(string=hai) anos
README.MBX 865f3f5641 Initial revision %!s(int64=23) %!d(string=hai) anos
README.Modem c609719b8d Initial revision %!s(int64=22) %!d(string=hai) anos
README.OXC cc1c8a136f Initial revision %!s(int64=22) %!d(string=hai) anos
README.PIP405 fe8c2806cd Initial revision %!s(int64=22) %!d(string=hai) anos
README.POST 43d9616cff * Patch by Robert Schwebel, 21 Jan 2003: %!s(int64=22) %!d(string=hai) anos
README.Purple 7f70e85309 * Patch by David Updegraff, 22 Apr 2003: %!s(int64=22) %!d(string=hai) anos
README.RPXClassic 5b1d713721 Initial revision %!s(int64=22) %!d(string=hai) anos
README.RPXlite fe8c2806cd Initial revision %!s(int64=22) %!d(string=hai) anos
README.Sandpoint8240 fe8c2806cd Initial revision %!s(int64=22) %!d(string=hai) anos
README.TQM8260 e221174377 Initial revision %!s(int64=22) %!d(string=hai) anos
README.amigaone c7de829c79 * Patch by Thomas Frieden, 13 Nov 2002: %!s(int64=22) %!d(string=hai) anos
README.autoboot cc1c8a136f Initial revision %!s(int64=22) %!d(string=hai) anos
README.bedbug e221174377 Initial revision %!s(int64=22) %!d(string=hai) anos
README.cmi 0db5bca807 * Patch by Martin Winistoerfer, 23 Mar 2003 %!s(int64=22) %!d(string=hai) anos
README.commands 7a8e9bed17 * Patch by Marc Singer, 29 May 2003: %!s(int64=22) %!d(string=hai) anos
README.console cc1c8a136f Initial revision %!s(int64=22) %!d(string=hai) anos
README.ebony c609719b8d Initial revision %!s(int64=22) %!d(string=hai) anos
README.evb64260 e221174377 Initial revision %!s(int64=22) %!d(string=hai) anos
README.fads 5b1d713721 Initial revision %!s(int64=22) %!d(string=hai) anos
README.idma2intr 3e38691e8f * Patch by Arun Dharankar, 4 Apr 2003: %!s(int64=22) %!d(string=hai) anos
README.mpc5xx 0db5bca807 * Patch by Martin Winistoerfer, 23 Mar 2003 %!s(int64=22) %!d(string=hai) anos
README.mpc74xx e221174377 Initial revision %!s(int64=22) %!d(string=hai) anos
README.nand 7a8e9bed17 * Patch by Marc Singer, 29 May 2003: %!s(int64=22) %!d(string=hai) anos
README.ppc440 c609719b8d Initial revision %!s(int64=22) %!d(string=hai) anos
README.sched 3e38691e8f * Patch by Arun Dharankar, 4 Apr 2003: %!s(int64=22) %!d(string=hai) anos
README.usb e221174377 Initial revision %!s(int64=22) %!d(string=hai) anos
README.video 5b1d713721 Initial revision %!s(int64=22) %!d(string=hai) anos
TODO-i386 7a8e9bed17 * Patch by Marc Singer, 29 May 2003: %!s(int64=22) %!d(string=hai) anos

README-i386

This is my attempt to port U-Boot to the i386 platform. This
work was sponsored by my emplyer, Omicron Ceti AB. http://www.omicron.se

It is currently capable of booting a linux bzImage from flash on
the AMD SC520 CDP platform.

It was originally based on PPCBoot taken from the CVS October 28 2002.

To compile:

1) Unpack the source tree, either from the complete tarball or
from the virgin snapshot + the patch

2) Configure the source
$ make sc520_cdp_comfig
$ make

To use this code on the CDP:
1) Make a suitable kernel, I used 2.4.19 with the mtd-support updated
from the MTD CVS and a patch to allow root=/dev/mtdblock1 which I
included at the end of this file.
The following options in the MTD section might be useful:

CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=38100000
CONFIG_MTD_PHYSMAP_LEN=7a0000
CONFIG_MTD_PHYSMAP_BUSWIDTH=2


2) Program it in to the CDP flashbank with remon
u-boot.bin should be programmed att offset 0x7e000 and the kernel at
offset 0. If you want to use a jffs2 root file system (not included here),
it should be programmed to offset 0x100000.

remon> z
remon> yi
remon> ns u-boot.bin 7e0000
remon> ns bzImage 0
remon> ns image.jffs2 100000

3) Connect a terminal to the 25pin serial port at 9600bps, and start the CDP.

remon> z
remon> g

4) U-Boot should output some message and a prompt on the terminal, to
start the kernel issue the following command:

BOOT> bootm

5) The kernel should boot, and mount the root filesystem if present.

We hope you find this stuff useful
Daniel Engstrm, Omicron Ceti AB, daniel@omicron.se



--- linux-2.4.19-orig/init/do_mounts.c Sat Aug 3 02:39:46 2002
+++ linux-2.4.19/init/do_mounts.c Mon Sep 23 16:21:33 2002
@@ -224,6 +224,14 @@
{ "ftlc", 0x2c10 },
{ "ftld", 0x2c18 },
{ "mtdblock", 0x1f00 },
+ { "mtdblock0", 0x1f00 },
+ { "mtdblock1", 0x1f01 },
+ { "mtdblock2", 0x1f02 },
+ { "mtdblock3", 0x1f03 },
+ { "mtdblock4", 0x1f04 },
+ { "mtdblock5", 0x1f05 },
+ { "mtdblock6", 0x1f06 },
+ { "mtdblock7", 0x1f07 },
{ NULL, 0 }
};