1)修改arch/arm/mach-s3c2440/mach-smdk2440.c文件,增加以下信息
2)修改 arch/arm/mach-s3c2440/mach-smdk2440.c文件
修改struct platform_device *smdk2440_devices[]__initdata结构体增加以下代码:
static struct platform_device*smdk2440_devices[] __initdata =
3)修改drivers/net/dm9000.c源码:
/**********add by dengwei*****************/
/**********add by dengwei****************/
4)修改make menuconfig配置选项:
Devices Drivers --->
Network device support--->
Ethernet (10 or 100) --->
[*]DM9000support
(4)DM9000maxinum debug level
//仅保留这两个选项,其余的全部去掉
5)重新编译内核,烧入开发板中即可
6)第一次使用的开发板需使用ifconfig eth0 hw ether 12:34:56:78:32:65 设置mac地址
(MAC地址可以随便设置)
使用ifconfigeth0 192.168.220.*设置开发板IP
使用ping命令ping主机即可