SPI stage 1 bootloader
SPI ID: ef:40:16:00:00
header found at offset 0x10000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 357272
Validating data...
Starting stage 1.5 bootloader at 0xffffffff81000000
early_board_init: Board type: DWC1000
U-Boot 2013.07 (Build time: Dec 23 2016 - 15:35:26)
OCTEON CN7020-AAP pass 1.2, Core clock: 800 MHz, IO clock: 500 MHz, DDR clock: 6
67 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x4fc00000, size: 0x400000
DRAM: 1 GiB
Clearing DRAM...... done
Using default environment
Hit any key to stop autoboot: 0
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Found valid SPI bootloader at offset: 0x100000, size: 1351168 bytes
U-Boot 2013.07 BSPv1.0.0 (Build Number: 15)
Using DRAM size from environment: 1024 MBytes
Configuring DLM0 for SGMII
OCTEON CN7020-AAP pass 1.2, Core clock: 800 MHz, IO clock: 500 MHz, DDR clock: 6
67 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000
DRAM: 1 GiB
Clearing DRAM...... done
NAND: 128 MiB
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Net: octeth0, octeth1, octrgmii0
Type the command 'usb start' to scan for USB storage devices.
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
block 1 and block 2 are the same
Hit any key to stop autoboot: 0
Octeon dwc1000(ram)# setenv ipaddr 192.168.10.1
Octeon dwc1000(ram)# setenv serverip 192.168.10.100
Octeon dwc1000(ram)# setenv ethact octeth0
Octeon dwc1000(ram)# setenv firm_flash 'erase BDCA0000 BF99FFFF;cp.b 0xaa00000 BDCA0000 1D00000'
Octeon dwc1000(ram)# setenv boot_firm 'cp.b BDCA0200 0xA400000 500000;gunzip 0xA400000 500000 0xAA00000 900000;bootoctlinux 0xaa00000 mtdparts=phys_mapped_flash
:640k(bootloader)ro,5M(kernel),24M(rootfs),2M(AppConfig),128k(bootload-env)'
Octeon dwc1000(ram)# setenv bootcmd 'run boot_firm'
Octeon dwc1000(ram)# saveenv
Saving Environment to SPI Flash...
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Erasing SPI flash...Writing to SPI flash...done
Octeon dwc1000(ram)# octethup
Octeon dwc1000(ram)# tftp $(loadaddr) DWC-1000_C1_FW4.7.5.1_RU
Interface 0 has 1 ports (SGMII)
Interface 1 has 1 ports (SGMII)
Interface 2 has 4 ports (NPI)
Interface 3 has 4 ports (LOOP)
Interface 4 has 1 ports (AGL)
SGMII0: Port 0 link timeout
SGMII1: Port 0 link timeout
Using octeth0 device
TFTP from server 192.168.10.100; our IP address is 192.168.10.1
Filename 'DWC-1000_C1_FW4.7.5.1_RU'.
Load address: 0x20000000
Loading: octeth0: Down (port 0) (SGMII)
SGMII0: Port 0 link timeout
T T T T T T T T T T
Retry count exceeded; starting again
Using octeth1 device
TFTP from server 192.168.10.100; our IP address is 192.168.10.1
Filename 'DWC-1000_C1_FW4.7.5.1_RU'.
Load address: 0x20000000
Loading: octeth1: Down (port 16) (SGMII)
SGMII1: Port 0 link timeout
T T T T T T T T T T
Retry count exceeded; starting again
Using octrgmii0 device
TFTP from server 192.168.10.100; our IP address is 192.168.10.1
Filename 'DWC-1000_C1_FW4.7.5.1_RU'.
Load address: 0x20000000
Loading: octrgmii0: Up 1000 Mbps Full duplex (port 24) (AGL)
##################################################
14.6 MiB/s
done
Bytes transferred = 68161536 (4101000 hex)
Octeon dwc1000(ram)# run firm_flash
Unknown command 'erase' - try 'help'