projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'video-next' of https://gitlab.denx.de/u-boot/custodians/u-boot-video into...
[platform/kernel/u-boot.git]
/
board
/
freescale
/
c29xpcie
/
README
diff --git
a/board/freescale/c29xpcie/README
b/board/freescale/c29xpcie/README
index
430f082
..
a6120f1
100644
(file)
--- a/
board/freescale/c29xpcie/README
+++ b/
board/freescale/c29xpcie/README
@@
-53,18
+53,17
@@
Settings of DIP-switch
SW5[1:4]= 0110 and SW5[6]=0 for boot from SPI flash
Note: 1 stands for 'off', 0 stands for 'on'
SW5[1:4]= 0110 and SW5[6]=0 for boot from SPI flash
Note: 1 stands for 'off', 0 stands for 'on'
-Build and program
u-b
oot to NOR flash
+Build and program
U-B
oot to NOR flash
==================================
1. Build u-boot.bin image example:
==================================
1. Build u-boot.bin image example:
- export ARCH=powerpc
export CROSS_COMPILE=/your_path/powerpc-linux-gnu-
make C293PCIE
2. Program u-boot.bin into NOR flash
=> tftp $loadaddr $uboot
export CROSS_COMPILE=/your_path/powerpc-linux-gnu-
make C293PCIE
2. Program u-boot.bin into NOR flash
=> tftp $loadaddr $uboot
- => protect off eff
8
0000 +$filesize
- => erase eff
8
0000 +$filesize
- => cp.b $loadaddr eff
8
0000 $filesize
+ => protect off eff
4
0000 +$filesize
+ => erase eff
4
0000 +$filesize
+ => cp.b $loadaddr eff
4
0000 $filesize
3. Check SW5[1:4]= 1111 and SW5[6]=0, then power on.
3. Check SW5[1:4]= 1111 and SW5[6]=0, then power on.
@@
-73,9
+72,9
@@
Alternate NOR bank
There are four banks in C29XPCIE board, example to change bank booting:
1. Program u-boot.bin into alternate NOR bank
=> tftp $loadaddr $uboot
There are four banks in C29XPCIE board, example to change bank booting:
1. Program u-boot.bin into alternate NOR bank
=> tftp $loadaddr $uboot
- => protect off e9f
8
0000 +$filesize
- => erase e9f
8
0000 +$filesize
- => cp.b $loadaddr e9f
8
0000 $filesize
+ => protect off e9f
4
0000 +$filesize
+ => erase e9f
4
0000 +$filesize
+ => cp.b $loadaddr e9f
4
0000 $filesize
2. Switch to alternate NOR bank
=> cpld_cmd reset altbank [bank]
2. Switch to alternate NOR bank
=> cpld_cmd reset altbank [bank]
@@
-86,7
+85,7
@@
There are four banks in C29XPCIE board, example to change bank booting:
- bank 4 on the flash 0x3000000~0x3ffffff
or set SW5[7]= ON/OFF and SW5[7]= ON/OFF, then power on again.
- bank 4 on the flash 0x3000000~0x3ffffff
or set SW5[7]= ON/OFF and SW5[7]= ON/OFF, then power on again.
-Build and program
u-b
oot to SPI flash
+Build and program
U-B
oot to SPI flash
==================================
1. Build u-boot-spi.bin image
make C29xPCIE_SPIFLASH_config; make
==================================
1. Build u-boot-spi.bin image
make C29xPCIE_SPIFLASH_config; make