summaryrefslogtreecommitdiff
path: root/doc/README-i386
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /doc/README-i386
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
* Code cleanup:LABEL_2003_06_27_2340
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'doc/README-i386')
-rw-r--r--doc/README-i38624
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/README-i386 b/doc/README-i386
index 862f3f7a3a..02b753cbd7 100644
--- a/doc/README-i386
+++ b/doc/README-i386
@@ -4,23 +4,23 @@ 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.
+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.
+ 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
@@ -29,9 +29,9 @@ To use this code on the CDP:
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),
+ 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
@@ -39,22 +39,21 @@ To use this code on the CDP:
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 Engström, 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 @@
@@ -71,4 +70,5 @@ Daniel Engström, Omicron Ceti AB, daniel@omicron.se
+ { "mtdblock7", 0x1f07 },
{ NULL, 0 }
};
-
+
+-------------------