打印

at91rm9200用自己做得编译器编译2.6.21成功。(帮我解决ac97驱动

[复制链接]
4053|24
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
wangkj|  楼主 | 2007-6-14 14:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Linux version 2.6.21 (at91@dzcp.asino) (gcc version 4.1.1) #1 Wed Jun 13 23:20:55 CST 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists.  Total pages: 4064
Kernel command line: root=/dev/nfs rw nfsroot=192.168.8.10:/at91 ip=192.168.8.55:192.168.8.10:192.168.8.10:255.255.255.0 console=ttyS0,115200 mem=16m
AT91: 128 gpio irqs in der: 6, 256 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 13988KB available (1968K code, 163K data, 76K init)
Calibrating delay loop... 29.79 BogoMIPS (lpj=148992)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
loop: loaded (max 8 devices)
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:0c:29:94:73:a3)
eth0: Realtek RTL8201(B)L PHY
physmap platform flash device: 00200000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 16384KiB chip to 2048KiB
RedBoot partition parsing not available
kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory.
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: Link now 100-FullDuplex
IP-Config: Complete:
      device=eth0, addr=192.168.8.55, mask=255.255.255.0, gw=192.168.8.10,
     host=192.168.8.55, domain=, nis-domain=(none),
     bootserver=192.168.8.10, rootserver=192.168.8.10, rootpath=
Looking up port of RPC 100003/2 on 192.168.8.10
Looking up port of RPC 100005/1 on 192.168.8.10
VFS: Mounted root (nfs filesystem).
Freeing init memory: 76K

相关帖子

沙发
ayb_ice| | 2007-6-15 08:02 | 只看该作者

自己做编译器,你以为你是谁啊。。。

使用特权

评论回复
板凳
wangkj|  楼主 | 2007-6-15 08:05 | 只看该作者

我是我呀

咋就不能自己作呢,现成的工具很多呀,看你会不会用。OE,buildroot等等,都行。准确的说是攒。

使用特权

评论回复
地板
mybao| | 2007-6-15 10:40 | 只看该作者

你的linux到底跑起来没有

VFS: Mounted root (nfs filesystem).
Freeing init memory: 76K

接下来的呢?

使用特权

评论回复
5
wangkj|  楼主 | 2007-6-15 12:02 | 只看该作者

没抄齐全,已经启动起来了。

number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
drivers/mtd/cmdlinepart.c part->mtd_id, mtd_id:physmap-flash.0,physmap-flash.0
4 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x00000000-0x00020000 : "BOOT"
0x00020000-0x00040000 : "Parm"
0x00040000-0x00140000 : "kernel"
0x00140000-0x00400000 : "rootfs"
kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory.
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: Link now 100-FullDuplex
IP-Config: Complete:
      device=eth0, addr=192.168.8.55, mask=255.255.255.0, gw=192.168.8.10,
     host=192.168.8.55, domain=, nis-domain=(none),
     bootserver=192.168.8.10, rootserver=192.168.8.10, rootpath=
Looking up port of RPC 100003/2 on 192.168.8.10
Looking up port of RPC 100005/1 on 192.168.8.10
VFS: Mounted root (nfs filesystem).
Freeing init memory: 76K
hwclock: Could not access RTC: No such file or directory

AInfo login: root
login[661]: root login  on `ttyS0'



BusyBox v1.01 (2005.08.31-08:20+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root              9621848   4554288   4578784  50% /
~ # 

使用特权

评论回复
6
hqgboy| | 2007-6-15 12:14 | 只看该作者

不错.恭喜.自己做编译器?呵呵...

使用特权

评论回复
7
wangkj|  楼主 | 2007-6-15 12:18 | 只看该作者

没办法,现成版本有点问题

总有有些工具的版本好不对,所以,只好自己动手了。
不能算是自己做的,最多是攒的。就像联想作电脑一样。

这套工具和编译出来的东西确实想共享给大家,可是太大了。
工具要2G空间,攒出来的结果也有92M.

使用特权

评论回复
8
mybao| | 2007-6-15 12:23 | 只看该作者

2.6.21里面就支持at91rm9200?

用的patch,还是完全自己移植的?

使用特权

评论回复
9
参天小树| | 2007-6-15 12:25 | 只看该作者

re

恭喜一下~

使用特权

评论回复
10
wangkj|  楼主 | 2007-6-15 12:52 | 只看该作者

用的patch,然后根据我的板子修改的

看我以前的帖子,这个板子的改动是很大的。连PHY都换了

使用特权

评论回复
11
wangkj|  楼主 | 2007-6-15 14:31 | 只看该作者

另外,谁有在这款芯片上用ac97的经验?

我用的是alc20x系列的芯片,这个应该是比较难。
剩下的usb和TF卡就容易多了。
这3个都完成了,就可以先出100块了。如果谁帮我解决了这个问题,送板子一块。

使用特权

评论回复
12
wangkj|  楼主 | 2007-6-15 17:01 | 只看该作者

看了以下9200的音频部分,ac97确实没有做

而且,可能还需要换晶体,并重新计算PLL,难度不小啊。
暂缓吧,先用USB声卡替换。

使用特权

评论回复
13
qjy_dali| | 2007-6-16 19:13 | 只看该作者

9200没有内置的AC97控制器逻辑啊

使用特权

评论回复
14
飞儿369| | 2007-6-16 22:21 | 只看该作者

我也在玩9200

9200!
9200!
9200!

使用特权

评论回复
15
wangkj|  楼主 | 2007-6-16 22:56 | 只看该作者

SSC 就是ac97的逻辑

使用特权

评论回复
16
老狼| | 2007-6-19 16:58 | 只看该作者

哥们,我给你的邮件,你取了么?

ac97 linux 9200 查一下你的短消息!

使用特权

评论回复
17
wangkj|  楼主 | 2007-6-19 17:17 | 只看该作者

我切换成IE

使用特权

评论回复
18
老狼| | 2007-6-19 20:10 | 只看该作者

已发送到 wangkj@yahoo.com

使用特权

评论回复
19
smartqoo| | 2007-6-21 12:43 | 只看该作者

niu

太厉害了阿

使用特权

评论回复
20
HWM| | 2007-6-21 12:55 | 只看该作者

编译器DIY,真有意思,怪不得现在MADE IN CHINA越来越多了。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

581

主题

9976

帖子

23

粉丝