Hi, I have to build kernel image with ethernet and PHY disabled in that.
I have followed these steps
http://processors.wiki.ti.com/index.php/AMSDK_Linux_User%27s_Guide for compiling the kernel .
With default settings uImage is perfectly built and with customizing configuration with disabling PHY and ethernet this error comes.
root@EMMYS1314:/home/jasdeep/ti-sdk-am335x-evm-05.05.00.00/board-support/linux-3.2.0-psp04.06.00.08.sdk# make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- uImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/arm/mach-omap2/built-in.o: In function `am33xx_evm_tx_clk_dly_phy_fixup':
twl-common.c:(.text+0x1361c): undefined reference to `mdiobus_write'
twl-common.c:(.text+0x13630): undefined reference to `mdiobus_write'
arch/arm/mach-omap2/built-in.o: In function `am335x_evm_setup':
twl-common.c:(.text+0x139ac): undefined reference to `phy_register_fixup_for_uid'
twl-common.c:(.text+0x13a38): undefined reference to `phy_register_fixup_for_uid'
make: *** [.tmp_vmlinux1] Error 1
If we disable only ethernet then it compiles properly. if we disable both , then this error comes. Please help me to resolve this error.