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.

reconfigure kernel for dm365

Other Parts Discussed in Thread: TVP5146, TVP7002

Hallo everyone,

I have a question about reconfiguring the linux kernel for the DM365. The background is that I work with the DM365EVM from Spectrum Digital (DVSDK 3.10.00.16) and I want to create my own PCB now. On this PCB I don't need any video input interfaces, so it seems logic to me that I can drop any support for e.g. the video encoder ICs (TVP7002 and TVP5146) or the multiplexer which select any of the video encoders as video input. Additionally I don't need any USB support or support for the Keypad module.

Can I reconfigure the kernel (e.g. using 'make menuconfig') and just deselect the support for the modules so that I can simply drop these parts on the PCB?

Can I test this new configuration with the EVM without doing any damage to the EVM?

Do I need to reconfigure the kernel at all or is it possible to just use the original kernel and simply leave the ports for e.g. USB open or terminated?

Do I need to change the 'board-dm365-evm.c' or 'dm365.c' files in the mach-davinci directory of the git-repository too?

Any answers are welcome! Thanks!

Regards,

Matthias

  • MW51194 said:
    Can I reconfigure the kernel (e.g. using 'make menuconfig') and just deselect the support for the modules so that I can simply drop these parts on the PCB?

    Why not?

  • Hi,

    Can I reconfigure the kernel (e.g. using 'make menuconfig') and just deselect the support for the modules so that I can simply drop these parts on the PCB?

    Yes, If you have a defconfig which selects for DM365evm for ex say , davinci_dm365_defconfig first you do clean distclean, next

     $> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- davinci_dm365_defconfig

     $> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig

      which will show you all the list of drivers selected, evm selected, Now for disabling multimedia applications

      you go to Device Drivers-----> in there undo select of Multimedia Support

    similarly you disable USB Support , So that now no Video related and USB drivers are build into the kernel.

    And lastly you are ready to build the uImage by,

    $> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

    Can I test this new configuration with the EVM without doing any damage to the EVM?

    Yes

    Do I need to reconfigure the kernel at all or is it possible to just use the original kernel and simply leave the ports for e.g. USB open or terminated?

    I didn't get your question can you elaborate a more on it.

    Do I need to change the 'board-dm365-evm.c' or 'dm365.c' files in the mach-davinci directory of the git-repository too?

    I would suggest you not doing this, the care will already be taken for independent driver building.

    Regards,

    --Prabhakar Lad

  • Thank you for your answers. I've tried to reconfigure the kernel and then build it the way you had described it and it worked!

    My third question was, if I have built-in support for e.g. the TVP7002, but don't have one on the PCB (because I don't need one), would this kernel configuration still work (or do I need the device on the PCB, for which I have built-in support)?

    Regards,

    Matthias

  • Hi,

    My third question was, if I have built-in support for e.g. the TVP7002, but don't have one on the PCB (because I don't need one), would this kernel configuration still work (or do I need the device on the PCB, for which I have built-in support)?

    You can any day configure your kernel as specified above If you dont have it on your PCB just disable it.

    "would this kernel configuration still work" yes it should work, without any issues.

    Regards,

    --Prabhakar Lad