Changes between Version 52 and Version 53 of jtag_instructions


Ignore:
Timestamp:
12/06/2024 11:08:25 PM (2 weeks ago)
Author:
Tim Harvey
Comment:

added example creating a JTAG image for imx8mm venice with openwrt

Legend:

Unmodified
Added
Removed
Modified
  • jtag_instructions

    v52 v53  
    217217Examples:
    218218 * eMMC:
     219  - create a firmware image appropriate for an IMX8MM based Venice board with the latest OpenWrt pre-built image on the eMMC user hardware partition and latest boot firmware on the eMMC boot0 hardware partition:
     220{{{#!bash
     221# get mkimage_jtag and make it executable
     222wget https://dev.gateworks.com/jtag/mkimage_jtag
     223chmod +x mkimage_jtag
     224# get latest prebuilt boot firmware image
     225wget https://dev.gateworks.com/venice/images/firmware-venice-imx8mm.img
     226# get latest prebuilt openwrt compressed disk image and uncompress it
     227wget https://dev.gateworks.com/venice/images/openwrt-venice.img.gz
     228gunzip openwrt-venice.img
     229# create an image for imx8mm with boot firmware on emmc boot0 and compressed disk image on emmc user
     230mkimage_jtag --soc imx8mm --emmc -s --partconf=boot0 \
     231   firmware-venice-imx8mm.img@boot0:erase_part:0-8192 \
     232   openwrt-venice.img@user:erase_part:0- \
     233   > openwrt-venice-imx8mm.bin
     234}}}
    219235  - configure the eMMC to boot from the user hardware partition, program the boot firmware to the user hardware partition but only erase from block 0 to block 32768 (0 to 16MiB):
    220236{{{#!bash