ztombol / odroid-tools

A collection of scripts, configuration files and packages for HardKernel's ODROID boards
7 stars 3 forks source link

sd_flushing.sh: line 80: is_mmc_rw: unbound variable #2

Closed frol closed 8 years ago

frol commented 8 years ago

I have eMMC installation and I have noticed the above error message at the very end of the flushing.

Here is the full log:

$ sudo ./sd_fusing.sh /dev/mmcblk0
===> Overview
  device : /dev/mmcblk0
  type   : eMMC module
  part   : boot0

===> Fusing
-> Write access gained to: `/dev/mmcblk0boot0'
-> BL1
30+0 records in
30+0 records out
15360 bytes (15 kB, 15 KiB) copied, 1.58508 s, 9.7 kB/s
-> BL2
28+1 records in
28+1 records out
14592 bytes (15 kB, 14 KiB) copied, 1.49459 s, 9.8 kB/s
-> U-Boot
986+1 records in
986+1 records out
505033 bytes (505 kB, 493 KiB) copied, 52.0077 s, 9.7 kB/s
-> TrustZone S/W
312+0 records in
312+0 records out
159744 bytes (160 kB, 156 KiB) copied, 16.1382 s, 9.9 kB/s
Read-only access re-enabled on: `/dev/mmcblk0boot0'

===> Summary
  result : success
./sd_fusing.sh: line 80: is_mmc_rw: unbound variable
ztombol commented 8 years ago

Fixed it. Thanks for reporting!