天嵌 ARM开发社区

 找回密码
 注册
查看: 2433|回复: 4

移植Linux2.6.38声卡出问题了

[复制链接]
longonly120 发表于 2011-4-27 00:29:55 | 显示全部楼层 |阅读模式
步骤是按手册上来的,声卡驱动没有替换,是直接用Linux2.6.38自带的
出的问题是:
<8>soc-audio soc-audio: binding UDA134X at idx 0
<8>soc-audio soc-audio: CODEC uda134x-hifi not registered
<8>soc-audio soc-audio: platform samsung-audio not registered
<8>soc-audio soc-audio: Registered card 'S3C24XX_UDA134X'
ALSA device list:
  No soundcards found.
然后,dev/文件夹里没有dsp。
起动打印信息如下:
Linux version 2.6.38.1-Wamy (root@e) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #38 Mon Apr 11 22:40:24 CST 2011
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: Wamy2440
Ignoring tag cmdline (using the default kernel command line)
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL onBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.2:/opt/arm_tools/rootfs

ip=192.168.1.6:192.168.1.2:192.168.1.6:255.255.255.0:Wamy2440.Wamy2440.net:eth0:off mem=64MB rw
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60060k/60060k available, 5476k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xf6000000   ( 792 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0037000   ( 188 kB)
      .text : 0xc0037000 - 0xc045c000   (4244 kB)
      .data : 0xc045c000 - 0xc0490780   ( 210 kB)
NR_IRQS:85
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
gpiochip_add: gpios 288..303 (GPIOK) failed to register
gpiochip_add: gpios 320..334 (GPIOL) failed to register
gpiochip_add: gpios 352..353 (GPIOM) failed to register
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (extended precision)
msgmni has been set to 117
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Console: switching to colour frame buffer device 40x30
fb0: s3c2410fb frame buffer device
LCDbacklight initialized
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
loop: module loaded
st: Version 20101219, fixed bufsize 32768, s/g segs 256
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns
s3c24xx-nand s3c2440-nand: NAND ECC disabled
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 453 at 0x0000038a0000
cmdlinepart partition parsing not available
Creating 3 MTD partitions on "NAND":
0x000000000000-0x000000040000 : "Wamy2440_Board_uboot"
0x000000200000-0x000000500000 : "Wamy2440_Board_kernel"
0x000000500000-0x000010000000 : "Wamy2440_Board_yaffs2"
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 10:23:45:67:89:ab
eth0: dm9000e at c4810000,c4814004 IRQ 51 MAC: 10:23:45:67:89:ab (--Wamy--)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.38.1-Wamy ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mousedev: PS/2 mouse device common for all mice
Wamy2440 TouchScreen successfully loaded
input: Wamy2440 TouchScreen as /devices/virtual/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
lirc_dev: IR Remote Control driver registered, major 253
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR LIRC bridge handler initialized
Linux video capture interface: v2.00
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
<8>s3c24xx-iis s3c24xx-iis: dai register s3c24xx-iis
<8>Registered DAI 's3c24xx-iis'
S3C24XX_UDA134X SoC Audio driver
s3c-sdi s3c2440-sdi: running at 299kHz (requested: 300kHz).
<8>soc-audio soc-audio: binding UDA134X at idx 0
<8>soc-audio soc-audio: CODEC uda134x-hifi not registered
<8>soc-audio soc-audio: platform samsung-audio not registered
<8>soc-audio soc-audio: Registered card 'S3C24XX_UDA134X'
ALSA device list:
  No soundcards found.
lib80211: common routines for IEEE802.11 drivers
<8>lib80211_crypt: registered algorithm 'NULL'
s3c-rtc s3c2410-rtc: setting system clock to 2008-11-18 13:37:50 UTC (1227015470)
usb 1-1: new low speed USB device using s3c2410-ohci and address 2
s3c-sdi s3c2440-sdi: powered down.
usb 1-1: New USB device found, idVendor=1c4f, idProduct=0002
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB Keykoard
usb 1-1: Manufacturer: USB
input: USB USB Keykoard as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.0/input/input1
generic-usb 0003:1C4F:0002.0001: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-s3c24xx-1/input0
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.1.6, mask=255.255.255.0, gw=192.168.1.6,
     host=Wamy2440, domain=, nis-domain=Wamy2440.net,
     bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath=
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
generic-usb 0003:1C4F:0002.0002: usb_submit_urb(ctrl) failed
generic-usb 0003:1C4F:0002.0002: timeout initializing reports
input: USB USB Keykoard as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.1/input/input2
generic-usb 0003:1C4F:0002.0002: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-s3c24xx-1/input1
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 188K
zd1211rw: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.38.1-Wamy mod_unload ARMv4 '
insmod: can't insert '/lib/zd1211rw.ko': invalid module format
ov9650: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.38.1-Wamy mod_unload ARMv4 '
insmod: can't insert '/lib/ov9650.ko': invalid module format
/etc/init.d/rcS: line 46: /etc/rc.d/init.d/leds: Permission denied
/etc/init.d/rcS: line 47: /etc/rc.d/init.d/netd: Permission denied
[18/Nov/2008:13:38:16 +0000] boa: server version Boa/0.94.13
[18/Nov/2008:13:38:16 +0000] boa: server built Jul 29 2009 at 14:27:34.
[18/Nov/2008:13:38:16 +0000] boa: starting server pid=450, port 80
Please press Enter to activate this console.
[root@Wamy2440 /]#
[root@Wamy2440 /]#
鬼鬼一哈 发表于 2011-4-28 23:13:34 | 显示全部楼层
我也在移植2.6.38,我的编译器用的是天嵌的4.3.3出现
Memory: 16MB = 16MB total  识别不对。。。。
LZ你的那个最新的yaffs2在哪里下载的,共享下给我。。。我找不到。。。
 楼主| longonly120 发表于 2011-4-28 23:14:38 | 显示全部楼层
:dizzy:怎么没有回我呀
 楼主| longonly120 发表于 2011-4-29 13:23:53 | 显示全部楼层
2# 鬼鬼一哈


yaffs2要用git工具下载最新的
 楼主| longonly120 发表于 2011-4-29 13:33:06 | 显示全部楼层
Memory: 16MB = 16MB total 识别不对,是因为bootloader传递参数不对,我上传了,可到bootloader区下载可以引导2.6.38的uboot
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-7-7 21:52 , Processed in 1.062500 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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