Changes between Version 9 and Version 10 of newport/firmware
- Timestamp:
- 12/07/2018 09:53:32 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport/firmware
v9 v10 102 102 The methods you use to update the firmware depends on what specifically you are trying to update. 103 103 104 Update the entire device from a Compressed Disk Image ('[wiki:newport/boot boot firmware]' as well as entire OS): 104 ==== Update entire firmware (recommended) ==== 105 Update the entire device from a Compressed Disk Image. This image includes the ('boot firmware as well as entire OS and kernel): 106 107 Complete Compressed Disk Images are available for download here: [http://dev.gateworks.com/newport/images/] 108 109 ''' Gateworks Update Script ''' 110 111 112 This is the easiest. 105 113 {{{#!bash 106 114 setenv ipaddr 192.168.1.1 # sets device IP 107 115 116 setenv serverip 192.168.1.146 # sets TFTP LAN server IP 117 118 setenv dev 0 # sets MMC device to be flashed 119 120 setenv image xenial-newport.img.gz # or whatever filename is used, with any directories in front of the filename 121 122 run update_all 123 124 }}} 125 126 Realize what the update_all script does: 127 {{{#!bash 128 update_all=tftpboot ${loadaddr} ${image} && gzwrite mmc ${dev} ${loadaddr} ${filesize} 129 }}} 130 131 ''' Manual Method ''' 132 {{{#!bash 133 setenv ipaddr 192.168.1.1 # sets device IP 134 108 135 setenv serverip 192.168.1.146 # sets TFTP server IP 109 136 … … 114 141 - **If the image was created using a minimally sized filesystem you will want to resize it after booting to take advantage of the full partition space. For an {{{ext4}}} root filesystem on the primary MMC device run {{{resize2fs /dev/mmcblk0p2}}}.** 115 142 116 To summarize: 117 118 143 ==== Updating just the kernel ==== 119 144 Updating just the kernel can be done with {{{tftpboot}}} and {{{fatwrite}}}: 120 145 {{{#!bash … … 125 150 }}} 126 151 152 ==== Updating just the boot firmware ==== 127 153 Updating the [wiki:newport/boot 'Boot firmware'] (everything up to and including the Bootloader): 128 154 On a Newport booted to the bootloader: