Chinaunix首页 | 论坛 | 博客
  • 博客访问: 94168
  • 博文数量: 17
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 230
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-24 17:41
文章分类

全部博文(17)

文章存档

2008年(17)

我的朋友

发布时间:2008-12-12 14:58:23

......【阅读全文】

阅读(1610) | 评论(2) | 转发(0)

发布时间:2008-12-04 17:05:17

......【阅读全文】

阅读(945) | 评论(0) | 转发(0)

发布时间:2008-11-03 23:15:19

......【阅读全文】

阅读(746) | 评论(0) | 转发(0)

发布时间:2008-10-10 10:52:53

......【阅读全文】

阅读(737) | 评论(0) | 转发(0)

发布时间:2008-10-10 01:29:13

......【阅读全文】

阅读(843) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2009-05-13 00:10

你好,我也用FS2410的板,移植过程参照你大量的过程,但在跑YAFFS时无法跑起来,最后NET: Registered protocol family 1 drivers/rtc/hctosys.c: unable to open rtc device (rtc0) yaffs: dev is 32505858 name is "mtdblock2" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.2, "mtdblock2" yaffs_read_super: isCheckpointed 0 VFS: Mounted root (yaffs filesystem). Freeing init memory: 136K Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. 希望你能帮我查出原因,xiaoyongjun205@163.com

回复 |  删除 |  举报

chinaunix网友2008-12-03 18:34

我按照上面说的移植,结果插入摄像头的时候出现: # usb 1-1: new full speed USB device using s3c2410-ohci and address 2 usb 1-1: Product: Vega USB 2.0 Camera. usb 1-1: Manufacturer: Vimicro Corp. usb 1-1: configuration #1 chosen from 1 choice 请问这是什么原因呢?

回复 |  删除 |  举报

chinaunix网友2008-10-30 11:39

gspca 摄像头驱动的移植(ZC3XX)中的(c)修改 gspcav1-20071224 的 Makefile ,是添加那些命令哦还是覆盖呢??? 刚做摄像头图像采集方面的,也还有其他很多问题可能要请教,我的联系方式yi03072004@stu.xjtu.edu.cn; qq:351768744 谢谢指教

回复 |  删除 |  举报

chinaunix网友2008-10-29 17:00

请问如何编译内核?????具体步骤如何? =========================== gspca 摄像头驱动的移植(ZC3XX) Kernel version :2.6.22.6 Crosstool :arm-linux-gcc-3.4.5 Board :FS2410 System :Fedora 8 Source :gspcav1-20071224、servfox-R1_1_3、spcaview-20061208 Author :http://viviwei.cublog.cn 一、移植gspcav1-20071224 gspcav1-20071224下载地址:http://www.slackware.com/%7Ealien/slackbuilds/gspcav1/build/gspcav1-20071224.tar.gz FS2410开发板上移植的是Linux-2.6.22.6内核,USB及CS8900A均能工作,由于linux-2.6.22.6/drivers/usb 目录下没有 media 目录,故移植步骤如下: a) 在 linux-2.6.22.6/drivers/usb 目录下新建 media 目录,将gspcav1-20071224.tar.gz copy 到 media 下并解压。为了使media 编译进内核,需修改linux-2.6.22.6/drivers/usb 目录下的Kconfig、Makefile 文件。 [linux@weijing usb]$ pwd /work/kernel/linux-2.6.22.6/drivers/usb [linux@weijing usb]$ vi Kconfig 添加 source "drivers/usb/media/Kconfig" [linux@weijing usb]$ vi Makefile 添加 obj-$(CONFIG_USB_SPCA5XX) += media/ b) 为添加 gspcav1-20071224 编译选项,在 media 下新建 Kconfig、Makefile 文件。 [linux@weijing media]$ pwd /work/kernel/linux-2.6.22.6/drivers/usb/media [linux@weijing media]$ vi Kconfig # # USB Multimedia device configuration # comment "USB Multimedia devices" depends on USB config USB_SPCA5XX tristate "USB SPCA5XX Sunplus/Vimicro/Sonix jpeg Cameras" depends on USB && VIDEO_DEV ---help--- Say Y or M here if you want to use one of these webcams: The built-in microphone is enabled by selecting USB Audio support. This driver uses the Video For Linux API. You must say Y or M to "Video For Linux" (under Character Devices) to use this driver. Information on this API and pointers to "v4l" programs may be found at . To compile this driver as a module, choose M here: the module will be called spca5xx. [linux@weijing media]$ vi Makefile # # Makefile for USB Media drivers # obj-$(CONFIG_USB_SPCA5XX) += gspcav1-20071224/ c) 修改 gspcav1-20071224 的 Makefile [linux@weijing gspcav1-20071224]$ pwd /work/kernel/linux-2.6.22.6/drivers/usb/media/gspcav1-20071224 [linux@weijing gspcav1-20071224]$ vi Makefile gspca-objs := gspca_core.o decoder/gspcadecoder.o obj-$(CONFIG_USB_SPCA5XX) += gspca.o clean: rm -f *.[oas] .*.flags *.ko .*.cmd .*.d .*.tmp *.mod.c rm -rf .tmp_versions d) 编译内核 (1)Multimedia devices ---> Video For Linux (2) USB support ---> Support for Host-side USB --- USB Host Controller Drivers OHCI HCD support (3)--- USB Multimedia devices USB SPCA5XX Sunplus/Vimicro/Sonix jpeg Cameras 此时,可能会提示 gspca_core.c 的一些轻微错误,稍作修改即可: //static const char gspca_version[] = GSPCA_VERSION; static const char gspca_version[] = "00.60.00"; 把新生成的 uImage 烧进开发板,重启,插上中星微芯片的摄像头,命令行出现 # usb 1-1: new full speed USB device using s3c2410-ohci and address 2 usb 1-1: configuration #1 chosen from 1 choice drivers/usb/media/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(ZC3XX) 说明移植的驱动已经能识别设备,设备名所在路径 /dev/video0。 ------------------------------------------------------------------------ 请问如何编译内核?????

回复 |  删除 |  举报

chinaunix网友2008-09-05 21:39

你好,看了你的关于u-boot的移植,受益匪浅,但是在移植的过程中当我开了 CFG_CMD_NAND | \ /*soskos open nand command 08.9.5 */ 编译器报错,/usr/pan/arm/u-boot-1.1.6/include/configs/fs2410.h:101:6: error: token "\" is not valid in preprocessor expressions /usr/pan/arm/u-boot-1.1.6/include/configs/fs2410.h:213:6: error: token "\" is not valid in preprocessor expressions 事实上这两行对应的代码都是:#if (CONFIG_COMMANDS & CFG_CMD_NAND) …… 等你的解答wu_pan@126.com qq175838113

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册