]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.mpc8313erdb
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / doc / README.mpc8313erdb
1 Freescale MPC8313ERDB Board
2 -----------------------------------------
3
4 1.      Board Switches and Jumpers
5
6         S3 is used to set CONFIG_SYS_RESET_SOURCE.
7
8         To boot the image at 0xFE000000 in NOR flash, use these DIP
9         switch settings for S3 S4:
10
11         +------+        +------+
12         |      |        | **** |
13         | **** |        |      |
14         +------+ ON     +------+ ON
15           4321            4321
16         (where the '*' indicates the position of the tab of the switch.)
17
18 2.      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         0xe200_0000     0xe20f_ffff     PCI IO           16M
26         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
32 3.      Definitions
33
34 3.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
42 4.      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
53 5.      Downloading and Flashing Images
54
55 5.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
66 5.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
80 6       Notes
81
82         Booting from NAND flash is not yet supported.
83         The console baudrate for MPC8313ERDB is 115200bps.