/*
* The DM9000 has no eeprom, and it's MAC address is set by
* the bootloader before starting the kernel.
*/
static struct dm9000_plat_data smdk2440_dm9k_pdata = {
.flags = (DM9000_PLATF_16BITONLY | DM9000_PLATF_NO_EEPROM),
};
二、添加UVC摄像头驱动
2.1 配置内核
# make menuconfig
Device Drivers --->
<*> Multimedia support --->
<*> Video For Linux
[*] Video capture adapters --->
[*] V4L USB devices --->
<*> USB Video Class (UVC) //加上该项
# make uImage
# cp arch/arm/boot/uImage /work/tftpboot/uImage_3.4.2
# tftp 30000000 uImage_3.4.2
# nand erase.part kernel; nand write 30000000 kernel
启动之后即可在dev目录下发现video0,前提是要在开发板挂接UVC摄像头,可用我前面博客《Ubuntu10.04中利用V4L2读取摄像头数据并保存成文件》提到的程序编译出arm版本进行测试,才我的mini2440上可进行正常采集保存。