From 29bc1b86ac7b707f75cdcfeac47575850628a8b5 Mon Sep 17 00:00:00 2001 From: Marc Mattmueller Date: Thu, 3 Jun 2021 17:03:23 +0200 Subject: [PATCH] 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 --- recipes-bsp/v2x-ieee802.11p/files/v2x-fw-load | 5 ----- recipes-bsp/v2x-ieee802.11p/v2x-ieee802.11p.bb | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/recipes-bsp/v2x-ieee802.11p/files/v2x-fw-load b/recipes-bsp/v2x-ieee802.11p/files/v2x-fw-load index dac784c..03d84bb 100755 --- a/recipes-bsp/v2x-ieee802.11p/files/v2x-fw-load +++ b/recipes-bsp/v2x-ieee802.11p/files/v2x-fw-load @@ -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 diff --git a/recipes-bsp/v2x-ieee802.11p/v2x-ieee802.11p.bb b/recipes-bsp/v2x-ieee802.11p/v2x-ieee802.11p.bb index 697647e..43ab661 100644 --- a/recipes-bsp/v2x-ieee802.11p/v2x-ieee802.11p.bb +++ b/recipes-bsp/v2x-ieee802.11p/v2x-ieee802.11p.bb @@ -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