Chapter 8
Programming U-Boot
8.1 Programming U-Boot on a Board having no U-Boot
Installed
To program u-boot on a board that has no u-boot installed:
1. Select standalone mode.
2. Connect 110V/220 power to power adapter.
3. Connect RJ45 console line to UART port.
4. Connect network cable into Ethernet port.
5. Connect USB TAP to JTAG port on C29x PCIe.
6. Open the CodeWarrior IDE for Power Architecture, and select P1010 processor with
P1010RDB_core_init.tcl
.
7. Power on board and attach C29x PCIe.
8. Memory download
images/spiimage
, available on C29x PCIe DVD, to 0x10FFFC00.
9. Set the computer to 0x1107f000, and run. When u-boot outputs message on console,
enter u-boot environment.
10. Set u-boot variables, such as
ipaddr
,
serverip
,
ethaddr
, and
eth1addr
.
11. Perform one of the following steps to program NOR/NAND/SPI u-boot:
a. Use the following commands to program NOR u-boot:
tftp 1000000 u-boot.bin
protect off all
erase fff80000 ffffffff
cp.b 1000000 fff80000 80000
b. Use the following commands to program NAND u-boot:
tftp 1000000 u-boot-nand.bin
nand erase 0 80000
nand write 1000000 0 80000
c. Use the following commands to program SPI u-boot:
sf probe 0
sf erase 0 80000
sf write 11000000 0 80000
C29x PCIe Card User Guide, Rev. 0, 10/2013
Freescale Semiconductor, Inc.
55
Содержание C29x
Страница 1: ...C29x PCIe Card User Guide Document Number C29xPCIeUG Rev 0 10 2013 ...
Страница 2: ...C29x PCIe Card User Guide Rev 0 10 2013 2 Freescale Semiconductor Inc ...
Страница 6: ...C29x PCIe Card User Guide Rev 0 10 2013 6 Freescale Semiconductor Inc ...
Страница 18: ...Secure Boot Mode C29x PCIe Card User Guide Rev 0 10 2013 18 Freescale Semiconductor Inc ...
Страница 54: ...CPLD Memory Map Register Definition C29x PCIe Card User Guide Rev 0 10 2013 54 Freescale Semiconductor Inc ...
Страница 62: ...C29x PCIe Card User Guide Rev 0 10 2013 62 Freescale Semiconductor Inc ...
Страница 64: ...C29x PCIe Card User Guide Rev 0 10 2013 64 Freescale Semiconductor Inc ...