My friend have diy a mipi csi imx290 camera for me referencing os08a10 interface.
Now, I want to run the diy mipi csi imx290 camera in vim3.
What should I modify?
/boot/env.txt
may be like this:
change os08a10 to imx290 in /boot/env.txt
add imx290.dtbo in /boot/dtb/overlays
done??
by the way, can any body provide me imx290.dtbo? or can I borrow this file from raspberrypi?
Thanks
numbqq
March 24, 2022, 12:55am
2
No, you have to change the dts source to match the camera.
change this file ?
};
};
cpufreq-meson {
compatible = "amlogic, cpufreq-meson";
status = "okay";
};
onewire:onewire {
compatible = "w1-gpio";
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
sensor: sensor {
compatible = "soc, sensor";
status = "disabled";
sensor-name = "os08a10"; /*imx290;os08a10;imx227*/
pinctrl-names="default";
pinctrl-0=<&gen_clk_ee_ao>;
clocks = <&clkc CLKID_GEN_CLK>;
and then rebuild kernel ?
after changed this file, it will automatically generated imx290.dtbo instead of os08a10.dtbo?
@numbqq
Thanks
numbqq
March 24, 2022, 2:39am
4
Got. Thanks.
};
};
cpufreq-meson {
compatible = "amlogic, cpufreq-meson";
status = "okay";
};
onewire:onewire {
compatible = "w1-gpio";
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
sensor: sensor {
compatible = "soc, sensor";
status = "disabled";
sensor-name = "os08a10"; /*imx290;os08a10;imx227*/
pinctrl-names="default";
pinctrl-0=<&gen_clk_ee_ao>;
clocks = <&clkc CLKID_GEN_CLK>;
what need to modify is only this two lines, right?
@numbqq
这样修改完,
重新编译,更新了内核,重启之后,用guvview看,没看到相机的视频画面。
求助。 @numbqq
/boot/env.txt 内容没修改:
overlays=uart3 pwm_f i2c3 i2s watchdog os08a10
by the way请问:
没有imx290.dtbo 会有什么影响吗?
dmesg 打出的log:
链接: https://pan.baidu.com/s/1LE6OzbgONTyeXLpe4NzROA?pwd=kp6u 提取码: kp6u 复制这段内容后打开百度网盘手机App,操作更方便哦
Hii,
If I add this camera in the DTS then will I be able to access this camera from my Application?
I have VIM3 with Android 9. Is driver for this camera available for Android 9?