v2x: removed capture of get_status error during abort
we power cylce now the power of the v2x module hence it is no longer needed. BugzID: 72787 Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
06295ec022
commit
29bc1b86ac
|
|
@ -75,11 +75,6 @@ function loadFirmware()
|
||||||
output=$(dfu-util -d 0483:df11 -s 0x10000000 -D /lib/firmware/v2x/SECTON.packed_bin.rom 2>&1)
|
output=$(dfu-util -d 0483:df11 -s 0x10000000 -D /lib/firmware/v2x/SECTON.packed_bin.rom 2>&1)
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "$SCRIPT_NAME: Something went wrong while uploading firmware:"
|
echo "$SCRIPT_NAME: Something went wrong while uploading firmware:"
|
||||||
if echo "$output" | grep -i "Error during abort get_status"; then
|
|
||||||
echo "get_status error: ignoring"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo "$SCRIPT_NAME: Unexpected error"
|
|
||||||
echo "$output"
|
echo "$output"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ do_install() {
|
||||||
install -d ${D}${nonarch_base_libdir}/firmware/v2x
|
install -d ${D}${nonarch_base_libdir}/firmware/v2x
|
||||||
install -m 644 ${WORKDIR}/v2x_dummy.rom ${D}${nonarch_base_libdir}/firmware/v2x/SECTON.packed_bin.rom
|
install -m 644 ${WORKDIR}/v2x_dummy.rom ${D}${nonarch_base_libdir}/firmware/v2x/SECTON.packed_bin.rom
|
||||||
|
|
||||||
|
install -d ${D}${sysconfdir}
|
||||||
if [ ! -z "${V2X_ENABLE_FW_LOAD}" ]; then
|
if [ ! -z "${V2X_ENABLE_FW_LOAD}" ]; then
|
||||||
install -m 544 ${WORKDIR}/v2x0.conf ${D}${sysconfdir}
|
install -m 544 ${WORKDIR}/v2x0.conf ${D}${sysconfdir}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue