Changes between Version 13 and Version 14 of venice/firmware
- Timestamp:
- 06/08/2023 07:26:52 PM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
venice/firmware
v13 v14 139 139 - The latest firmware images set the 'soc' U-Boot env variable to match the SoC you are using 140 140 141 ==== Update Entire Firmware (recommended) 142 Update the entire device from a Compressed Disk Image. This image includes the partition table, boot firmware, bootloader environment, as well as entire OS and kernel: 143 144 Complete Compressed Disk Images are available for download here: [http://dev.gateworks.com/venice/images/] 145 * Be sure to use one that is compatible with the SoC on your board 141 142 [=#disk-images] 143 ==== Update OS via Compressed Disk Images 144 A compressed disk image is relatively easy to create and is easy to install on a running board via U-Boot or Linux running from a ramdisk. Assuming boot firmware is booting from another device or hardware partition (ie eMMC boot0 hardware partition) the compressed disk image contains only the disk partition table and OS filesystem partitions. 146 145 147 146 Procedure: … … 156 155 setenv dev 2 # sets MMC device to be flashed - see mmc list 157 156 # set your image 158 setenv image <distro>-venice -<soc>.img.gz157 setenv image <distro>-venice.img.gz 159 158 # update 160 159 run update_all … … 168 167 # fetch your file 169 168 cd /tmp 170 wget http://dev.gateworks.com/venice/images/<distro>-venice -<soc>.img.gz169 wget http://dev.gateworks.com/venice/images/<distro>-venice.img.gz 171 170 # uncompress and write to the emmc device 172 zcat <disro>-venice-<soc>.img.gz | dd of=/dev/mmcblk0 bs=4M 173 }}} 171 zcat <disro>-venice.img.gz | dd of=/dev/mmcblk0 bs=4M 172 }}} 173 174 Note that Gateworks used to place boot firmware in the eMMC user partition meaning the compressed disk image would also include the boot firmware. This is now considered 'legacy' but to keep users from bricking boards that still have boot firmware on the eMMC user hardware partition the Gateworks Venice BSP still places imx8mm boot firmware in the compressed disk image. 174 175 175 176