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.

How can use support uart with EDMA?

Other Parts Discussed in Thread: AM3352

Hi.

NOW I'm using custom board with am3352 

i'm make  use ti-sdk-am335x-evm-05.05.00.00 in kernel , uboot

Now tested uart2 - Interrupt Mode - baud rate : 115200 is successed

And same mode test that  speed up baud rate : 500000 is feel uneasy.

So I will change uart2   ,  that it is mode EDMA

i'm working..

Kernel config is 

  System Type  ---> 
         TI OMAP2/3/4 Specific Features  ---> 
            <*>   OMAP3 EDMA support

and source change
    arch\arm\mach-omap2 
           serial.c 

                    omap_serial_init_port (...

                           ..........

                            if ( bdata->id == 2 ) // only uart2

                                       omap_up.dma_enaled = true;

But 

   kernel loading and uart2 connect kernel panic

          ##############

 [ 104.433349] omap_get_dma_active_status: un-supported in SDMA wrapper

[ 104.440013] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 104.448453] pgd = c72a0000
[ 104.451272] [00000000] *pgd=87bab831, *pte=00000000, *ppte=00000000
[ 104.457825] Internal error: Oops: 17 [#1]
[ 104.462002] Modules linked in:
[ 104.465192] CPU: 0 Not tainted (3.2.0 #273)
[ 104.469940] PC is at edma_stop+0x20/0xac
[ 104.474034] LR is at omap_stop_dma+0x10/0x14
[ 104.478487] pc : [<c001e57c>] lr : [<c0031410>] psr: 60000193
[ 104.478495] sp : c705fcc0 ip : 00000000 fp : c705fce4
[ 104.490462] r10: c05164a4 r9 : 000000c2 r8 : 00000001
[ 104.495909] r7 : c0513408 r6 : 00000000 r5 : c0513408 r4 : c7956800
[ 104.502715] r3 : c05469b4 r2 : fff00000 r1 : 0000ffff r0 : fffffff0
[ 104.509524] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 104.517056] Control: 10c5387d Table: 872a0019 DAC: 00000015
[ 104.523047] Process click (pid: 944, stack limit = 0xc705e2f0)
[ 104.529128] Stack: (0xc705fcc0 to 0xc7060000)

  ###########################

   What's wrong?

   How can use support EDMA in uart


Thank you

Kind Regards,