blob: 25dd2a237814460dc082b3682b1741088ed63be0 [file] [log] [blame]
stroese7ec25502005-04-07 05:35:12 +00001------------------------------------------
2Installation of U-Boot using PIBS firmware
3------------------------------------------
4
5This document describes how to install U-Boot on the Ocotea PPC440GX
6Evaluation Board. We do not erase the PIBS firmware but install U-Boot in the
7soldered FLASH. After this you should be able to switch between PIBS and
8U-Boot via the switch U46 SW1. Please check that SW1 is off (= open) before
9continuing.
10
11Connect to the serial port 0 (J11 lower) of the Ocotea board using the cu
12program. See the hints for configuring cu above. Make sure you can
13communicate with the PIBS firmware: reset the board and hit ENTER a couple of
14times until you see the PIBS prompt (PIBS $). Then proceed as follows:
15
16
17Read MAC Addresses from PIBS
18----------------------------
19
20To read the configured MAC addresses available on your Ocotea board please use
21the following commands:
22
23PIBS $ echo $hwdaddr0
24000173017FE3
25PIBS $ echo $hwdaddr1
26000173017FE4
27PIBS $ echo $hwdaddr2
28000173017FE1
29PIBS $ echo $hwdaddr3
30000173017FE2
31
32In U-Boot this is stored in the following environment variables:
33
34* Ethernet Address 0: ethaddr = 000173017FE3 (==> 00:01:73:01:7F:E3)
35* Ethernet Address 1: eth1addr = 000173017FE4 (==> 00:01:73:01:7F:E4)
36* Ethernet Address 2: eth2addr = 000173017FE1 (==> 00:01:73:01:7F:E1)
37* Ethernet Address 3: eth3addr = 000173017FE2 (==> 00:01:73:01:7F:E2)
38
39
40Configure the network interface (ent0 == emac0)
41-----------------------------------------------
42
43To download the U-Boot image we need to configure the ethernet interface with
44the following commands:
45
46PIBS $ ifconfig ent0 192.168.160.142 netmask 255.255.0.0 up
47PIBS $ set ipdstaddr0=192.168.1.1
48status: writing PIBS variable value to FLASH
49PIBS $ set bootfilename=/tftpboot/ocotea/u-boot.bin
50status: writing PIBS variable value to FLASH
51
52Please insert correct parameters for your configuration (ip-addresses and
53file-location).
54
55
56Program U-Boot into soldered User-FLASH
57---------------------------------------
58
59Please make sure to use a newer version of U-Boot (at least 1.1.3), since
60older versions don't support running from user-FLASH.
61
62To program U-Boot into the soldered user-FLASH use the following command:
63
64PIBS $ storefile bin eth 0xffbc0000
65
66This commands loads the file vis ethernet into ram and copies it into the
67user-FLASH.
68
69
70Switch to U-Boot
71----------------
72
73Now you can turn your board off and switch SW1 (U46) to on (= closed). After
74powering the board you should see the following message:
75
76U-Boot 1.1.3 (Apr 5 2005 - 22:59:57)
77
Wolfgang Denk0c8721a2005-09-23 11:05:55 +020078AMCC PowerPC 440 GX Rev. C
79Board: AMCC 440GX Evaluation Board
wdenkb2323ea2005-04-20 09:28:54 +000080 VCO: 1066 MHz
81 CPU: 533 MHz
82 PLB: 152 MHz
83 OPB: 76 MHz
84 EPB: 76 MHz
stroese7ec25502005-04-07 05:35:12 +000085I2C: ready
86DRAM: 256 MB
wdenkb2323ea2005-04-20 09:28:54 +000087FLASH: 5 MB
stroese7ec25502005-04-07 05:35:12 +000088PCI: Bus Dev VenId DevId Class Int
89In: serial
90Out: serial
91Err: serial
92KGDB: kgdb ready
93ready
94Net: ppc_440x_eth0, ppc_440x_eth1, ppc_440x_eth2, ppc_440x_eth3
95BEDBUG:ready
96=>
97
98
99April 06 2005, Stefan Roese <sr@denx.de>