Changes between Version 7 and Version 8 of venice/firmware
- Timestamp:
- 10/29/2021 08:17:17 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
venice/firmware
v7 v8 142 142 Note that the IMX8 BOOT ROM fetches code starting at a 33K offset (in order to reserve everything below that for things like disk partition tables). 143 143 144 The latest pre-built Bootloader image for Venice is available for download here: [http://dev.gateworks.com/venice/boot_firmware/flash.bin] 145 146 147 Procedure: 144 The latest pre-built Bootloader images for Venice are available for download here: 145 - [http://dev.gateworks.com/venice/boot_firmware/venice-imx8mm-flash.bin venice-imx8mm-flash.bin] for IMX8M Mini boards 146 - [http://dev.gateworks.com/venice/boot_firmware/venice-imx8mn-flash.bin venice-imx8mn-flash.bin] for IMX8M Nano boards 147 148 Procedure: **(Make sure you use the right variant per your processor imx8mm/imx8mn and the correct device for the emmc device)** 148 149 * Via U-Boot: 149 {{{#!bash 150 # setup network environment (use bootp or static by setting ipaddr/serverip and optional netmask/gatewayip) 151 setenv autoload 0; bootp # use dhcp for network config but do not fetch a file 152 # choose the device to update 153 setenv dev 2 # sets MMC device to be flashed - see mmc list 154 # set your image 155 setenv image flash.bin # with any tftp server directories in front of the filename 150 - for IMX8M Mini board variants: 151 {{{#!bash 152 # setup network environment (use bootp or static by setting ipaddr/serverip and optional netmask/gatewayip) 153 setenv autoload 0; bootp # use dhcp for network config but do not fetch a file 154 # choose the device to update 155 setenv dev 2 # sets MMC device to be flashed - see mmc list 156 # set your image 157 setenv image venice-imx8mm-flash.bin # with any tftp server directories in front of the filename 156 158 # update 157 159 run update_firmware 158 160 }}} 159 - This is what the update_firmware script does if your curious:161 - This is what the update_firmware script does if your curious: 160 162 {{{#!bash 161 163 update_firmware=tftpboot $loadaddr $image && setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200 && mmc dev $dev && mmc write $loadaddr 0x42 $blkcnt 162 164 }}} 165 - for IMX8M Nano board variants: 166 {{{#!bash 167 # setup network environment (use bootp or static by setting ipaddr/serverip and optional netmask/gatewayip) 168 setenv autoload 0; bootp # use dhcp for network config but do not fetch a file 169 # choose the device to update 170 setenv dev 2 # sets MMC device to be flashed - see mmc list 171 # set your image 172 setenv image venice-imx8mn-flash.bin # with any tftp server directories in front of the filename 173 # update 174 run update_firmware 175 }}} 176 - This is what the update_firmware script does if your curious: 177 {{{#!bash 178 update_firmware=tftpboot $loadaddr $image && setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200 && mmc dev $dev && mmc write $loadaddr 0x40 $blkcnt 179 }}} 163 180 * Via Linux: 164 {{{#!bash 165 # fetch your file 166 cd /tmp 167 wget http://dev.gateworks.com/venice/boot_firmware/flash.bin 181 - for IMX8M Mini board variants: 182 {{{#!bash 183 # fetch your file 184 cd /tmp 185 wget http://dev.gateworks.com/venice/boot_firmware/venice-imx8mm-flash.bin 168 186 # uncompress and write to the emmc device to 33K offset 169 dd if=flash.bin of=/dev/mmcblk0 bs=1K seek=33 187 dd if=venice-imx8mm-flash.bin of=/dev/mmcblk2 bs=1K seek=33 188 }}} 189 - for IMX8M Nano board variants: 190 {{{#!bash 191 # fetch your file 192 cd /tmp 193 wget http://dev.gateworks.com/venice/boot_firmware/venice-imx8mn-flash.bin 194 # uncompress and write to the emmc device to 32K offset 195 dd if=venice-imx8mn-flash.bin of=/dev/mmcblk2 bs=1K seek=32 170 196 }}} 171 197 … … 202 228 wget http://sever/rootfs.ext4.gz 203 229 # uncompress and write to the emmc device to 16M offset 204 dd if= flash.bin of=/dev/mmcblk0 bs=1M seek=16230 dd if=venice-imx8mm-flash.bin of=/dev/mmcblk0 bs=1M seek=16 205 231 }}} 206 232