README.ocotea-PIBS-to-U-Boot 2.9 KB

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