blob: cd5668993c46aec125b142c898bdde42e3d3f959 [file] [log] [blame]
Scott Wood96b8a052007-04-16 14:54:15 -05001Freescale MPC8313ERDB Board
2-----------------------------------------
3
41. Board Switches and Jumpers
5
Dave Liube5a7192008-04-15 13:12:23 +08006 S3 is used to set CFG_RESET_SOURCE.
Scott Wood96b8a052007-04-16 14:54:15 -05007
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:
Scott Wood96b8a052007-04-16 14:54:15 -050010
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
Wolfgang Denk53677ef2008-05-20 16:00:29 +020025 0xe200_0000 0xe20f_ffff PCI IO 16M
Scott Wood96b8a052007-04-16 14:54:15 -050026 0xe280_0000 0xe280_7fff NAND FLASH (CS1) 32K
27 0xf000_0000 0xf001_ffff VSC7385 (CS2) 128K
28 0xfa00_0000 0xfa00_7fff Board Status/ 32K
29 LED Control (CS3)
30 0xfe00_0000 0xfe7f_ffff NOR FLASH (CS0) 8M
31
323. Definitions
33
343.1 Explanation of NEW definitions in:
35
36 include/configs/MPC8313ERDB.h
37
38 CONFIG_MPC83xx MPC83xx family
39 CONFIG_MPC831x MPC831x specific
40 CONFIG_MPC8313ERDB MPC8313ERDB board specific
41
424. Compilation
43
44 Assuming you're using BASH (or similar) as your shell:
45
46 export CROSS_COMPILE=your-cross-compiler-prefix-
47 make distclean
48 make MPC8313ERDB_33_config
49 (or make MPC8313ERDB_66_config, depending on the speed of
50 the oscillator on your board)
51 make
52
535. Downloading and Flashing Images
54
555.1 Reflash U-boot Image using U-boot
56
57 =>run tftpflash
58
59 You may want to try
60 =>tftpboot $loadaddr $uboot
61 first, to make sure that the TFTP load will succeed before it
62 goes ahead and wipes out your current firmware. And of course,
63 have an alternate means of programming the flash available
64 if the new u-boot doesn't boot.
65
665.2 Downloading and Booting Linux Kernel
67
68 Ensure that all networking-related environment variables are set
69 properly (including ipaddr, serverip, gatewayip (if needed),
70 netmask, ethaddr, eth1addr, rootpath (if using NFS root),
71 fdtfile, and bootfile).
72
73 Then, do one of the following, depending on whether you
74 want an NFS root or a ramdisk root:
75
76 =>run nfsboot
77 or
78 =>run ramboot
79
806 Notes
81
82 Booting from NAND flash is not yet supported.
83 The console baudrate for MPC8313ERDB is 115200bps.