blob: 7d476d0018a7903ed74ddac7dbe06085cfe815f1 [file] [log] [blame]
Dave Liu8bd522c2008-01-11 18:48:24 +08001Freescale MPC8315ERDB Board
2-----------------------------------------
3
41. Board Switches and Jumpers
5
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +02006 S3 is used to set CONFIG_SYS_RESET_SOURCE.
Dave Liu8bd522c2008-01-11 18:48:24 +08007
8 To boot the image at 0xFE000000 in NOR flash, use these DIP
Dave Liube5a7192008-04-15 13:12:23 +08009 switch settings for S3 S4:
Dave Liu8bd522c2008-01-11 18:48:24 +080010
11 +------+ +------+
12 | | | **** |
13 | **** | | |
14 +------+ ON +------+ ON
15 4321 4321
16 (where the '*' indicates the position of the tab of the switch.)
17
182. Memory Map
19 The memory map looks like this:
20
21 0x0000_0000 0x07ff_ffff DDR 128M
22 0x8000_0000 0x8fff_ffff PCI MEM 256M
23 0x9000_0000 0x9fff_ffff PCI_MMIO 256M
24 0xe000_0000 0xe00f_ffff IMMR 1M
25 0xe030_0000 0xe03f_ffff PCI IO 1M
26 0xe060_0000 0xe060_7fff NAND FLASH (CS1) 32K
27 0xfe00_0000 0xfe7f_ffff NOR FLASH (CS0) 8M
28
293. Definitions
30
313.1 Explanation of NEW definitions in:
32
33 include/configs/MPC8315ERDB.h
34
35 CONFIG_MPC83xx MPC83xx family
36 CONFIG_MPC831x MPC831x specific
37 CONFIG_MPC8315 MPC8315 specific
38 CONFIG_MPC8315ERDB MPC8315ERDB board specific
39
404. Compilation
41
42 Assuming you're using BASH (or similar) as your shell:
43
44 export CROSS_COMPILE=your-cross-compiler-prefix-
45 make distclean
46 make MPC8315ERDB_config
47 make all
48
495. Downloading and Flashing Images
50
515.1 Reflash U-boot Image using U-boot
52
53 tftp 40000 u-boot.bin
54 protect off all
55 erase fe000000 fe1fffff
56
57 cp.b 40000 fe000000 xxxx
58 protect on all
59
60 You have to supply the correct byte count with 'xxxx'
61 from the TFTP result log.
62
635.2 Downloading and Booting Linux Kernel
64
65 Ensure that all networking-related environment variables are set
66 properly (including ipaddr, serverip, gatewayip (if needed),
67 netmask, ethaddr, eth1addr, rootpath (if using NFS root),
68 fdtfile, and bootfile).
69
70 Then, do one of the following, depending on whether you
71 want an NFS root or a ramdisk root:
72
73 =>run nfsboot
74 or
75 =>run ramboot
76
776 Notes
78
79 Booting from NAND flash is not yet supported.
80 The console baudrate for MPC8315ERDB is 115200bps.