Closed ds2k5 closed 2 years ago
Mainline Linux has not merged support for CSI2 embedded metadata yet.
A plain IMX519 driver without that support has been sent to the linux-media list, and that should work against any tree. See https://patchwork.linuxtv.org/project/linux-media/patch/20220927114630.00004a4c@arducam.com/
Please note that the IMX519 driver is contributed by a third party (Arducam) and not Raspberry Pi. The level of support for it provided by Raspberry Pi personnel is low (basic questions only).
In other words, there will be a set of commits in rpi-5.19.y that you can cherry-pick on top of your Qualcomm kernel to add IMX519 support, but it may not be small, and there is the possibility of merge conflicts. Good luck in your non-Raspberry Pi-related task.
Describe the bug
Hi, try to compile the IMX519 for Kernel 5.19.x on a SDM845 (SoC) https://gitlab.com/sdm845-mainline/linux/
Found the Source for IMX519 in your Repo.
https://github.com/raspberrypi/linux/blob/rpi-5.19.y/drivers/media/i2c/imx519.c
But the build fail - somebody so kind to help me ( I am noob and no developer - sorry )
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
obj-$(CONFIG_VIDEO_IMX519) += imx519.o
.config
CONFIG_VIDEO_IMX519=m
When do "make modules"
Steps to reproduce the behaviour
git clone https://gitlab.com/sdm845-mainline/linux/
cd linux
modify the files: drivers/media/i2c/Kconfig & drivers/media/i2c/Makefile (see above in Descripe the bug)
add the file: imx519.c to drivers/media/i2c
make distclean make ARCH=arm64 defconfig sdm845.config
modify the .config in source root dir (see above in Descripe the bug)
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make modules
Device (s)
Other
System
$ uname -a Linux 5.19.7-sdm845 #1 SMP PREEMPT Wed Sep 17 18:35:19 CEST 2022 aarch64 GNU/Linux
Logs
No response
Additional context
No response