DMA assignment

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DMA assignment

2,669件の閲覧回数
carlovalgocela
Contributor III

In the timesys BSP User Guide BSP User Guide for Freescale TWR-VF65GS10 | Timesys Embedded Linux

Linux uses DMA channels on DMA engine 0,mux 0

     UART1 RX - Channel 4
     UART1 TX - Channel 5

     DSPI0 RX - Channel 12
     DSPI0 TX - Channel 13

     SAI2 (I2S2) RX - Channel 20
     SAI2 (I2S2) TX - Channel 21

But when i checked the in the linux  # ls -1 /sys/class/dma

I can see that there are DMA assigned on DMA1:

dma1chan0

dma1chan1

dma1chan10

dma1chan11

dma1chan12

dma1chan13

dma1chan14

I would like to ask if it is possible to reroute DMA1 to DMA0?

I want to configure the Linux to only use DMA0 and the MQX to DMA1.

ラベル(3)
タグ(1)
8 返答(返信)

2,207件の閲覧回数
timesyssupport
Senior Contributor II

Hello Carlo,

Which kernel version is this in regards to? This is the same query in your ticket in our queue, correct?

Thank you,

Timesys Support

0 件の賞賛
返信

2,207件の閲覧回数
carlovalgocela
Contributor III

Hello timesyssupport​,

In this test, i'm using the Kernel 3.1.13.

0 件の賞賛
返信

2,207件の閲覧回数
timesyssupport
Senior Contributor II

Hello Carlo,

Please find the attached patch, where Linux will no longer initialize DMA1. This modifies the vf610 device tree includes file, so all you need to do is apply this patch to your kernel sources, then rebuild your device tree blob for the hardware target (pcm052).

Thanks,

Timesys Support

2,207件の閲覧回数
jackblather
Senior Contributor I

I think you meant the 3.13-x kernel.

2,207件の閲覧回数
carlovalgocela
Contributor III

Yes you are correct.

Thanks for the correction

0 件の賞賛
返信

2,207件の閲覧回数
jackblather
Senior Contributor I

You're Welcome.

0 件の賞賛
返信

2,207件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ please continue with the follow up.

0 件の賞賛
返信

2,207件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can you help to attend this case?

0 件の賞賛
返信