From ff7e4753918bcd6ba08b6c661ca09d55874827ef Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 25 Sep 2023 17:21:28 +0200 Subject: [PATCH] this appears to be the boot time --- linux/payload/PlocMpsocHandler.cpp | 10 +++++++--- linux/payload/PlocMpsocHandler.h | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/linux/payload/PlocMpsocHandler.cpp b/linux/payload/PlocMpsocHandler.cpp index b8e8afe9..21c1ed62 100644 --- a/linux/payload/PlocMpsocHandler.cpp +++ b/linux/payload/PlocMpsocHandler.cpp @@ -1222,9 +1222,13 @@ void PlocMpsocHandler::dataReceived(ActionId_t actionId, const uint8_t* data, ui } void PlocMpsocHandler::completionSuccessfulReceived(ActionId_t actionId) { - sif::debug << "recv completion of action " << actionId << std::endl; - if (actionId != supv::EXE_REPORT) { - sif::warning << "PlocMPSoCHandler::completionSuccessfulReceived: Did not expect the action " + if (actionId == supv::ACK_REPORT) { + sif::warning + << "PlocMpsocHandler::completionSuccessfulReceived: Only received ACK report. Consider " + "increasing the MPSoC boot timer." + << std::endl; + } else if (actionId != supv::EXE_REPORT) { + sif::warning << "PlocMpsocHandler::completionSuccessfulReceived: Did not expect the action " << "ID " << actionId << std::endl; return; } diff --git a/linux/payload/PlocMpsocHandler.h b/linux/payload/PlocMpsocHandler.h index 8e654bab..0a8a45f1 100644 --- a/linux/payload/PlocMpsocHandler.h +++ b/linux/payload/PlocMpsocHandler.h @@ -112,7 +112,7 @@ class PlocMpsocHandler : public DeviceHandlerBase, public CommandsActionsIF { static const uint16_t PACKET_SEQUENCE_COUNT_MASK = 0x3FFF; mpsoc::HkReport hkReport; - Countdown mpsocBootTransitionCd = Countdown(5000); + Countdown mpsocBootTransitionCd = Countdown(6000); Countdown supvTransitionCd = Countdown(3000); MessageQueueIF* eventQueue = nullptr;