Hello ,
Thanks for quick response.
The Document you shared which contain aosp source code version Android-11.0.0_2.0.0 and my version of aosp source is Android-11.0.0_2.6.0.
As per the Document we need to add kernel configuration to android_gki_defconfig (android_build/device/nxp/imx8m/evk_8mp). But in version "Android-11.0.0_2.6.0" "android_addition_defconfig" is there.
So, i put all kenel configuration to "android_gki_defconfig" at "android_build/device/nxp/imx8m/evk_8mp"
Below kernel configuration we added in "android_gki_defconfig":
CONFIG_STMMAC_ETH=m
CONFIG_STMMAC_PLATFORM=m
CONFIG_DWMAC_IMX8=m
CONFIG_PHYLINK=m
CONFIG_REALTEK_PHY=m
and Addded Below info to SharedBoardConfig.mk :
$(KERNEL_OUT)/drivers/net/phy/phylink.ko \
$(KERNEL_OUT)/drivers/net/pcs/pcs-xpcs.ko \
$(KERNEL_OUT)/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.ko \
$(KERNEL_OUT)/drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko \
$(KERNEL_OUT)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko
Other Changes also i have done as per document.
But i am facing Below error while compiling:
FAILED: ninja: 'out/target/product/evk_8mp/obj/KERNEL_OBJ/drivers/net/phy/phylink.ko', needed by 'out/target/product/evk_8mp/obj/PACKAGING/depmod_vendor_stripped_intermediates/phylink.ko', missing and no known rule to make it
16:20:42 ninja failed with: exit status 1
I am not able to get phylink.ko in out folder
Thanks