Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12340

Kernel: Building V4L2 for CycloneV SoC (Embedded System)

$
0
0

Is it possible to build V4L2 for CycloneV SoC, ARM Cortex A9 architecture?I am trying to use a UVC USB Webcam from my CycloneV SoC?I am getting the kernel from Intel's linux-socfpga distribution.https://github.com/altera-opensource/linux-socfpga/tree/socfpga-5.4.23-lts

I am trying to use the defconfig /arch/arm/configs/socfpga_defconfig

I have added the following configurations to the config file with the hope of building /media/v4l2-core

CONFIG_HAS_IOMEM=yCONFIG_MEDIA_SUPPORT=yCONFIG_MEDIA_CAMERA_SUPPORT=yCONFIG_VIDEO_DEV=yCONFIG_VIDEO_V4L2=y

When I build the modules, this is the list I am getting

  INSTALL drivers/char/hw_random/rng-core.ko  INSTALL drivers/dma/dmatest.ko  INSTALL drivers/i2c/algos/i2c-algo-bit.ko  INSTALL drivers/misc/altera_ilc.ko  INSTALL drivers/misc/altera_sysid.ko  INSTALL drivers/net/ethernet/altera/altera_tse.ko  INSTALL drivers/net/ethernet/intel/e1000e/e1000e.ko  INSTALL drivers/net/ethernet/intel/igb/igb.ko  INSTALL drivers/net/ethernet/intel/ixgbe/ixgbe.ko  INSTALL drivers/net/mdio.ko  INSTALL drivers/nvme/host/nvme-core.ko  INSTALL drivers/nvme/host/nvme.ko  INSTALL drivers/video/fbdev/altvipfb2_drv.ko  INSTALL drivers/video/fbdev/core/cfbcopyarea.ko  INSTALL drivers/video/fbdev/core/cfbfillrect.ko  INSTALL drivers/video/fbdev/core/cfbimgblt.ko  DEPMOD  5.4.23-03461-gb6dad2fd8d54-dirty

Is there a configuration conflict that does not allow me to build V4L2. I read somewhere that V4L2 depends on

!CONFIG_EMBEDDED

Can someone with more knowledge verify this? I have seen embedded systems employ V4L2. If V4L2 is really incompatible with CONFIG_EMBEDDED, how have these other embedded systems been able to include it in their kernel.


Viewing all articles
Browse latest Browse all 12340

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>