ArduCAM / Arducam_tof_camera

46 stars 18 forks source link

Arducam Time of Flight camera is not recognized by (Raspberry Pi 5) #73

Closed ahmetkca closed 1 month ago

ahmetkca commented 1 month ago
Machine model: Raspberry Pi 5 Model B Rev 1.0 
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
Linux version 6.6.28+rpt-rpi-2712 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22)

I am going through the following tutorial: https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/

I tried to make ToF camera enter into recovery mode and connect the following with dupont line: image and then power on raspberry pi 5 and then wait a little bit and then disconnect it.

However, I don't get any output when running the following command: dmesg | grep arducam

here is the full output of `dmesg`: ``` [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1] [ 0.000000] Linux version 6.6.28+rpt-rpi-2712 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) [ 0.000000] KASLR enabled [ 0.000000] random: crng init done [ 0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0 [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000002000000, size 320 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0000000002000000..0x0000000015ffffff (327680 KiB) map reusable linux,cma [ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable atf@0 [ 0.000000] OF: reserved mem: 0x000000003fd165e0..0x000000003fd16617 (0 KiB) nomap non-reusable nvram@0 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000007ffff] [ 0.000000] node 0: [mem 0x0000000000080000-0x000000003fbfffff] [ 0.000000] node 0: [mem 0x0000000040000000-0x00000001ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff] [ 0.000000] On node 0, zone DMA: 256 pages in unavailable ranges [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 14 pages/cpu s183976 r8192 d37208 u229376 [ 0.000000] pcpu-alloc: s183976 r8192 d37208 u229376 alloc=14*16384 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: detected: Hardware dirty bit management [ 0.000000] CPU features: detected: Spectre-v4 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=2C:CF:67:1F:63:1F vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=272c5e5d-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=CA [ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 521984 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x00000000fbffc000-0x00000000ffffc000] (64MB) [ 0.000000] Memory: 7895808K/8384512K available (13376K kernel code, 2222K rwdata, 4288K rodata, 5056K init, 1213K bss, 161024K reserved, 327680K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 43160 entries in 43 pages [ 0.000000] ftrace: allocated 43 pages with 4 groups [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns [ 0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [ 0.000156] Console: colour dummy device 80x25 [ 0.000160] printk: console [tty1] enabled [ 0.000194] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000) [ 0.000198] pid_max: default: 32768 minimum: 301 [ 0.000221] LSM: initializing lsm=capability,integrity [ 0.000287] Mount-cache hash table entries: 16384 (order: 3, 131072 bytes, linear) [ 0.000314] Mountpoint-cache hash table entries: 16384 (order: 3, 131072 bytes, linear) [ 0.000658] cgroup: Disabling memory control group subsystem [ 0.000803] spectre-v4 mitigation disabled by command-line option [ 0.001091] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.001115] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.001137] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.001201] rcu: Hierarchical SRCU implementation. [ 0.001203] rcu: Max phase no-delay instances is 1000. [ 0.001825] EFI services will not be available. [ 0.001904] smp: Bringing up secondary CPUs ... [ 0.002064] Detected PIPT I-cache on CPU1 [ 0.002107] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1] [ 0.002300] Detected PIPT I-cache on CPU2 [ 0.002334] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1] [ 0.002500] Detected PIPT I-cache on CPU3 [ 0.002529] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1] [ 0.002555] smp: Brought up 1 node, 4 CPUs [ 0.002559] SMP: Total of 4 processors activated. [ 0.002562] CPU features: detected: 32-bit EL0 Support [ 0.002564] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.002566] CPU features: detected: Common not Private translations [ 0.002568] CPU features: detected: CRC32 instructions [ 0.002570] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.002572] CPU features: detected: LSE atomic instructions [ 0.002574] CPU features: detected: Privileged Access Never [ 0.002575] CPU features: detected: RAS Extension Support [ 0.002579] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.002597] spectre-bhb mitigation disabled by command line option [ 0.002613] CPU: All CPU(s) started at EL2 [ 0.002614] alternatives: applying system-wide alternatives [ 0.003874] devtmpfs: initialized [ 0.006886] Enabled cp15_barrier support [ 0.006893] Enabled setend support [ 0.006952] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.006958] futex hash table entries: 1024 (order: 2, 65536 bytes, linear) [ 0.007791] pinctrl core: initialized pinctrl subsystem [ 0.007932] DMI not present or invalid. [ 0.008118] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.008724] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.008770] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.008816] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.008834] audit: initializing netlink subsys (disabled) [ 0.008887] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1 [ 0.009003] thermal_sys: Registered thermal governor 'step_wise' [ 0.009014] cpuidle: using governor menu [ 0.009086] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.009114] ASID allocator initialised with 32768 entries [ 0.009419] Serial: AMBA PL011 UART driver [ 0.010357] bcm2835-mbox 107c013880.mailbox: mailbox enabled [ 0.010714] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2 [ 0.010726] printk: console [ttyAMA10] enabled [ 0.015991] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-04-20T10:53:30, variant start_cd [ 0.019986] raspberrypi-firmware soc:firmware: Firmware hash is d1744d2100000000000000000000000000000000 [ 0.026408] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL [ 0.026410] Modules: 0 pages in range for non-PLT usage [ 0.026412] Modules: 129416 pages in range for PLT usage [ 0.030705] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1 [ 0.031063] iommu: Default domain type: Translated [ 0.031066] iommu: DMA domain TLB invalidation policy: strict mode [ 0.031160] SCSI subsystem initialized [ 0.031196] usbcore: registered new interface driver usbfs [ 0.031205] usbcore: registered new interface driver hub [ 0.031214] usbcore: registered new device driver usb [ 0.031296] pps_core: LinuxPPS API ver. 1 registered [ 0.031298] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.031302] PTP clock support registered [ 0.031577] vgaarb: loaded [ 0.031683] clocksource: Switched to clocksource arch_sys_counter [ 0.031796] VFS: Disk quotas dquot_6.6.0 [ 0.031814] VFS: Dquot-cache hash table entries: 2048 (order 0, 16384 bytes) [ 0.031843] FS-Cache: Loaded [ 0.034364] CacheFiles: Loaded [ 0.035811] NET: Registered PF_INET protocol family [ 0.035953] IP idents hash table entries: 131072 (order: 6, 1048576 bytes, linear) [ 0.038326] tcp_listen_portaddr_hash hash table entries: 4096 (order: 2, 65536 bytes, linear) [ 0.038365] Table-perturb hash table entries: 65536 (order: 4, 262144 bytes, linear) [ 0.038369] TCP established hash table entries: 65536 (order: 5, 524288 bytes, linear) [ 0.038474] TCP bind hash table entries: 65536 (order: 7, 2097152 bytes, linear) [ 0.040070] TCP: Hash tables configured (established 65536 bind 65536) [ 0.040208] MPTCP token hash table entries: 8192 (order: 3, 196608 bytes, linear) [ 0.040323] UDP hash table entries: 4096 (order: 3, 131072 bytes, linear) [ 0.040363] UDP-Lite hash table entries: 4096 (order: 3, 131072 bytes, linear) [ 0.040453] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.040595] RPC: Registered named UNIX socket transport module. [ 0.040598] RPC: Registered udp transport module. [ 0.040599] RPC: Registered tcp transport module. [ 0.040601] RPC: Registered tcp-with-tls transport module. [ 0.040602] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.040607] PCI: CLS 0 bytes, default 64 [ 0.040726] Trying to unpack rootfs image as initramfs... [ 0.047805] kvm [1]: IPA Size Limit: 40 bits [ 0.047828] kvm [1]: GICV region size/alignment is unsafe, using trapping (reduced performance) [ 0.047859] kvm [1]: vgic interrupt IRQ9 [ 0.047873] kvm [1]: VHE mode initialized successfully [ 0.282982] Freeing initrd memory: 17168K [ 0.314856] Initialise system trusted keyrings [ 0.314939] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.314959] zbud: loaded [ 0.315157] NFS: Registering the id_resolver key type [ 0.315164] Key type id_resolver registered [ 0.315166] Key type id_legacy registered [ 0.315171] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.315173] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.315232] F2FS not supported on PAGE_SIZE(16384) != 4096 [ 0.315284] Key type asymmetric registered [ 0.315286] Asymmetric key parser 'x509' registered [ 0.315302] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.315350] io scheduler mq-deadline registered [ 0.315353] io scheduler kyber registered [ 0.315364] io scheduler bfq registered [ 0.315627] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7c502000, parent irq: 26) [ 0.315712] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 27) [ 0.315764] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 28) [ 0.315807] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 29) [ 0.315857] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7d510600, parent irq: 30) [ 0.315900] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 31) [ 0.351460] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.351865] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 33, base_baud = 6000000) is a Broadcom BCM7271 UART [ 0.351916] serial serial0: tty port ttyS0 registered [ 0.352210] iproc-rng200 107d208000.rng: hwrng registered [ 0.352263] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB) [ 0.352490] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe [ 0.354380] brd: module loaded [ 0.355779] loop: module loaded [ 0.355894] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 0.356018] Loading iSCSI transport class v2.0-870. [ 0.356878] usbcore: registered new device driver r8152-cfgselector [ 0.356886] usbcore: registered new interface driver r8152 [ 0.356893] usbcore: registered new interface driver lan78xx [ 0.356899] usbcore: registered new interface driver smsc95xx [ 0.356954] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 0.356974] dwc_otg: FIQ enabled [ 0.356976] dwc_otg: NAK holdoff enabled [ 0.356977] dwc_otg: FIQ split-transaction FSM enabled [ 0.356980] Module dwc_common_port init [ 0.357111] usbcore: registered new interface driver uas [ 0.357119] usbcore: registered new interface driver usb-storage [ 0.357210] mousedev: PS/2 mouse device common for all mice [ 0.365575] rpi-rtc soc:rpi_rtc: registered as rtc0 [ 0.367097] rpi-rtc soc:rpi_rtc: setting system clock to 1970-01-01T00:00:10 UTC (10) [ 0.367428] bcm2835-wdt bcm2835-wdt: Poweroff handler already present! [ 0.367431] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 0.369851] sdhci: Secure Digital Host Controller Interface driver [ 0.369853] sdhci: Copyright(c) Pierre Ossman [ 0.369892] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.370074] ledtrig-cpu: registered to indicate activity on CPUs [ 0.370110] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.370122] hid: raw HID events driver (C) Jiri Kosina [ 0.370140] usbcore: registered new interface driver usbhid [ 0.370142] usbhid: USB HID core driver [ 0.370452] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available [ 0.370804] NET: Registered PF_PACKET protocol family [ 0.370829] Key type dns_resolver registered [ 0.376196] registered taskstats version 1 [ 0.376271] Loading compiled-in X.509 certificates [ 0.378647] Key type .fscrypt registered [ 0.378649] Key type fscrypt-provisioning registered [ 0.379363] brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges: [ 0.379371] brcm-pcie 1000110000.pcie: No bus range found for /axi/pcie@110000, using [bus 00-ff] [ 0.379382] brcm-pcie 1000110000.pcie: MEM 0x1b00000000..0x1bfffffffb -> 0x0000000000 [ 0.379388] brcm-pcie 1000110000.pcie: MEM 0x1800000000..0x1affffffff -> 0x0400000000 [ 0.379395] brcm-pcie 1000110000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000 [ 0.380779] brcm-pcie 1000110000.pcie: Forcing gen 3 [ 0.380976] brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00 [ 0.380979] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.380983] pci_bus 0000:00: root bus resource [mem 0x1b00000000-0x1bfffffffb] (bus address [0x00000000-0xfffffffb]) [ 0.380987] pci_bus 0000:00: root bus resource [mem 0x1800000000-0x1affffffff pref] (bus address [0x400000000-0x6ffffffff]) [ 0.381000] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400 [ 0.381028] pci 0000:00:00.0: PME# supported from D0 D3hot [ 0.381870] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.487688] brcm-pcie 1000110000.pcie: link up, 8.0 GT/s PCIe x1 (!SSC) [ 0.487713] pci 0000:01:00.0: [1344:5416] type 00 class 0x010802 [ 0.487731] pci 0000:01:00.0: reg 0x10: [mem 0x1b00000000-0x1b00003fff 64bit] [ 0.487890] pci 0000:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0000:00:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link) [ 0.499703] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.499715] pci 0000:00:00.0: BAR 8: assigned [mem 0x1b00000000-0x1b000fffff] [ 0.499719] pci 0000:01:00.0: BAR 0: assigned [mem 0x1b00000000-0x1b00003fff 64bit] [ 0.499729] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.499733] pci 0000:00:00.0: bridge window [mem 0x1b00000000-0x1b000fffff] [ 0.499738] pci 0000:00:00.0: Max Payload Size set to 512/ 512 (was 128), Max Read Rq 512 [ 0.499747] pci 0000:01:00.0: Max Payload Size set to 512/ 512 (was 128), Max Read Rq 512 [ 0.499806] pcieport 0000:00:00.0: enabling device (0000 -> 0002) [ 0.499841] pcieport 0000:00:00.0: PME: Signaling with IRQ 38 [ 0.499913] pcieport 0000:00:00.0: AER: enabled with IRQ 38 [ 0.500049] nvme nvme0: pci function 0000:01:00.0 [ 0.500062] nvme 0000:01:00.0: enabling device (0000 -> 0002) [ 0.517261] hwmon hwmon1: temp1_input not attached to any thermal zone [ 0.517266] hwmon hwmon1: temp2_input not attached to any thermal zone [ 0.519240] nvme nvme0: allocated 64 MiB host memory buffer. [ 0.555700] nvme nvme0: 4/0/0 default/read/poll queues [ 0.557608] nvme0n1: p1 p2 [ 0.557750] brcm-pcie 1000110000.pcie: clkreq control enabled [ 0.557816] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges: [ 0.557820] brcm-pcie 1000120000.pcie: No bus range found for /axi/pcie@120000, using [bus 00-ff] [ 0.557831] brcm-pcie 1000120000.pcie: MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000 [ 0.557836] brcm-pcie 1000120000.pcie: MEM 0x1c00000000..0x1effffffff -> 0x0400000000 [ 0.557844] brcm-pcie 1000120000.pcie: IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000 [ 0.557849] brcm-pcie 1000120000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000 [ 0.558923] brcm-pcie 1000120000.pcie: Forcing gen 2 [ 0.558965] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0001:00 [ 0.558968] pci_bus 0001:00: root bus resource [bus 00-ff] [ 0.558972] pci_bus 0001:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb]) [ 0.558975] pci_bus 0001:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff]) [ 0.558987] pci 0001:00:00.0: [14e4:2712] type 01 class 0x060400 [ 0.559013] pci 0001:00:00.0: PME# supported from D0 D3hot [ 0.559893] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.667685] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC) [ 0.667706] pci 0001:01:00.0: [1de4:0001] type 00 class 0x020000 [ 0.667721] pci 0001:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff] [ 0.667729] pci 0001:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff] [ 0.667736] pci 0001:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff] [ 0.667807] pci 0001:01:00.0: supports D1 [ 0.667809] pci 0001:01:00.0: PME# supported from D0 D1 D3hot D3cold [ 0.679692] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.679702] pci 0001:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff] [ 0.679706] pci 0001:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff] [ 0.679711] pci 0001:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff] [ 0.679716] pci 0001:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff] [ 0.679721] pci 0001:00:00.0: PCI bridge to [bus 01] [ 0.679724] pci 0001:00:00.0: bridge window [mem 0x1f00000000-0x1f005fffff] [ 0.679729] pci 0001:00:00.0: Max Payload Size set to 256/ 512 (was 128), Max Read Rq 512 [ 0.679738] pci 0001:01:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 512 [ 0.679798] pcieport 0001:00:00.0: enabling device (0000 -> 0002) [ 0.679830] pcieport 0001:00:00.0: PME: Signaling with IRQ 44 [ 0.679907] pcieport 0001:00:00.0: AER: enabled with IRQ 44 [ 0.679985] rp1 0001:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200 [ 0.679989] rp1 0001:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200 [ 0.679998] rp1 0001:01:00.0: enabling device (0000 -> 0002) [ 0.680895] rp1 0001:01:00.0: chip_id 0x20001927 [ 0.685767] genirq: irq_chip rp1_irq_chip did not update eff. affinity mask of irq 106 [ 0.704509] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 112 (2c:cf:67:1f:63:1f) [ 0.705073] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels [ 0.705355] xhci-hcd xhci-hcd.0: xHCI Host Controller [ 0.705362] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1 [ 0.705806] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810 [ 0.705818] xhci-hcd xhci-hcd.0: irq 137, io mem 0x1f00200000 [ 0.705886] xhci-hcd xhci-hcd.0: xHCI Host Controller [ 0.705889] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2 [ 0.705892] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed [ 0.705944] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06 [ 0.705948] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.705950] usb usb1: Product: xHCI Host Controller [ 0.705953] usb usb1: Manufacturer: Linux 6.6.28+rpt-rpi-2712 xhci-hcd [ 0.705955] usb usb1: SerialNumber: xhci-hcd.0 [ 0.706079] hub 1-0:1.0: USB hub found [ 0.706093] hub 1-0:1.0: 2 ports detected [ 0.706237] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06 [ 0.706241] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.706243] usb usb2: Product: xHCI Host Controller [ 0.706245] usb usb2: Manufacturer: Linux 6.6.28+rpt-rpi-2712 xhci-hcd [ 0.706248] usb usb2: SerialNumber: xhci-hcd.0 [ 0.706337] hub 2-0:1.0: USB hub found [ 0.706348] hub 2-0:1.0: 1 port detected [ 0.706626] xhci-hcd xhci-hcd.1: xHCI Host Controller [ 0.706632] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3 [ 0.707072] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810 [ 0.707084] xhci-hcd xhci-hcd.1: irq 142, io mem 0x1f00300000 [ 0.707146] xhci-hcd xhci-hcd.1: xHCI Host Controller [ 0.707149] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4 [ 0.707152] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed [ 0.707194] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06 [ 0.707197] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.707200] usb usb3: Product: xHCI Host Controller [ 0.707202] usb usb3: Manufacturer: Linux 6.6.28+rpt-rpi-2712 xhci-hcd [ 0.707204] usb usb3: SerialNumber: xhci-hcd.1 [ 0.707304] hub 3-0:1.0: USB hub found [ 0.707317] hub 3-0:1.0: 2 ports detected [ 0.707443] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06 [ 0.707447] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.707449] usb usb4: Product: xHCI Host Controller [ 0.707451] usb usb4: Manufacturer: Linux 6.6.28+rpt-rpi-2712 xhci-hcd [ 0.707453] usb usb4: SerialNumber: xhci-hcd.1 [ 0.707537] hub 4-0:1.0: USB hub found [ 0.707548] hub 4-0:1.0: 1 port detected [ 0.708154] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774 [ 0.708482] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu [ 0.708487] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu [ 0.708492] platform 1000800000.codec: Adding to iommu group 0 [ 0.708502] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu [ 0.708506] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu [ 0.708511] platform 1000880000.pisp_be: Adding to iommu group 0 [ 0.708535] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu [ 0.708538] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu [ 0.708543] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success [ 0.708856] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774 [ 0.709141] platform axi:gpu: bcm2712_iommu_probe_device: MMU 1000005200.iommu [ 0.709146] platform axi:gpu: bcm2712_iommu_device_group: MMU 1000005200.iommu [ 0.709154] platform axi:gpu: Adding to iommu group 1 [ 0.709177] platform axi:gpu: bcm2712_iommu_attach_dev: MMU 1000005200.iommu [ 0.709181] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success [ 0.709571] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774 [ 0.709871] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success [ 0.710682] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO [ 0.710889] mmc1: CQHCI version 5.10 [ 0.711234] of_cfs_init [ 0.711270] of_cfs_init: OK [ 0.711338] clk: Disabling unused clocks [ 0.747156] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit [ 0.898218] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit [ 0.901150] Freeing unused kernel memory: 5056K [ 0.901194] Run /init as init process [ 0.901196] with arguments: [ 0.901197] /init [ 0.901198] splash [ 0.901200] with environment: [ 0.901201] HOME=/ [ 0.901203] TERM=linux [ 0.931854] mmc1: new ultra high speed DDR50 SDIO card at address 0001 [ 1.017080] input: pwr_button as /devices/platform/pwr_button/input/input0 [ 1.060868] brcmstb-i2c 107d508200.i2c: @97500hz registered in interrupt mode [ 1.061030] brcmstb-i2c 107d508280.i2c: @97500hz registered in interrupt mode [ 1.069183] mmc0: new ultra high speed SDR104 SDXC card at address aaaa [ 1.072359] mmcblk0: mmc0:aaaa SR256 238 GiB [ 1.075845] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0 [ 1.106535] mmcblk0: p1 [ 1.106673] mmcblk0: mmc0:aaaa SR256 238 GiB (quirks 0x00004000) [ 1.112360] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu [ 1.115003] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4]) [ 1.116376] Registered IR keymap rc-cec [ 1.116420] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0 [ 1.116467] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input1 [ 1.117832] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc/107c701400.hdmi/sound/card0/input2 [ 1.118314] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4]) [ 1.119677] Registered IR keymap rc-cec [ 1.119726] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1 [ 1.119770] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input3 [ 1.120318] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc/107c706400.hdmi/sound/card1/input4 [ 1.120399] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4]) [ 1.120523] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4]) [ 1.120597] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4]) [ 1.120670] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 1.120740] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 1.121531] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 1 [ 1.123579] vc4-drm axi:gpu: [drm] Cannot find any crtc or sizes [ 1.125666] vc4-drm axi:gpu: [drm] Cannot find any crtc or sizes [ 1.127758] vc4-drm axi:gpu: [drm] Cannot find any crtc or sizes [ 1.412975] EXT4-fs (nvme0n1p2): mounted filesystem fc7a1f9e-4967-4f41-a1f5-1b5927e6c5f9 ro with ordered data mode. Quota mode: none. [ 1.481947] systemd[1]: System time before build time, advancing clock. [ 1.519156] NET: Registered PF_INET6 protocol family [ 1.519520] Segment Routing with IPv6 [ 1.519528] In-situ OAM (IOAM) with IPv6 [ 1.530477] systemd[1]: systemd 252.22-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 1.530487] systemd[1]: Detected architecture arm64. [ 1.531192] systemd[1]: Hostname set to . [ 1.587902] uart-pl011 107d001000.serial: no DMA platform data [ 1.691872] systemd[1]: Queued start job for default target graphical.target. [ 1.720370] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 1.720676] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 1.720923] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty. [ 1.721170] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck. [ 1.721313] systemd[1]: Created slice user.slice - User and Session Slice. [ 1.721399] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 1.721587] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 1.721618] systemd[1]: Expecting device dev-disk-by\x2dpartuuid-272c5e5d\x2d01.device - /dev/disk/by-partuuid/272c5e5d-01... [ 1.721632] systemd[1]: Expecting device dev-ttyAMA10.device - /dev/ttyAMA10... [ 1.721675] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. [ 1.721716] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups. [ 1.721752] systemd[1]: Reached target slices.target - Slice Units. [ 1.721781] systemd[1]: Reached target swap.target - Swaps. [ 1.721811] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. [ 1.721940] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 1.722004] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 1.722258] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket. [ 1.722378] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 1.722505] systemd[1]: Listening on systemd-journald.socket - Journal Socket. [ 1.722647] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 1.722742] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 1.722894] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 1.723722] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 1.724718] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 1.725923] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... [ 1.726186] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab). [ 1.727816] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock... [ 1.729089] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 1.730590] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 1.732575] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 1.734508] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 1.736411] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 1.738356] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 1.740403] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 1.742489] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 1.742827] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). [ 1.748063] systemd[1]: Starting systemd-journald.service - Journal Service... [ 1.749412] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 1.752466] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 1.756218] fuse: init (API version 7.39) [ 1.759969] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 1.761643] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 1.764585] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 1.764902] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 1.765109] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. [ 1.765455] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock. [ 1.765929] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 1.766332] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 1.769519] i2c_dev: i2c /dev entries driver [ 1.769748] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 1.770219] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 1.770466] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 1.770748] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 1.770852] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 1.771083] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 1.771184] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 1.771410] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 1.771509] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 1.771748] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 1.772639] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop. [ 1.773158] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 1.775084] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 1.778069] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 1.778310] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met. [ 1.780327] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 1.781564] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 1.787850] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 1.804633] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables. [ 1.805380] EXT4-fs (nvme0n1p2): re-mounted fc7a1f9e-4967-4f41-a1f5-1b5927e6c5f9 r/w. Quota mode: none. [ 1.812160] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems. [ 1.812479] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 1.812536] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 1.828247] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed... [ 1.829806] systemd[1]: Starting systemd-sysusers.service - Create System Users... [ 1.830146] systemd[1]: Started systemd-journald.service - Journal Service. [ 1.844115] systemd-journald[298]: Received client request to flush runtime journal. [ 1.845799] systemd-journald[298]: File /var/log/journal/31d47bdc3eea4f4c8c2697a6b79e92b2/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 2.131103] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040 [ 2.131609] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1 [ 2.133828] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040 [ 2.150564] mc: Linux media interface: v0.10 [ 2.160623] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2 [ 2.160708] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020 [ 2.160768] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3 [ 2.160801] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020 [ 2.160843] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4 [ 2.160947] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000 [ 2.161816] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0 [ 2.228745] alsactl[417]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 2.285649] videodev: Linux video capture interface: v2.00 [ 2.294207] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.303566] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf' [ 2.303958] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328' [ 2.304312] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.304624] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 2.341765] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned. [ 2.368752] Bluetooth: Core ver 2.22 [ 2.368793] NET: Registered PF_BLUETOOTH protocol family [ 2.368796] Bluetooth: HCI device and connection manager initialized [ 2.368803] Bluetooth: HCI socket layer initialized [ 2.368806] Bluetooth: L2CAP socket layer initialized [ 2.368812] Bluetooth: SCO socket layer initialized [ 2.372144] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu [ 2.375800] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 2.377415] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 2.380468] Bluetooth: HCI UART driver ver 2.3 [ 2.380476] Bluetooth: HCI UART protocol H4 registered [ 2.380513] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 2.380644] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator [ 2.380683] Bluetooth: HCI UART protocol Broadcom registered [ 2.415288] rpivid 1000800000.codec: Device registered as /dev/video19 [ 2.415516] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator [ 2.415638] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu [ 2.451225] pispbe 1000880000.pisp_be: pispbe_probe: HW version: 0x02252700 [ 2.451234] pispbe 1000880000.pisp_be: pispbe_probe: BatchStatus: 0x00000000 [ 2.451237] pispbe 1000880000.pisp_be: pispbe_probe: Status: 0x00000000 [ 2.451239] pispbe 1000880000.pisp_be: Register nodes for group 0 [ 2.453537] pispbe 1000880000.pisp_be: input device node registered as /dev/video20 [ 2.453722] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video21 [ 2.461188] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video22 [ 2.461290] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23 [ 2.461385] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video24 [ 2.461482] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video25 [ 2.461569] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video26 [ 2.461662] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video27 [ 2.461752] pispbe 1000880000.pisp_be: config device node registered as /dev/video28 [ 2.462052] pispbe 1000880000.pisp_be: Register nodes for group 1 [ 2.463047] pispbe 1000880000.pisp_be: input device node registered as /dev/video29 [ 2.463142] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video30 [ 2.463234] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video31 [ 2.464310] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video32 [ 2.464471] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video33 [ 2.464574] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video34 [ 2.464662] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video35 [ 2.464746] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video36 [ 2.466376] pispbe 1000880000.pisp_be: config device node registered as /dev/video37 [ 2.527025] usbcore: registered new interface driver brcmfmac [ 2.674584] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 2.674942] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2 [ 2.784108] Bluetooth: hci0: BCM: chip id 107 [ 2.784332] Bluetooth: hci0: BCM: features 0x2f [ 2.785402] Bluetooth: hci0: BCM4345C0 [ 2.785405] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000 [ 2.785653] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd' Patch [ 3.035549] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 3.035558] Bluetooth: BNEP filters: protocol multicast [ 3.035565] Bluetooth: BNEP socket layer initialized [ 3.064481] Adding 102384k swap on /var/swap. Priority:-2 extents:1 across:102384k SS [ 3.241466] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL) [ 3.241477] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode [ 3.247570] pps pps0: new PPS source ptp0 [ 3.247845] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered. [ 3.266764] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled [ 3.580630] Bluetooth: hci0: BCM: features 0x2f [ 3.582050] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190 [ 3.582058] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382 [ 3.582377] Bluetooth: hci0: BCM: Using default device address (43:45:c0:00:1f:ac) [ 3.599553] Bluetooth: MGMT ver 1.22 [ 3.604346] NET: Registered PF_ALG protocol family [ 4.102105] Bluetooth: RFCOMM TTY layer initialized [ 4.102119] Bluetooth: RFCOMM socket layer initialized [ 4.102129] Bluetooth: RFCOMM ver 1.11 [ 5.656045] EXT4-fs (mmcblk0p1): mounted filesystem 41d77db6-cd19-40fb-9546-e824c5ca2a0a r/w with ordered data mode. Quota mode: none. ```

Here is the /boot/firmware/config.txt

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

dtparam=pciex1_gen=3
#dtoverlay=ov5647
ahmetkca commented 1 month ago

i even tried it on my raspberry pi 4. i got [ 8.132269] arducam-pivariety 10-000c: probe failed

Dion4cen commented 1 month ago

Hi, From the config.txt file, it seems that you do not run the Install_dependencies.sh https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/#step-2-change-the-directory-to-arducam_tof_camera

ahmetkca commented 1 month ago

Hi, From the config.txt file, it seems that you do not run the Install_dependencies.sh https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/#step-2-change-the-directory-to-arducam_tof_camera

Hi thanks for the reply. I tried it on my raspberry pi 5 again but this time I cloned the repo and executed the Install_dependencies.sh but still no luck. here is my /boot/firmware/config.txt (this is raspberry pi 5, Debian 12 bookworm)

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=0

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

dtparam=pciex1_gen=3
#dtoverlay=ov5647
dtoverlay=arducam-pivariety,media-controller=0
ahmetkca commented 1 month ago

Hi, From the config.txt file, it seems that you do not run the Install_dependencies.sh https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/#step-2-change-the-directory-to-arducam_tof_camera

Hi thanks for the reply. I tried it on my raspberry pi 5 again but this time I cloned the repo and executed the Install_dependencies.sh but still no luck. here is my /boot/firmware/config.txt (this is raspberry pi 5, Debian 12 bookworm)

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=0

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

dtparam=pciex1_gen=3
#dtoverlay=ov5647
dtoverlay=arducam-pivariety,media-controller=0

I don't know if this Time of Flight camera is entering into recovery mode successfully.

ahmetkca@raspberrypifive:~ $ dmesg | grep arducam
[    0.704488] platform 1f00128000.csi: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c
[    2.271947] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c
[    2.289308] arducam-pivariety 4-000c: pivariety_read: Reading register 0x103 failed
[    2.289319] arducam-pivariety 4-000c: probe failed

I can't update the firmware

ahmetkca@raspberrypifive:~/Downloads/B0410_Tof_Firmware/aarch64/b0410_tof_firmware $ sudo ./firmware_update -i 4 -m b0410_tof_firmware
[ERROR] Failed to read firmware version
[ERROR] Failed to read sensor id
[INFO] ==================First stage==================
[ERROR] Failed to write register
[ERROR] Write update flag 2 error, ret: -1
[ERROR] The first stage fails, exit the program.

I can provide additional information.

ahmetkca commented 1 month ago

2024-05-27-052259 2024-05-27-061915 2024-05-27-061612 2024-05-27-061555 2024-05-27-061537

2024-05-27-061447 2024-05-27-053601 2024-05-27-052802 2024-05-27-052743

2024-05-27-052653 2024-05-27-052628

Dion4cen commented 1 month ago

Hi, Oh man, thank you so much for your detailed message and the pictures I need. Let's make small changes to save this poor TOF camera. Kindly note that please connect the camera to your Pi.

ahmetkca commented 1 month ago

Hi, Oh man, thank you so much for your detailed message and the pictures I need. Let's make small changes to save this poor TOF camera. Kindly note that please connect the camera to your Pi.

  • Modify dtoverlay=arducam-pivariety,media-controller=0 to dtoverlay=arducam-pivariety in the config.txt file.
  • Change the TOF camera to the CAM 1 port on your Pi 5's board.

Thanks for the reply. I have connected the ToF camera to CAM 1 port and power on the raspberry pi and then modified dtoverlay=arducam-pivariety,media-controller=0 to dtoverlay=arducam-pivariety but still no luck :(

Here is the /boot/firmware/config.txt file:

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=0

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

dtparam=pciex1_gen=3
#dtoverlay=ov5647
dtoverlay=arducam-pivariety

Here is the raspberry pi 5 and ToF connection setup: tof_rpi5_connection

ahmetkca commented 1 month ago

Hi, Oh man, thank you so much for your detailed message and the pictures I need. Let's make small changes to save this poor TOF camera. Kindly note that please connect the camera to your Pi.

  • Modify dtoverlay=arducam-pivariety,media-controller=0 to dtoverlay=arducam-pivariety in the config.txt file.
  • Change the TOF camera to the CAM 1 port on your Pi 5's board.

Thanks for the reply. I have connected the ToF camera to CAM 1 port and power on the raspberry pi and then modified dtoverlay=arducam-pivariety,media-controller=0 to dtoverlay=arducam-pivariety but still no luck :(

Here is the /boot/firmware/config.txt file:

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=0

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

dtparam=pciex1_gen=3
#dtoverlay=ov5647
dtoverlay=arducam-pivariety

Here is the raspberry pi 5 and ToF connection setup: tof_rpi5_connection

@Dion4cen In the dmesg output I still get [ 2.281430] arducam-pivariety 4-000c: probe failed

Dion4cen commented 1 month ago

Hi @ahmetkca The cable to the camera might be flipped over to the wrong side. Try to disconnect the cable, flip it over, and reconnect image

ahmetkca commented 1 month ago

Ok even though I got probe failed in dmesg output but according to https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/#update-firmware you should see the following output if you successfully make the ToF camera go into recovery mode: $ dmesg | grep arducam image

I tried to update the firmware anyways and it was successful this time even though dmesg says otherwise:

ahmetkca@raspberrypifive:~/Downloads/B0410_Tof_Firmware/aarch64/b0410_tof_firmware $ sudo dmesg | grep arducam-
[    2.281430] arducam-pivariety 4-000c: probe failed
ahmetkca@raspberrypifive:~/Downloads/B0410_Tof_Firmware/aarch64/b0410_tof_firmware $ sudo ./firmware_update -i 4 -m b0410     _tof_firmware
[INFO] Firmware Version: 0xFFFFFFFE
[INFO] Sensor ID: 0xFFFFFFFE
[INFO] ==================First stage==================
[INFO] Write update flag 2.
[INFO] Write checksum.
[INFO] Write update flag.
[INFO] Sending... |======================================| ETA: 0h00m05s
[INFO] All data has been sent.
[INFO] Updating...
[SUCCESS] Firmware update successful.
[INFO] Firmware Version: 0x10002
[INFO] Sensor ID: 0x2311
[SUCCESS] ==================First stage success==================
[INFO] ==================Second stage==================
[INFO] Write update flag.
[INFO] Write checksum.
[INFO] Sending... |======================================| ETA: 0h00m02s
[INFO] All data has been sent.
[INFO] Updating...
[SUCCESS] Firmware update successful.
[SUCCESS] ==================Second stage success==================
[SUCCESS] Firmware update successful, please reboot.
ahmetkca@raspberrypifive:~/Downloads/B0410_Tof_Firmware/aarch64/b0410_tof_firmware $ sudo reboot -p --reboot

Broadcast message from root@raspberrypifive on pts/1 (Wed 2024-05-29 01:30:22 EDT):

The system will reboot now!

ahmetkca@raspberrypifive:~/Downloads/B0410_Tof_Firmware/aarch64/b0410_tof_firmware $ Connection to raspberrypifive.local closed by remote host.
Connection to raspberrypifive.local closed.
❯ ssh -a -t -o Compression=yes -i ~/.ssh/id_rsa ahmetkca@raspberrypifive.local
Linux raspberrypifive 6.6.28+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 29 01:30:43 2024
ahmetkca@raspberrypifive:~ $ sudo dmesg | grep arducam
[    0.704615] platform 1f00128000.csi: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c
[    2.221115] arducam-pivariety 4-000c: firmware version: 0x10002
[    2.232612] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c
[    2.422407] rp1-cfe 1f00128000.csi: Using sensor arducam-pivariety 4-000c for capture

After successfully updating the firmware, I continued from pulling the Arducam_tof_camera repo https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/#step-3-installation-driver-dependencies-sdk-opencv

ahmetkca@raspberrypifive:~ $ sudo dmesg  | grep arducam-
[    2.232867] arducam-pivariety 4-000c: firmware version: 0x10002
[    2.468185] rp1-cfe 1f00128000.csi: Using sensor arducam-pivariety 4-000c for capture

Success! Screenshot from 2024-05-29 01-48-41

@Dion4cen Thanks a lot for your help!