This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Re: Welcome to the Texas Instruments Audio Community

Drew Abuan ,

hello,I want to ask you a question .

I change dm6446's kernel from mv_pro_4.0 to mv_pro_5.0,but I meet some troubles.

I have changed the tlv320aic23.c and added some files in directory (/inux-2.6.18_pro500/sound/oss), the files are davinci-aic23.h,davinci-audio.c,davinci-audio.h,davinci-audio-aic23.c,davinci-audio-dma-intfc.c,davinci-audio-dma-intfc.h. At the same time , I change the Kconfig and Makefile.when the kernel is building success, I put it into dm6446,but it boot failed. the boot info as follow:

 drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c7866000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
davinci_interrupt 352: VBUS error workaround (delay coming)
Unable to handle kernel NULL pointer dereference at virtual address 00000144
pgd = c0004000
[00000144] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0
PC is at driver_register+0x18/0xa4
LR is at audio_register_codec+0xa8/0xd4
pc : [<c0205cdc>]    lr : [<c027898c>]    Not tainted
sp : c056ff50  ip : c056ff68  fp : c056ff64
r10: c002d480  r9 : 00000000  r8 : c056ffa0
r7 : 00000000  r6 : 00000000  r5 : c0428d64  r4 : c03ad27c
r3 : 00000005  r2 : 00000000  r1 : c01cc4d4  r0 : c03ad27c
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 5317F
Table: 80004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc056e258)
Stack: (0xc056ff50 to 0xc0570000)
ff40:                                     00000000 c03ad448 c056ff84 c056ff68
ff60: c027898c c0205cd4 c02071e8 00000000 c03ad448 c056e000 c056ff9c c056ff88
ff80: c0027484 c02788f4 00000000 c002d35c c056fff4 c056ffa0 c00330c0 c002747c
ffa0: 00000000 c056ffb0 c0033e88 c0036204 00000000 00000000 c0033028 c004c164
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 00000000 00000000 c056fff8 c004c164 c0033038 723e343c 6f696370
Backtrace:
[<c0205cc4>] (driver_register+0x0/0xa4) from [<c027898c>] (audio_register_codec+0xa8/0xd4)
 r4 = C03AD448
[<c02788e4>] (audio_register_codec+0x0/0xd4) from [<c0027484>] (audio_aic23_init+0x18/0xb8)
 r6 = C056E000  r5 = C03AD448  r4 = 00000000
[<c002746c>] (audio_aic23_init+0x0/0xb8) from [<c00330c0>] (init+0x98/0x26c)
 r5 = C002D35C  r4 = 00000000
[<c0033028>] (init+0x0/0x26c) from [<c004c164>] (do_exit+0x0/0xa24)
Code: e24cb004 e24dd004 e5902004 e1a04000 (e5923144)
 <0>Kernel panic - not syncing: Attempted to kill init!
 <4>davinci_interrupt 352: VBUS error workaround (delay coming)

 Can you tell me what can I do! Thank you for you reply.