shell@odroidc2:/ $ su root@odroidc2:/ # mount -o rw,remount / root@odroidc2:/ # vi getUbootVer.sh #!/bin/sh dd if=/dev/block/mmcblk0 of=/temp.bin bs=512 skip=97 count=1334 grep -a -r -E -o ".{0,0}U-Boot 2015.01.{0,50}" /temp.bin | grep -a "(" rm /temp.bin root@odroidc2:/ # chmod 755 /getUbootVer.sh root@odroidc2:/ # /getUbootVer.sh 1334+0 records in 1334+0 records out 683008 bytes transferred in 0.014 secs (48786285 bytes/sec) /temp.bin:U-Boot 2015.01-dirty (Jul 06 2017 - 07:47:27)