]> git.ipfire.org Git - people/ms/u-boot.git/blame - doc/README-i386
* Code cleanup:
[people/ms/u-boot.git] / doc / README-i386
CommitLineData
3bac3513 1This is my attempt to port U-Boot to the i386 platform. This
2262cfee
WD
2work was sponsored by my emplyer, Omicron Ceti AB. http://www.omicron.se
3
4It is currently capable of booting a linux bzImage from flash on
5the AMD SC520 CDP platform.
6
8bde7f77 7It was originally based on PPCBoot taken from the CVS October 28 2002.
2262cfee
WD
8
9To compile:
10
111) Unpack the source tree, either from the complete tarball or
12 from the virgin snapshot + the patch
8bde7f77 13
2262cfee
WD
142) Configure the source
15 $ make sc520_cdp_comfig
16 $ make
8bde7f77 17
2262cfee
WD
18To use this code on the CDP:
191) Make a suitable kernel, I used 2.4.19 with the mtd-support updated
20 from the MTD CVS and a patch to allow root=/dev/mtdblock1 which I
8bde7f77 21 included at the end of this file.
2262cfee 22 The following options in the MTD section might be useful:
8bde7f77 23
2262cfee
WD
24 CONFIG_MTD_PHYSMAP=y
25 CONFIG_MTD_PHYSMAP_START=38100000
26 CONFIG_MTD_PHYSMAP_LEN=7a0000
27 CONFIG_MTD_PHYSMAP_BUSWIDTH=2
28
29
302) Program it in to the CDP flashbank with remon
3bac3513 31 u-boot.bin should be programmed att offset 0x7e000 and the kernel at
8bde7f77 32 offset 0. If you want to use a jffs2 root file system (not included here),
2262cfee 33 it should be programmed to offset 0x100000.
8bde7f77 34
2262cfee
WD
35 remon> z
36 remon> yi
3bac3513 37 remon> ns u-boot.bin 7e0000
2262cfee
WD
38 remon> ns bzImage 0
39 remon> ns image.jffs2 100000
40
413) Connect a terminal to the 25pin serial port at 9600bps, and start the CDP.
8bde7f77 42
2262cfee
WD
43 remon> z
44 remon> g
45
3bac3513 464) U-Boot should output some message and a prompt on the terminal, to
2262cfee 47 start the kernel issue the following command:
8bde7f77 48
2262cfee 49 BOOT> bootm
8bde7f77 50
2262cfee
WD
515) The kernel should boot, and mount the root filesystem if present.
52
53We hope you find this stuff useful
54