Camera board connection issue

Hello,

I am trying to re-flash my camera board firmware. I've previously used it successfully with the adi_tof_demo application in conjunction with the dragonboard with a USB relay to a host PC, but now when I try to do the same, I'm getting issues on the camera board during the setup process.

Specifically, when I plug the 5V connector into the camera board, the DS4 LED glows dimly. When I power up the dragonboard, the LED turns off and the dragonboard goes through its normal boot process. Then, I press S3 and nothing happens. Any idea why I might have this issue?

Thanks,

John

  • 0
    •  Analog Employees 
    on Feb 10, 2021 9:29 AM 25 days ago

    Hi,

    Can you connect a monitor and a keyboard+mouse tot the Dragonboard? And then see if it boots? And if it does, open up a terminal and run:

    dmesg > dmesg_on_boot.log

    and then attach dmesg_on_boot.log here on this discussion thread?

  • Hi DNechita, please find the dmesg_on_boot.log content below.


    [ 0.186792] vdso: 2 pages (1 code @ ffff000008a47000, 1 data @ ffff000008fc4000)
    [ 0.186808] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.187641] DMA: preallocated 256 KiB pool for atomic allocations
    [ 0.188001] Serial: AMBA PL011 UART driver
    [ 0.206607] irq: no irq domain found for /hexagon-smp2p/slave-kernel !
    [ 0.207929] irq: no irq domain found for /wcnss-smp2p/slave-kernel !
    [ 0.241621] HugeTLB registered 2 MB page size, pre-allocated 0 pages
    [ 0.242647] ACPI: Interpreter disabled.
    [ 0.244148] vgaarb: loaded
    [ 0.244432] SCSI subsystem initialized
    [ 0.244598] libata version 3.00 loaded.
    [ 0.244960] usbcore: registered new interface driver usbfs
    [ 0.245022] usbcore: registered new interface driver hub
    [ 0.245135] usbcore: registered new device driver usb
    [ 0.245725] media: Linux media interface: v0.10
    [ 0.245772] Linux video capture interface: v2.00
    [ 0.245816] pps_core: LinuxPPS API ver. 1 registered
    [ 0.245822] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.245847] PTP clock support registered
    [ 0.245965] dmi: Firmware registration failed.
    [ 0.248840] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.250045] clocksource: Switched to clocksource arch_sys_counter
    [ 0.250218] VFS: Disk quotas dquot_6.6.0
    [ 0.250271] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.250531] pnp: PnP ACPI: disabled
    [ 0.258710] NET: Registered protocol family 2
    [ 0.259276] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.259363] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
    [ 0.259505] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.259571] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.259605] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.259755] NET: Registered protocol family 1
    [ 0.260019] RPC: Registered named UNIX socket transport module.
    [ 0.260026] RPC: Registered udp transport module.
    [ 0.260032] RPC: Registered tcp transport module.
    [ 0.260037] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.260047] PCI: CLS 0 bytes, default 128
    [ 0.260215] Unpacking initramfs...
    [ 0.260226] Initramfs unpacking failed: junk in compressed archive
    [ 0.260723] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [ 0.260981] kvm [1]: HYP mode not available
    [ 0.261862] s1: Bringing 0uV into 375000-375000uV
    [ 0.262014] audit: initializing netlink subsys (disabled)
    [ 0.262086] audit: type=2000 audit(0.259:1): initialized
    [ 0.262430] s3: Bringing 0uV into 375000-375000uV
    [ 0.262646] workingset: timestamp_bits=46 max_order=18 bucket_order=0
    [ 0.262723] s4: Bringing 0uV into 1800000-1800000uV
    [ 0.263233] l1: supplied by s3
    [ 0.263266] l1: Bringing 0uV into 375000-375000uV
    [ 0.263739] l2: supplied by s3
    [ 0.263773] l2: Bringing 0uV into 1200000-1200000uV
    [ 0.264190] l3: supplied by s3
    [ 0.264242] l3: Bringing 0uV into 375000-375000uV
    [ 0.264615] l4: supplied by s4
    [ 0.264649] l4: Bringing 0uV into 1750000-1750000uV
    [ 0.265079] l5: supplied by s4
    [ 0.265113] l5: Bringing 0uV into 1750000-1750000uV
    [ 0.265539] l6: supplied by s4
    [ 0.265593] l6: Bringing 0uV into 1800000-1800000uV
    [ 0.265970] l7: supplied by s4
    [ 0.266005] l7: Bringing 0uV into 1750000-1750000uV
    [ 0.266405] l8: Bringing 0uV into 1750000-1750000uV
    [ 0.266796] l9: Bringing 0uV into 1750000-1750000uV
    [ 0.267188] l10: Bringing 0uV into 1750000-1750000uV
    [ 0.267591] l11: Bringing 0uV into 1750000-1750000uV
    [ 0.267994] l12: Bringing 0uV into 1750000-1750000uV
    [ 0.268444] l13: Bringing 0uV into 1750000-1750000uV
    [ 0.268865] l14: Bringing 0uV into 1750000-1750000uV
    [ 0.269283] l15: Bringing 0uV into 1750000-1750000uV
    [ 0.270166] l16: Bringing 0uV into 1750000-1750000uV
    [ 0.270612] l17: Bringing 0uV into 3300000-3300000uV
    [ 0.271633] l18: Bringing 0uV into 1750000-1750000uV
    [ 0.273260] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.274139] NFS: Registering the id_resolver key type
    [ 0.274160] Key type id_resolver registered
    [ 0.274166] Key type id_legacy registered
    [ 0.274178] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.274463] 9p: Installing v9fs 9p2000 file system support
    [ 0.277155] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.277249] io scheduler noop registered
    [ 0.277412] io scheduler cfq registered (default)
    [ 0.279358] libphy: mdio_driver_register: phy-bcm-ns2-pci
    [ 0.290525] xenfs: not registering filesystem on non-xen platform
    [ 0.294909] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.296986] SuperH (H)SCI(F) driver initialized
    [ 0.297619] msm_serial 78af000.serial: msm_serial: detected port #1
    [ 0.297713] msm_serial 78af000.serial: uartclk = 19200000
    [ 0.297773] 78af000.serial: ttyMSM1 at MMIO 0x78af000 (irq = 137, base_baud = 1200000) is a MSM
    [ 0.298177] msm_serial 78b0000.serial: msm_serial: detected port #0
    [ 0.298254] msm_serial 78b0000.serial: uartclk = 7372800
    [ 0.298308] 78b0000.serial: ttyMSM0 at MMIO 0x78b0000 (irq = 138, base_baud = 460800) is a MSM
    [ 0.298327] msm_serial: console setup on port #0
    [ 1.248418] console [ttyMSM0] enabled
    [ 1.253542] msm_serial: driver initialized
    [ 1.257540] [drm] Initialized
    [ 1.262549] irq: no irq domain found for /soc/mdss@1a00000 !
    [ 1.264389] irq: no irq domain found for /soc/mdss@1a00000 !
    [ 1.270038] clk: couldn't get parent clock 0 for /soc/mdss@1a00000/dsi@1a98000
    [ 1.285113] loop: module loaded
    [ 1.286434] hisi_sas: driver version v1.6
    [ 1.290561] spi_qup 78b7000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
    [ 1.292199] spmi spmi-0: PMIC Arb Version-2 (0x20010000)
    [ 1.319822] libphy: Fixed MDIO Bus: probed
    [ 1.320674] tun: Universal TUN/TAP device driver, 1.6
    [ 1.322816] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [ 1.329950] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
    [ 1.334013] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [ 1.339927] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
    [ 1.345643] igb: Copyright (c) 2007-2014 Intel Corporation.
    [ 1.352680] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [ 1.358144] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [ 1.366221] sky2: driver version 1.30
    [ 1.372641] usbcore: registered new interface driver asix
    [ 1.375771] usbcore: registered new interface driver ax88179_178a
    [ 1.381136] usbcore: registered new interface driver cdc_ether
    [ 1.387217] usbcore: registered new interface driver net1080
    [ 1.392938] usbcore: registered new interface driver cdc_subset
    [ 1.398758] usbcore: registered new interface driver zaurus
    [ 1.404413] usbcore: registered new interface driver cdc_ncm
    [ 1.410130] VFIO - User Level meta-driver version: 0.3
    [ 1.418792] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.420731] ehci-pci: EHCI PCI platform driver
    [ 1.427331] ehci-platform: EHCI generic platform driver
    [ 1.431915] ehci-exynos: EHCI EXYNOS driver
    [ 1.436979] ehci-msm: Qualcomm On-Chip EHCI Host Controller
    [ 1.441144] msm_hsusb_host 78d9000.ehci: unable to find transceiver
    [ 1.446655] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 1.452769] ohci-pci: OHCI PCI platform driver
    [ 1.459101] ohci-platform: OHCI generic platform driver
    [ 1.463636] ohci-exynos: OHCI EXYNOS driver
    [ 1.469490] usbcore: registered new interface driver usb-storage
    [ 1.472894] usbcore: registered new interface driver usbserial
    [ 1.479051] usbcore: registered new interface driver usbserial_generic
    [ 1.484685] usbserial: USB Serial support registered for generic
    [ 1.501498] usb3503 usb2513: switched to HUB mode
    [ 1.501517] usb3503 usb2513: usb3503_probe: probed in hub mode
    [ 1.506746] mousedev: PS/2 mouse device common for all mice
    [ 1.511820] input: pm8941_pwrkey as /devices/platform/soc/200f000.spmi/spmi-0/0-00/200f000.spmi:pm8916@0:pwrkey@800/input/input0
    [ 1.517582] i2c /dev entries driver
    [ 1.529116] i2c_qup 78b6000.i2c:
    tx channel not available
    [ 1.532199] i2c_qup 78b8000.i2c:
    tx channel not available
    [ 1.539319] 3-0039 supply dvdd not found, using dummy regulator
    [ 1.545371] 3-0039 supply pvdd not found, using dummy regulator
    [ 1.551237] 3-0039 supply a2vdd not found, using dummy regulator
    [ 1.572672] i2c_qup 78ba000.i2c:
    tx channel not available
    [ 1.576650] qcom-tsens 4a8000.thermal-sensor: tsens calibration failed
    [ 1.580395] sdhci: Secure Digital Host Controller Interface driver
    [ 1.585048] sdhci: Copyright(c) Pierre Ossman
    [ 1.591830] Synopsys Designware Multimedia Card Interface Driver
    [ 1.596564] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.654054] mmc0: SDHCI controller on 7824900.sdhci [7824900.sdhci] using ADMA 64-bit
    [ 1.654614] sdhci_msm 7864900.sdhci: Got CD GPIO
    [ 1.718145] mmc1: SDHCI controller on 7864900.sdhci [7864900.sdhci] using ADMA 64-bit
    [ 1.720152] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.726504] usbcore: registered new interface driver usbhid
    [ 1.731065] usbhid: USB HID core driver
    [ 1.739375] remoteproc remoteproc0: 4080000.hexagon is available
    [ 1.740315] remoteproc remoteproc0: Direct firmware load for mba.mbn failed with error -2
    [ 1.746469] remoteproc remoteproc0: powering up 4080000.hexagon
    [ 1.748162] usbcore: registered new interface driver snd-usb-audio
    [ 1.750165] apq8016-lpass-cpu 7708000.lpass: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
    [ 1.750222] apq8016-lpass-cpu 7708000.lpass: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
    [ 1.750289] apq8016-lpass-cpu 7708000.lpass: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
    [ 1.750368] apq8016-lpass-cpu 7708000.lpass: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
    [ 1.752508] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000: PMIC REV: 1 CODEC Version: 1
    [ 1.754547] qcom-apq8016-sbc 7702000.sound: hdmi-hifi.0 <-> Quatenary MI2S mapping ok
    [ 1.754707] qcom-apq8016-sbc 7702000.sound: multicodec <-> Primary MI2S mapping ok
    [ 1.754853] qcom-apq8016-sbc 7702000.sound: multicodec <-> Tertiary MI2S mapping ok
    [ 1.757607] NET: Registered protocol family 10
    [ 1.758463] NET: Registered protocol family 17
    [ 1.758540] 9pnet: Installing 9P2000 support
    [ 1.758597] Key type dns_resolver registered
    [ 1.758745] NET: Registered protocol family 42
    [ 1.760185] Registered cp15_barrier emulation handler
    [ 1.760195] Registered setend emulation handler
    [ 1.760689] registered taskstats version 1
    [ 1.767501] msm_iommu 1f00000.qcom,iommu: invalid resource
    [ 1.767613] msm_iommu 1f00000.qcom,iommu: device gfx_iommu (model: 500) mapped at ffff000009300000, with 2 ctx banks
    [ 1.767631] msm_iommu 1f00000.qcom,iommu: iommu sec: pgtable size: 94208
    [ 1.768471] msm_iommu_ctx 1f09000.qcom,iommu-ctx: context gfx3d_user using bank 1
    [ 1.768949] msm_iommu_ctx 1f0a000.qcom,iommu-ctx: context gfx3d_priv using bank 2
    [ 1.770629] msm_iommu 1e00000.qcom,iommu: device apps_iommu (model: 500) mapped at ffff000009340000, with 20 ctx banks
    [ 1.771182] msm_iommu_ctx 1e22000.qcom,iommu-ctx: context jpeg_enc0 using bank 2
    [ 1.771549] msm_iommu_ctx 1e23000.qcom,iommu-ctx: context vfe using bank 3
    [ 1.771904] msm_iommu_ctx 1e24000.qcom,iommu-ctx: context mdp_0 using bank 4
    [ 1.772258] msm_iommu_ctx 1e25000.venus_ns: context venus_ns using bank 5
    [ 1.772606] msm_iommu_ctx 1e26000.qcom,iommu-ctx: context cpp using bank 6
    [ 1.772955] msm_iommu_ctx 1e27000.qcom,iommu-ctx: context mDSP using bank 7
    [ 1.773309] msm_iommu_ctx 1e28000.qcom,iommu-ctx: context gss using bank 8
    [ 1.773648] msm_iommu_ctx 1e29000.qcom,iommu-ctx: context a2 using bank 9
    [ 1.774063] msm_iommu_ctx 1e32000.qcom,iommu-ctx: context mdp_1 using bank 18
    [ 1.774454] msm_iommu_ctx 1e33000.venus_sec_pixel: context venus_sec_pixel using bank 19
    [ 1.774860] msm_iommu_ctx 1e34000.venus_sec_bitstream: context venus_sec_bitstream using bank 20
    [ 1.775253] msm_iommu_ctx 1e35000.venus_sec_non_pixel: context venus_sec_non_pixel using bank 21
    [ 1.775651] msm_iommu_ctx 1e36000.qcom,iommu-ctx: context venus_fw using bank 22
    [ 1.776037] msm_iommu_ctx 1e37000.qcom,iommu-ctx: context periph_rpm using bank 23
    [ 1.776380] msm_iommu_ctx 1e38000.qcom,iommu-ctx: context periph_CE using bank 24
    [ 1.776730] msm_iommu_ctx 1e39000.qcom,iommu-ctx: context periph_BLSP using bank 25
    [ 1.777076] msm_iommu_ctx 1e3a000.qcom,iommu-ctx: context periph_SDC1 using bank 26
    [ 1.777424] msm_iommu_ctx 1e3b000.qcom,iommu-ctx: context periph_SDC2 using bank 27
    [ 1.777772] msm_iommu_ctx 1e3c000.qcom,iommu-ctx: context periph_audio using bank 28
    [ 1.778141] msm_iommu_ctx 1e3d000.qcom,iommu-ctx: context periph_USB_HS1 using bank 29
    [ 1.779263] 1a00000.mdss supply vdd not found, using dummy regulator
    [ 1.779679] msm 1a00000.mdss: bound 1a01000.mdp (ops mdp5_ops)
    [ 1.779752] 1a98000.dsi supply gdsc not found, using dummy regulator
    [ 1.779893] 1a98000.dsi supply gdsc not found, using dummy regulator
    [ 1.780444] msm 1a00000.mdss: bound 1a98000.dsi (ops dsi_ops)
    [ 1.780461] msm 1a00000.mdss: bound 1c00000.adreno-3xx (ops a3xx_ops)
    [ 1.797750] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.797751] [drm] Driver supports precise vblank timestamp query.
    [ 1.859459] random: fast init done
    [ 1.911013] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [ 1.915532] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [ 1.921678] GPT:disk_guids don't match.
    [ 1.921682] GPT:partition_entry_array_crc32 values don't match: 0xacd89e84 != 0xab54d286
    [ 1.921685] GPT: Use GNU Parted to correct GPT errors.
    [ 1.921726] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9
    [ 1.985729] mmc0: new HS200 MMC card at address 0001
    [ 2.002663] mmcblk0: mmc0:0001 S10008 7.13 GiB
    [ 2.018808] mmcblk0boot0: mmc0:0001 S10008 partition 1 4.00 MiB
    [ 2.033740] mmcblk0boot1: mmc0:0001 S10008 partition 2 4.00 MiB
    [ 2.048845] mmcblk0rpmb: mmc0:0001 S10008 partition 3 4.00 MiB
    [ 2.090946] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29
    [ 2.185526] remoteproc remoteproc0: Direct firmware load for mba.mbn failed with error -2
    [ 2.185636] remoteproc remoteproc0: request_firmware failed: -2
    [ 2.259574] Console: switching to colour frame buffer device 240x67
    [ 2.322139] msm 1a00000.mdss: fb0: msm frame buffer device
    [ 2.343129] msm_otg 78d9000.phy: OTG regs = ffff00000931a000
    [ 2.451774] msm_hsusb_host 78d9000.ehci: EHCI Host Controller
    [ 2.451813] msm_hsusb_host 78d9000.ehci: new USB bus registered, assigned bus number 1
    [ 2.456777] msm_hsusb_host 78d9000.ehci: irq 149, io mem 0x078d9000
    [ 2.469006] cpu cpu0: _opp_add: duplicate OPPs detected. Existing: freq: 200000000, volt: 1050000, enabled: 1. New: freq: 200000000, volt: 1050000, enabled: 1
    [ 2.470517] cpu cpu1: opp_list_debug_create_link: Failed to create link
    [ 2.484732] msm_hsusb_host 78d9000.ehci: USB 2.0 started, EHCI 1.00
    [ 2.484804] usb usb1: runtime PM trying to activate child device usb1 but parent (78d9000.ehci) is not active
    [ 2.491499] hub 1-0:1.0: USB hub found
    [ 2.491534] hub 1-0:1.0: 1 port detected
    [ 2.511188] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
    [ 2.515303] cpu cpu2: opp_list_debug_create_link: Failed to create link
    [ 2.521949] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
    [ 2.528293] cpu cpu3: opp_list_debug_create_link: Failed to create link
    [ 2.535236] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
    [ 2.542620] input: gpio_keys as /devices/platform/gpio_keys/input/input1
    [ 2.548743] hctosys: unable to open rtc device (rtc0)
    [ 2.555571] ALSA device list:
    [ 2.560136] #0: DB410c
    [ 2.566815] EXT4-fs (mmcblk1p9): couldn't mount as ext3 due to feature incompatibilities
    [ 2.683108] EXT4-fs (mmcblk1p9): recovery complete
    [ 2.683841] EXT4-fs (mmcblk1p9): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.686820] VFS: Mounted root (ext4 filesystem) on device 179:9.
    [ 2.698396] devtmpfs: mounted
    [ 2.701443] Freeing unused kernel memory: 1024K (ffff800000ec0000 - ffff800000fc0000)
    [ 2.818053] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
    [ 2.868351] systemd[1]: System time before build time, advancing clock.
    [ 2.928971] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 2.971594] hub 1-1:1.0: USB hub found
    [ 2.971805] hub 1-1:1.0: 3 ports detected
    [ 3.627198] systemd-journald[1475]: Received request to flush runtime journal from PID 1
    [ 4.019988] msm_cci 1b0c000.qcom,cci: Entity type for entity msm_cci was not initialized!
    [ 4.020059] msm_cci_init_gpio_params:1390 gpio count 0
    [ 4.116726] iommu: Adding device 1d00000.video-codec to group 0
    [ 4.119672] 1d00000.video-codec:firmware: assigned reserved memory node venus@89900000
    [ 4.356343] iommu: Adding device 1b0ac00.camss to group 1
    [ 4.412531] a204000.wcnss supply vddcx not found, using dummy regulator
    [ 4.415711] remoteproc remoteproc1: a204000.wcnss is available
    [ 4.416478] addi903x 1-0064: addi903x_probe: Enter, i2c addr = 0x64
    [ 4.416522] 1b0c000.qcom,cci supply qcom,gdscr-vdd not found, using dummy regulator
    [ 4.416804] msm_cci_init:1015: hw_version = 0x10000008
    [ 4.420974] addi903x 1-0064: Reset LOW
    [ 4.421079] addi903x 1-0064: s_power 1
    [ 4.421081] addi903x 1-0064: addi903x_set_power_on
    [ 4.421527] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.422124] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.422671] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.423143] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.423598] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.428817] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.436443] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.441658] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.445386] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.449127] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.453897] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.459013] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.464050] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.464699] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.469090] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.474109] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.476377] addi903x 1-0064: power on complete
    [ 4.476383] addi903x 1-0064: AD903X detected at address 0x64
    [ 4.476387] addi903x 1-0064: s_power 0
    [ 4.476390] addi903x 1-0064: addi903x_set_power_off
    [ 4.476829] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.477387] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.479136] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.484190] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.489228] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.494251] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.499306] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.504310] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.505035] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.509368] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.510070] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.512242] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.512778] msm_cci_irq:1298 MASTER_0 error 0x8000000
    [ 4.512879] addi903x 1-0064: power off complete
    [ 4.512883] addi903x 1-0064: addi903x_entity_init_cfg: Enter
    [ 4.512887] addi903x 1-0064: set_fmt: 0 640x960
    [ 4.581738] addi903x 1-0064: addi903x_open: Enter
    [ 4.581742] addi903x 1-0064: addi903x_entity_init_cfg: Enter
    [ 4.581747] addi903x 1-0064: set_fmt: 0 640x960
    [ 4.663611] remoteproc remoteproc1: powering up a204000.wcnss
    [ 4.669935] remoteproc remoteproc1: Booting fw image wcnss.mdt, size 7260
    [ 4.920316] addi903x 1-0064: addi903x_open: Enter
    [ 4.920340] addi903x 1-0064: addi903x_entity_init_cfg: Enter
    [ 4.926288] addi903x 1-0064: set_fmt: 0 640x960
    [ 4.926307] addi903x 1-0064: set_fmt: 3008 640x960
    [ 5.218269] remoteproc remoteproc1: remote processor a204000.wcnss is now up
    [ 5.349626] qcom_wcnss_ctrl remoteproc1:smd-edge.WCNSS_CTRL.-1.-1: WCNSS Version 1.5 1.2
    [ 5.353708] coresight-replicator-qcom 824000.replicator: REPLICATOR 1.0 initialized
    [ 5.358607] coresight-etm4x 85c000.etm: ETM 4.0 initialized
    [ 5.359237] coresight-etm4x 85d000.etm: ETM 4.0 initialized
    [ 5.359810] coresight-etm4x 85e000.etm: ETM 4.0 initialized
    [ 5.360394] coresight-etm4x 85f000.etm: ETM 4.0 initialized
    [ 6.218662] 1c00000.adreno-3xx supply vdd not found, using dummy regulator
    [ 6.218745] 1c00000.adreno-3xx supply vddcx not found, using dummy regulator
    [ 6.224667] msm 1a00000.mdss: A306: using IOMMU
    [ 6.233376] adreno 1c00000.adreno-3xx: couldn't get gfx3d1_user context
    [ 6.235964] adreno 1c00000.adreno-3xx: couldn't get gfx3d1_priv context
    [ 7.256999] Bluetooth: Core ver 2.22
    [ 7.257109] NET: Registered protocol family 31
    [ 7.259668] Bluetooth: HCI device and connection manager initialized
    [ 7.263944] Bluetooth: HCI socket layer initialized
    [ 7.270430] Bluetooth: L2CAP socket layer initialized
    [ 7.275046] Bluetooth: SCO socket layer initialized
    [ 7.479949] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 7.479970] Bluetooth: BNEP filters: protocol multicast
    [ 7.484415] Bluetooth: BNEP socket layer initialized
    [ 7.691042] wcn36xx: mac address: 02:00:73:da:41:79
    [ 7.747715] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 8.027188] wcn36xx: firmware WLAN version 'WCN v2.0 RadioPhy vRhea_GF_1.12 with 19.2MHz XO' and CRM version 'CNSS-PR-2-0-1-2-c1-00021'
    [ 8.027219] wcn36xx: firmware API 1.5.1.2, 41 stations, 2 bssids
    [ 8.039225] wcn36xx: FW Cap MCC
    [ 8.044503] wcn36xx: FW Cap P2P
    [ 8.047327] wcn36xx: FW Cap SLM_SESSIONIZATION
    [ 8.050445] wcn36xx: FW Cap DOT11AC_OPMODE
    [ 8.054976] wcn36xx: FW Cap SAP32STA
    [ 8.059054] wcn36xx: FW Cap TDLS
    [ 8.062742] wcn36xx: FW Cap P2P_GO_NOA_DECOUPLE_INIT_SCAN
    [ 8.065979] wcn36xx: FW Cap WLANACTIVE_OFFLOAD
    [ 8.071447] wcn36xx: FW Cap BEACON_OFFLOAD
    [ 8.075886] wcn36xx: FW Cap SCAN_OFFLOAD
    [ 8.079741] wcn36xx: FW Cap BCN_MISS_OFFLOAD
    [ 8.083792] wcn36xx: FW Cap STA_POWERSAVE
    [ 8.088037] wcn36xx: FW Cap STA_ADVANCED_PWRSAVE
    [ 8.091949] wcn36xx: FW Cap BCN_FILTER
    [ 8.096645] wcn36xx: FW Cap RTT
    [ 8.100197] wcn36xx: FW Cap RATECTRL
    [ 8.103226] wcn36xx: FW Cap WOW
    [ 8.107086] wcn36xx: FW Cap WLAN_ROAM_SCAN_OFFLOAD
    [ 8.109850] wcn36xx: FW Cap SPECULATIVE_PS_POLL
    [ 8.114751] wcn36xx: FW Cap IBSS_HEARTBEAT_OFFLOAD
    [ 8.119187] wcn36xx: FW Cap WLAN_SCAN_OFFLOAD
    [ 8.124084] wcn36xx: FW Cap WLAN_PERIODIC_TX_PTRN
    [ 8.128534] wcn36xx: FW Cap ADVANCE_TDLS
    [ 8.133192] wcn36xx: FW Cap BATCH_SCAN
    [ 8.137179] wcn36xx: FW Cap FW_IN_TX_PATH
    [ 8.140742] wcn36xx: FW Cap EXTENDED_NSOFFLOAD_SLOT
    [ 8.144782] wcn36xx: FW Cap CH_SWITCH_V1
    [ 8.149463] wcn36xx: FW Cap HT40_OBSS_SCAN
    [ 8.153633] wcn36xx: FW Cap UPDATE_CHANNEL_LIST
    [ 8.157563] wcn36xx: FW Cap WLAN_MCADDR_FLT
    [ 8.161972] wcn36xx: FW Cap WLAN_CH144
    [ 8.166125] wcn36xx: FW Cap TDLS_SCAN_COEXISTENCE
    [ 8.169920] wcn36xx: FW Cap LINK_LAYER_STATS_MEAS
    [ 8.174725] wcn36xx: FW Cap EXTENDED_SCAN
    [ 8.179426] wcn36xx: FW Cap DYNAMIC_WMM_PS
    [ 8.183401] wcn36xx: FW Cap MAC_SPOOFED_SCAN
    [ 8.190077] wcn36xx: FW Cap FW_STATS
    [ 8.191794] wcn36xx: FW Cap WPS_PRBRSP_TMPL
    [ 8.195394] wcn36xx: FW Cap BCN_IE_FLT_DELTA
    [ 8.213244] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 8.324469] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 11.932385] msm8916-wcd-digital-codec 771c000.codec: Invalid mclk rate 19200000
    [ 11.933630] msm8916-wcd-digital-codec 771c000.codec: Invalid mclk rate 19200000
    [ 12.049619] msm8916-wcd-digital-codec 771c000.codec: Invalid mclk rate 19200000
    [ 12.112964] msm8916-wcd-digital-codec 771c000.codec: Invalid mclk rate 19200000
    [ 12.454131] Bluetooth: RFCOMM TTY layer initialized
    [ 12.454166] Bluetooth: RFCOMM socket layer initialized
    [ 12.458553] Bluetooth: RFCOMM ver 1.11
    [ 16.553395] EXT4-fs (mmcblk0p29): recovery complete
    [ 16.553424] EXT4-fs (mmcblk0p29): mounted filesystem with ordered data mode. Opts: (null)
    [ 16.694788] EXT4-fs (mmcblk0p24): recovery complete
    [ 16.694817] EXT4-fs (mmcblk0p24): mounted filesystem with ordered data mode. Opts: (null)
    [ 16.783804] EXT4-fs (mmcblk0p23): recovery complete
    [ 16.783830] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: (null)
    [ 16.869733] EXT4-fs (mmcblk0p22): recovery complete
    [ 16.869758] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: (null)
    [ 16.969106] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 608.122053] msm 1a00000.mdss: vblank time out, crtc=0
    [ 608.178054] msm 1a00000.mdss: vblank time out, crtc=0
    [ 687.458046] usb 1-1.1: new low-speed USB device number 3 using msm_hsusb_host
    [ 687.573850] input: PixArt USB Optical Mouse as /devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/0003:093A:2510.0001/input/input2
    [ 687.574590] hid-generic 0003:093A:2510.0001: input: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-78d9000.ehci-1.1/input0
    [ 709.382734] random: crng init done
    [ 776.933840] usb 1-1.1: USB disconnect, device number 3
    [ 782.446048] usb 1-1.1: new full-speed USB device number 4 using msm_hsusb_host
    [ 782.559174] input: MOSART Semi. 2.4G INPUT DEVICE as /devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/0003:062A:4C01.0002/input/input3
    [ 782.618576] hid-generic 0003:062A:4C01.0002: input: USB HID v1.10 Keyboard [MOSART Semi. 2.4G INPUT DEVICE] on usb-78d9000.ehci-1.1/input0
    [ 782.622266] input: MOSART Semi. 2.4G INPUT DEVICE as /devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-1.1:1.1/0003:062A:4C01.0003/input/input4
    [ 782.686529] hid-generic 0003:062A:4C01.0003: input: USB HID v1.10 Mouse [MOSART Semi. 2.4G INPUT DEVICE] on usb-78d9000.ehci-1.1/input1

  • 0
    •  Analog Employees 
    on Feb 11, 2021 9:41 AM 24 days ago in reply to JWilliams823

    The log looks good (the driver for the camera gets initialized).

    Can you run the demo directly on the board? Is it capturing and showing frames?

    If yes, the next thing should be to check if the aditof deamon is running. To do this:

    1. press the S3 button

    2. in a terminal run: ps aux | grep tof

    3. please attach the output here

  • I cannot get frames. When I run aditof-demo, I see the following in the terminal window. I'm not copying/pasting because I can't figure out how to on the OS.

    System initialized

    Initializing camera

    Opening device

    Error eeprom_open: permission denied

    EEPROM not available!

    EEPROM not available!

    EEPROM not available!

    EEPROM calibration data size 100 bytes

    EEPROM not available!

    Failed to read from eeprom

    Failed to read calibration data from eeprom

    Starting device

    Chosen mode: near

    Camera range for mode: near is: 250 mm and 800 mm

    Failed to read firmware from eeprom

    Failed to get frame from device

  • 0
    •  Analog Employees 
    on Feb 12, 2021 9:52 AM 23 days ago in reply to JWilliams823

    Try running the demo with sudo (even though it should had worked without sudo).

    If still doesn't work, please check is the EEPROM driver has been loaded. To do this, run this in a terminal:

    lsmod

    and check if at24 is on the list returned by lsmod.

  • It still didn't work with sudo. at24 is on the list, but it lists 0 under "used by."

  • 0
    •  Analog Employees 
    on Feb 16, 2021 4:42 PM 18 days ago in reply to JWilliams823

    Hi,

    Sorry for late response.

    It's not a problem that lists 0 under "used by". That means that no other drivers use or depend on this at24 driver.

    I can't figure out why your EEPROM cannot be read by the aditof-demo. The EEPROM driver (at24) is there and it should work.

    Can you try to manually read from the EEPROM?

    Open terminal and run:

    cd /sys/bus/i2c/devices/0-0056

    Then read the content of the EEPROM into a file:

    cat eeprom > ~/eeprom_content.bin

    If this doesn't work, some error should be displayed.

    You should check the size of the eeprom_content.bin:

    ls -l ~/

    which should list all files and folders in /home/linaro/

    and should also show the sizes of files in bytes. The expected size is: 131072 bytes.

  • Hi, 

    When I run the cat command, I'm told "cat: eeprom: no such file or directory."

    Under the 0-0056 directory, I see of_node, power, subsystem, modalias, name and uevent.

    Thanks,

    John

  • 0
    •  Analog Employees 
    on Feb 17, 2021 8:03 AM 18 days ago in reply to JWilliams823

    This happened to me once, when I booted the Dragomboard without attaching the 96tof1 camera. I’m thinking that in your case it might be an electrical issue on the i2c wires through which the communication with the EEPROM is done.

    I’m looking into how to get more mesaages from the eeprom driver to see what is going on. And I will get back to you.