Changes between Version 28 and Version 29 of newport/firmware


Ignore:
Timestamp:
03/11/2021 09:04:24 PM (16 months ago)
Author:
Cale Collins
Comment:

Added flashing from USB instructions

Legend:

Unmodified
Added
Removed
Modified
  • newport/firmware

    v28 v29  
    202202
    203203[=#serial-microSD-uboot]
    204 === Update Firmware via Serial Console and microSD from Bootloader ===
     204=== Update Firmware via Serial Console and block storage device from Bootloader ===
    205205Adapting what we know from updating firmware via serial console and ethernet, if no TFTP server/ethernet is available we can use a similar method to write a compressed disk image from microSD or USB to the eMMC.   
    206206
    207 For example when booted from eMMC, to flash the eMMC with a compressed disk image stored on an ext4 formatted microSD:
     207First format the block storage device to ext4, then "cp" the desired img.gz file to the device, do not "dd".
     208
     209With this done insert the device into the Newport, reboot then break out in the bootloader.
     210
     211For microSD:
    208212
    209213{{{#!bash
     
    211215}}}
    212216
     217For USB:
     218
     219{{{#!bash
     220usb start #initialse USB
     221ls usb 0:1 #verify your file is present and the drive can be read
     222ext4load usb 0:1 ${loadaddr} filename.img.gz && gzwrite mmc 0 ${loadaddr} ${filesize} #flash
     223}}}
    213224
    214225[=#serial-ethernet-linux]