Tool/software: TI-RTOS
XDCtools 3.50.02.20, SYS/BIOS 6.50.01.12, PDK 04.00.06, NDK 2.25.01.11
I'm struggling trying to move the working NIMU_emacExample_EVMK2H_armBiosExampleProject example to our SBC target and get it to work. It looks like the eval board uses EMAC1 (phy_addr 1). Our board uses EMAC0 (phy_addr 0).
I am looking at the EMAC documentation at the following URL: http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_EMAC. Is this current?
Under my C:\ti\pdk_k2hk_4_0_6\packages\ti\drv directory I do not have an emac directory. The above documentation indicates that I should.
Further, from searches through the TI code it appears that the K2G board supports emac. For example, C:\ti\pdk_k2hk_4_0_6\packages\ti\board\diag\emac\src has emac_test.c but it implies K2G (e.g., #include <ti/csl/soc/k2g/src/cslr_soc_baseaddress.h>) but no evidence of anything for K2H. Even though this is a PDK specifically for Keystone II (K2H, K2K).
To solve the problem of selecting a different PHY, do we need to rebuild the EMAC driver? Rebuild the PDK? Or is it a run time setup configuration step?
Mike