AN14376: https://docs.nxp.com/bundle/AN14376/page/topics/enable_omnivision_ov564
Wrt this post, I would like to enable camera on similar device FRDM-IMX8MPLUS Device.
I see, I am able to get some values and detection at 0x36 address which is OV5647.
I have tried to use .ko files or .binaries or .dtb of IMX8MPLUS EVK board. Somehow, I am getting errors like repeating logs.
Booting from mmc ...
Failed to load 'imx8mp-evk-ov5647.dtb'
Total boot commands on changinf the .dtb file for ov5647 camera
Hit any key to stop autoboot: 0
Working FDT set to 43000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
starting USB...
Bus usb@38100000: Failed to initialize board for imx8m USB
probe failed, error -62
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38200000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
MMC: no card present
switch to partitions #0, OK
mmc2(part 0) is current device
Scanning mmc 2:1...
MMC: no card present
Unable to open OP-TEE session (err=-5)
mm_communicate failed!
Error: Cannot initialize UEFI sub-system, r = 3
Running BSP bootcmd ...
switch to partitions #0, OK
mmc2(part 0) is current device
Failed to load 'boot.scr'
35633664 bytes read in 163 ms (208.5 MiB/s)
Booting from mmc ...
Failed to load 'imx8mp-evk-ov5647.dtb'
WARN: Cannot load the DT
u-boot=>
u-boot=> /boot/uEnv.txt
Unknown command '/boot/uEnv.txt' - try 'help'
Also, tell me how to remove previous saved environment as the device is stuck at same uboot even after rebooting...
WARN: Cannot load the DT
root@imx8mpfrdm:~# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- 36 -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@imx8mpfrdm:~# i2cget -y 1 0x36 0x00
0x00
root@imx8mpfrdm:~# i2ctransfer -y 1 w2@0x36 0x30 0x0a r2
0x56 0x47 (intended as per sensor)