Tool/software: Linux
I have my custom am5728 board and I have a vitesse VSC8572 ethernet phy chip connected that i want to use as eth0. I am trying to modify drivers/net/phy/vitesse.c to add support for VSC8572. However I am not sure how to compile and load this driver onto my board. Following the instructions for the kernel compilation guide I do:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am57xx-evm_defconfig -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am57xx-evm-reva3.dtb -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j4
sudo cp arch/arm/boot/zImage arch/arm/boot/dts/am57xx-evm-reva3.dtb /media/$USER/$rootfs_dir/boot
sudo make ARCH=arm INSTALL_MOD_PATH=/media/$USER/$rootfs_dir modules_install -j4
However, these steps don't seem to be compiling the vitesse.c file. If you could please let me know how I could go about enabling support for this VSC8572 phy chip that would be great!
Thanks,
Eeshan