Search the Community
Showing results for 'gpio'.
-
Hi @djurny Just to inform you that, after cleaning out some mess I made, your overlay and armbianEnv.txt update to make the external RTC ds3231 to work, did the job. For my SBC's I use the Banana Pi M2 Zero and v25.5 rolling for Banana Pi M2 Zero running Armbian Linux 6.6.75-current-sunxi My application needs to work in the field as an Access Point with an RTC, the right date and time is important info in the diagnostics of my applications. A remark on the mentioned Armbian release: For using the GPIO pins of the SBC, python3-libgpiod works great. I use USB camera's (V4L2 camera). After any update or upgrade, my USB camera's won't work anymore. Not really a problem for me, because I'm happy as it works right now, no updates or upgrades needed. Thanks again for your great help. Met vriendelijke groet, Ed
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
王类 replied to Hqnicolas's topic in Rockchip CPU Boxes
root@h96-tvbox-3566:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 6.12.57-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Sun Nov 2 13:15:23 UTC 2025 [ 0.000000] KASLR enabled [ 0.000000] Machine model: h96 TVbox 3566 [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x1ff7650c0-0x1ff76783f] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-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 0x0000000000200000-0x00000000efffffff] [ 0.000000] node 0: [mem 0x00000001f0000000-0x00000001ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 128 MiB at 0x00000000e3a00000 on node -1 [ 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 34 pages/cpu s99416 r8192 d31656 u139264 [ 0.000000] pcpu-alloc: s99416 r8192 d31656 u139264 alloc=34*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009 [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=UUID=02d6f139-439e-4f03-b522-ea8c640bdf2c rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=981ba9e7-9a6c-4e13-8b12-c3374087ba24 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u dwmac-rk.phy_addr=1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=981ba9e7-9a6c-4e13-8b12-c3374087ba24 cgroup_enable=memory cgroup_memory=1", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1048064 [ 0.000000] Policy zone: Normal [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x00000000dfa00000-0x00000000e3a00000] (64MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 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] 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] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 320 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: MBI range [296:319] [ 0.000000] GICv3: Using MBI frame 0x00000000fd410000 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=1 [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001281] Console: colour dummy device 80x25 [ 0.001303] printk: legacy console [tty1] enabled [ 0.001519] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001546] pid_max: default: 32768 minimum: 301 [ 0.001667] LSM: initializing lsm=capability,yama,apparmor [ 0.001762] Yama: becoming mindful. [ 0.002092] AppArmor: AppArmor initialized [ 0.002255] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002291] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.006553] rcu: Hierarchical SRCU implementation. [ 0.006578] rcu: Max phase no-delay instances is 1000. [ 0.007050] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.008342] EFI services will not be available. [ 0.008880] smp: Bringing up secondary CPUs ... [ 0.009999] Detected VIPT I-cache on CPU1 [ 0.010105] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 0.010168] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.011420] Detected VIPT I-cache on CPU2 [ 0.011515] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 0.011570] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.012992] Detected VIPT I-cache on CPU3 [ 0.013094] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 0.013149] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 0.013348] smp: Brought up 1 node, 4 CPUs [ 0.013378] SMP: Total of 4 processors activated. [ 0.013387] CPU: All CPU(s) started at EL2 [ 0.013396] CPU features: detected: 32-bit EL0 Support [ 0.013403] CPU features: detected: 32-bit EL1 Support [ 0.013414] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.013423] CPU features: detected: Common not Private translations [ 0.013431] CPU features: detected: CRC32 instructions [ 0.013447] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.013454] CPU features: detected: LSE atomic instructions [ 0.013462] CPU features: detected: Privileged Access Never [ 0.013468] CPU features: detected: RAS Extension Support [ 0.013479] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.013568] alternatives: applying system-wide alternatives [ 0.018533] Memory: 3851236K/4192256K available (16832K kernel code, 2934K rwdata, 11432K rodata, 5248K init, 790K bss, 205556K reserved, 131072K cma-reserved) [ 0.020380] devtmpfs: initialized [ 0.045281] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.045339] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.049748] 23408 pages in range for non-PLT usage [ 0.049777] 514928 pages in range for PLT usage [ 0.050149] pinctrl core: initialized pinctrl subsystem [ 0.051202] DMI not present or invalid. [ 0.055961] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.058258] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.059446] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.060691] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.060779] audit: initializing netlink subsys (disabled) [ 0.061164] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1 [ 0.062444] thermal_sys: Registered thermal governor 'fair_share' [ 0.062457] thermal_sys: Registered thermal governor 'bang_bang' [ 0.062467] thermal_sys: Registered thermal governor 'step_wise' [ 0.062474] thermal_sys: Registered thermal governor 'user_space' [ 0.062575] cpuidle: using governor menu [ 0.063005] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.063244] ASID allocator initialised with 32768 entries [ 0.063588] Serial: AMBA PL011 UART driver [ 0.079115] /vop@fe040000: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 0.079248] /hdmi@fe0a0000: Fixed dependency cycle(s) with /vop@fe040000 [ 0.104599] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.105237] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [ 0.105729] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.106137] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [ 0.106815] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.107233] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [ 0.107690] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.108077] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [ 0.108521] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.108914] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [ 0.111037] /hdmi@fe0a0000: Fixed dependency cycle(s) with /hdmi-con [ 0.111179] /hdmi-con: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 0.118988] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.119013] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.119024] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.119032] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.119042] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.119049] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.119060] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.119067] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.121318] cryptd: max_cpu_qlen set to 1000 [ 0.187082] raid6: neonx8 gen() 1406 MB/s [ 0.255225] raid6: neonx4 gen() 1436 MB/s [ 0.323369] raid6: neonx2 gen() 1319 MB/s [ 0.391507] raid6: neonx1 gen() 1073 MB/s [ 0.459650] raid6: int64x8 gen() 912 MB/s [ 0.527787] raid6: int64x4 gen() 1045 MB/s [ 0.595931] raid6: int64x2 gen() 936 MB/s [ 0.664082] raid6: int64x1 gen() 691 MB/s [ 0.664097] raid6: using algorithm neonx4 gen() 1436 MB/s [ 0.732214] raid6: .... xor() 1100 MB/s, rmw enabled [ 0.732228] raid6: using neon recovery algorithm [ 0.733556] iommu: Default domain type: Translated [ 0.733576] iommu: DMA domain TLB invalidation policy: strict mode [ 0.734901] SCSI subsystem initialized [ 0.735254] libata version 3.00 loaded. [ 0.735625] usbcore: registered new interface driver usbfs [ 0.735699] usbcore: registered new interface driver hub [ 0.735755] usbcore: registered new device driver usb [ 0.736511] pps_core: LinuxPPS API ver. 1 registered [ 0.736525] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.736551] PTP clock support registered [ 0.736611] EDAC MC: Ver: 3.0.0 [ 0.737162] scmi_core: SCMI protocol bus registered [ 0.738840] NetLabel: Initializing [ 0.738854] NetLabel: domain hash size = 128 [ 0.738864] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.738962] NetLabel: unlabeled traffic allowed by default [ 0.739240] vgaarb: loaded [ 0.740044] clocksource: Switched to clocksource arch_sys_counter [ 0.745226] VFS: Disk quotas dquot_6.6.0 [ 0.745299] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.746518] AppArmor: AppArmor Filesystem Enabled [ 0.762179] NET: Registered PF_INET protocol family [ 0.762589] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.836463] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.836699] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.836818] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.837411] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.838375] TCP: Hash tables configured (established 32768 bind 32768) [ 0.838600] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.838728] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.839096] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.839150] NET: Registered PF_XDP protocol family [ 0.839175] PCI: CLS 0 bytes, default 64 [ 0.839616] Trying to unpack rootfs image as initramfs... [ 0.849450] kvm [1]: nv: 554 coarse grained trap handlers [ 0.850093] kvm [1]: IPA Size Limit: 40 bits [ 0.850147] kvm [1]: GICv3: no GICV resource entry [ 0.850160] kvm [1]: disabling GICv2 emulation [ 0.850210] kvm [1]: GIC system register CPU interface enabled [ 0.850255] kvm [1]: vgic interrupt IRQ9 [ 0.850315] kvm [1]: VHE mode initialized successfully [ 0.853418] Initialise system trusted keyrings [ 0.853509] Key type blacklist registered [ 0.853934] workingset: timestamp_bits=44 max_order=20 bucket_order=0 [ 0.854016] zbud: loaded [ 0.854816] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.855484] fuse: init (API version 7.41) [ 0.858338] integrity: Platform Keyring initialized [ 0.932593] xor: measuring software checksum speed [ 0.934529] 8regs : 1719 MB/sec [ 0.936661] 32regs : 1553 MB/sec [ 0.938577] arm64_neon : 1726 MB/sec [ 0.938588] xor: using function: arm64_neon (1726 MB/sec) [ 0.938609] Key type asymmetric registered [ 0.938621] Asymmetric key parser 'x509' registered [ 0.938818] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.939252] io scheduler mq-deadline registered [ 0.939271] io scheduler kyber registered [ 0.939348] io scheduler bfq registered [ 2.140739] Freeing initrd memory: 20564K [ 2.152225] ledtrig-cpu: registered to indicate activity on CPUs [ 2.162563] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 2.162593] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 2.165930] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 2.165958] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 2.169241] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 2.175501] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 25, base_baud = 1500000) is a 16550A [ 2.176112] serial serial0: tty port ttyS1 registered [ 2.177966] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 26, base_baud = 1500000) is a 16550A [ 2.178226] printk: legacy console [ttyS2] enabled [ 2.179993] Serial: AMBA driver [ 2.193516] loop: module loaded [ 2.195458] Key type psk registered [ 2.201340] thunder_xcv, ver 1.0 [ 2.201425] thunder_bgx, ver 1.0 [ 2.201493] nicpf, ver 1.0 [ 2.212937] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.212991] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.213204] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports [ 2.213222] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 2.213303] xhci-hcd xhci-hcd.0.auto: irq 30, io mem 0xfcc00000 [ 2.213819] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.213843] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.213858] usb usb1: Product: xHCI Host Controller [ 2.213870] usb usb1: Manufacturer: Linux 6.12.57-current-rockchip64 xhci-hcd [ 2.213882] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.214743] hub 1-0:1.0: USB hub found [ 2.214812] hub 1-0:1.0: 1 port detected [ 2.215548] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.215587] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 2.215779] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 2.215851] xhci-hcd xhci-hcd.1.auto: irq 31, io mem 0xfd000000 [ 2.216153] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.216182] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 2.216206] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 2.216505] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.216528] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.216543] usb usb2: Product: xHCI Host Controller [ 2.216555] usb usb2: Manufacturer: Linux 6.12.57-current-rockchip64 xhci-hcd [ 2.216567] usb usb2: SerialNumber: xhci-hcd.1.auto [ 2.217325] hub 2-0:1.0: USB hub found [ 2.217394] hub 2-0:1.0: 1 port detected [ 2.218015] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.218264] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12 [ 2.218287] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.218302] usb usb3: Product: xHCI Host Controller [ 2.218314] usb usb3: Manufacturer: Linux 6.12.57-current-rockchip64 xhci-hcd [ 2.218326] usb usb3: SerialNumber: xhci-hcd.1.auto [ 2.219048] hub 3-0:1.0: USB hub found [ 2.219130] hub 3-0:1.0: 1 port detected [ 2.219836] usbcore: registered new interface driver usb-storage [ 2.222714] mousedev: PS/2 mouse device common for all mice [ 2.223443] i2c_dev: i2c /dev entries driver [ 2.229358] rockchip-thermal fe710000.tsadc: Missing tshut mode property, using default (gpio) [ 2.229390] rockchip-thermal fe710000.tsadc: Missing tshut-polarity property, using default (low) [ 2.233395] sdhci: Secure Digital Host Controller Interface driver [ 2.233419] sdhci: Copyright(c) Pierre Ossman [ 2.233468] Synopsys Designware Multimedia Card Interface Driver [ 2.234545] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.237311] arm-scmi arm-scmi.2.auto: Using scmi_smc_transport [ 2.237337] arm-scmi arm-scmi.2.auto: SCMI max-rx-timeout: 30ms [ 2.237556] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 2.237954] arm-scmi arm-scmi.2.auto: SCMI Notifications - Core Enabled. [ 2.238043] arm-scmi arm-scmi.2.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 2.239622] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 2.239958] hid: raw HID events driver (C) Jiri Kosina [ 2.240590] usbcore: registered new interface driver usbhid [ 2.240605] usbhid: USB HID core driver [ 2.242290] rockchip-dfi fe230000.dfi: dfi initialized, dram type: 0x8, channels: 1 [ 2.244433] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available [ 2.246189] NET: Registered PF_INET6 protocol family [ 2.307474] Segment Routing with IPv6 [ 2.307622] In-situ OAM (IOAM) with IPv6 [ 2.307751] NET: Registered PF_PACKET protocol family [ 2.307832] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.308191] Key type dns_resolver registered [ 2.322627] registered taskstats version 1 [ 2.323107] Loading compiled-in X.509 certificates [ 2.342427] zswap: loaded using pool zstd/zbud [ 2.342962] Demotion targets for Node 0: null [ 2.343508] Key type .fscrypt registered [ 2.343523] Key type fscrypt-provisioning registered [ 2.348171] Btrfs loaded, zoned=yes, fsverity=yes [ 2.348460] Key type encrypted registered [ 2.348484] AppArmor: AppArmor sha256 policy hashing enabled [ 2.391112] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected! [ 2.505752] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode. [ 2.505841] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller. [ 2.505859] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a [ 2.505923] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo [ 2.506096] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode. [ 2.506167] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller. [ 2.506186] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a [ 2.506263] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo [ 2.508493] dwmmc_rockchip fe2b0000.mmc: Got CD GPIO [ 2.509670] dwmmc_rockchip fe2c0000.mmc: allocated mmc-pwrseq [ 2.509699] mmc_host mmc2: card is non-removable. [ 2.520556] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.524818] WCN: marlin_init entry! [ 2.525509] of_cfs_init [ 2.525576] of_cfs_init: OK [ 2.544299] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA [ 2.576559] clk: Disabling unused clocks [ 2.577449] PM: genpd: Disabling unused power domains [ 2.626663] mmc1: new HS200 MMC card at address 0001 [ 2.627719] mmcblk1: mmc1:0001 032G74 29.1 GiB [ 2.632265] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.633175] mmcblk1: p1 [ 2.634102] mmcblk1boot0: mmc1:0001 032G74 4.00 MiB [ 2.636494] mmcblk1boot1: mmc1:0001 032G74 4.00 MiB [ 2.638579] mmcblk1rpmb: mmc1:0001 032G74 4.00 MiB, chardev (243:0) [ 2.647995] Freeing unused kernel memory: 5248K [ 2.648340] Run /init as init process [ 2.648354] with arguments: [ 2.648364] /init [ 2.648374] with environment: [ 2.648382] HOME=/ [ 2.648391] TERM=linux [ 2.648399] splash=verbose [ 2.648407] ubootpart=981ba9e7-9a6c-4e13-8b12-c3374087ba24 [ 2.648417] cgroup_enable=memory [ 2.648426] cgroup_memory=1 [ 2.665863] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 100000000Hz, actual 50000000HZ div = 0) [ 2.840151] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 173 [ 2.843621] mmc2: new ultra high speed SDR50 SDIO card at address 390b [ 3.208313] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd [ 3.225766] usb 3-1: New USB device found, idVendor=0bda, idProduct=8156, bcdDevice=31.04 [ 3.225806] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 3.225821] usb 3-1: Product: USB 10/100/1G/2.5G LAN [ 3.225833] usb 3-1: Manufacturer: Realtek [ 3.225844] usb 3-1: SerialNumber: 4013000001 [ 3.386799] usbcore: registered new device driver r8152-cfgselector [ 3.592883] r8152-cfgselector 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 3.720274] r8152 3-1:1.0 eth0: v1.12.13 [ 3.720479] usbcore: registered new interface driver r8152 [ 3.724881] usbcore: registered new interface driver cdc_ether [ 3.727119] usbcore: registered new interface driver cdc_ncm [ 3.814188] rockchip-vop2 fe040000.vop: Adding to iommu group 0 [ 3.830334] rockchip-drm display-subsystem: bound fe040000.vop (ops vop2_component_ops [rockchipdrm]) [ 3.837545] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 3.845616] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver [ 3.846347] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm]) [ 3.847804] rk808-rtc rk808-rtc.6.auto: registered as rtc0 [ 3.849294] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0 [ 3.849556] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.849713] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.851651] rk808-rtc rk808-rtc.6.auto: setting system clock to 2025-11-11T14:23:04 UTC (1762870984) [ 3.914828] dwmac_rk: unknown parameter 'phy_addr' ignored [ 3.916833] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [ 3.916867] rk_gmac-dwmac fe010000.ethernet: IRQ sfty not found [ 3.926725] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input). [ 3.926762] rk_gmac-dwmac fe010000.ethernet: TX delay(0x41). [ 3.926780] rk_gmac-dwmac fe010000.ethernet: RX delay(0x2e). [ 3.926807] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [ 3.926882] rk_gmac-dwmac fe010000.ethernet: clock input from PHY [ 3.932126] rk_gmac-dwmac fe010000.ethernet: init for RGMII [ 3.932639] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 3.932676] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5 [ 3.932692] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [ 3.932704] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [ 3.932715] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [ 3.932724] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [ 3.932884] rk_gmac-dwmac fe010000.ethernet: TSO supported [ 3.932903] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 3.932918] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [ 3.932931] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [ 3.932943] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width [ 4.004256] i2c i2c-7: Not I2C compliant: can't read SDA [ 4.004288] i2c i2c-7: Not I2C compliant: can't read SCL [ 4.004299] i2c i2c-7: Bus may be unreliable [ 4.004314] i2c-gpio i2c-aux-display: using lines 12 (SDA) and 11 (SCL, no clock stretching) [ 4.044582] r8152 3-1:1.0 enx00e04c1800a5: renamed from eth0 [ 4.258180] rk_gmac-dwmac fe010000.ethernet end0: renamed from eth0 [ 4.424695] r8152-cfgselector 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 4.540302] r8152 3-1:1.0 eth0: v1.12.13 [ 4.634763] r8152 3-1:1.0 enx00e04c1800a5: renamed from eth0 [ 4.790481] EXT4-fs (mmcblk1p1): mounted filesystem 02d6f139-439e-4f03-b522-ea8c640bdf2c ro with writeback data mode. Quota mode: none. [ 5.297007] systemd[1]: Inserted module 'autofs4' [ 5.355293] systemd[1]: systemd 257.8-1~deb13u2 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) [ 5.355403] systemd[1]: Detected architecture arm64. [ 5.364981] systemd[1]: Hostname set to <h96-tvbox-3566>. [ 5.876905] systemd[1]: bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported. [ 5.991722] dw-apb-uart fe660000.serial: forbid DMA for kernel console [ 6.773136] systemd[1]: Queued start job for default target graphical.target. [ 6.826887] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 6.831223] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 6.835310] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty. [ 6.838382] systemd[1]: Created slice user.slice - User and Session Slice. [ 6.839385] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [ 6.840277] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 6.841981] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 6.842539] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2... [ 6.843079] systemd[1]: Reached target paths.target - Path Units. [ 6.843532] systemd[1]: Reached target remote-fs.target - Remote File Systems. [ 6.843941] systemd[1]: Reached target slices.target - Slice Units. [ 6.844476] systemd[1]: Reached target swap.target - Swaps. [ 6.845734] systemd[1]: Listening on syslog.socket - Syslog Socket. [ 6.853290] systemd[1]: Listening on systemd-creds.socket - Credential Encryption/Decryption. [ 6.854452] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 6.855496] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 6.856831] systemd[1]: Listening on systemd-journald.socket - Journal Sockets. [ 6.858261] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket. [ 6.858829] systemd[1]: systemd-pcrextend.socket - TPM PCR Measurements was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 6.858989] systemd[1]: systemd-pcrlock.socket - Make TPM PCR Policy was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 6.859788] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 6.860809] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 6.868820] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System... [ 6.875789] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 6.883809] systemd[1]: Mounting run-lock.mount - Legacy Locks Directory /run/lock... [ 6.891566] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 6.909632] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... [ 6.925815] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock... [ 6.970432] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 6.989909] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 6.999439] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 7.016730] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 7.037942] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 7.059514] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 7.060409] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl). [ 7.060997] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67). [ 7.113475] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 7.129285] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line... [ 7.132663] systemd[1]: systemd-pcrmachine.service - TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 7.133330] systemd[1]: systemd-tpm2-setup-early.service - Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 7.153188] systemd[1]: Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials... [ 7.164339] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 7.208461] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System. [ 7.209936] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 7.211358] systemd[1]: Mounted run-lock.mount - Legacy Locks Directory /run/lock. [ 7.221176] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 7.222703] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. [ 7.228820] systemd[1]: fake-hwclock-load.service: Deactivated successfully. [ 7.246829] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock. [ 7.250903] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 7.253861] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 7.255423] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 7.270398] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 7.272244] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 7.275573] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 7.277399] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 7.280512] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 7.282574] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 7.293411] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 7.320774] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 7.321188] 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). [ 7.345629] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 7.361655] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully... [ 7.373739] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 7.388633] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line. [ 7.412625] systemd[1]: Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials. [ 7.425447] systemd[1]: Reached target network-pre.target - Preparation for Network. [ 7.455126] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 7.477400] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 7.523185] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 7.563259] EXT4-fs (mmcblk1p1): re-mounted 02d6f139-439e-4f03-b522-ea8c640bdf2c r/w. [ 7.572446] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems. [ 7.575034] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc). [ 7.575497] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 7.586713] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed... [ 7.587098] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 7.619384] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully. [ 7.621241] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met. [ 7.638610] systemd[1]: Starting systemd-timesyncd.service - Network Time Synchronization... [ 7.646668] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [ 7.651899] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout. [ 7.688863] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables. [ 7.716572] systemd[1]: Starting systemd-resolved.service - Network Name Resolution... [ 7.791053] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev. [ 7.794063] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems. [ 7.845106] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files... [ 8.169507] systemd[1]: Started systemd-timesyncd.service - Network Time Synchronization. [ 8.170957] systemd[1]: Reached target time-set.target - System Time Set. [ 8.225270] systemd[1]: Mounting tmp.mount - /tmp... [ 8.387879] systemd[1]: Mounted tmp.mount - /tmp. [ 8.389334] systemd[1]: Reached target local-fs.target - Local File Systems. [ 8.398427] systemd[1]: Listening on systemd-sysext.socket - System Extension Image Management. [ 8.406047] systemd[1]: Starting armbian-zram-config.service - Armbian ZRAM config... [ 8.421472] systemd[1]: Starting console-setup.service - Set console font and keymap... [ 8.454177] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats... [ 8.529036] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files. [ 8.597230] systemd[1]: Starting systemd-networkd.service - Network Configuration... [ 8.673984] systemd[1]: Finished console-setup.service - Set console font and keymap. [ 8.677763] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices. [ 8.718705] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 263 (systemd-binfmt) [ 8.728692] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System... [ 8.871880] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System. [ 8.894538] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats. [ 9.541067] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.590243] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.591405] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 9.628819] systemd[1]: Found device dev-ttyS2.device - /dev/ttyS2. [ 9.946399] systemd[1]: Started systemd-networkd.service - Network Configuration. [ 9.972186] systemd[1]: Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd... [ 9.983471] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.008535] rk_gmac-dwmac fe010000.ethernet end0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 10.030686] zram: Added device: zram0 [ 10.033372] zram: Added device: zram1 [ 10.155162] zram: Added device: zram2 [ 10.158668] r8152 3-1:1.0 enx00e04c1800a5: carrier on [ 10.292232] r8152 3-1:1.0 enx00e04c1800a5: Stop submitting intr, status -108 [ 10.331582] zram0: detected capacity change from 0 to 4012512 [ 10.393579] mc: Linux media interface: v0.10 [ 10.470481] panfrost fde60000.gpu: clock rate = 594000000 [ 10.470515] panfrost fde60000.gpu: bus_clock rate = 500000000 [ 10.489544] panfrost fde60000.gpu: mali-g52 id 0x7402 major 0x1 minor 0x0 status 0x0 [ 10.489565] panfrost fde60000.gpu: features: 00000000,00000cf7, issues: 00000000,00000400 [ 10.489574] panfrost fde60000.gpu: Features: L2:0x07110206 Shader:0x00000002 Tiler:0x00000209 Mem:0x1 MMU:0x00002823 AS:0xff JS:0x7 [ 10.489582] panfrost fde60000.gpu: shader_present=0x1 l2_present=0x1 [ 10.490260] videodev: Linux video capture interface: v2.00 [ 10.577203] [drm] Initialized panfrost 1.2.0 for fde60000.gpu on minor 1 [ 10.591955] rockchip-rga fdeb0000.rga: HW Version: 0x03.02 [ 10.596084] random: crng init done [ 10.601538] rockchip-rga fdeb0000.rga: Registered rockchip-rga as /dev/video0 [ 10.618482] systemd[1]: Finished systemd-random-seed.service - Load/Save OS Random Seed. [ 10.619483] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 10.619710] systemd[1]: systemd-machine-id-commit.service - Save Transient machine-id to Disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 10.640697] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.5.auto/input/input0 [ 10.652485] rockchip_vdec2: module is from the staging directory, the quality is unknown, you have been warned. [ 10.694123] hantro-vpu fdea0000.video-codec: Adding to iommu group 1 [ 10.696776] hantro-vpu fdea0000.video-codec: registered rockchip,rk3328-vpu-dec as /dev/video2 [ 10.714076] rk2-crypto fe380000.crypto: will run requests pump with realtime priority [ 10.714157] rk2-crypto fe380000.crypto: Registers crypto algos [ 10.714166] rk2-crypto fe380000.crypto: Register ecb(aes) as ecb-aes-rk2 [ 10.714231] rk2-crypto fe380000.crypto: Register cbc(aes) as cbc-aes-rk2 [ 10.714252] rk2-crypto fe380000.crypto: Register xts(aes) as xts-aes-rk2 [ 10.714267] rk2-crypto fe380000.crypto: Register md5 as rk2-md5 3 [ 10.714284] rk2-crypto fe380000.crypto: Register sha1 as rk2-sha1 4 [ 10.714302] rk2-crypto fe380000.crypto: Register sha256 as rk2-sha256 5 [ 10.714318] rk2-crypto fe380000.crypto: Register sha384 as rk2-sha384 6 [ 10.714333] rk2-crypto fe380000.crypto: Register sha512 as rk2-sha512 7 [ 10.714535] rk2-crypto fe380000.crypto: Register sm3 as rk2-sm3 8 [ 10.751177] Adding 2006252k swap on /dev/zram0. Priority:5 extents:1 across:2006252k SS [ 10.808239] hantro-vpu fdee0000.video-codec: Adding to iommu group 2 [ 10.810297] hantro-vpu fdee0000.video-codec: registered rockchip,rk3568-vepu-enc as /dev/video3 [ 10.810421] zram1: detected capacity change from 0 to 102400 [ 10.820225] tm16xx 7-0024: Failed to count 'tm16xx,digits' property: -22 [ 10.820248] tm16xx 7-0024: Failed to parse device tree: -22 [ 10.820259] tm16xx 7-0024: probe with driver tm16xx failed with error -22 [ 10.846289] rc_core: IR keymap rc-h96-max-v56 not found [ 10.846313] Registered IR keymap rc-empty [ 10.851168] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0 [ 10.851434] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter [ 10.855121] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1 [ 10.926103] systemd[1]: Finished armbian-zram-config.service - Armbian ZRAM config. [ 10.936262] systemd[1]: Starting armbian-ramlog.service - Armbian memory supported logging... [ 10.954672] systemd[1]: Listening on systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 10.968325] Bluetooth: Core ver 2.22 [ 10.968448] NET: Registered PF_BLUETOOTH protocol family [ 10.968456] Bluetooth: HCI device and connection manager initialized [ 10.968474] Bluetooth: HCI socket layer initialized [ 10.968484] Bluetooth: L2CAP socket layer initialized [ 10.968503] Bluetooth: SCO socket layer initialized [ 11.012098] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma [ 11.012123] rk_gmac-dwmac fe010000.ethernet end0: stmmac_hw_setup: DMA engine initialization failed [ 11.012131] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Hw setup failed [ 11.044607] Bluetooth: HCI UART driver ver 2.3 [ 11.044633] Bluetooth: HCI UART protocol H4 registered [ 11.044639] Bluetooth: HCI UART protocol BCSP registered [ 11.044779] Bluetooth: HCI UART protocol LL registered [ 11.044790] Bluetooth: HCI UART protocol ATH3K registered [ 11.044838] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 11.045063] Bluetooth: HCI UART protocol Intel registered [ 11.045309] Bluetooth: HCI UART protocol Broadcom registered [ 11.045367] Bluetooth: HCI UART protocol QCA registered [ 11.045374] Bluetooth: HCI UART protocol AG6XX registered [ 11.045522] Bluetooth: HCI UART protocol Marvell registered [ 11.095556] systemd[1]: Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd. [ 11.100938] systemd[1]: Started systemd-resolved.service - Network Name Resolution. [ 11.101642] systemd[1]: Reached target nss-lookup.target - Host and Network Name Lookups. [ 11.105767] EXT4-fs (zram1): mounted filesystem d6c591d9-9d4c-4557-8ea0-5f3d92af56b4 r/w without journal. Quota mode: none. [ 11.171923] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock... [ 11.180756] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 11.181195] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67). [ 11.181653] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc). [ 11.182018] systemd[1]: systemd-machine-id-commit.service - Save Transient machine-id to Disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 11.182142] systemd[1]: systemd-pcrmachine.service - TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 11.182577] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met. [ 11.182735] systemd[1]: systemd-tpm2-setup-early.service - Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 11.182793] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 11.244673] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 11.245782] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 11.247146] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 11.251701] systemd[1]: fake-hwclock-load.service: Deactivated successfully. [ 11.252756] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock. [ 11.290376] systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status... [ 11.305084] systemd[1]: Reached target bluetooth.target - Bluetooth Support. [ 11.336641] r8152-cfgselector 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 11.375270] systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status. [ 11.409769] systemd[1]: Finished armbian-ramlog.service - Armbian memory supported logging. [ 11.419266] systemd[1]: Starting systemd-journald.service - Journal Service... [ 11.450982] r8152 3-1:1.0 eth0: v1.12.13 [ 11.548954] systemd-journald[421]: Collecting audit messages is disabled. [ 11.554558] r8152 3-1:1.0 enx00e04c1800a5: renamed from eth0 [ 11.704869] systemd[1]: Started systemd-journald.service - Journal Service. [ 11.801857] systemd-journald[421]: Received client request to flush runtime journal. [ 11.811394] systemd-journald[421]: /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6/system.journal: Realtime clock jumped backwards relative to last journal entry, rotating. [ 11.811453] systemd-journald[421]: Rotating system journal. [ 12.560089] systemd-journald[421]: Received client request to relinquish /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6 access. [ 13.316103] Bluetooth: hci0: command 0xfc18 tx timeout [ 13.316164] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 13.316174] Bluetooth: hci0: Failed to set baudrate [ 14.381288] r8152 3-1:1.0 enx00e04c1800a5: carrier on [ 15.332133] Bluetooth: hci0: command 0xfc18 tx timeout [ 15.332199] Bluetooth: hci0: BCM: Reset failed (-110) [ 21.222972] platform spdif-sound: deferred probe pending: asoc-simple-card: parse error [ 21.223026] platform rk809-sound: deferred probe pending: asoc-simple-card: parse error [ 1238.828322] systemd-journald[421]: Received client request to flush runtime journal. [ 1238.872397] systemd-journald[421]: Received client request to relinquish /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6 access. [36038.097713] systemd-journald[421]: Received client request to flush runtime journal. [36038.152376] systemd-journald[421]: Received client request to relinquish /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6 access. Could you please tell me what's wrong with my device? It has no network adapter and no Bluetooth functionality.Thank you! -
Stuck on jammy, can't upgrade to noble
Domas replied to Domas's topic in Software, Applications, Userspace
Okay I gave up on it and done a fresh install.. Took me 5 hours to get it back up and running, to reconfig x11vnc and samba stuff. Starting a freshly baked image proved to be a nightmare - for whoever is interested I share my story; For some reason it did not detect wireless dongle for keyboard. So I could see it over hdmi but no input was possible. Did not have a wired keyboard at hand. at first run it did not became accessible over ssh. but an ip address was assigned to it by dhcp router; I could see a new ip when I'd start it up. but it would not respond to ssh requests. But serial connection saved the day. Luckily I did have a serial adapter. Created username/password and then it was accessible over ssh and I could ditch the crappy tv screen I was using Selected wrong locale on setup, was unable to get rid of it without commenting wrong locale lines in ~/.bashrc Then I spent some few hours to get vnc up and running with lightdm and crapload of other dependencies, packages. Thanks AI for assistance. When asking quality questions and sharing messages/outputs it was super useful (I dont keep anything confidential there) Manually created /home/domas/startxfve_headless.sh script, made it executable, the whole orderal Not to mention xfce was not installed by default on this debian/minimal image. It was fun one too. https://docs.armbian.com/User-Guide_Armbian-Software/Desktops/ - armbian-config --cmd XFCE01 just ran the script and nothing happened without any error Had to do it manually but I think it worked the first or second time. And the most fun one since it included multimeter and soldering iron: then it did not detect my disk over sata no matter what I do. Apparently measured 0v at hdd power connector. Not sure how I killed it. After some fiddling around I connected jst connector's for hard drive 5V power to one of gpio pins that supply 5v. HDD spins up - YAAAY. It was short-lived. Disk Still undetected. Probably usb to sata controller is not powered on since 5v regulator fried. (thanks AI for ideas) So then I jumped a wire from said gpio 5v pin to the back of what used to be 5V connector for hard drive so it both feeds the disk and backfeeds the boards 5v regulator with the needed usb to sata controller. I don't use gpio. ITS ALIVE. No, I did not believe it would work. But at this point I had nothing to lose. Sketchy? Yes. Have I ever pulled worse? Sure. Proud of myself? You bet. -
@NOBL You can select text of someones post and then a small popup appears; If you click that, a reply/edit field is provided. It also took me some time before I discovered, maybe it was a browser issue or webblocker before I don't know. Related to it, I also don't know how to create 'hidden' text files so no endless logs or so. Anyway, on the topic: I see indeed VM is only x86-64 focused and also no Linux default build-in virtualizer, only external/commercial stuff like VMware and Windows/Mac. So for nextcloud, it is worse then for HAOS as I see it now. For HAOS, there is some Aarch64 VM image hidden somewhere on github, no documentation, but it works, does update well. It is same principle as for x86-64 VM images, so for me, having used standard Linux virt-manager (libvirtd/QEMU/KVM) for several years after VirtualBox and after VMware, it was easy to get running and as HA has a good backup-restore option, you get perfectly the same In a Aarch64 VM hosted on my ROCK5B for example as something running on old Intel Atom computer (also as VM by the way). So I would consider the easy 'nextcloudpi' and ready made images gone; You have to dig deeper and do more yourself, so looking at all the lower level components like PHP versions etc that fit a certain version. That is independent of which ARM SBC. Nextcloud is high-level software, there is no dependency on HW pins or GPIO or videocodecs etc. If there are Aarch64 images, you have to look at how they are created. I see from other post that there is ncp command, so what does that do? If you stick to 'images', you will indeed have a problem. The only relevant difference between Odroid and Raspberry or other Aarch64 SBC is the bootloader and kernel. Raspberry is the worst as they also do many changes to Debian userspace which for example from bookworm to trixie ruined my networking setup, so I blocked specific things (netplan stuff) and went back to Debian versions. Also RPi5 still cannot run standard Debian. If you want standards, make sure your HW supports UEFI, same as every PC/MAC does. See https://github.com/edk2-porting/edk2-rk3588?tab=readme-ov-file#supported-platforms I have this on ROCK5B and NanoPi-R6C and it is like a PC. You have to install it yourself of course, it is not pre-installed like is the case on a PC. But after installed, it is like a PC. Both those boards I have bought with metal case/heatsink, so no fans. Faster than a RPi5 and M.2 M-key slot on-board, so can use standard Samsung NVME or so. Also, the current/edge Armbian rockchip64 kernel runs in/as a VM, which makes it super flexible for tests but also for 24/7 doing real things. I installed grub-efi and then it boots as VM (assumuing 2 partition scheme). For Odroid (Amlogic SoC) I would expect the same. If not, install linux-image-arm64 in addition and use that kernel.
-
Hello everyone! I was struggling to make wiring work on OrangePi 5 Plus armbian. Tried everything and came up with a solution that worked for me. I was constantly getting these errors: wiringPiSetup: mmap (PWM) failed: Operation not permitted wiringPiSetup: mmap (GPIO) failed: Operation not permitted I'm on 23.8.2. 1. Install armbian and update apt sudo apt update 2. As stated in OrangePi5Plus wiki page I got .deb installer for wiringPi on OrangePi Now here's the link to this file: https://github.com/orangepi-xunlong/orangepi-build/blob/next/external/cache/debs/arm64/wiringpi_2.51.deb 3. The most important step was described here: https://github.com/Joshua-Riek/ubuntu-rockchip/issues/273 echo "BOARD=orangepi5plus" | sudo tee /etc/orangepi-release Somehow this solves the issue. No idea how these things work tbh... 4. Check if pins are detected via gpio readall or add sudo sudo gpio readall You should get a table with all the pins and numbers like this: 5. Install wiringop-python just as stated in the manual: http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_5_Plus#How_to_install_wiringOP-Python # get the dependencies sudo apt-get update sudo apt-get -y install git swig python3-dev python3-setuptools # clone wiringOP-python repo, the branch should be "next" and NOT "main" or "master" git clone --recursive https://github.com/orangepi-xunlong/wiringOP-Python -b next cd wiringOP-Python git submodule update --init --remote python3 generate-bindings.py > bindings.i sudo python3 setup.py install The wiringOP-Python should be working now.
-
Simple GPIO toggling has been a long term issue and it is clear to me that it need continued attention. I only use pin toggle on RPi1 and NanoPi-NEO, so BCM2835 and AllwinnerH3. I use generic Linux gpiod, still a bit a workaround for really proper handling, but it is OK for non-critical tasks at home. I used original WiringPi on RPi before (from Gordon), but many forks now. See also: https://forums.raspberrypi.com/viewtopic.php?t=369361 'latest' seems to be here: https://github.com/WiringPi/WiringPi?tab=readme-ov-file Note what is written under Ports w.r.t. Python. I guess Werner's guess is correct. I am not good at Python so prepared a bit for own C-code implementation, also w.r.t. high speed PWM. On AllwinnerH3 running Armbian Trixie, using the lgpio examples was easy to toggle a pin. I currently have Domoticz doing it, so also easy MQTT messaging, but it is overkill and also Domoticz build for ARMv6 is not available anymore (needed for RPi0/1), so already replaced that.
-
I know I am bringing this back from the dead but i am having issued getting wiringop-python installed. with the fallowing i was able to do a gpio readall echo "BOARD=orangepi5plus" | sudo tee /etc/orangepi-release but when i get errors from the sudo python3 setup.py install. (wiringpi_warp.c:3901:29: error: implicit declaration of function 'getGpioNum' [-Wimplicit-function-declaration]) # get the dependencies sudo apt-get update sudo apt-get -y install git swig python3-dev python3-setuptools # clone wiringOP-python repo, the branch should be "next" and NOT "main" or "master" git clone --recursive https://github.com/orangepi-xunlong/wiringOP-Python -b next cd wiringOP-Python git submodule update --init --remote python3 generate-bindings.py > bindings.i sudo python3 setup.py install is there a fix for this?
-
Step-by-step Guide to Install ILI9486 Display on Orange Pi Lite: 1.Create the overlay source file: cd /boot sudo nano spi-display-overlay.dts Paste your custom overlay configuration for SPI, DC, and reset GPIOs. 2.Compile the overlay to a binary (.dtbo) sudo dtc -@ -I dts -O dtb -o spi-display-overlay.dtbo spi-display-overlay.dts 3.Move the compiled overlay to the system overlays directory sudo cp spi-display-overlay.dtbo /boot/overlay-user/ 4.Enable the overlay in Armbian environment sudo nano /boot/armbianEnv.txt Add the line: overlays=spi-display-overlay 5. Reboot the system 6. Verify the framebuffer device is created: ls /dev/fb* Output should include /dev/fb0 7.Redirect framebuffer output to the SPI display sudo cat /dev/fb0 > /dev/fb0 It's just a test, it's a static image 8.Modify /boot/armbianEnv.txt Edit the armbianEnv file and add the following lines to ensure the framebuffer continuously updates on your display: extraargs=console=tty1 fbcon=map:0 fbcon=font:VGA8x8 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u ( 9.Troubleshoot reset GPIO if needed ) If display stays white, try another GPIO pin for reset in the overlay and recompile. Step 10: Post it on the Armbian forum and Reddit. I haven’t worked with the touch sensor yet, but it’s already 5 AM 0.o I hope this helps, and good luck!
-
Orange Pi Zero 3 ili9486 TFT LCD (WaveShare 35a)
robertoj replied to goodfvh _YT_'s topic in Allwinner sunxi
Start with this DTS and change the GPIO for your OPIZ3 https://github.com/raspberrypi/linux/blob/rpi-6.12.y/arch/arm/boot/dts/overlays/piscreen-overlay.dts Or start with your DTS and change the "compatible" line to "compatible=waveshare,rpi-lcd-35" and copy the other parameters of piscreen-overlay.dts if needed Let us know if it works -
Help! I used your overlay, but nothing works for me. Orange pi zero 3 (Armbian Linux 6.12.35-current-sunxi64) overlay: /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; cs-gpios = <&pio 7 5 0>,<&pio 2 15 0>; /*PH5=CS0 for lcd, PC15=CS1 for touch*/ display: display@0 { compatible = "ilitek,ili9341"; reg = <0>; pinctrl-names = "default"; spi-max-frequency = <20000000>; rotate = <270>; bgr = <0>; fps = <30>; buswidth = <8>; regwidth = <16>; height = <480>; width = <320>; reset-gpios = <&pio 2 14 1>; /* PC14 */ dc-gpios = <&pio 2 6 0>; /* PC6 */ debug = <3>; init = <0x10000b0 0x00 // Interface Mode Control 0x1000011 // Sleep Out 0x20000ff // Delay (255ms) 0x10000C0 0x0D 0x0D // Power Control 1 0x10000C1 0x43 // Power Control 2 0x10000C5 0x00 0x48 0x80 // VCOM Control 1 0x10000C7 0x00 // VCOM Control 2 0x1000036 0x28 // Memory Access Control (Rotacao) 0x100003A 0x55 // Pixel Format Set (16bit) 0x10000B1 0xB0 0x11 // Frame Rate Control 0x10000F0 0x01 // Enable Extended Comand Set 0x10000F6 0x00 0x01 0x32 // SPI ilInterface Control 0x1000026 0x01 // Gamma Set 0x10000E0 0x0F 0x31 0x2B 0x0C 0x0E 0x08 0x4E 0xF1 0x37 0x07 0x10 0x03 0x0E 0x09 0x00 // Positive Gamma Correction 0x10000E1 0x00 0x0E 0x14 0x03 0x11 0x07 0x31 0xC1 0x48 0x08 0x0F 0x0C 0x31 0x36 0x0F // Negative Gamma Correction 0x10000B6 0x02 0x02 0x3B // Display Function Control 0x1000011 // Sleep Out 0x20000ff // Delay (255ms) 0x1000029>; // Display ON }; ads7846: ads7846@1 { compatible = "ti,ads7846"; reg = <1>; pinctrl-names = "default"; spi-max-frequency = <1000000>; interrupt-parent = <&pio>; interrupts = <2 10 2>; /* PC10 - IRQ */ pendown-gpio = <&pio 2 10 1>; /* PC10 */ /* OPTIONS */ ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0xFFF>; ti,y-max = /bits/ 16 <0xFFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0xFFF>; ti,x-plate-ohms = /bits/ 16 <400>; ti,swap-xy = <1>; }; }; }; }; Here's what I got in the console: root@orangepizero3:~# dmesg | grep -i "spi\|ili9486\|fb_" [ 1.496981] sun6i-spi 5010000.spi: Error applying setting, reverse things back [ 1.497500] sun6i-spi 5011000.spi: cannot register SPI host [ 1.504082] sun6i-spi 5010000.spi: Error applying setting, reverse things back [ 1.504504] sun6i-spi 5011000.spi: cannot register SPI host [ 1.512160] spi-nor spi0.0: supply vdd not found, using dummy regulator [ 6.677433] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned. [ 6.677997] fb_ili9341 spi1.0: fbtft_property_value: width = 320 [ 6.678010] fb_ili9341 spi1.0: fbtft_property_value: height = 480 [ 6.678018] fb_ili9341 spi1.0: fbtft_property_value: regwidth = 16 [ 6.678025] fb_ili9341 spi1.0: fbtft_property_value: buswidth = 8 [ 6.678033] fb_ili9341 spi1.0: fbtft_property_value: debug = 3 [ 6.678041] fb_ili9341 spi1.0: fbtft_property_value: rotate = 270 [ 6.678049] fb_ili9341 spi1.0: fbtft_property_value: fps = 30 [ 6.678234] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'reset' GPIO [ 6.678260] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'dc' GPIO [ 6.678279] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'rd' GPIO [ 6.678294] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'wr' GPIO [ 6.678310] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'cs' GPIO [ 6.678325] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'latch' GPIO [ 6.678340] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678354] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678369] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678383] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678398] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678412] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678426] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678441] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678456] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678470] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678485] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678499] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678514] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678528] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678543] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678557] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678572] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678587] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678604] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678621] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678638] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678655] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678672] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678689] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678706] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678723] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678740] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678757] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678774] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678791] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678808] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678825] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678842] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678859] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678876] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678893] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678910] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678927] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678944] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678961] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678978] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678995] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.679012] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.679029] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.679046] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.679063] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.679080] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.679098] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.701957] ads7846 spi1.1: supply vcc not found, using dummy regulator [ 6.703555] ads7846 spi1.1: touchscreen, irq 77 [ 6.704030] input: ADS7846 Touchscreen as /devices/platform/soc/5011000.spi/spi_master/spi1/spi1.1/input/input0 [ 6.801201] fb_ili9341 spi1.0: init: write_register: [ 6.801229] fb_ili9341 spi1.0: buf[0] = B0 [ 6.801238] fb_ili9341 spi1.0: buf[1] = 00 [ 6.801397] fb_ili9341 spi1.0: init: write_register: [ 6.801406] fb_ili9341 spi1.0: buf[0] = 11 [ 6.801441] fb_ili9341 spi1.0: init: msleep(255) [ 7.073196] fb_ili9341 spi1.0: init: write_register: [ 7.073241] fb_ili9341 spi1.0: buf[0] = C0 [ 7.073265] fb_ili9341 spi1.0: buf[1] = 0D [ 7.073284] fb_ili9341 spi1.0: buf[2] = 0D [ 7.073489] fb_ili9341 spi1.0: init: write_register: [ 7.073510] fb_ili9341 spi1.0: buf[0] = C1 [ 7.073530] fb_ili9341 spi1.0: buf[1] = 43 [ 7.073701] fb_ili9341 spi1.0: init: write_register: [ 7.073721] fb_ili9341 spi1.0: buf[0] = C5 [ 7.073743] fb_ili9341 spi1.0: buf[1] = 00 [ 7.073762] fb_ili9341 spi1.0: buf[2] = 48 [ 7.073781] fb_ili9341 spi1.0: buf[3] = 80 [ 7.073952] fb_ili9341 spi1.0: init: write_register: [ 7.073973] fb_ili9341 spi1.0: buf[0] = C7 [ 7.073994] fb_ili9341 spi1.0: buf[1] = 00 [ 7.074163] fb_ili9341 spi1.0: init: write_register: [ 7.074183] fb_ili9341 spi1.0: buf[0] = 36 [ 7.074203] fb_ili9341 spi1.0: buf[1] = 28 [ 7.074372] fb_ili9341 spi1.0: init: write_register: [ 7.074392] fb_ili9341 spi1.0: buf[0] = 3A [ 7.074414] fb_ili9341 spi1.0: buf[1] = 55 [ 7.074581] fb_ili9341 spi1.0: init: write_register: [ 7.074601] fb_ili9341 spi1.0: buf[0] = B1 [ 7.074622] fb_ili9341 spi1.0: buf[1] = B0 [ 7.074641] fb_ili9341 spi1.0: buf[2] = 11 [ 7.074809] fb_ili9341 spi1.0: init: write_register: [ 7.074829] fb_ili9341 spi1.0: buf[0] = F0 [ 7.074850] fb_ili9341 spi1.0: buf[1] = 01 [ 7.075018] fb_ili9341 spi1.0: init: write_register: [ 7.075038] fb_ili9341 spi1.0: buf[0] = F6 [ 7.075058] fb_ili9341 spi1.0: buf[1] = 00 [ 7.075077] fb_ili9341 spi1.0: buf[2] = 01 [ 7.075096] fb_ili9341 spi1.0: buf[3] = 32 [ 7.075264] fb_ili9341 spi1.0: init: write_register: [ 7.075285] fb_ili9341 spi1.0: buf[0] = 26 [ 7.075306] fb_ili9341 spi1.0: buf[1] = 01 [ 7.075474] fb_ili9341 spi1.0: init: write_register: [ 7.075494] fb_ili9341 spi1.0: buf[0] = E0 [ 7.075515] fb_ili9341 spi1.0: buf[1] = 0F [ 7.075534] fb_ili9341 spi1.0: buf[2] = 31 [ 7.075553] fb_ili9341 spi1.0: buf[3] = 2B [ 7.075571] fb_ili9341 spi1.0: buf[4] = 0C [ 7.075590] fb_ili9341 spi1.0: buf[5] = 0E [ 7.075609] fb_ili9341 spi1.0: buf[6] = 08 [ 7.075628] fb_ili9341 spi1.0: buf[7] = 4E [ 7.075647] fb_ili9341 spi1.0: buf[8] = F1 [ 7.075665] fb_ili9341 spi1.0: buf[9] = 37 [ 7.075684] fb_ili9341 spi1.0: buf[10] = 07 [ 7.075703] fb_ili9341 spi1.0: buf[11] = 10 [ 7.075722] fb_ili9341 spi1.0: buf[12] = 03 [ 7.075742] fb_ili9341 spi1.0: buf[13] = 0E [ 7.075761] fb_ili9341 spi1.0: buf[14] = 09 [ 7.075780] fb_ili9341 spi1.0: buf[15] = 00 [ 7.075954] fb_ili9341 spi1.0: init: write_register: [ 7.075974] fb_ili9341 spi1.0: buf[0] = E1 [ 7.075995] fb_ili9341 spi1.0: buf[1] = 00 [ 7.076014] fb_ili9341 spi1.0: buf[2] = 0E [ 7.076034] fb_ili9341 spi1.0: buf[3] = 14 [ 7.076053] fb_ili9341 spi1.0: buf[4] = 03 [ 7.076071] fb_ili9341 spi1.0: buf[5] = 11 [ 7.076090] fb_ili9341 spi1.0: buf[6] = 07 [ 7.076109] fb_ili9341 spi1.0: buf[7] = 31 [ 7.076128] fb_ili9341 spi1.0: buf[8] = C1 [ 7.076147] fb_ili9341 spi1.0: buf[9] = 48 [ 7.076165] fb_ili9341 spi1.0: buf[10] = 08 [ 7.076184] fb_ili9341 spi1.0: buf[11] = 0F [ 7.076203] fb_ili9341 spi1.0: buf[12] = 0C [ 7.076222] fb_ili9341 spi1.0: buf[13] = 31 [ 7.076241] fb_ili9341 spi1.0: buf[14] = 36 [ 7.076260] fb_ili9341 spi1.0: buf[15] = 0F [ 7.076432] fb_ili9341 spi1.0: init: write_register: [ 7.076452] fb_ili9341 spi1.0: buf[0] = B6 [ 7.076473] fb_ili9341 spi1.0: buf[1] = 02 [ 7.076493] fb_ili9341 spi1.0: buf[2] = 02 [ 7.076511] fb_ili9341 spi1.0: buf[3] = 3B [ 7.076679] fb_ili9341 spi1.0: init: write_register: [ 7.076699] fb_ili9341 spi1.0: buf[0] = 11 [ 7.076797] fb_ili9341 spi1.0: init: msleep(255) [ 7.361180] fb_ili9341 spi1.0: init: write_register: [ 7.361202] fb_ili9341 spi1.0: buf[0] = 29 [ 7.490659] fb_ili9341 spi1.0: Display update: 2321 kB/s, fps=0 [ 7.491267] graphics fb0: fb_ili9341 frame buffer, 480x320, 300 KiB video memory, 16 KiB buffer memory, fps=31, spi1.0 at 20 MHz I'm connecting exactly according to this picture:
-
TV Box Status Information Template Version 1.0 TV Box Name (example: TX3 mini): T9 CPU (example: amlogic s905w): RK3328 Armbian build file name: Armbian_community_25.11.0-trunk.367_Rk3318-box_trixie_current_6.12.54_minimal.img DTB file used: rockchip/rk3318-box.dtb Kernel Version: 6.12.56-current-rockchip64 Distribution Installed (focal, buster, etc): trixie Working Ethernet (Yes/No):Yes Max Ethernet Speed that works (100/1000): 100 Max Does wifi work (Yes/No): Yes 2/5 Does bluetooth work (Yes/No): Yes Does HDMI audio work (Yes/No): Yes - after last update , (also analog and spdif ports are available - not tested). Additional Comments (provide any additional information you feel is important): IR Receiver yes 5 Digit display working: yes MASKROM PINS for recovery flashing available on the back side. SOC RK3328 RAM 4Gx4 D9PQL VFD DRIVER FD6551 WLAN CHIP SP6330 32 GB EMMc KLMBG2JENB VT RT9045 vfd.conf rk3318-t9.dtso Log android gpio T9.txt
-
Hi I've made a new kernel Auxiliary Display Driver for TM16XX and compatible LED controllers. This driver supports various LED controller chips, including TM16XX family, FD6XX family, PT6964, and HBS658. It provides support for both I2C and SPI interfaces. I wanted it to manage the hardware on the kernel space while having an easy sysfs user space interface. It also aims to reduce the code to maintain by relaying on existing kernel features instead of recoding them. Plus, you can switch to hardware i2c/spi (instead of software gpio) depending on the pins used. You can use "vfdconf-convert" to convert your existing vfd.conf to its device-tree version. Or you can use the already converted vfd.conf of https://github.com/arthur-liberman/vfd-configurations that are listed in the device table. You don't need to manually edit your device tree, the "make" command will apply the device tree source overlay to your dtb. It comes with a service written as a simple bash script. So it's easily customizable without having to write custom C code. Instructions and source code at https://github.com/jefflessard/tm16xx-display/ Could you please give it a try and report your feedback?
-
the two tv box are quite different.The rk3318-H50 of this post is quite cheap, so are the component inside. By the way for the rk3318-H50: the PMIC is a DF1517, not an usual one. The Board has three leds (one red is power on always on the other two are both blu but I have never seen them on) and a 4 digit display plus (colon) usb, lan and wlan icons. Wifi works with the base configuration 2 and 5 ghz (although some warnings in the log). Bluetooth is recognized as well. I do not see any message related to the IR receiver. By the way it seems to be quite stable. This is the gpio list: android_tv_box_32:/ $ cat /sys/kernel/debug/gpio gpiochip0: GPIOs 0-31, parent: platform/pinctrl, gpio0: gpio-2 ( |vcc_otg_vbus ) out hi gpio-30 ( |vcc_sd ) out hi gpiochip1: GPIOs 32-63, parent: platform/pinctrl, gpio1: gpio-42 ( |bt_default_rts ) out lo gpio-50 ( |reset ) out hi gpio-53 ( |bt_default_poweron ) out hi gpio-56 ( |fd650_scl ) out hi gpio-57 ( |fd650_sda ) out hi gpio-58 ( |bt_default_wake_host) in hi gpiochip2: GPIOs 64-95, parent: platform/pinctrl, gpio2: gpio-81 ( |vcc_host_vbus ) out hi gpio-82 ( |power-led-ir ) out lo gpio-90 ( |power-led-normal ) out lo gpiochip3: GPIOs 96-127, parent: platform/pinctrl, gpio3: The T9 is an old and quite different TVBOX (cames in two flavours rk3318 and rk3328 from Sunwell) and everything is working "out of the box" - wifi, bluetooh, lan, hdmi, ir receiver. It has no leds but a 5 digit display + 6 icons but if you think it would be useful I can open it and peraphs describe it in a different post to avoid confusion. It seems to me that is more widespread as there are configuration files all around. Let me know if it is of ant interest.
-
@CyberHaZard Thanks for the feedback. Yes, the internal eMMC is untouched. You can mount these Android partitions in your file system if you want to access them. Thank you for the offer. I already have access to the Android OS, but tests are apriciated Usb3 is not fully implemented yet . It might just be a Linux configuration issue. I still need to investigate. Maybe it's also acting as a device. there could be a switch via GPIO. The front LED display uses the HT1628 chip. There's a driver available at https://github.com/venkatesh4009/TM1628_LED_Driver It's worth a try.
-
@GmP oook, so now I understand the differences between the two dtso files provided here and in the other thread. Do you spot other differences or peculiarities? Things that are useful are: * the gpio led (do the separate red/blue/green led blinks on both boards?) * wifi reset gpio (do wifi get detected in both boards with base configuration?) * is there a separate PMIC like rk805/rk808 on any of the boards? Things like these go into the dtso for full board support. The PMIC is very important since missing that could cause stability issues.
-
Hello, I`ll try to hook up display to OpangePi PC, But have no output. My English is not native so i`ll try to write in simlpe way. image Armbian_23.8.1_Orangepipc_jammy_current_6.1.47_minimal.img.xz my dts: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&spi0>; __overlay__ { status = "okay"; // cs-gpios = <&pio 0 9 0>,<&pio 0 8 0>; /* PA9=CS0 for LCD, PA8=CS1 for touch */ display: display@0 { compatible = "ilitek,ili9341"; reg = <0>; pinctrl-names = "default"; spi-max-frequency = <20000000>; txbuflen = <65536>; rotate = <270>; bgr = <0>; fps = <30>; buswidth = <8>; regwidth = <16>; height = <480>; width = <320>; reset-gpios = <&pio 0 2 1>; /* PA20 */ dc-gpios = <&pio 0 71 0>; /* PA10 */ debug = <0>; init = <0x10000b0 0x00 // Interface Mode Control 0x1000011 // Sleep Out 0x20000ff // Delay (255ms) 0x10000C0 0x0D 0x0D // Power Control 1 0x10000C1 0x43 // Power Control 2 0x10000C5 0x00 0x48 0x80 // VCOM Control 1 0x10000C7 0x00 // VCOM Control 2 0x1000036 0x28 // Memory Access Control (Rotacao) 0x100003A 0x55 // Pixel Format Set (16bit) 0x10000B1 0xB0 0x11 // Frame Rate Control 0x10000F0 0x01 // Enable Extended Comand Set 0x10000F6 0x00 0x01 0x32 // SPI ilInterface Control 0x1000026 0x01 // Gamma Set 0x10000E0 0x0F 0x31 0x2B 0x0C 0x0E 0x08 0x4E 0xF1 0x37 0x07 0x10 0x03 0x0E 0x09 0x00 // Positive Gamma Correction 0x10000E1 0x00 0x0E 0x14 0x03 0x11 0x07 0x31 0xC1 0x48 0x08 0x0F 0x0C 0x31 0x36 0x0F // Negative Gamma Correction 0x10000B6 0x02 0x02 0x3B // Display Function Control 0x1000011 // Sleep Out 0x20000ff // Delay (255ms) 0x1000029>; // Display ON }; // xpt2046: xpt2046@1 { // compatible = "ti,ads7846"; // reg = <1>; // spi-max-frequency = <2000000>; // interrupts = <0 7 2>; /* high-to-low edge triggered */ // interrupt-parent = <&pio>; // pendown-gpio = <&pio 0 7 0>; // ti,keep-vref-on = <1>; // ti,x-min = /bits/ 16 <200>; // ti,x-max = /bits/ 16 <3900>; // ti,y-min = /bits/ 16 <200>; // ti,y-max = /bits/ 16 <3900>; // ti,x-plate-ohms = /bits/ 16 <60>; // ti,pressure-max = /bits/ 16 <255>; // ti,swap-xy = <1>; // }; }; }; }; when board boots, display switch from white to black. Without console output. gpio readall - looks good. all pins present. when I try Armbian_25.8.1_Orangepione_noble_current_6.12.43.img.xz board boots. add overlay to it, by armbian-add-overlays remove HDMI cable. (Really good first-config over ssh, why not to add this to other boards, like mine?) reboot Display works(Ony if HDMI is unpluged), with output of boot Armbian. I`ll think this something wrong with output on spi LCD over OrangePi PC Armbian build, or sometning like that way.... Any advise? UPD: Ok. I get it to work.(Armbian_23.8.1_Orangepipc_jammy_current_6.1.47_minimal.img.xz) ili9341 may be changed to ili9486. Didn`t matter...why? dmesg | grep graphics [ 9.406143] graphics fb1: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 64 KiB buffer memory, fps=31, spi0.0 at 16 MHz con2fbmap 1 1 and it works.... UPD 2: ili9486.dtbo With touch working, tested trought evtest
-
Hi, I have a board Orange Pi Zero with modified PAs for power of WiFi module from PA20 to PA02, by soldering a connection on board. This is done to allow connection of I2C DAC. I see that board definition in 'u-boot/configs/orangepi_zero_defconfig' It uses dts definition of: 'arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts' I need to modify one section of this dts file from: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 20 GPIO_ACTIVE_HIGH>; to: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 2 GPIO_ACTIVE_HIGH>; How can I do this and use armbian build script: compile.sh Thanks, Michal
-
I've recently switched my FriendlyElec NanoPC-T6 to use the Armbian Linux v6.12 server image, built on the 24th of May 2025. Booting of SD works fine, but when installing to the eMMC chip some I/O errors can be found in the kernel logs: [ 151.814773] I/O error, dev mmcblk0, sector 176 op 0x0:(READ) flags 0x80700 phys_seg 10 prio class 2 This happens when under heavy I/O load - e.g. performing an apt upgrade. I ran badblocks over the entire eMMC chip without issue - but that puts a much lower strain on the eMMC. Therefore, i'm convinced that the eMMC chip itself is fine. Poking around a bit, this seems to be because the A3A444 eMMC chip which some NanoPC-T6 SBCs shipped with do not support HS400 mode properly. There is an OpenWRT bug report about this, which fixed the issue by patching the dtsi to force HS200 mode. My kernel logs confirm that I have the A3A444 eMMC chip, and that it is currently running in HS400 mode: sudo dmesg -e | grep -i mmc [ +0.015143] mmc0: SDHCI controller on fe2e0000.mmc [fe2e0000.mmc] using ADMA [ +0.051640] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode. [ +0.000020] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller. [ +0.000008] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a [ +0.000025] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 91,32 bit host data width,256 deep fifo [ +0.000210] dwmmc_rockchip fe2c0000.mmc: Got CD GPIO [ +0.012806] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ +0.007795] mmc0: new HS400 Enhanced strobe MMC card at address 0001 [ +0.000906] mmcblk0: mmc0:0001 A3A444 230 GiB [ +0.004124] mmcblk0: p1 [ +0.000720] mmcblk0boot0: mmc0:0001 A3A444 4.00 MiB [ +0.001831] mmcblk0boot1: mmc0:0001 A3A444 4.00 MiB [ +0.001742] mmcblk0rpmb: mmc0:0001 A3A444 4.00 MiB, chardev (243:0) [ +0.227497] EXT4-fs (mmcblk0p1): mounted filesystem a4f48be8-f667-4cac-a9a7-61ce8f9035d1 ro with ordered data mode. Quota mode: none. [ +0.021022] EXT4-fs (mmcblk0p1): re-mounted a4f48be8-f667-4cac-a9a7-61ce8f9035d1 r/w. I've tried to use a user device overlay to use mmc-hs200-1_8v, but this doesn't appear to work. I think this is because Device Overlays can only replace elements or add to the tree? i.e. I cannot use an overlay to remove the existing mmc-hs400-1_8v; and mmc-hs400-enhanced-strobe; entries. Is there a way to do this with a user device overlay, or will I need to try to add a similar patch to OpenWRT's one in the kernel? This is the first time i've used Armbian so i'm a little unsure about how i'd go about doing the latter. I've found a similar report of this issue from a couple of years ago by @SuperKali, albeit with no resolution. However, I can see they're now listed as one of the community maintainers for this board so i'm hoping it's OK to mention them in this thread to see if they know how best to force HS200 mode for the eMMC!
-
Depends on your use case. If you need raw cpu power, better gpu or video processing, Go for RK3588/s based board. If you heavily rely on GPIO and its functions (PWM, I2C,...) go for RPi.
-
Help wanted to test a new OpenVFD alternative
GmP replied to Jean-Francois Lessard's topic in Amlogic meson
Hi - thank you for the nice driver. Here is my contrbute: Device under test : T9_RK3318 (T9 Sunwell 3318 version 4+32 GB) Running: v25.11 rolling for RK3318 Box running Armbian Linux 6.12.55-current-rockchip64 Packages: Debian stable (trixie) Support: for advanced users (rolling release) Some info: RK3318:~# lsmod | grep tm tm16xx 28672 0 stmmac_platform 20480 1 dwmac_rk stmmac 241664 3 stmmac_platform,dwmac_rk pcs_xpcs 28672 1 stmmac lsmod | grep i2c i2c_gpio 16384 0 i2c_algo_bit 12288 1 i2c_gpio ls /sys/bus/i2c/devices/ 5-0024 i2c-4 i2c-5 ls /sys/class/leds/display brightness device digits map_seg7 max_brightness num_digits num_segments power segments subsystem trigger uevent value ls -l /sys/class/leds/ total 0 lrwxrwxrwx 1 root root 0 Oct 26 11:53 display -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::alarm -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::alarm lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::colon -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::colon lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::lan -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::lan lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::pause -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::pause lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::play -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::play lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::usb -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::usb lrwxrwxrwx 1 root root 0 Oct 26 11:53 display::wlan -> ../../devices/platform/i2c-display/i2c-5/5-0024/leds/display::wlan lrwxrwxrwx 1 root root 0 Jan 1 1970 input3::capslock -> ../../devices/platform/ff600000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/0003:248A:8208.0002/input/input3/input3::capslock lrwxrwxrwx 1 root root 0 Jan 1 1970 input3::compose -> ../../devices/platform/ff600000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/0003:248A:8208.0002/input/input3/input3::compose lrwxrwxrwx 1 root root 0 Jan 1 1970 input3::kana -> ../../devices/platform/ff600000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/0003:248A:8208.0002/input/input3/input3::kana lrwxrwxrwx 1 root root 0 Jan 1 1970 input3::numlock -> ../../devices/platform/ff600000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/0003:248A:8208.0002/input/input3/input3::numlock lrwxrwxrwx 1 root root 0 Jan 1 1970 input3::scrolllock -> ../../devices/platform/ff600000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/0003:248A:8208.0002/input/input3/input3::scrolllock lrwxrwxrwx 1 root root 0 Jan 1 1970 working -> ../../devices/platform/gpio-leds/leds/working Testing... echo "1234" > /sys/class/leds/display/value echo 1 > /sys/class/leds/display\:\:lan/brightness echo 1 > /sys/class/leds/display\:\:usb/brightness All the 7 functions and 4 digits are working and correctly associated. Also trigges are working. I still have this small bug which is stopping rolling messages: display-service -c [INFO] all digits and leds on /usr/sbin/display-service: 116: cannot create /sys/class/leds/display/message: Permission denied All the function leds reacts well (all on) but the four clock digits do not switch, most likey because of the message permission denied. However they do work writing directly in the "value" as above and in the picture. Edit: I have investigated a little and it seems that I am still using the tm16xx which came with the distribution, as depmod was failng. After a fresh recompile all your module load but nodes under "leds" are not there, it seems that the dtso/dtbo is not read - nothing appears in dmesg. Attached the working dtso file. rk3318-t9.dtso -
KickPi K2B not booting up: DRAM setup not supported
c0rnelius replied to chuanzz's topic in KickPi K2B
Looks like the same thing REV 1.1 uses. My guess would be the GPIO or PINCTRL may be different on the REV2. The problem is the schematic only shows 1.0 / 1.1 You could try shooting them an email in an attempt to obtain the v2 schematic? Without it, you would just be guessing. -
Just compiled and flashed a Cinnamon desktop image. Boots fine Video over HDMI working. Audio over HDMI working. The video experience is not that much satisfying. There seems to be no graphic acceleration, yet. WebGL aquarium runs at 5 FPS with 500 fishes, 15 FPS with 100 fishes. Youtube videos are relatively laggy and you'll experience high CPU load. All the GPIO hardware stuff has not been tested, yet. No clue how to do it... Now I'd like to have some more people on board to support me by adding graphic acceleration and how to merge the M1S support now into the Armbian repo. Greetings. EDIT 1: transferring the OS from SD card do eMMC works by using armbian-install tool EDIT 2: graphic acceleration IS kind of working, glmar2-es2 gives me a score of ~177. But the web browser seems not to be accelerated. also the desktop environment seems to have problems Cinnamon is not able to load applets, which means that the "Start" menue icon is missing...
-
@Unrealchex The base-files error is a known issue. You'll need to run the ./compile command a second time and it should continue where it left off. Here's a post that show's you how to create patches. https://forum.armbian.com/topic/29794-how-to-install-armbian-in-h618/#findComment-227058 You want to edit u-boot and kernel dts. Remove the x96q code and add the wifi code from x98h. The x96h U-boot and kernel code might be different double check it. remove (Existing x96q wifi code.) reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-name = "vcc-wifi"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&pio 6 18 GPIO_ACTIVE_HIGH>; /* PG18 WL_REG_ON */ regulator-always-on; enable-active-high; status = "okay"; }; wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rtc CLK_OSC32K_FANOUT>; clock-names = "ext_clock"; pinctrl-names = "default"; pinctrl-0 = <&x32clk_fanout_pin>; /* PG10 with MUX3 set */ }; &mmc1 { vmmc-supply = <®_dldo1>; vqmmc-supply = <®_vcc_wifi>; mmc-pwrseq = <&wifi_pwrseq>; bus-width = <4>; non-removable; status = "okay"; wlan: wifi@1 { reg = <1>; interrupt-parent = <&pio>; interrupts = <6 15 IRQ_TYPE_EDGE_RISING>; /* PG15 WL_HOSTWAKE*/ interrupt-names = "host-wake"; local-mac-address = [dc 44 6d c0 ff 02]; }; }; Add (code borrowed from x98h) reg_vcc3v3: vcc3v3 { /* discrete 3.3V regulator */ compatible = "regulator-fixed"; regulator-name = "vcc-3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; }; reg_3v3_wifi: vcc3v3-wifi { compatible = "regulator-fixed"; regulator-name = "vcc-3v3-wifi"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; }; }; &mmc1 { vmmc-supply = <®_vcc3v3>; bus-width = <4>; non-removable; max-frequency = <35000000>; status = "okay"; wlan: wifi@1 { reg = <1>; }; }; You don't need to create a patch for build/config/boards. Edit the file x96q-lpddr3.csc and add this to the bottom of display_alert "$BOARD" "Using ${BOOT_FDT_FILE} for ${BRANCH}" "info" display_alert "Applying wifi firmware" pushd "$SDCARD/lib/firmware" ln -s "aic8800/SDIO/aic8800D80" "aic8800_sdio" # use armbian-firmware cp -R $SRC/packages/blobs/sunxi/h618/armbian-audio-config $SDCARD/usr/lib/armbian cp -R $SRC/packages/blobs/sunxi/h618/armbian-audio-config $SDCARD/lib/armbian popd
-
Ecco una risposta adeguata per il forum in inglese, considerando il tuo aggiornamento: Hello everyone, I’ve reviewed all the connections carefully using the reference manual to ensure everything is correctly wired. Unfortunately, while the display powers on and stays brightly lit, I still don’t see any output on the screen. Here are a few thoughts and tests I’ve tried: Initialization Problem? I’m unsure if the issue is related to the initialization sequence. I don’t know how to create one tailored to this display. Perhaps this could be due to the fact that it’s an ST7735S, while the driver is designed for the ST7735R? Could this be causing incompatibility issues with the current driver? GPIO Changes: I’ve also experimented with changing the GPIO configurations, specifically: dc-gpios = <&pio 2 6 1>; /* changed the 1 to 0 */ r eset-gpios = <&pio 2 9 1>; /* changed the 1 to 0 */ However, this had no effect. Kernel Compatibility: When I use a kernel version 5.x, the display works correctly. But with the current configuration and the newer kernel, I can’t seem to get it to work. This might be a kernel-level issue, or perhaps something changed in how the driver is initialized. Temporary Workaround: I’ve ordered another display to rule out any potential hardware issues, but it will take a while to arrive. At this point, I’m unsure of how to proceed. If anyone has advice on adapting the driver for ST7735S or creating a compatible initialization sequence, I’d greatly appreciate it. Thanks in advance for your help!
-
@Tomi Skies It could be your gpio settings. You need to extract your original android dts. https://forum.armbian.com/topic/29794-how-to-install-armbian-in-h618/page/4/#comment-187672
