In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/reset_mcu.sh line 15:
  echo "$2" > /sys/devices/virtual/gpiomap/$1/value
                                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
  echo "$2" > /sys/devices/virtual/gpiomap/"$1"/value

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...