Skip to content

Instantly share code, notes, and snippets.

@david56
Created December 1, 2015 02:19
Show Gist options
  • Select an option

  • Save david56/0c1cb0f02a20890b3328 to your computer and use it in GitHub Desktop.

Select an option

Save david56/0c1cb0f02a20890b3328 to your computer and use it in GitHub Desktop.
U-Boot 2012.10-g60b456f (Dec 01 2015 - 09:50:38) - ONIE 2015.12.1
DCO: 28 (PASS)
Device:Helix4 (0xdc14)
SKU: BCM56340 (0xb340)
DRAM: DDR3, 750MHz
Validate DDR shmoo parameters stored in flash ..... OK
Press Ctrl-C to run DDR shmoo ..... skipped
Restoring DDR shmoo parameters from flash ..... done
Running simple memory test ..... OK
Enabling DDR ECC reporting
Enabling DDR ECC correction
DDR Interface Ready
DRAM: 2 GiB
WARNING: Caches not enabled
SF: MX25L6405D with page size 4 KiB, total 8 MiB
EEPROM:TlvInfo v1 len=6
In: serial
Out: serial
Err: serial
CLOCKS:ARM Core=1000Hz, AXI=500Hz, APB=125Hz, Peripheral=500Hz
USB0: Bringing USB2 host out of reset...
Net: eth-0
Hit any key to stop autoboot: 0
accton_as4610-54-> sys_eeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 6
TLV Name Code Len Value
-------------------- ---- --- -----
CRC-32 0xFE 4 0xD4431C18
Checksum is valid.
accton_as4610-54-> sys_eeprom erase
EEPROM data in memory reset.
accton_as4610-54-> sys_eeprom write
Programming passed.
accton_as4610-54-> sys_eeprom set 0x21 'HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch'
accton_as4610-54-> sys_eeprom set 0x22 F0P8J4654000A
accton_as4610-54-> sys_eeprom set 0x23 TWYMHF5XXX
accton_as4610-54-> sys_eeprom set 0x24 00:11:22:33:44:55
accton_as4610-54-> sys_eeprom set 0x25 '08/13/2015 12:00:00'
accton_as4610-54-> sys_eeprom set 0x27 R01A
accton_as4610-54-> sys_eeprom set 0x28 powerpc-accton_as4610_54-r0
accton_as4610-54-> sys_eeprom set 0x2A 55
accton_as4610-54-> sys_eeprom set 0x2B Accton
accton_as4610-54-> sys_eeprom set 0x2C TW
accton_as4610-54-> sys_eeprom set 0x2D 'Hewlett Packard Enterprise'
accton_as4610-54-> sys_eeprom set 0x2E 001.5
accton_as4610-54-> sys_eeprom write
Programming passed.
accton_as4610-54-> sys_eeprom set 0x29 master-201508271739.2.5.4-dirty
ERROR: There is not enough room in the EERPOM to save data.
accton_as4610-54->
accton_as4610-54-> run onie_rescue
Loading Open Network Install Environment ...
Platform: arm-accton_as4610_54p-r0
Version : 2015.12.1
## Booting kernel from FIT Image at 70000000 ...
Using 'accton_as4610_54' configuration
Trying 'kernel' kernel subimage
Description: accton_as4610_54-r0 arm Kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x700000e0
Data Size: 3089045 Bytes = 2.9 MiB
Architecture: ARM
OS: Linux
Load Address: 0x61008000
Entry Point: 0x61008000
Hash algo: crc32
Hash value: 32ea9579
Verifying Hash Integrity ... crc32+ OK
## Loading init Ramdisk from FIT Image at 70000000 ...
Using 'accton_as4610_54' configuration
Trying 'initramfs' ramdisk subimage
Description: initramfs
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0x702f2450
Data Size: 1867480 Bytes = 1.8 MiB
Architecture: ARM
OS: Linux
Load Address: 0x00000000
Entry Point: 0x00000000
Hash algo: crc32
Hash value: 7ff61c06
Verifying Hash Integrity ... crc32+ OK
## Flattened Device Tree from FIT Image at 70000000
Using 'accton_as4610_54' configuration
Trying 'dtb' FDT blob subimage
Description: accton_as4610_54-r0.dtb
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x704ba404
Data Size: 4120 Bytes = 4 KiB
Architecture: ARM
Hash algo: crc32
Hash value: de1f2e95
Verifying Hash Integrity ... crc32+ OK
Booting using the fdt blob at 0x704ba404
Uncompressing Kernel Image ... OK
boot_prep_linux commandline: quiet console=ttyS0,115200 serial_num= eth_addr=00:11:22:33:44:55 boot_reason=rescue
Loading Device Tree to 64ffb000, end 64fff017 ... OK
Starting kernel ...
Info: Mounting kernel filesystems... done.
Info: Using eth0 MAC address: 00:11:22:33:44:55
Info: eth0: Checking link... scsi 0:0:0:0: Direct-Access ATP ATP IG eUSB 1100 PQ: 0 ANSI: 6
sd 0:0:0:0: [sda] 15720448 512-byte logical blocks: (8.04 GB/7.49 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Attached SCSI disk
et0 Link Up: 1000FD
up.
Info: Trying DHCPv4 on interface: eth0
et0 Link Up: 1000FD
et0 Interface up
etc_watchdog releasing MDIO access; ethup(0x1)
ONIE: Using DHCPv4 addr: eth0: 192.168.1.200 / 255.255.255.0
Starting: dropbear ssh daemon... done.
Starting: telnetd... done.
discover: Rescue mode detected. Installer disabled.
Please press Enter to activate this console. etc_watchdog can't access PHY, forcing link up
et0 Link Up: 1000FD
To check the install status inspect /var/log/onie.log.
Try this: tail -f /var/log/onie.log
** Rescue Mode Enabled **
ONIE:/ # onie-syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 214
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
Platform Name 0x28 27 powerpc-accton_as4610_54-r0
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
CRC-32 0xFE 4 0x6F0751D0
Checksum is valid.
ONIE:/ # onie-syseeprom -s 0x29="master-201508271739.2.5.4-dirty"
ERROR: There is not enough room in the EERPOM to save data.
ONIE:/ #
ONIE:/ # update_url tftp://192.168.1.99/onie-updater-arm-accton_as4610_54-r0
discover: Rescue mode detected. No discover stopped.
Info: Fetching tftp://192.168.1.99/onie-updater-arm-accton_as4610_54-r0 ...
onie-updater-arm-acc 100% |*******************************| 5011k 0:00:00 ETA
ONIE: Executing installer: tftp://192.168.1.99/onie-updater-arm-accton_as4610_54-r0
Verifying image checksum ... OK.
Preparing image archive ... OK.
ONIE: Version : 2015.12.1
ONIE: Architecture : arm
ONIE: Machine : accton_as4610_54
ONIE: Machine Rev : 0
ONIE: Config Version: 1
Updating ONIE kernel ...
Erasing block: 76/76 (100%)
Writing kb: 4846/4846 (100%)
Verifying kb: 4846/4846 (100%)
Updating ONIE U-Boot ...
Erasing block: 7/7 (100%)
Writing kb: 399/399 (100%)
Verifying kb: 399/399 (100%)
ONIE: Firmware update install successful: tftp://192.168.1.99/onie-updater-arm-accton_as4610_54-r0
ONIE: Rebooting...
ONIE:/ # discover: Rescue mode detected. No discover stopped.
Stopping: dropbear ssh daemon... done.
Stopping: telnetd... done.
Stopping: syslogd... done.
Info: Unmounting kernel filesystems
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL toRestarting system.
U-Boot 2012.10-g4e4a9c2 (Dec 01 2015 - 10:04:01) - ONIE 2015.12.1
DCO: 28 (PASS)
Device:Helix4 (0xdc14)
SKU: BCM56340 (0xb340)
DRAM: DDR3, 750MHz
Validate DDR shmoo parameters stored in flash ..... OK
Press Ctrl-C to run DDR shmoo ..... skipped
Restoring DDR shmoo parameters from flash ..... done
Running simple memory test ..... OK
Enabling DDR ECC reporting
Enabling DDR ECC correction
DDR Interface Ready
DRAM: 2 GiB
WARNING: Caches not enabled
SF: MX25L6405D with page size 4 KiB, total 8 MiB
EEPROM:TlvInfo v1 len=221
In: serial
Out: serial
Err: serial
CLOCKS:ARM Core=1000Hz, AXI=500Hz, APB=125Hz, Peripheral=500Hz
USB0: Bringing USB2 host out of reset...
Net: eth-0
Hit any key to stop autoboot: 0
accton_as4610-54->
accton_as4610-54-> sys_eeprom set 0x29 master-201508271739.2.5.4-dirty
accton_as4610-54-> sys_eeprom write
Programming passed.
accton_as4610-54-> sys_eeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 243
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
Platform Name 0x28 23 arm-accton_as4610_54-r0
ONIE Version 0x29 31 master-201508271739.2.5.4-dirty
CRC-32 0xFE 4 0x832AEBD3
Checksum is valid.
accton_as4610-54-> sys_eeprom set 0x29 master-201508271739.2.5.4-dirty-12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
accton_as4610-54-> sys_eeprom write
Programming passed.
accton_as4610-54-> sys_eeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 414
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
Platform Name 0x28 23 arm-accton_as4610_54-r0
ONIE Version 0x29 202 master-201508271739.2.5.4-dirty-12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
CRC-32 0xFE 4 0x47BB36CF
Checksum is valid.
accton_as4610-54->
accton_as4610-54-> run onie_rescue
Loading Open Network Install Environment ...
Platform: arm-accton_as4610_54p-r0
Version : 2015.12.1
## Booting kernel from FIT Image at 70000000 ...
Using 'accton_as4610_54' configuration
Trying 'kernel' kernel subimage
Description: accton_as4610_54-r0 arm Kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x700000e0
Data Size: 3089045 Bytes = 2.9 MiB
Architecture: ARM
OS: Linux
Load Address: 0x61008000
Entry Point: 0x61008000
Hash algo: crc32
Hash value: 32ea9579
Verifying Hash Integrity ... crc32+ OK
## Loading init Ramdisk from FIT Image at 70000000 ...
Using 'accton_as4610_54' configuration
Trying 'initramfs' ramdisk subimage
Description: initramfs
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0x702f2450
Data Size: 1867660 Bytes = 1.8 MiB
Architecture: ARM
OS: Linux
Load Address: 0x00000000
Entry Point: 0x00000000
Hash algo: crc32
Hash value: 4185bb32
Verifying Hash Integrity ... crc32+ OK
## Flattened Device Tree from FIT Image at 70000000
Using 'accton_as4610_54' configuration
Trying 'dtb' FDT blob subimage
Description: accton_as4610_54-r0.dtb
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x704ba4b8
Data Size: 4120 Bytes = 4 KiB
Architecture: ARM
Hash algo: crc32
Hash value: de1f2e95
Verifying Hash Integrity ... crc32+ OK
Booting using the fdt blob at 0x704ba4b8
Uncompressing Kernel Image ... OK
boot_prep_linux commandline: quiet console=ttyS0,115200 serial_num=TWYMHF5XXX eth_addr=00:11:22:33:44:55 boot_reason=rescue
Loading Device Tree to 64ffb000, end 64fff017 ... OK
Starting kernel ...
Info: Mounting kernel filesystems... done.
Info: Using eth0 MAC address: 00:11:22:33:44:55
Info: eth0: Checking link... scsi 0:0:0:0: Direct-Access ATP ATP IG eUSB 1100 PQ: 0 ANSI: 6
sd 0:0:0:0: [sda] 15720448 512-byte logical blocks: (8.04 GB/7.49 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Attached SCSI disk
et0 Link Up: 1000FD
up.
Info: Trying DHCPv4 on interface: eth0
et0 Link Up: 1000FD
et0 Interface up
etc_watchdog releasing MDIO access; ethup(0x1)
ONIE: Using DHCPv4 addr: eth0: 192.168.1.200 / 255.255.255.0
Starting: dropbear ssh daemon... done.
Starting: telnetd... done.
discover: Rescue mode detected. Installer disabled.
Please press Enter to activate this console. etc_watchdog can't access PHY, forcing link up
et0 Link Up: 1000FD
To check the install status inspect /var/log/onie.log.
Try this: tail -f /var/log/onie.log
** Rescue Mode Enabled **
ONIE:/ # onie-syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 414
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
Platform Name 0x28 23 arm-accton_as4610_54-r0
ONIE Version 0x29 202 master-201508271739.2.5.4-dirty-12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
CRC-32 0xFE 4 0x47BB36CF
Checksum is valid.
ONIE:/ # onie-syseeprom -s 0x28="arm-accton_as4610_54-r0-12345678901234567890123
45678901234567890123456789012345678901234567890123456789012345678901234567890123
456789012345678901234567890"
Deleting TLV 0x28: Platform Name
Adding TLV 0x28: Platform Name
Programming passed.
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 545
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
ONIE Version 0x29 202 master-201508271739.2.5.4-dirty-12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Platform Name 0x28 154 arm-accton_as4610_54-r0-1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
CRC-32 0xFE 4 0x0B2A5B0F
Checksum is valid.
ONIE:/ # onie-syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 545
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
ONIE Version 0x29 202 master-201508271739.2.5.4-dirty-12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Platform Name 0x28 154 arm-accton_as4610_54-r0-1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
CRC-32 0xFE 4 0x0B2A5B0F
Checksum is valid.
ONIE:/ # reboot
ONIE:/ # discover: Rescue mode detected. No discover stopped.
Stopping: dropbear ssh daemon... done.
Stopping: telnetd... done.
Stopping: syslogd... done.
Info: Unmounting kernel filesystems
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL toRestarting system.
U-Boot 2012.10-g4e4a9c2 (Dec 01 2015 - 10:04:01) - ONIE 2015.12.1
DCO: 28 (PASS)
Device:Helix4 (0xdc14)
SKU: BCM56340 (0xb340)
DRAM: DDR3, 750MHz
Validate DDR shmoo parameters stored in flash ..... OK
Press Ctrl-C to run DDR shmoo ..... skipped
Restoring DDR shmoo parameters from flash ..... done
Running simple memory test ..... OK
Enabling DDR ECC reporting
Enabling DDR ECC correction
DDR Interface Ready
DRAM: 2 GiB
WARNING: Caches not enabled
SF: MX25L6405D with page size 4 KiB, total 8 MiB
EEPROM:TlvInfo v1 len=545
In: serial
Out: serial
Err: serial
CLOCKS:ARM Core=1000Hz, AXI=500Hz, APB=125Hz, Peripheral=500Hz
USB0: Bringing USB2 host out of reset...
Net: eth-0
Hit any key to stop autoboot: 0
accton_as4610-54-> sys_eeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 545
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 64 HPE Altoline 4610 48G 4XG 2QSFP x86 ONIE AC Front-to-Back Switch
Part Number 0x22 13 F0P8J4654000A
Serial Number 0x23 10 TWYMHF5XXX
Base MAC Address 0x24 6 00:11:22:33:44:55
Manufacture Date 0x25 19 08/13/2015 12:00:00
Label Revision 0x27 4 R01A
MAC Addresses 0x2A 2 55
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 26 Hewlett Packard Enterprise
Diag Version 0x2E 5 001.5
ONIE Version 0x29 202 master-201508271739.2.5.4-dirty-12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Platform Name 0x28 154 arm-accton_as4610_54-r0-1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
CRC-32 0xFE 4 0x0B2A5B0F
Checksum is valid.
accton_as4610-54->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment