-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
SITSW-8208
-
10.01.00
-
11.02.00
-
Problem:
While executing UDMA test cases for Block Copy / RX / TX High Capacity (HC) and Ultra High Capacity (UHC) channels,
the tests fail at Udma_chOpen() with UDMA_EALLOC because the resource manager (RM) does not expose HC channels.
Root Cause:
- CSL defines (cslr_dmss_defines.h) indicate hardware supports HC channels
(e.g. AM62Ax shows 6 RX HC channels). - But board RM configuration (udma_rmcfg.c) marks HC resources as INVALID.
- During Udma_rmInitPrms_init(), rmInitPrms-> numRxHcCh is set to 0.
- Hence Udma_rmAllocRxHcCh always return UDMA_DMA_CH_INVALID.
- Udma_chOpen() calls these allocation functions again internally and fails, even if manual allocation was attempted.
Impact:
- HC/UHC test cases cannot run on AM62Ax/AM62Dx/AM62x devices despite CSL showing support.
- No functional coverage can be achieved for HC/UHC resource allocation in udma_rm.c on these devices.
Files for reference:
- drivers/udma/v0/udma_rm.c (Udma_rmAllocRxHcCh, etc.)
- drivers/udma/v0/udma_ch.c (Udma_chOpen/Udma_chAllocResource)
- board RM config: udma_rmcfg.c (gUdmaRmDefBoardCfg_Bcdma, gUdmaRmDefBoardCfg_Udma)
- CSL: cslr_dmss_defines.h