-
Notifications
You must be signed in to change notification settings - Fork 29
Description
https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/
IMX8MP evaluation board: SCH-46370 REV B1
Affected BSP: All BSPs from NXP website with kernel lf-5.10.y and lf-5.15.y
MCUXpresso SDK version: SDK_2.13.0_EVK-MIMX8MP
Testing Procedure:
Case 1, in U-Boot:
load mmc 2:2 0x70000000 lib/firmware/rdc.bin
cp.b 70000000 0x7e0000 20000
bootaux 0x7e0000
Case 2, in Linux:
echo -n rdc.elf > /sys/class/remoteproc/remoteproc0/firmware
echo start > /sys/class/remoteproc/remoteproc0/state
Expected Output:
RDC Example:
RDC Peripheral access control
RDC Peripheral access control with SEMA42
RDC memory region access control
RDC Example Success
Actual Output (in both cases):
RDC Example:
RDC Peripheral access control
I also tried running each of the three test cases APP_RDC_Periph(), APP_RDC_PeriphWithSema42() and APP_RDC_Mem() by commenting out the other two, all failed. Even though HardFault_Handler was triggered, memDemoError
equals 3
in Fault_Handler.
However, the same RDC example for IMX8MM evk works perfectly:
https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkmimx8mm/driver_examples/rdc
IMX8MM evaluation board: SCH-31407 REV C4
Tested BSP: All BSPs from NXP website with kernel lf-5.10.y and lf-5.15.y
MCUXpresso SDK version: SDK_2.13.0_EVK-MIMX8MM