Re: how to build QEMU with the peripheral device modules

2020-06-23 Thread casmac
Hi , Thanks for the hints. I get better understanding to the kconfig tool now. I added "select TI_DMA" in my DSP kconfig file. It is done. best regards, xiaolei --Original-- From:"Philippe Mathieu-Daudé"

Re: how to build QEMU with the peripheral device modules

2020-06-19 Thread Philippe Mathieu-Daudé
Hi, On 6/19/20 3:24 PM, casmac wrote: > Hi All, >    I am trying to add a DMA peripheral module. In hw/dma directory, a > file  ti_dma.c is added. >    Also, in hw/dma/kconfig, I added the following lines: > config TI_DMA > bool You need some device that 'selects' your device. You can

Re: how to build QEMU with the peripheral device modules

2020-06-19 Thread Christophe de Dinechin
> Le 19 Jun 2020 à 15:24, casmac a écrit : > > Hi All, >I am trying to add a DMA peripheral module. In hw/dma directory, a file > ti_dma.c is added. >Also, in hw/dma/kconfig, I added the following lines: > config TI_DMA > bool >In hw/dma/makefile.ojb, added one line: >

how to build QEMU with the peripheral device modules

2020-06-19 Thread casmac
Hi All, I am trying to add a DMA peripheral module. In hw/dma directory, a file ti_dma.c is added. Also, in hw/dma/kconfig, I added the following lines: config TI_DMA bool In hw/dma/makefile.ojb, added one line: common-obj-$(CONFIG_TI_DMA) += ti_dma.o However, ti_dma.c is not