Hi
We are developing AM1808 custom device and i'm using WM8974 mono audio codec.
Please let me know how to integrate the WM8974 codec with AM1808 ?
What are files nee to change in Linux and i added the device driver in board file and sound card detected successfully but its shows error while booting.
2148544 bytes read
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-3.3.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2148480 Bytes = 2 MiB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0 (marudham@marudham-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #3 PREEMPT Mon Jul 7 17:47:4
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: AM18x/OMAP-L138 lcdk board
Memory policy: ECC disabled, Data cache writeback
BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space
DaVinci da850/omap-l138/am18x variant 0x1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125384k/125384k available, 5688k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc03fb000 (4044 kB)
.init : 0xc03fb000 - 0xc0424000 ( 164 kB)
.data : 0xc0424000 - 0xc044fd70 ( 176 kB)
.bss : 0xc044fd94 - 0xc0469e2c ( 105 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc0309438 - 0xc0309490
gpiochip_add: registered GPIOs 0 to 31 on device: DaVinci
gpiochip_add: registered GPIOs 32 to 63 on device: DaVinci
gpiochip_add: registered GPIOs 64 to 95 on device: DaVinci
gpiochip_add: registered GPIOs 96 to 127 on device: DaVinci
gpiochip_add: registered GPIOs 128 to 143 on device: DaVinci
DaVinci: 144 gpio irqs
print_constraints: dummy:
NET: Registered protocol family 16
EMAC: MII PHY configured
bio: create slab <bio-0> at 0
SCSI subsystem initialized
i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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 named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 244
io scheduler noop registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found VGA_Monitor panel
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
console [ttyS2] enabled
brd: module loaded
No NAND device found
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[7]: device davinci_mdio-0:07, driver SMSC LAN8710/LAN8720
input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
i2c /dev entries driver
watchdog watchdog: heartbeat 60 sec
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
LCDK HAWK board
soc-audio soc-audio.0: ASoC: Failed to create card debugfs directory
mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 1.86 GiB
mmcblk0: p1 p2 p3
wm8974-codec 1-001a: Failed to add route HPLOUT->Headphone Jack
wm8974-codec 1-001a: dapm: unknown pin MONO_LOUT
wm8974-codec 1-001a: dapm: unknown pin HPLCOM
wm8974-codec 1-001a: dapm: unknown pin HPRCOM
asoc: wm8974-hifi <-> davinci-mcasp.0 mapping ok
ALSA device list:
#0: DA850/OMAP-L138 EVM
TCP cubic registered
NET: Registered protocol family 17
console [netcon0] enabled
netconsole: network logging started
davinci_emac davinci_emac.1: using random MAC addr: ba:03:64:54:cd:17
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 164K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udevd (462): /proc/462/oom_adj is deprecated, please use /proc/462/oom_score_adj instead.
EXT3-fs (mmcblk0p3): warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p3): using internal journal
EXT3-fs (mmcblk0p3): mounted filesystem with writeback data mode
Remounting root file system...
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
logger: mount: mount point /proc/bus/usb does not exist
ALSA: Restoring mixer settings...
Configuring network interfaces... Found hardware: "DA850_OMAP-L138" "" "" "" ""
Hardware is initialized using a generic method
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #1 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #2 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #3 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #4 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #5 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #6 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #7 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #8 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #9 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #10 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #11 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #12 (No such file or directory)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio-0:07, id=7c0f1)
eth0 no wireless extensions.
udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
Thanks
Sangly