onie
onie copied to clipboard
Can't Update ONIE on QCT t3048-ly9 Rangely CPU
Hello,
After following the directions in the ONIE install guide, I was successfully able to compile an ONIE recovery iso. I put that iso on a USB drive and made it bootable, plugged it into my switch, and tried to embed ONIE onto the switch's built in storage. The issue is, I am getting an error that says "mSATA not found here" as shown below:
ONIE: Platform Machine: quanta_ly9_rangeley ONIE: Version : 2019.11-rc1 ONIE: Architecture : x86_64 ONIE: Machine : quanta_common_rangeley ONIE: Machine Rev : 0 ONIE: Config Version: 1 ONIE: Build Date : 2019-11-12T12:13-05:00 WARNING: Unable to find ONIE install block device. ERROR: Invalid ONIE install device: ERROR: Unable to find mSATA here. ONIE: ERROR: Firmware update URL: file:///lib/onie/onie-updater ONIE: ERROR: Firmware update version: 2019.11-rc1 Failure: Unable to install image: file:///lib/onie/onie-updater
After further investigation, I found that ONIE is not able to see the storage. When I boot into uboot, it seems the drive is recognized. I converted the ISO to a .bin and was even able to tftp it while in uboot as shown below:
u-boot => tftp onie-recovery-x86_64-quanta_common_rangeley-r0.bin Using e1000#0 device TFTP from server 192.168.20.1; our IP address is 192.168.20.2 Filename 'onie-recovery-x86_64-quanta_common_rangeley-r0.bin'. Load address: 0x100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ## 2.7 MiB/s done
Below is what I am seeing when initially booting into uboot:
ONIE: Embedding ONIE ... Platform : x86_64-quanta_common_rangeley-r0 Version : 2019.11-rc1 Build Date: 2019-11-12T12:13-05:00 ACPI: Unable to load the System Description Tables
Loading U-Boot ...
U-Boot 2013.01.01-1.0.2.0-973b766 (Sep 01 2014 - 10:45:39)
00:01.0 - 8086:1f10 - Bridge device 00:03.0 - 8086:1f12 - Bridge device 02:00.0 - 14e4:b854 - Network controller 00:0b.0 - 8086:1f18 - Processor 00:0e.0 - 8086:1f14 - Bridge device 00:0f.0 - 8086:1f16 - Base system peripheral 00:13.0 - 8086:1f15 - Base system peripheral 00:14.0 - 8086:1f41 - Network controller 00:16.0 - 8086:1f2c - Serial bus controller 00:17.0 - 8086:1f22 - Mass storage controller 00:18.0 - 8086:1f32 - Mass storage controller 00:1f.0 - 8086:1f38 - Bridge device 00:1f.3 - 8086:1f3c - Serial bus controller In: eserial1 Out: cbmem Err: cbmem I2C: ready SPI: ready SF: Detected W25Q64 with page size 4 KiB, total 8 MiB Mother Board ID: 0x02 Mother Board Project: ly9_rangeley
LY5A U-Boot Product Name : LY9 Serial Number : QTFCNB5190013 Part Number : 1LY9UZZ0001 MAC Address : 2c:60:0c:83:5e:48 Manufacture Date : 04/08/2015 Device Version : 1 HW Board Version : D3B Platform Name : RANGELEYSA32D4G ONIE Version : 2014.05.04-763cb86 Number of MAC : 67 Manufacturer : QSMC Country Code : CN Vendor : QCI Diag Version : 1.0.0.0 Platform version : 0xf905 Set ethaddr MAC address = 2c:60:0c:83:5e:48
CPU Board Platform Version: 0xf905 Mother Board Platform Version: 0xf905 Fan: Config PSoC SmartFan F-B SCSI: SATA link 0 ok. Target spinup took 10000 ms. AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x1 impl SATA mode flags: 64bit ncq led clo pio apst scanning bus for devices... timeout exit! Found 0 device(s). Net: e1000: 2c:60:0c:83:5e:48 e1000#0 Hit any key to stop autoboot: 0 ** Bad device scsi 0 ** ** Bad device scsi 0 ** Error: Invalid Boot Flag (found 0x0000, expected 0xaa55)
Kernel loading failed ...
zboot - Boot bzImage
I am not sure if I just have a bad disk, or if the issue is that the disk connector is bad, or if the issue is in software and I didn't compile ONIE properly. Any assistence in troubleshooting would be very much appreciated.