Changes between Version 28 and Version 29 of newport/firmware
- Timestamp:
- 03/11/2021 09:04:24 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport/firmware
v28 v29 202 202 203 203 [=#serial-microSD-uboot] 204 === Update Firmware via Serial Console and microSDfrom Bootloader ===204 === Update Firmware via Serial Console and block storage device from Bootloader === 205 205 Adapting 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. 206 206 207 For example when booted from eMMC, to flash the eMMC with a compressed disk image stored on an ext4 formatted microSD: 207 First format the block storage device to ext4, then "cp" the desired img.gz file to the device, do not "dd". 208 209 With this done insert the device into the Newport, reboot then break out in the bootloader. 210 211 For microSD: 208 212 209 213 {{{#!bash … … 211 215 }}} 212 216 217 For USB: 218 219 {{{#!bash 220 usb start #initialse USB 221 ls usb 0:1 #verify your file is present and the drive can be read 222 ext4load usb 0:1 ${loadaddr} filename.img.gz && gzwrite mmc 0 ${loadaddr} ${filesize} #flash 223 }}} 213 224 214 225 [=#serial-ethernet-linux]