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:
Marc Mattmueller 2021-06-03 17:03:23 +02:00
parent 06295ec022
commit 29bc1b86ac
2 changed files with 1 additions and 5 deletions

View File

@ -75,11 +75,6 @@ function loadFirmware()
output=$(dfu-util -d 0483:df11 -s 0x10000000 -D /lib/firmware/v2x/SECTON.packed_bin.rom 2>&1)
if [ $? != 0 ]; then
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"
exit 1
fi

View File

@ -33,6 +33,7 @@ do_install() {
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 -d ${D}${sysconfdir}
if [ ! -z "${V2X_ENABLE_FW_LOAD}" ]; then
install -m 544 ${WORKDIR}/v2x0.conf ${D}${sysconfdir}
else