2008年(17)
标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
u-boot烧写yaffs文件系统映象 | 1399 | 1 | 0 | 2008-08-21 | |
u-boot NAND flash的支持(使用新代码) | 2834 | 9 | 0 | 2008-08-20 | |
解决gatewayip needed but not set | 5151 | 0 | 0 | 2008-07-25 |
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
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