Modified patch originates from Andy Green <andy@openmoko.com>
[u-boot-openmoko/mini2440.git] / doc / README.mpc8323erdb
blob6f89829373575f6167226fd29aeffe31fbd750f3
1 Freescale MPC8323ERDB Board
2 -----------------------------------------
4 1.      Memory Map
5         The memory map looks like this:
7         0x0000_0000     0x03ff_ffff     DDR              64M
8         0x8000_0000     0x8fff_ffff     PCI MEM          256M
9         0x9000_0000     0x9fff_ffff     PCI_MMIO         256M
10         0xe000_0000     0xe00f_ffff     IMMR             1M
11         0xd000_0000     0xd3ff_ffff     PCI IO           64M
12         0xfe00_0000     0xfeff_ffff     NOR FLASH (CS0)  16M
14 2.      Compilation
16         Assuming you're using BASH (or similar) as your shell:
18         export CROSS_COMPILE=your-cross-compiler-prefix-
19         make distclean
20         make MPC8323ERDB_config
21         make
23 3.      Downloading and Flashing Images
25 3.1     Reflash U-boot Image using U-boot
27         N.b, have an alternate means of programming
28         the flash available if the new u-boot doesn't boot.
30         First try a:
32         tftpboot $loadaddr $uboot
34         to make sure that the TFTP load will succeed before
35         an erase goes ahead and wipes out your current firmware.
36         Then do a:
38         run tftpflash
40         which is a shorter version of the manual sequence:
42         tftp $loadaddr u-boot.bin
43         protect off fe000000 +$filesize
44         erase fe000000 +$filesize
45         cp.b $loadaddr fe000000 $filesize
47         To keep your old u-boot's environment variables, do a:
49         saveenv
51         prior to resetting the board.
53 3.2     Downloading and Booting Linux Kernel
55         Ensure that all networking-related environment variables are set
56         properly (including ipaddr, serverip, gatewayip (if needed),
57         netmask, ethaddr, eth1addr, rootpath (if using NFS root),
58         fdtfile, and bootfile).
60         Then, do one of the following, depending on whether you
61         want an NFS root or a ramdisk root:
63         run nfsboot
65         or
67         run ramboot
69 4       Notes
71         The console baudrate for MPC8323ERDB is 115200bps.