天嵌 ARM开发社区

 找回密码
 注册
查看: 2060|回复: 10

linux-2.6.22.2内核驱动

[复制链接]
zuiqiang 发表于 2011-3-7 17:13:48 | 显示全部楼层 |阅读模式
用的是tq2440开发板,系统启动显示
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
No NAND device found!!!
天嵌_support1 发表于 2011-3-7 17:20:49 | 显示全部楼层
这是TQ2440的配置值
.tacls                = 10,
.twrph0                = 25,
.twrph1                = 10,
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-8 08:46:32 | 显示全部楼层
对呀,我就是按这个设置的,但是和linux-2.6.25.8启动时的不同那
linux-2.6.22.2:Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns,找不到nand
linux-2.6.25.8:Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns,可以找到Nand
TQ2440的配置值
.tacls                = 10,
.twrph0                = 25,
.twrph1                = 10,2个内核相同的
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-8 09:14:58 | 显示全部楼层
还是用
.tacls                = 20,
.twrph0                = 60,
.twrph1                = 20,正确
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-8 10:50:30 | 显示全部楼层
不加IDE驱动的话没有问题,加了IDE驱动后有时可以执行到
Freeing init memory: 112K
Unable to handle kernel NULL pointer dereference at virtual address 00000018
pgd = c380c000
有时
hda: IC25N020ATMR04-0, ATA DISK drive
ide0 at 0xc485e000-0xc485e007,0xc486000c on irq 16
hda: max request size: 512KiB
hda: 39070080 sectors (20003 MB) w/1740KiB Cache, CHS=16383/255/63
hda: cache flushes supported
Unable to handle kernel paging request at virtual address 00004201
pgd = c0004000
怎么不稳定,老是不出现文件系统那,没有IDE的时候都没问题
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-8 14:20:24 | 显示全部楼层
解决了。。。。。。。。。。。。。。。
回复

使用道具 举报

天嵌_support1 发表于 2011-3-8 14:43:26 | 显示全部楼层
把你的解决方案分享一下,网友。
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-9 10:28:51 | 显示全部楼层
片选上加了几个30p电容,还有IDE接触不是很好
回复

使用道具 举报

guoxixiao 发表于 2011-3-9 12:54:54 | 显示全部楼层
..............................................................
回复

使用道具 举报

天嵌_support1 发表于 2011-3-9 13:40:19 | 显示全部楼层
:)
回复

使用道具 举报

夏建 发表于 2011-3-19 18:50:59 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

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

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-5-3 11:55 , Processed in 2.038654 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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