When I tried to run fmc on my P2041 I got:
ERR : Invocation of FM_Open for fm0 failed
ERR : Invocation of FM_PCD_Disable for fm0/pcd failed with error code 0x00010028
because there is no /dev/fm0. I am on LSDK-20.04-V5.4-update-290520. Here's my relevant Kconfig selections:
CONFIG_FSL_BMAN_TEST_API=y
CONFIG_FSL_BMAN_TEST=y
CONFIG_FSL_CORENET_CF=y
CONFIG_FSL_CORENET_RCPM=y
CONFIG_FSL_DPAA_CHECKING=y
CONFIG_FSL_DPAA_ETH=y
CONFIG_FSL_DPAA=y
CONFIG_FSL_FMAN=y
Do I need to include other CONFIG_FSL options to have /dev/fm0? Please help if you can.
Thank you,
Eugene
LSDK-20.04-V5.4 is used for Layerscape platforms, for P2041 platform, it's better to use QorIQ Linux SDK 2.0 release.