嵌入式爱好者

查看: 8529|回复: 0

linux3.0.1 烧写出现 cannot get bus

[复制链接]

0

主题

0

帖子

25

积分

i.MX6UL通行证i.MX6Q通行证XX18通行证

扫一扫,手机访问本帖
发表于 2012-4-17 23:13:34 | 显示全部楼层 |阅读模式
大家好, 今天我在尝试烧写linux3.0.1内核到OK6410的时候发生了一些错误:

1.  用飞凌原版的内核出现如下错误:
      内      核:   OK6410官方基础资料-2G\Linux-3.0.1\demo\zImage
      文件系统:   FORLINX_6410_touch_nand2g.yaffs2      
      OK6410:    256M sdram 2G NandFlash
      烧写方式:   SD卡一键烧写
      
烧写成功后,转到nand启动:出现如下错误(红色部分)usbcore: registered new interface driver zc3xx
zc3xx: registered
usbcore: registered new interface driver ALi m5602
ALi m5602: registered
usb 1-1: new low speed USB device number 2 using s3c2410-ohci
usbcore: registered new interface driver STV06xx
STV06xx: registered
gspca_gl860: driver startup - version 0.9d10
usbcore: registered new interface driver gspca_gl860
gspca_gl860: driver registered
s3c-fimc: controller 0 registered successfully
s3c-fimc: controller 1 registered successfully
s3c-fimc: info ov965x_init
usb 1-1: New USB device found, idVendor=2188, idProduct=0ae1
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product:  USB OPTICAL MOUSE
s3c-i2c s3c2440-i2c.0: cannot get bus (error -110)
s3c-i2c s3c2440-i2c.0: cannot get bus (error -110)


上述红色字体会一直出现,大概有30分钟左右的时候,才进入系统。



---------------------------------------------------------------------------------

我看了看,大概是ov965x_init 这个驱动的原因, 所以我自己又编译了一遍linux3.0.1,
交叉编译链为:4.3.2
在内核中将  [ ]   Video capture adapters  --->     项去掉。
烧写该内核到板子,文件系统使用FORLINX_6410_touch_nand2g.yaffs2   

烧写完毕后,运行出现另一个错误:

S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410_rtc: tick irq 34, alarm irq 92
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 377 KHz
[OV965X]ov965x_attach_adapter.
usb 1-1: new low speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
s3c2440-i2c s3c2440-i2c: cannot get bus (error -110)
s3c2440-i2c s3c2440-i2c: cannot get bus (error -110)
[CAM]s3c_fimc_register_camera,cam->id=0
parent clock for camera: 266.000 MHz, divisor: 11
[CAM]RESET CAM.[CAM]Reset and init reg!1cam->client=0
[CAM]Reset and init reg!1
[CAM]Reset and init reg!3
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44333333 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
sdhci: card inserted.
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44333333 Hz)
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
input:  USB OPTICAL MOUSE as /class/input/input2
generic-usb 0003:2188:0AE1.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-s3c24xx-1/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
WM9713/WM9714 SoC Audio Codec 0.15
playback: 1, capture : 1
asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.63 GiB
mmcblk0: p1
[WM9713]Open speaker volume.
ALSA device list:
  #0: SMDK6400 (WM9713)
TCP cubic registered
can: controller area network core (rev 20081130 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20081130)
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c2410-rtc s3c2410-rtc: setting system clock to 2000-01-01 02:55:02 UTC (946695302)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
block 61 is bad
block 62 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 144K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-25 06:47

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表