REL 1.0
Page 32 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
3.2.3
Binary Programming
Insert SD card using SD card reader to the PC. Execute mount command to see the attached nodes and
mount points.
$mount
SD card may attach to the dev nodes either sdb/sdc/sdd/sde. Assume the SD card is attached to /dev/sdb
node.
Execute the below command to dump u-boot image,
$sudo dd if=/<path into uboot.imx>/u-boot.imx of=/dev/<mount point of sdcard> bs=512 seek=2
conv=fsync
Copy zImage and .dtb files into SD card windows partition.
$cp /<path_to_zImage>/zImage /media/<mount_point_of_sdcard VFAT partition>
$cp /<path_to_dtb files>/imx6*iwg15m-q7*.dtb /media/<mount_point_of_sdcard VFAT partition>
Untar the tar file rootfs.tar.bz2 inside the SD card Linux partition.
$sudo tar -jxvf /<path_to_rootfs.tar.gz>/rootfs.tar.bz2 -C /media/<mount_point_of_sdcard EXT4
partition>
Unmount the SD card from the host PC.
$umount /media/<mount point sdcard windows partition>
$umount /media/<mount point sdcard Linux partition>