Dears,
In dm816x_vpss datasheet
"
2.16.1.2.1 Firmware
All the DMA transfers are controlled by List Manager module inside VPDMA. List Manager needs to be
loaded with FIRMWARE, before any DMA transfer from memory, after the VPDMA reset.
The first MMR write to LIST_ADDR register after VPDMA reset should be the address of the memory
buffer(128-bit aligned, that is, last four bits of the buffer address should be zero) where the firmware is
stored. List Manager then schedules a DMA transaction to fetch the firmware and sets the list_attr.rdy bit
after the firmware loading is complete.
The followingcode is required to be included after the VPDMA clock is enabled in HD-VPSS:
*(volatile Uint32*)0x4810D004 = (Uint32)(firmware_buffer_address
& 0xFFFFFFF0); // Write buffer address of the firmware to register VPDMA->List_addr
(offset:0x4)
while(*(volatile Uint32*)0x4810D008 != 0x00080000); // Wait for firmware to complete loading.
Wait on bit-field VPDMA->List_attr->rdy (offset: 0x4, bit 19)
"
In u-boot code, ti81xx_vpdma_firmware.h file context have two array for _VPSHAL_VPDMA_FIRMWARE_H_1AD and _VPSHAL_VPDMA_FIRMWARE_H_1B2.
The _VPSHAL_VPDMA_FIRMWARE_H_1B2 array is empty.
How to get and make the firmware resource for using u-boot code?
BR, Charles