Octeon u-boot redundancy – ADLINK aTCA-N700 User Manual
Page 29

aTCA-N700 SW Users Guide
23
aTCA-N700 login: root
root@aTCA-N700:~#
cat /proc/cmdline
root=/dev/sda2 rw console=ttyS0,115200
5.1.3. OCTEON U-Boot Redundancy
The OCTEON U-Boot image is stored in a NOR flash memory. On the aTCA-N700,
each NP has two of such U-Boot flash memories in a primary and a redundant fashion.
The flash device selection is done by the CPLD and configurable by a CPLD register on.
Shown below is a command example of such setting.
[ NOR_FLASH1 for NP-A (top) ]
root@aTCA-N700:~#
nbm-cpld flashctl @npa 0
<- select
NOR_FLASH1(bank#0) for NP-A
root@aTCA-N700:~#
nbm-cpld flashctl @npa
<- show Active Flash for NP-A
NPA BANK#: 0
root@aTCA-N700:~#
nbm-cpld reset np 0
<- execute reset
[ NOR_FLASH2 NP-A (top) ]
root@aTCA-N700:~#
nbm-cpld flashctl @npa 1
<- select
NOR_FLASH2(bank#1) for NP-A
root@aTCA-N700:~#
nbm-cpld flashctl @npa
<- show Active Flash for NP-A
NPA BANK#: 1
root@aTCA-N700:~#
nbm-cpld reset np 0
<- execute reset
[ NOR_FLASH1 for NP-B (bottom) ]
root@aTCA-N700:~#
nbm-cpld flashctl @npb 0
<- select
NOR_FLASH1(bank#0) for NP-B
root@aTCA-N700:~#
nbm-cpld flashctl @npb
<- show Active Flash for NP-B
NPA BANK#: 0
root@aTCA-N700:~#
nbm-cpld reset np 0
<- execute reset
[ NOR_FLASH2 NP-B (bottom) ]
root@aTCA-N700:~#
nbm-cpld flashctl @npb 1
<- select
NOR_FLASH2(bank#1) for NP-B
root@aTCA-N700:~#
nbm-cpld flashctl @npb
<- show Active Flash for NP-B
NPA BANK#: 1
root@aTCA-N700:~#
nbm-cpld reset np 0
<- execute reset
Shown below is a command example of such setting.
aTCA-N700#
run ubibootA -> boot from primary NAND
Flash
Creating 1 MTD partitions on "nand0":
0x000000000000-0x000020000000 : "mtd=0"
…
BusyBox v1.18.4 (2013-02-27 02:59:52 KST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ #
cat /proc/cmdline