Is it possible to flash kernel and firmware using USB stick (pendrive) and what is the procedure?

Yes, it is possible to flash kernel image and firmware using the usb stick.

Follow the below procedure to achieve the same.

  1. Copy the kernel image, dtb and flash.bin binaries to usb stick from the host PC (either from UUU-Tool or custom binaries generated)
  2. Connect the usb stick to HMI, Boot the board and login using root
  3. USB stick will get mounted under /run/media/<disk-name> (Example: /run/media/sda1)
  4. Copy the kernel image and dtb from usb stick to fat partition of eMMC (which is mounted on /run/media/mmcblk0p1)

Example:

# cp -rf /run/media/sda1/Image /run/media/mmcblk0p1/

# cp -rf /run/media/sda1/imx8mm-iwg39h-prgpp.dtb /run/media/mmcblk0p1/

# sync

5. To flash the bootloader binary to emmc follow below mentioned commands

# dd if=/dev/zero of=/dev/mmcblk0 bs=1k seek=4096 conv=fsync count=8

# sync

# echo 0 > /sys/block/mmcblk0boot0/force_ro

# dd if=/flash.bin of=/dev/mmcblk0boot0 bs=1k seek=33 conv=fsync

Example:

# dd if=/run/media/sda1/flash.bin of=/dev/mmcblk0boot0 bs=1k seek=33 conv=fsync

# sync

# mmc bootpart enable 1 0 /dev/mmcblk0boot0

# echo 1 > /sys/block/mmcblk0boot0/force_ro

6. Once all the steps are executed without any error, HMI is set to boot from updated binaries. Either power cycle or reboot the board to make the board boot from updated binaries

For further product inquiries, please get in touch with our sales team at mktg@iwave-global.com

Please find the detailed product information here:
HMI Panel