Rick Thomas
2019-02-26 10:50:01 UTC
On my Cubox-i4Pro when I run fw_printenv (from the u-boot-tools package) it says “Warning: Bad CRC, using default environment”.
Does this represent a bug in u-boot-tools, or am I mis-interpreting something?
Enjoy!
Rick
Warning: Bad CRC, using default environment
ethaddr=00:00:11:22:33:44
This is definitely not the ethernet address that the box is using for dhcp.ethaddr=00:00:11:22:33:44
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
#
# XXX this configuration might miss a fifth parameter for the "Number of
# sectors"
# MTD device name Device offset Env. size Flash sector size
/dev/mmcblk1p1 0x80000 0x2000
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
#
# XXX this configuration might miss a fifth parameter for the "Number of
# sectors"
# MTD device name Device offset Env. size Flash sector size
/dev/mmcblk0 0x80000 0x2000
FWIW the micro-SD card on this box is identified as /dev/mmcblk1 — not as either /dev/mmcblk0 or /dev/mmcblk1p1.# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
#
# XXX this configuration might miss a fifth parameter for the "Number of
# sectors"
# MTD device name Device offset Env. size Flash sector size
/dev/mmcblk1p1 0x80000 0x2000
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
#
# XXX this configuration might miss a fifth parameter for the "Number of
# sectors"
# MTD device name Device offset Env. size Flash sector size
/dev/mmcblk0 0x80000 0x2000
Does this represent a bug in u-boot-tools, or am I mis-interpreting something?
Enjoy!
Rick