Skip to content

Commit 24f2a86

Browse files
authored
Merge pull request #417 from sy-c/master
v0.44.3
2 parents dbea997 + 7757f57 commit 24f2a86

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@ if(NOT APPLE)
7878
find_package(Python3 3.6 COMPONENTS Interpreter Development)
7979
if(Python3_FOUND)
8080
set(boost_python_component "python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}")
81-
else()
82-
# Backwards compatible. Can be removed once the Python3 recipe is stable
83-
message(WARNING "Python 3 was not found: falling back to Python 2")
84-
find_package(Python2 2.7 COMPONENTS Development REQUIRED)
85-
set(boost_python_component "python27")
8681
endif()
8782
endif()
8883

doc/releaseNotes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@ This file describes the main feature changes for released versions of ReadoutCar
6161

6262
## v0.44.2 - 23/06/2023
6363
- Added a workaround to avoid HW lock issues for CRORC: prevent concurrency in the calls to feed superpages to the card. Added a check to detect write discrepencies.
64+
65+
## v0.44.3 - 29/08/2023
66+
- Fix registers for FEC status counters.
67+
- Updated list of firmwares for CRORC
68+
- CMake cleanup: removed python2 support.

src/Cru/Constants.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ static constexpr Register CLOCK_PLL_CONTROL_ONU(0x00240018);
215215
static constexpr Register ONU_USER_LOGIC(0x0022a000);
216216

217217
/// Register for getting FEC status
218-
static constexpr Register ONU_FEC_COUNTERS(0x0022200c);
218+
static constexpr Register ONU_FEC_COUNTERS_STATUS(0x0022A004);
219+
static constexpr Register ONU_FEC_COUNTERS_SERR(0x0022A020);
220+
static constexpr Register ONU_FEC_COUNTERS_DERR(0x0022A028);
219221

220222
/// Registers for setting the Ref Gen
221223
static constexpr Register ONU_USER_REFGEN(0x0022c000);

src/Cru/Ttc.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,14 @@ OnuStatus Ttc::onuStatus(bool monitoring)
215215

216216
FecStatus Ttc::fecStatus()
217217
{
218-
uint32_t fecStatus = mBar->readRegister(Cru::Registers::ONU_FEC_COUNTERS.index);
218+
uint32_t fecStatus = mBar->readRegister(Cru::Registers::ONU_FEC_COUNTERS_STATUS.index);
219219
return {
220220
Utilities::getBit(fecStatus, 0) == 1,
221221
Utilities::getBit(fecStatus, 1) == 1,
222-
Utilities::getBit(fecStatus, 7) == 1,
223-
(uint8_t)Utilities::getBits(fecStatus, 8, 15),
224-
(uint8_t)Utilities::getBits(fecStatus, 16, 23),
225-
(uint8_t)Utilities::getBits(fecStatus, 24, 31)
222+
0, // meaningless, kept for compatibility
223+
(uint8_t)mBar->readRegister(Cru::Registers::ONU_FEC_COUNTERS_SERR.index),
224+
(uint8_t)mBar->readRegister(Cru::Registers::ONU_FEC_COUNTERS_DERR.index),
225+
0 // meaningless, kept for compatibility
226226
};
227227
}
228228

src/DmaChannelPdaBase.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ DmaChannelPdaBase::DmaChannelPdaBase(const Parameters& parameters,
102102
log("Buffer is hugepage-backed", LogDebugTrace_(4209));
103103
} else {
104104
if (AliceO2::Common::Iommu::isEnabled()) {
105-
log("Buffer is NOT hugepage-backed, but IOMMU is enabled", LogWarningTrace_(4210));
105+
log("Buffer is NOT hugepage-backed, but IOMMU is enabled", LogDebugTrace_(4210));
106106
} else {
107107
std::string message =
108108
"Buffer is NOT hugepage-backed and IOMMU is disabled - unsupported buffer "

src/FirmwareChecker.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ FirmwareChecker::FirmwareChecker() : mCompatibleFirmwareList({
3535
{ "9052c0dd", "v3.18.1" },
3636
{ "47df4106", "v3.19.0" },
3737
{ "adc37d07", "v3.19.0" },
38-
/* CRORC - keep 7 chars only for the hash */
38+
/* CRORC (before 2.14, keep 7 chars only for the hash) */
3939
{ "267f8e5", "v2.9.1" },
4040
{ "cecc295", "v2.9.0" },
4141
{ "221ff28", "v2.10.0" },
4242
{ "cfa0bc9", "2.10.1" },
4343
{ "2d4c902", "2.11.0" },
4444
{ "c7ff568", "2.12.0" },
4545
{ "ac9dd57", "2.12.1" },
46+
{ "828801a2", "2.14.2" },
4647
})
4748

4849
// second list for older firmware

src/ReadoutCardVersion.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "ReadoutCard/Version.h"
1313

14-
#define O2_READOUTCARD_VERSION "0.44.2"
14+
#define O2_READOUTCARD_VERSION "0.44.3"
1515

1616
namespace o2
1717
{

0 commit comments

Comments
 (0)