Search the Community
Showing results for 'gpio'.
-
I don't work with this board often, because it has been so stable, so I am less familiar with the boot process. I rebooted it today, and realized that it wouldn't post. I found a UART cable and grabbed this log. Can anyone point me to somewhere for it? Or would it be "easier" to just reflash the sd card? DDR V1.11 f1474cf52f cym 23/05/09-11:02:36 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB Manufacturer ID:0x6 CH0 RX Vref:28.5%, TX Vref:21.8%,21.8% CH1 RX Vref:25.0%, TX Vref:22.8%,22.8% CH2 RX Vref:28.5%, TX Vref:22.8%,22.8% CH3 RX Vref:29.3%, TX Vref:22.8%,21.8% change to F1: 528MHz change to F2: 1068MHz change to F3: 1560MHz change to F0: 2112MHz out U-Boot SPL board init U-Boot SPL 2017.09 (Feb 25 2024 - 00:42:52) Trying to boot from MMC1 Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(2e8446f969...) + OK ## Checking uboot 0x00200000 ... sha256(528486af2f...) + OK ## Checking fdt 0x0034f598 ... sha256(906c87aa7c...) + OK ## Checking atf-2 0xff100000 ... sha256(9f75e6ec37...) + OK ## Checking atf-3 0x000f0000 ... sha256(c80587de50...) + OK Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000) Total: 801.437 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-662-g4acbe711b-dirty:finley.xiao, fwver: v1.44 NOTICE: BL31: Built : 16:44:24, Nov 7 2023 INFO: spec: 0x13 INFO: code: 0x88 INFO: ext 32k is valid INFO: ddr: stride-en 4CH INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0 INFO: l3 cache partition cfg-0 INFO: system boots from cpu-hwid-0 INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001 ERROR: dfs get fsp_params[0] error, 0xfead0003 != 0xfead0004 ERROR: dfs get fsp_params[1] error, 0xa2c != 0xfead0004 ERROR: dfs get fsp_params[2] error, 0xa34 != 0xfead0004 ERROR: dfs get fsp_params[3] error, 0xadc != 0xfead0004 ERROR: loader&trust unmatch!!! Please update loader if need enable dmc ERROR: current trust bl31 need match with loader ddr bin V1.13 or newer ERROR: current loader need match with trust bl31 V1.38-V1.40 INFO: BL31: Initialising Exception Handling Framework INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.09 (Feb 06 2025 - 03:18:03 +0000) Model: Orange Pi 5 MPIDR: 0x81000000 PreSerial: 2, raw, 0xfeb50000 DRAM: 16 GiB Sysmem: init Relocation Offset: eda0e000 Relocation fdt: eb9f9250 - eb9fecb8 CR: M/C/I Using default environment DM: v2 mmc@fe2c0000: 1, mmc@fe2e0000: 0 Card did not respond to voltage select! mmc_init: -95, time 13 switch to partitions #0, OK mmc1 is current device Boot from SDcard Bootdev(scan): mmc 1 MMC1: Legacy, 52Mhz PartType: EFI No misc partition boot mode: None FIT: No boot partition Failed to load DTB, ret=-2 No valid DTB, ret=-22 Failed to get kernel dtb, ret=-22 Model: Orange Pi 5 MPIDR: 0x81000000 CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A) b0pll 24000 KHz b1pll 24000 KHz lpll 24000 KHz v0pll 24000 KHz aupll 24000 KHz cpll 1500000 KHz gpll 1188000 KHz npll 24000 KHz ppll 1100000 KHz aclk_center_root 702000 KHz pclk_center_root 100000 KHz hclk_center_root 396000 KHz aclk_center_low_root 500000 KHz aclk_top_root 750000 KHz pclk_top_root 100000 KHz aclk_low_top_root 396000 KHz No misc partition Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 starting USB... Bus usb@fc000000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fc800000: USB EHCI 1.00 Bus usb@fc840000: USB OHCI 1.0 Bus usb@fc880000: USB EHCI 1.00 Bus usb@fc8c0000: USB OHCI 1.0 Bus usb@fcd00000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fc000000 for devices... 1 USB Device(s) found scanning bus usb@fc800000 for devices... 1 USB Device(s) found scanning bus usb@fc840000 for devices... 1 USB Device(s) found scanning bus usb@fc880000 for devices... 1 USB Device(s) found scanning bus usb@fc8c0000 for devices... 1 USB Device(s) found scanning bus usb@fcd00000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3906 bytes read in 22 ms (172.9 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 1:1 289 bytes read in 19 ms (14.6 KiB/s) 16738524 bytes read in 1382 ms (11.5 MiB/s) 38277632 bytes read in 3103 ms (11.8 MiB/s) 148164 bytes read in 122 ms (1.2 MiB/s) Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards. Unknown command 'kaslrseed' - try 'help' Fdt Ramdisk skip relocation No misc partition ## Loading init Ramdisk from Legacy Image at 0a200000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 16738460 Bytes = 16 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 0x08300000 Booting using the fdt blob at 0x08300000 reserving fdt memory region: addr=8300000 size=8a000 Using Device Tree in place at 0000000008300000, end 000000000838cfff can't found rockchip,drm-logo, use rockchip,fb-logo WARNING: could not set reg FDT_ERR_BADOFFSET. failed to reserve fb-loader-logo memory WARNING: could not set reg FDT_ERR_BADOFFSET. ## reserved-memory: shmem@10f000: addr=10f000 size=100 Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000) Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000) Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000) Adding bank: 0x4f0000000 - 0x500000000 (size: 0x10000000) Total: 13124.390/13152.482 ms Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 6.12.42-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP PREEMPT Fri Aug 15 10:14:14 UTC 2025 [ 0.000000] KASLR disabled due to lack of seed [ 0.000000] Machine model: Xunlong Orange Pi 5 [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: 0x000000000010f000..0x000000000010f0ff (0 KiB) nomap non-reusable shmem@10f000 [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000004ffffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x4fdf30a40-0x4fdf331bf] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000004ffffffff] [ 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 0x0000000100000000-0x00000003fbffffff] [ 0.000000] node 0: [mem 0x00000003fc500000-0x00000003ffefffff] [ 0.000000] node 0: [mem 0x00000004f0000000-0x00000004ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000004ffffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] On node 0, zone Normal: 1280 pages in unavailable ranges [ 0.000000] On node 0, zone Normal: 256 pages in unavailable ranges [ 0.000000] cma: Reserved 256 MiB at 0x00000000e0000000 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 s99544 r8192 d31528 u139264 [ 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: 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=b879703b-1824-4faa-b2fd-447377946c85 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=7 ubootpart=54782d48-122d-bc44-b795-0bd9a0b2c55c usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cma=256M cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory androidboot.fwver=bl31-v1.44,uboot-02/06/2025 [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=54782d48-122d-bc44-b795-0bd9a0b2c55c cgroup_enable=memory cgroup_memory=1", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear) [ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 4192256 [ 0.000000] Policy zone: Normal [ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off [ 0.000000] software IO TLB: area num 8. [ 0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, 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=8. [ 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=8 [ 0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8. [ 0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 480 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: MBI range [424:479] [ 0.000000] GICv3: Using MBI frame 0x00000000fe610000 [ 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:0x00000000fe680000 [ 0.000000] ITS [mem 0xfe640000-0xfe65ffff] [ 0.000000] GIC: enabling workaround for ITS: Rockchip erratum RK3588001 [ 0.000000] ITS@0x00000000fe640000: allocated 8192 Devices @100440000 (indirect, esz 8, psz 64K, shr 0) [ 0.000000] ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @100450000 (flat, esz 2, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] ITS [mem 0xfe660000-0xfe67ffff] [ 0.000000] GIC: enabling workaround for ITS: Rockchip erratum RK3588001 [ 0.000000] ITS@0x00000000fe660000: allocated 8192 Devices @100470000 (indirect, esz 8, psz 64K, shr 0) [ 0.000000] ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @100480000 (flat, esz 2, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000100490000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000001004a0000 [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@100[1] /cpus/cpu@200[2] /cpus/cpu@300[3] } [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@400[4] /cpus/cpu@500[5] /cpus/cpu@600[6] /cpus/cpu@700[7] } [ 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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000907] Console: colour dummy device 80x25 [ 0.000918] printk: legacy console [tty1] enabled [ 0.001692] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001718] pid_max: default: 32768 minimum: 301 [ 0.001793] LSM: initializing lsm=capability,yama,apparmor [ 0.001860] Yama: becoming mindful. [ 0.002067] AppArmor: AppArmor initialized [ 0.002173] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.002222] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.004702] rcu: Hierarchical SRCU implementation. [ 0.004720] rcu: Max phase no-delay instances is 1000. [ 0.004954] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.005667] EFI services will not be available. [ 0.006020] smp: Bringing up secondary CPUs ... [ 0.006582] Detected VIPT I-cache on CPU1 [ 0.006640] GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000 [ 0.006656] GICv3: CPU1: using allocated LPI pending table @0x00000001004b0000 [ 0.006694] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.007331] Detected VIPT I-cache on CPU2 [ 0.007384] GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000 [ 0.007400] GICv3: CPU2: using allocated LPI pending table @0x00000001004c0000 [ 0.007436] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.008086] Detected VIPT I-cache on CPU3 [ 0.008137] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000 [ 0.008152] GICv3: CPU3: using allocated LPI pending table @0x00000001004dreallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.029028] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.029264] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.029287] audit: initializing netlink subsys (disabled) [ 0.029395] audit: type=2000 audit(0.024:1): state=initialized audit_enabled=0 res=1 [ 0.029648] thermal_sys: Registered thermal governor 'fair_share' [ 0.029652] thermal_sys: Registered thermal governor 'bang_bang' [ 0.029658] thermal_sys: Registered thermal governor 'step_wise' [ 0.029662] thermal_sys: Registered thermal governor 'user_space' [ 0.029693] cpuidle: using governor menu [ 0.029788] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.029892] ASID allocator initialised with 65536 entries [ 0.029965] Serial: AMBA PL011 UART driver [ 0.035155] /vop@fdd90000: Fixed dependency cycle(s) with /hdmi@fde80000 [ 0.035180] /hdmi@fde80000: Fixed dependency cycle(s) with /vop@fdd90000 [ 0.037067] /pcie@fe190000: Fixed dependency cycle(s) with /pcie@fe190000/legacy-interrupt-controller [ 0.038925] /i2c@fec80000/usb-typec@22/connector: Fixed dependency cycle(s) with /usb@fc000000 [ 0.039307] /i2c@fec80000/usb-typec@22/connector: Fixed dependency cycle(s) with /phy@fed80000 [ 0.039332] /usb@fc000000: Fixed dependency cycle(s) with /phy@fed80000 [ 0.039354] /phy@fed80000: Fixed dependency cycle(s) with /i2c@fec80000/usb-typec@22/connector [ 0.044261] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.044457] rockchip-gpio fd8a0000.gpio: probed /pinctrl/gpio@fd8a0000 [ 0.044555] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.044659] rockchip-gpio fec20000.gpio: probed /pinctrl/gpio@fec20000 [ 0.044739] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.044836] rockchip-gpio fec30000.gpio: probed /pinctrl/gpio@fec30000 [ 0.044946] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.045042] rockchip-gpio fec40000.gpio: probed /pinctrl/gpio@fec40000 [ 0.045158] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.045251] rockchip-gpio fec50000.gpio: probed /pinctrl/gpio@fec50000 [ 0.045929] /hdmi@fde80000: Fixed dependency cycle(s) with /hdmi0-con [ 0.045955] /hdmi0-con: Fixed dependency cycle(s) with /hdmi@fde80000 [ 0.046846] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.046854] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.046860] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.046864] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.046869] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.046873] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.046878] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.046882] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.047467] cryptd: max_cpu_qlen set to 1000 [ 0.114290] raid6: neonx8 gen() 6673 MB/s [ 0.182377] raid6: neonx4 gen() 6624 MB/s [ 0.250449] raid6: neonx2 gen() 5590 MB/s [ 0.318521] raid6: neonx1 gen() 4434 MB/s [ 0.386598] raid6: int64x8 gen() 2945 MB/s [ 0.454669] raid6: int64x4 gen() 3097 MB/s [ 0.522737] raid6: int64x2 gen() 2585 MB/s [ 0.590817] raid6: int64x1 gen() 2128 MB/s [ 0.590821] raid6: using algorithm neonx8 gen() 6673 MB/s [ 0.658879] raid6: .... xor() 5046 MB/s, rmw enabled [ 0.658884] raid6: using neon recovery algorithm [ 0.659158] iommu: Default domain type: Translated [ 0.659164] iommu: DMA domain TLB invalidation policy: strict mode [ 0.659522] SCSI subsystem initialized [ 0.659701] u 1.340960] pci_bus 0004:40: root bus resource [io 0x0000-0xfffff] (bus address [0xf4100000-0xf41fffff]) [ 1.340967] pci_bus 0004:40: root bus resource [mem 0xf4200000-0xf4ffffff] [ 1.340973] pci_bus 0004:40: root bus resource [mem 0xa00000000-0xa3fffffff] (bus address [0x40000000-0x7fffffff]) [ 1.340992] pci 0004:40:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port [ 1.341008] pci 0004:40:00.0: ROM [mem 0x00000000-0x0000ffff pref] [ 1.341014] pci 0004:40:00.0: PCI bridge to [bus 01-ff] [ 1.341021] pci 0004:40:00.0: bridge window [io 0x0000-0x0fff] [ 1.341027] pci 0004:40:00.0: bridge window [mem 0x00000000-0x000fffff] [ 1.341035] pci 0004:40:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref] [ 1.341069] pci 0004:40:00.0: supports D1 D2 [ 1.341074] pci 0004:40:00.0: PME# supported from D0 D1 D3hot [ 1.343675] pci 0004:40:00.0: Primary bus is hard wired to 0 [ 1.343681] pci 0004:40:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring [ 1.343768] pci 0004:41:00.0: [1987:5021] type 00 class 0x010802 PCIe Endpoint [ 1.343832] pci 0004:41:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit] [ 1.344438] pci 0004:41:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0004:40:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link) [ 1.352802] pci_bus 0004:41: busn_res: [bus 41-4f] end is updated to 41 [ 1.352817] pci 0004:40:00.0: bridge window [mem 0xf4200000-0xf42fffff]: assigned [ 1.352824] pci 0004:40:00.0: ROM [mem 0xf4300000-0xf430ffff pref]: assigned [ 1.352831] pci 0004:41:00.0: BAR 0 [mem 0xf4200000-0xf4203fff 64bit]: assigned [ 1.352864] pci 0004:40:00.0: PCI bridge to [bus 41] [ 1.352869] pci 0004:40:00.0: bridge window [mem 0xf4200000-0xf42fffff] [ 1.352877] pci_bus 0004:40: resource 4 [io 0x0000-0xfffff] [ 1.352882] pci_bus 0004:40: resource 5 [mem 0xf4200000-0xf4ffffff] [ 1.352888] pci_bus 0004:40: resource 6 [mem 0xa00000000-0xa3fffffff] [ 1.352893] pci_bus 0004:41: resource 1 [mem 0xf4200000-0xf42fffff] [ 1.353934] pcieport 0004:40:00.0: PME: Signaling with IRQ 44 [ 1.354071] pcieport 0004:40:00.0: AER: enabled with IRQ 45 [ 1.355494] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.355503] dma-pl330 fea10000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 1.356061] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.356070] dma-pl330 fea30000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 1.356653] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.356661] dma-pl330 fed10000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 1.357460] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.358636] printk: legacy console [ttyS2] disabled [ 1.358743] feb50000.serial: ttyS2 at MMIO 0xfeb50000 (irq = 52, base_baud = 1500000) is a 16550A [ 1.358836] printk: legacy console [ttyS2] enabled [ 1.528314] Serial: AMBA driver [ 1.532556] loop: module loaded [ 1.533253] Key type psk registered [ 1.534024] nvme nvme0: pci function 0004:41:00.0 [ 1.534450] nvme 0004:41:00.0: enabling device (0000 -> 0002) [ 1.534754] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/regulators/dcdc-reg6 [ 1.535796] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/regulators/dcdc-reg7 [ 1.536659] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs3-null-pins [ 1.537468] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs2-null-pins [ 1.538267] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs1-null-pins [ 1.539124] rockchip-pinctrl pinctrl: pin gpio0-2 already requested by leds; cannot claim forber: xhci-hcd.0.auto [ 1.565087] hub 6-0:1.0: USB hub found [ 1.565425] hub 6-0:1.0: 1 port detected [ 1.565879] usbcore: registered new interface driver usb-storage [ 1.565976] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.567067] mousedev: PS/2 mouse device common for all mice [ 1.567140] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.567740] i2c_dev: i2c /dev entries driver [ 1.568266] usb usb4: Product: EHCI Host Controller [ 1.569097] usb usb4: Manufacturer: Linux 6.12.42-current-rockchip64 ehci_hcd [ 1.569734] usb usb4: SerialNumber: fc880000.usb [ 1.569763] /i2c@fec80000/usb-typec@22/connector: Fixed dependency cycle(s) with /phy@fed80000 [ 1.570456] fan53555-regulator 2-0042: FAN53555 Option[10] Rev[1] Detected! [ 1.570660] fan53555-regulator 0-0042: FAN53555 Option[10] Rev[1] Detected! [ 1.570917] /i2c@fec80000/usb-typec@22/connector: Fixed dependency cycle(s) with /usb@fc000000 [ 1.571120] fan53555-regulator 0-0043: FAN53555 Option[10] Rev[1] Detected! [ 1.572747] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00 [ 1.573146] hub 4-0:1.0: USB hub found [ 1.573779] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property [ 1.574054] hub 4-0:1.0: 1 port detected [ 1.574460] hwmon hwmon0: temp1_input not attached to any thermal zone [ 1.575266] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.576023] sdhci: Secure Digital Host Controller Interface driver [ 1.576599] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.577146] sdhci: Copyright(c) Pierre Ossman [ 1.577774] usb usb3: Product: EHCI Host Controller [ 1.578162] Synopsys Designware Multimedia Card Interface Driver [ 1.578579] usb usb3: Manufacturer: Linux 6.12.42-current-rockchip64 ehci_hcd [ 1.578872] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.579107] usb usb3: SerialNumber: fc800000.usb [ 1.579750] arm-scmi arm-scmi.1.auto: Using scmi_smc_transport [ 1.580513] hub 3-0:1.0: USB hub found [ 1.580628] arm-scmi arm-scmi.1.auto: SCMI max-rx-timeout: 30ms [ 1.580639] hub 3-0:1.0: 1 port detected [ 1.581236] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 1.583094] arm-scmi arm-scmi.1.auto: SCMI Notifications - Core Enabled. [ 1.583706] arm-scmi arm-scmi.1.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 1.588723] nvme nvme0: allocated 64 MiB host memory buffer. [ 1.589070] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 1.589871] hid: raw HID events driver (C) Jiri Kosina [ 1.590361] usbcore: registered new interface driver usbhid [ 1.590849] usbhid: USB HID core driver [ 1.591592] rockchip-dfi fe060000.dfi: dfi initialized, dram type: 0x8, channels: 4 [ 1.593160] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available [ 1.594543] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 (0,8000003f) counters available [ 1.596479] NET: Registered PF_INET6 protocol family [ 1.604938] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 1.605698] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.606348] usb usb2: Product: Generic Platform OHCI controller [ 1.606880] usb usb2: Manufacturer: Linux 6.12.42-current-rockchip64 ohci_hcd [ 1.607519] usb usb2: SerialNumber: fc840000.usb [ 1.608405] hub 2-0:1.0: USB hub found [ 1.608811] hub 2-0:1.0: 1 port detected [ 1.609599] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 1.610342] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.610987] usb usb5: Product: Generic Platform OHCI controller [ 1.611515] usb usb5: Manufacturer: Linux 6.12.42-current-rockchip64 [ 1.626421] Segment Routing with IPv6 [ 1.626780] In-situ OAM (IOAM) with IPv6 [ 1.627191] NET: Registered PF_PACKET protocol family [ 1.627644] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.628986] 8021q: 802.1Q VLAN Support v1.8 [ 1.629386] Key type dns_resolver registered [ 1.632685] registered taskstats version 1 [ 1.633251] Loading compiled-in X.509 certificates [ 1.639569] zswap: loaded using pool zstd/zbud [ 1.640116] Demotion targets for Node 0: null [ 1.640682] Key type .fscrypt registered [ 1.641042] Key type fscrypt-provisioning registered [ 1.642293] Btrfs loaded, zoned=yes, fsverity=yes [ 1.642768] Key type encrypted registered [ 1.643123] AppArmor: AppArmor sha256 policy hashing enabled [ 1.658124] WCN: marlin_init entry! [ 1.658579] of_cfs_init [ 1.658808] of_cfs_init: OK [ 1.675629] clk: Disabling unused clocks [ 1.676450] PM: genpd: Disabling unused power domains [ 1.678098] Freeing unused kernel memory: 5312K [ 1.678563] Run /init as init process [ 1.982323] typec_fusb302 6-0022: No cable types defined, using default cables [ 1.988807] rockchip-vop2 fdd90000.vop: Adding to iommu group 0 [ 1.989157] rtc-hym8563 6-0051: no valid clock/calendar values available [ 1.989716] rk_gmac-dwmac fe1c0000.ethernet: IRQ eth_lpi not found [ 1.990163] rtc-hym8563 6-0051: registered as rtc0 [ 1.990475] rk_gmac-dwmac fe1c0000.ethernet: IRQ sfty not found [ 1.991638] rk_gmac-dwmac fe1c0000.ethernet: supply phy not found, using dummy regulator [ 1.991898] rtc-hym8563 6-0051: no valid clock/calendar values available [ 1.992456] rk_gmac-dwmac fe1c0000.ethernet: clock input or output? (output). [ 1.992972] rtc-hym8563 6-0051: hctosys: unable to read the hardware clock [ 1.993282] rockchip-drm display-subsystem: bound fdd90000.vop (ops vop2_component_ops [rockchipdrm]) [ 1.993616] rk_gmac-dwmac fe1c0000.ethernet: TX delay(0x42). [ 1.994838] dwhdmiqp-rockchip fde80000.hdmi: registered DesignWare HDMI QP I2C bus driver [ 1.995054] rk_gmac-dwmac fe1c0000.ethernet: Can not read property: rx_delay. [ 1.995529] rockchip-drm display-subsystem: bound fde80000.hdmi (ops dw_hdmi_qp_rockchip_ops [rockchipdrm]) [ 1.996240] rk_gmac-dwmac fe1c0000.ethernet: set rx_delay to 0x10 [ 1.997160] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0 [ 1.997742] rk_gmac-dwmac fe1c0000.ethernet: integrated PHY? (no). [ 2.004473] rk_gmac-dwmac fe1c0000.ethernet: init for RGMII_RXID [ 2.005264] rk_gmac-dwmac fe1c0000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 2.005911] rk_gmac-dwmac fe1c0000.ethernet: DWMAC4/5 [ 2.006373] rk_gmac-dwmac fe1c0000.ethernet: DMA HW capability register supported [ 2.006470] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 2.007037] rk_gmac-dwmac fe1c0000.ethernet: RX Checksum Offload Engine supported [ 2.007522] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 7 [ 2.007530] rk_gmac-dwmac fe1c0000.ethernet: TX Checksum insertion supported [ 2.008270] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 2.008896] rk_gmac-dwmac fe1c0000.ethernet: Wake-Up On Lan supported [ 2.009543] xhci-hcd xhci-hcd.3.auto: irq 88, io mem 0xfc000000 [ 2.010400] rk_gmac-dwmac fe1c0000.ethernet: TSO supported [ 2.010958] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 2.011423] rk_gmac-dwmac fe1c0000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 2.011904] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 8 [ 2.011917] rk_gmac-dwmac fe1c0000.ethernet: Enabled L3L4 Flow TC (entries=2) [ 2.012395] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed [ 2.012406] rk_gmac-dwmac fe1c0000.ethernet: Enabled RFS Flow TC (entries=10) [ 2.013153] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.013794] rk_gmac-dwmac fe1c0000.ethernet: TSO feature enabled [ 2.014416] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.014427] rk_gmac-dwmac fe1c0000.ethernet: SPH feature enabled [ 2.014995] usb usb7: Product: xHCI Host Controller [ 2.015007] rk_gmac-dwmac fe1c0000.ethernet: Using 32/32 bits DMA host/device width [ 2.015626] usb usb7: Manufacturer: Linux 6.12.42-current-rockchip64 xhci-hcd [ 2.019731] usb usb7: SerialNumber: xhci-hcd.3.auto [ 2.020451] hub 7-0:1.0: USB hub found [ 2.020799] hub 7-0:1.0: 1 port detected [ 2.159805] Console: switching to colour frame buffer device 160x45 [ 2.175587] rk_gmac-dwmac fe1c0000.ethernet end0: renamed from eth0 [ 2.196355] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device [ 2.213113] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.213953] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12 [ 2.214762] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.215469] usb usb8: Product: xHCI Host Controller [ 2.215948] usb usb8: Manufacturer: Linux 6.12.42-current-rockchip64 xhci-hcd [ 2.216645] usb usb8: SerialNumber: xhci-hcd.3.auto [ 2.217493] hub 8-0:1.0: USB hub found [ 2.217879] hub 8-0:1.0: 1 port detected [ 2.219226] typec_fusb302 6-0022: No cable types defined, using default cables [ 12.258507] typec_fusb302 6-0022: No cable types defined, using default cables [ 12.271017] platform adc-keys: deferred probe pending: platform: supplier fec10000.adc not ready [ 12.279203] platform fec10000.adc: deferred probe pending: platform: wait for supplier /spi@feb20000/pmic@0/regulators/pldo-reg1 [ 12.287827] platform vcc-3v3-sd-s0-regulator: deferred probe pending: platform: wait for supplier /spi@feb20000/pmic@0/regulators/dcdc-reg8 [ 12.296656] i2c 6-0022: deferred probe pending: typec_fusb302: cannot register tcpm port [ 12.305122] platform fe2c0000.mmc: deferred probe pending: platform: wait for supplier /spi@feb20000/pmic@0/regulators/pldo-reg5 [ 18.708830] random: crng init done
-
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?
-
Help wanted to test a new OpenVFD alternative
dale replied to Jean-Francois Lessard's topic in Amlogic meson
Hi, I finally got my display to work with below DT overlay source. My device is x98h. Thank you! /dts-v1/; /plugin/; #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/leds/common.h> &{/} { display_client: spi { #address-cells = <1>; #size-cells = <0>; compatible = "spi-gpio"; sck-gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; mosi-gpios = <&pio 2 2 GPIO_ACTIVE_HIGH>; cs-gpios = <&pio 2 12 GPIO_ACTIVE_LOW>; num-chipselects = <1>; display@0 { compatible = "fdhisi,fd628"; reg = <0x0>; spi-3wire; spi-lsb-first; spi-rx-delay-us = <1>; spi-max-frequency = <500000>; tm16xx,transposed; tm16xx,digits = [00 01 02 03]; tm16xx,segment-mapping = [00 01 02 03 04 05 06]; #address-cells = <2>; #size-cells = <0>; led@4,0 { reg = <4 0>; function = LED_FUNCTION_USB; }; led@4,1 { reg = <4 1>; function = LED_FUNCTION_SD; }; led@4,2 { reg = <4 2>; function = "hi-wifi"; }; led@4,3 { reg = <4 3>; function = "low-wifi"; }; led@4,4 { reg = <4 4>; function = "colon"; }; led@4,5 { reg = <4 5>; function = "apps"; }; led@4,6 { reg = <4 6>; function = LED_FUNCTION_LAN; }; }; }; }; -
This doesn't exactly answer your question, but it may meet your need better... I experimented around with different fans & heatsink configurations. Using an official Debian image from Orange PI 5 Plus, I found that the PWM controlled fan changed speed pretty abruptly, and only at high temperatures. Their adjustment algorithm didn't apply any decent smoothing at all. It was very noisy, and the constant changes whenever I did anything made it very distracting. I ended up purchasing a 3rd party fan with two single-pin leads that I could connect to the GPIO's 3.3v (or 5v). And I have it mounted on a Geekworm case (N508 - made for the Orange PI 5 Plus), with a short heatsink over the ICs. That case had actually come with a fan that had a single 2-pin connector, so it was only good for 5v and about 5 months before it died. From the GPIO, the 5v is on all the time the computer is receiving power, but the 3.3v is only on while the computer is on. If you "shut down" the computer, the 3.3v shuts down along with it. When I first tried the new fan on 5v, it wasn't too bad, but I could hear it. If I ran it off the 3.3v (which I do all the time now), it's virtually silent. When I run something that maxes out the CPU for a long time, with this fan on 3.3v running (and the short heatsink in place), the SoC temperatures stabilize around 50 degrees, and I've never seen them exceed the mid-50s with this setup. That is way lower than that official PWM fan did with that pseudo-heatsink it's mounted on, under the same CPU load. And I never have to worry about the fan quitting if some software PWM control malfunctions. Here's that new fan I bought (it came in a pack of 4): https://www.amazon.com/dp/B08R1CXGCJ?ref=ppx_yo2ov_dt_b_fed_asin_title If you have an N508 or similar type of case, the fan mounts to the top of the case. I checked, and Geekworm is apparently no longer selling that case? But back when I was looking into all this, I had found another very similar case sold by a different company (after I'd already purchased the N508) - I don't remember its name. But the fan it came with came with two single-pin connectors like the fan I eventually ended up staying with.
-
Help wanted to test a new OpenVFD alternative
dale replied to Jean-Francois Lessard's topic in Amlogic meson
Hi, thanks for checking. I check dmesg -T | grep spi_gpio and see the error spi_gpio spi: probe with driver spi_gpio failed with error -22. Also the /sys/class/leds is empty. Do you think the gpio pins are not correct? Below are current gpio pins I try this time mosi-gpios = <&pio 2 11 GPIO_ACTIVE_HIGH>; /* PC11 = data */ sck-gpios = <&pio 2 12 GPIO_ACTIVE_HIGH>; /* PC12 = clock */ cs-gpios = <&pio 7 5 GPIO_ACTIVE_LOW>; /* PH5 = strobe/latch */ -
Help wanted to test a new OpenVFD alternative
Jean-Francois Lessard replied to Jean-Francois Lessard's topic in Amlogic meson
@dale it seems like vfd-convert has not worked well. Perhaps because of some mix between script version and the template files version. Whatsoever, I've looked closer at the patch link you previously posted, this is the older pre-review dt-bindings syntax. You should be go to start with something like: /dts-v1/; /plugin/; #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/leds/common.h> &{/} { display_client: spi { #address-cells = <1>; #size-cells = <0>; compatible = "spi-gpio"; sck-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; cs-gpios = <&gpio 12 GPIO_ACTIVE_LOW>; num-chipselects = <1>; display@0 { compatible = "fdhisi,fd628"; reg = <0x0>; spi-3wire; spi-lsb-first; spi-rx-delay-us = <1>; spi-max-frequency = <500000>; titanmec,digits = [00 01 02 03]; titanmec,segment-mapping = [03 01 02 06 04 05 00]; #address-cells = <2>; #size-cells = <0>; led@4,0 { reg = <4 0>; function = LED_FUNCTION_ALARM; }; led@4,1 { reg = <4 1>; function = LED_FUNCTION_USB; }; led@4,2 { reg = <4 2>; function = "play"; }; led@4,3 { reg = <4 3>; function = "pause"; }; led@4,4 { reg = <4 4>; function = "colon"; }; led@4,5 { reg = <4 5>; function = LED_FUNCTION_LAN; }; led@4,6 { reg = <4 6>; function = LED_FUNCTION_WLAN; }; }; }; }; Note that I haven't tested it, just made it from some copy-paste. If it doesn't work, even partially, you would most likely need to replace &gpio with the right reference to the gpio controller wired to the display. -
Hi everyone, I’m using an ASUS Tinker Board (RK3288, 2 GB, released in 2017). Since this board is quite old and we are now in 2025 I want to run the latest stable Armbian and develop a Python application using I²C, UART, PWM, and GPIO pins. Which Armbian image and kernel branch (current or edge) is the most stable for this board? Are there any specific steps or adjustments needed due to its older hardware? Thanks!
-
Help wanted to test a new OpenVFD alternative
dale replied to Jean-Francois Lessard's topic in Amlogic meson
@Jean-Francois Lessard sorry for making you confused. Device tree source for tm16xx driver that I convert from a working openvfd.conf is below /dts-v1/; /plugin/; #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/leds/common.h> &{/} { display_client: spi { #address-cells = <1>; #size-cells = <0>; compatible = "spi-gpio"; sck-gpios = < 7 GPIO_ACTIVE_HIGH>; mosi-gpios = < 2 GPIO_ACTIVE_HIGH>; cs-gpios = < 12 GPIO_ACTIVE_LOW>; num-chipselects = <1>; display@0 { compatible = "fdhisi,fd628"; reg = <0>; spi-3wire; spi-lsb-first; spi-max-frequency = <500000>; digits { #address-cells = <1>; #size-cells = <0>; 01 02 03 04 }; leds { #address-cells = <2>; #size-cells = <0>; led@{GRID0},0 { reg = <{GRID0} 0>; function = "apps"; }; led@{GRID1},1 { reg = <{GRID1} 1>; function = "setup"; }; led@{GRID2},2 { reg = <{GRID2} 2>; function = LED_FUNCTION_USB; }; led@{GRID3},3 { reg = <{GRID3} 3>; function = LED_FUNCTION_SD; }; led@{GRID4},4 { reg = <{GRID4} 4>; function = "colon"; }; led@{GRID5},5 { reg = <{GRID5} 5>; function = "hdmi"; }; led@{GRID6},6 { reg = <{GRID6} 6>; function = "video"; }; }; }; }; }; The convert script I downloaded from this commit https://github.com/jefflessard/tm16xx-display/blob/a93b257ed4c73780fcdefbb1f1dd189599cf6ecc/vfdconf-convert Can you please help get it to work? Thanks! -
Hi all, I'm trying to use a DHT11 temperature and humidity sensor with my Armbian-based Orange Pi. I grabbed this DHT11 module. It’s cheap and seemed ideal for simple readings. The wiring matches the usual 3.3 V setup (VCC, data, GND), and I'm using the Adafruit_DHT Python library with the right pin number. Here’s my problem: Readings work perfectly right after reboot. tempo is consistent and logical. After a few minutes, the humidity values hang (stuck at 0 %), and temperature readings start to spike randomly or freeze. Resetting the board or restarting the Python script often fixes it temporarily. I've double-checked wiring (no loose connections), shielded against shorts, and even tried using a 10 k pull-up resistor on the data line. but the issue persists. Questions: Could this be a timing issue with how the Armbian kernel handles the GPIO? Any known quirks with DHT11 + Armbian or Orange Pi boards? Would using a level shifter or adding a small capacitor help stabilize the data line? Would love to hear from anyone who’s successfully run DHT11 sensors on Armbian or suggestions on how to dig into what's causing the freeze-up. Thanks for any help! —Jordan
-
Let's divide it into parts - Bluetooth Bluetooth isn't working. I've tried activating UART7 and GPIO pins 19 and 22, but to no avail. I installed the drivers, but to no avail. Bluetooth isn't communicating! - Audio ES8388 For some unknown reason, the ES8388 has audio disabled by default on the ASA. To fix this, simply go to the terminal and run the command user@user alsamixer Then use the buttons to move around until you find OUT1. Out1 above it says MM (mute), so click M to make it 00 with a green background. Audio problem solved - Language I can't set the language to Portuguese in the Gnome interface even after installing the packages manually and through armbiam-config - Kernel Please, even if kernel 6.1.xx++ does not work, use the latest functional kernel, for me kernel 6.1.115 is very functional. No critical problems.
-
HDMI audio and analog audio do not work on Opi5Plus
The Tall Man replied to ずっと一人's topic in Orange Pi 5 Plus
I Did It! I Got It Working!! ES8388 Analog Audio Output Here's How (this is very easy to do): It just involves making one simple modification to the devicetree. Note: I did this with the Edge kernel. My guess is that it will also work with the Current kernel. You can also try the Vendor kernel if its devicetree has the same code. Update: I've addressed the Current and Vendor kernels in this comment below: https://forum.armbian.com/topic/52118-hdmi-audio-and-analog-audio-do-not-work-on-opi5plus/#findComment-225009 I manually applied this patch: https://patchwork.kernel.org/project/linux-rockchip/patch/20250823-orangepi5-v1-1-ae77dd0e06d7@hotmail.com/ If you scroll to the bottom where it gives the patch, the GPIO_ACTIVE_LOW needs to be changed to GPIO_ACTIVE_HIGH in the given section of the devicetree. Here's the simple / quick way to fix it, without having to go through any lengthy (re)builds. Modify the already installed devicetree file (/boot/dtb/rockchip/rk3588-orangepi-5-plus.dtb). 1. Install the package: device-tree-compiler 2. Backup the original, and convert to .dts format as follows: # Go to your devicetree directory cd /boot/dtb/rockchip/ # Make a backup of your original devicetree: sudo cp rk3588-orangepi-5-plus.dtb rk3588-orangepi-5-plus.dtb.bak # Use device-tree-compiler to convert the file from the binary .dtb format to source (text) .dts format (ignore the warnings) sudo dtc -I dtb -O dts -o rk3588-orangepi-5-plus.dts rk3588-orangepi-5-plus.dtb # Safety-Check Part 1: Convert right back to .dtb format (another filename), ignore the warnings. sudo dtc -O dtb -I dts -o rk3588-orangepi-5-plus-test.dtb rk3588-orangepi-5-plus.dts # Safety-Check Part 2: Compare the newly converted file with the original. They should be identical (this command should produce no output) cmp -l rk3588-orangepi-5-plus-test.dtb rk3588-orangepi-5-plus.dtb 3. Using a text editor in sudo mode, edit the source (text) file: rk3588-orangepi-5-plus.dts Search for this phrase: simple-audio-card,hp-det-gpios I should appear exactly once in the file. # Here is what that line looks like (for me): simple-audio-card,hp-det-gpios = <0x133 0x1b 0x01>; # This is that same line before original compilation simple-audio-card,hp-det-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>; 4. Notice between the brackets, there are 3 values, separated by spaces. The third value is the value to modify from GPIO_ACTIVE_LOW to GPIO_ACTIVE_HIGH, or for us, from 0x01 to 0x00. 5. Convert your modified .dts file to a .dtb file (ignore the warnings): sudo dtc -O dtb -I dts -o rk3588-orangepi-5-plus-fixed.dtb rk3588-orangepi-5-plus.dts # Optional: Quick Comparison Check (this should output exactly 1 line with 3 numbers: [big number] 0 1) cmp -l rk3588-orangepi-5-plus-fixed.dtb rk3588-orangepi-5-plus.dtb 6. Copy the new fixed file to (overwriting) your original: sudo cp rk3588-orangepi-5-plus-fixed.dtb rk3588-orangepi-5-plus.dtb 7. Reboot (and have ES8388 analog audio out). Note: Whenever you do a kernel change or update, you will need to repeat this process until the Armbian kernel updates catch up with this patch. Here's the lengthier explanation (this is repeatable if you want to check it out yourself) 1. I downloaded the source code for version 25.8.1: https://github.com/armbian/build/releases/tag/v25.8.1 2. I extracted the archive and started the building process (./compile.sh) with the edge kernel (and a desktop image). It would not build because it rejected two of the kernel patches, but it did download everything into the cache. 3. I then found the file described in the patch: ./build-25.8.1/cache/sources/linux-kernel-worktree/6.16__rockchip64__arm64/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts 4. In that file, I searched for the line indicated in the patch, just prior to the line to modify: simple-audio-card,aux-devs = <&speaker_amp>, <&headphone_amp>; ...and found the appropriate section. I confirmed the line that followed matched the original (incorrect) version mentioned in the patch entry. 5. I then scrolled to the top of the .dts file and looked at the files #included, to find where the GPIO_ACTIVE_LOW macro was defined. I figured dt-bindings/gpio/gpio.h was a reasonable place to look first. I found it here: ./build-25.8.1/cache/sources/linux-kernel-worktree/6.16__rockchip64__arm64/include/dt-bindings/gpio/gpio.h Near the top of the file were these #defines: /* Bit 0 express polarity */ #define GPIO_ACTIVE_HIGH 0 #define GPIO_ACTIVE_LOW 1 6. See the simple fix above for the rest. Tags: @Werner, @Igor, @laibsch @dimaxus, @EricaLina, @ricardo_brz, @eselarm -
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:
-
Help! I used your overlay, but nothing works for me. 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:
-
H618 Orange Pi Zero2 – SPI/I2C/UART overlays not working after armbianEnv.txt edit I’m using Orange Pi Zero2 (H616) with Armbian. I edited /boot/armbianEnv.txt to enable SPI/I2C/UART, but GPIO pins for SPI/I2C/UART are not working. gpio readall shows OFF or wrong ALT modes. overlay_prefix=sun50i-h616 overlays=spi-spidev spidev1_1 uart5 i2c3-ph 229 SDA.3 ALT5 228 SCL.3 ALT5 231 MOSI.1 OFF 232 MISO.1 OFF 230 SCLK.1 OFF ... sun50i-h616-bananapi-m4-spi1-cs0-cs1-spidev.dtbo sun50i-h616-bananapi-m4-spi1-cs0-spidev.dtbo sun50i-h616-bananapi-m4-spi1-cs1-spidev.dtbo sun50i-h616-i2c3-ph.dtbo sun50i-h616-uart5.dtbo ... Copy dtbo to /boot/dtb/allwinner/overlay/ Reboot Which overlays are correct for SPI/I2C/UART on H616? How to check if dtbo is actually loaded? If copying dtbo doesn’t help, what should I do? Thanks!
-
Log with Verbosity 7. Some problems with access to SD card. Tried with two different cards, the same result. Both are 32GB. Is size a problem? I will try with smaller like 8GB when I have one. Trying to boot from MMC1 NOTICE: BL31: v2.10.14(debug):armbian NOTICE: BL31: Built : 18:07:43, Apr 2 2025 NOTICE: BL31: Detected Allwinner H616 SoC (1823) NOTICE: BL31: Found U-Boot DTB at 0x4a0b2520, model: hechuang,x96-q LPDDR3 INFO: ARM GICv2 driver initialized INFO: Configuring SPC Controller INFO: PMIC: Probing AXP305 on RSB ERROR: RSB: set run-time address: 0x10003 INFO: Could not init RSB: -65539 INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied INFO: PSCI: Suspend is unavailable INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 INFO: Changed devicetree. ns16550_serial serial@5000000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 U-Boot 2025.01-armbian-2025.01-S6d41-P7151-H8869-V004f-Bb703-R448a-dirty (Apr 02 2025 - 21:10:39 -0400) Allwinner Technology CPU: Allwinner H616 (SUN50I) Model: hechuang,x96-q LPDDR3 DRAM: 1 GiB Core: 58 devices, 20 uclasses, devicetree: separate WDT: Not starting watchdog@30090a0 MMC: mmc@4020000: 0, mmc@4021000: 3, mmc@4022000: 1 Loading Environment from FAT... Unable to use mmc 0:1... In: serial@5000000 Out: serial@5000000 Err: serial@5000000 No USB device found Net: apply fix for AC300 ephy bb version bug ... using AC300 emac1 ephy default config ... eth0: ethernet@5030000 starting USB... No USB controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 4641 bytes read in 2 ms (2.2 MiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 202 bytes read in 2 ms (98.6 KiB/s) Load fdt: /boot/dtb/allwinner/sun50i-h313-x96-q-lpddr3.dtb 37577 bytes read in 6 ms (6 MiB/s) Working FDT set to 4fa00000 Failed to load '/boot/dtb/allwinner/overlay/sun50i-h616-fixup.scr' 15484849 bytes read in 981 ms (15.1 MiB/s) 42621440 bytes read in 2670 ms (15.2 MiB/s) Moving Image from 0x40080000 to 0x40200000, end=0x42b50000 ## Loading init Ramdisk from Legacy Image at 4ff00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 15484785 Bytes = 14.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Working FDT set to 4fa00000 Loading Ramdisk to 4913b000, end 49fff771 ... OK Loading Device Tree to 00000000490c9000, end 000000004913afff ... OK Working FDT set to 490c9000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.12.11-edge-sunxi64 (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 Thu Jan 23 11:23:05 EST 2025 [ 0.000000] Machine model: hechuang,x96-q LPDDR3 [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004007ffff (512 KiB) nomap non-reusable secmon@40000000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x000000004007ffff] [ 0.000000] node 0: [mem 0x0000000040080000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] cma: Reserved 64 MiB at 0x000000007ac00000 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.4 [ 0.000000] No bootconfig data provided, so skipping bootconfig [ 0.000000] percpu: Embedded 33 pages/cpu s95832 r8192 d31144 u135168 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=UUID=adc7b539-05e1-42cd-b4a4-263c1693e027 rootwait rootfstype=ext4 splash plymouth.ignore-serial-consoles console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=7 ubootpart=1709ba65-01 usb-storage.quirks= cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "splash ubootpart=1709ba65-01 cgroup_enable=memory", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 262144 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x000000007aa80000-0x000000007ab80000] (1MB) [ 0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 56722 entries in 222 pages [ 0.000000] ftrace: allocated 222 pages with 6 groups [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 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 30 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 Rude: 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] 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 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000744] Console: colour dummy device 80x25 [ 0.000761] printk: legacy console [tty1] enabled [ 0.001402] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.001436] pid_max: default: 32768 minimum: 301 [ 0.001688] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.001718] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.017371] rcu: Hierarchical SRCU implementation. [ 0.017424] rcu: Max phase no-delay instances is 1000. [ 0.017785] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.022347] EFI services will not be available. [ 0.023044] smp: Bringing up secondary CPUs ... [ 0.030373] Detected VIPT I-cache on CPU1 [ 0.030529] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.037222] Detected VIPT I-cache on CPU2 [ 0.037377] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.043811] Detected VIPT I-cache on CPU3 [ 0.043963] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.044160] smp: Brought up 1 node, 4 CPUs [ 0.044256] SMP: Total of 4 processors activated. [ 0.044271] CPU: All CPU(s) started at EL2 [ 0.044299] CPU features: detected: 32-bit EL0 Support [ 0.044314] CPU features: detected: 32-bit EL1 Support [ 0.044333] CPU features: detected: CRC32 instructions [ 0.044411] alternatives: applying system-wide alternatives [ 0.045835] Memory: 899180K/1048576K available (16448K kernel code, 3734K rwdata, 13308K rodata, 8000K init, 599K bss, 79692K reserved, 65536K cma-reserved) [ 0.046873] devtmpfs: initialized [ 0.059181] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.059260] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.063112] 22192 pages in range for non-PLT usage [ 0.063143] 513712 pages in range for PLT usage [ 0.063444] pinctrl core: initialized pinctrl subsystem [ 0.064414] DMI not present or invalid. [ 0.068171] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.071403] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.073236] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.075612] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.075763] audit: initializing netlink subsys (disabled) [ 0.076284] audit: type=2000 audit(0.073:1): state=initialized audit_enabled=0 res=1 [ 0.078025] thermal_sys: Registered thermal governor 'fair_share' [ 0.078043] thermal_sys: Registered thermal governor 'bang_bang' [ 0.078069] thermal_sys: Registered thermal governor 'step_wise' [ 0.078086] thermal_sys: Registered thermal governor 'user_space' [ 0.078226] cpuidle: using governor ladder [ 0.078292] cpuidle: using governor menu [ 0.078524] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.078709] ASID allocator initialised with 65536 entries [ 0.079648] Serial: AMBA PL011 UART driver [ 0.086030] /soc/bus@1000000/mixer@100000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.086230] /soc/interrupt-controller@3021000: Fixed dependency cycle(s) with /soc/interrupt-controller@3021000 [ 0.086435] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.086532] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000 [ 0.086578] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/lcd-controller@6515000 [ 0.086625] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/bus@1000000/mixer@100000 [ 0.086729] /soc/lcd-controller@6515000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.087882] /soc/bus@1000000/mixer@100000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.092356] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.093157] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.093300] /soc/bus@1000000/mixer@100000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.093432] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000 [ 0.093560] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/lcd-controller@6515000 [ 0.093606] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/bus@1000000/mixer@100000 [ 0.093985] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/lcd-controller@6515000 [ 0.094121] /soc/lcd-controller@6515000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.102909] /soc/hdmi@6000000: Fixed dependency cycle(s) with /connector [ 0.103091] /connector: Fixed dependency cycle(s) with /soc/hdmi@6000000 [ 0.107591] cryptd: max_cpu_qlen set to 1000 [ 0.108765] ACPI: Interpreter disabled. [ 0.109522] iommu: Default domain type: Translated [ 0.109572] iommu: DMA domain TLB invalidation policy: strict mode [ 0.110824] SCSI subsystem initialized [ 0.111234] usbcore: registered new interface driver usbfs [ 0.111301] usbcore: registered new interface driver hub [ 0.111377] usbcore: registered new device driver usb [ 0.112254] pps_core: LinuxPPS API ver. 1 registered [ 0.112276] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.112320] PTP clock support registered [ 0.112685] scmi_core: SCMI protocol bus registered [ 0.113359] Advanced Linux Sound Architecture Driver Initialized. [ 0.115070] clocksource: Switched to clocksource arch_sys_counter [ 1.272724] pnp: PnP ACPI: disabled [ 1.286113] NET: Registered PF_INET protocol family [ 1.286444] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.355371] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 1.355530] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 1.355583] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.355676] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 1.355972] TCP: Hash tables configured (established 8192 bind 8192) [ 1.356184] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.356245] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.356514] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 1.357478] RPC: Registered named UNIX socket transport module. [ 1.357530] RPC: Registered udp transport module. [ 1.357546] RPC: Registered tcp transport module. [ 1.357561] RPC: Registered tcp-with-tls transport module. [ 1.357576] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.357599] NET: Registered PF_XDP protocol family [ 1.357635] PCI: CLS 0 bytes, default 64 [ 1.358015] Trying to unpack rootfs image as initramfs... [ 1.370270] kvm [1]: nv: 554 coarse grained trap handlers [ 1.371156] kvm [1]: IPA Size Limit: 40 bits [ 1.374817] kvm [1]: vgic interrupt IRQ9 [ 1.374917] kvm [1]: Hyp nVHE mode initialized successfully [ 1.378104] Initialise system trusted keyrings [ 1.378701] workingset: timestamp_bits=46 max_order=18 bucket_order=0 [ 1.379643] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.380458] NFS: Registering the id_resolver key type [ 1.380562] Key type id_resolver registered [ 1.380579] Key type id_legacy registered [ 1.380638] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.380659] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.445578] NET: Registered PF_ALG protocol family [ 1.445663] Key type asymmetric registered [ 1.445681] Asymmetric key parser 'x509' registered [ 1.445698] Asymmetric key parser 'pkcs8' registered [ 1.445715] Key type pkcs7_test registered [ 1.445932] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.446375] io scheduler mq-deadline registered [ 1.446422] io scheduler kyber registered [ 1.446497] io scheduler bfq registered [ 1.461408] ledtrig-cpu: registered to indicate activity on CPUs [ 1.493514] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.499473] Serial: AMBA driver [ 1.531445] usbcore: registered new interface driver uas [ 1.531540] usbcore: registered new interface driver usb-storage [ 1.533206] mousedev: PS/2 mouse device common for all mice [ 1.535617] sun6i-rtc 7000000.rtc: registered as rtc0 [ 1.535711] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:08 UTC (86408) [ 1.543378] sdhci: Secure Digital Host Controller Interface driver [ 1.543430] sdhci: Copyright(c) Pierre Ossman [ 1.543921] Synopsys Designware Multimedia Card Interface Driver [ 1.547237] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.550997] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000000 [ 1.554963] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 (0,8000003f) counters available [ 1.556065] watchdog: NMI not fully supported [ 1.556114] watchdog: Hard watchdog permanently disabled [ 1.571917] NET: Registered PF_PACKET protocol family [ 1.572406] Key type dns_resolver registered [ 1.589413] registered taskstats version 1 [ 1.589983] Loading compiled-in X.509 certificates [ 1.594268] zswap: loaded using pool zstd/zsmalloc [ 1.618031] sun8i-mixer 1100000.mixer: Adding to iommu group 0 [ 1.622491] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 1.636870] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver [ 1.638759] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator [ 1.643845] printk: legacy console [ttyS0] disabled [ 1.644736] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 286, base_baud = 1500000) is a 16550A [ 1.644870] printk: legacy console [ttyS0] enabled [ 2.169787] Freeing initrd memory: 15120K [ 2.179196] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pg not found, using dummy regulator [ 2.892608] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 287, base_baud = 1500000) is a 16550A [ 2.902018] serial serial0: tty port ttyS1 registered [ 2.911992] phy phy-5100400.phy.0: Changing dr_mode to 1 [ 2.913438] ehci-platform 5200000.usb: EHCI Host Controller [ 2.915503] ehci-platform 5310000.usb: EHCI Host Controller [ 2.915549] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 1 [ 2.915736] ehci-platform 5310000.usb: irq 290, io mem 0x05310000 [ 2.918019] ehci-platform 5311000.usb: EHCI Host Controller [ 2.922133] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus) [ 2.923087] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 2 [ 2.923314] ehci-platform 5200000.usb: irq 289, io mem 0x05200000 [ 2.928798] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 3 [ 2.928907] ohci-platform 5200400.usb: Generic Platform OHCI controller [ 2.928932] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 4 [ 2.929010] ohci-platform 5310400.usb: Generic Platform OHCI controller [ 2.929032] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 5 [ 2.929119] ohci-platform 5200400.usb: irq 294, io mem 0x05200400 [ 2.929148] ohci-platform 5310400.usb: irq 295, io mem 0x05310400 [ 2.929235] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00 [ 2.929622] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.929637] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.929645] usb usb1: Product: EHCI Host Controller [ 2.929652] usb usb1: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 2.929659] usb usb1: SerialNumber: 5310000.usb [ 2.930836] hub 1-0:1.0: USB hub found [ 2.930905] hub 1-0:1.0: 1 port detected [ 2.931094] ohci-platform 5311400.usb: Generic Platform OHCI controller [ 2.931507] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 6 [ 2.931709] ohci-platform 5311400.usb: irq 296, io mem 0x05311400 [ 2.945074] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00 [ 2.948428] ehci-platform 5311000.usb: irq 291, io mem 0x05311000 [ 2.958681] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.975086] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00 [ 2.979955] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.120492] usb usb2: Product: EHCI Host Controller [ 3.125396] usb usb2: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 3.132029] usb usb2: SerialNumber: 5200000.usb [ 3.137535] hub 2-0:1.0: USB hub found [ 3.141423] hub 2-0:1.0: 1 port detected [ 3.146257] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 3.154612] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.161870] usb usb4: Product: Generic Platform OHCI controller [ 3.167816] usb usb4: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 3.174449] usb usb4: SerialNumber: 5200400.usb [ 3.179978] hub 4-0:1.0: USB hub found [ 3.183875] hub 4-0:1.0: 1 port detected [ 3.188703] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 3.197043] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.204299] usb usb5: Product: Generic Platform OHCI controller [ 3.210238] usb usb5: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 3.216871] usb usb5: SerialNumber: 5310400.usb [ 3.222357] hub 5-0:1.0: USB hub found [ 3.226221] hub 5-0:1.0: 1 port detected [ 3.230997] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 3.239337] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.246590] usb usb3: Product: EHCI Host Controller [ 3.251489] usb usb3: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 3.258123] usb usb3: SerialNumber: 5311000.usb [ 3.263620] hub 3-0:1.0: USB hub found [ 3.267498] hub 3-0:1.0: 1 port detected [ 3.272262] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 3.280595] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.287855] usb usb6: Product: Generic Platform OHCI controller [ 3.293795] usb usb6: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 3.300440] usb usb6: SerialNumber: 5311400.usb [ 3.305921] hub 6-0:1.0: USB hub found [ 3.309798] hub 6-0:1.0: 1 port detected [ 3.918457] ehci-platform 5101000.usb: EHCI Host Controller [ 3.918511] ohci-platform 5101400.usb: Generic Platform OHCI controller [ 3.924286] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 7 [ 3.930982] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 8 [ 3.931953] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.932545] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver [ 3.934900] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator [ 3.936611] axp20x-i2c 0-0036: AXP20x variant AXP313a found [ 3.937394] axp20x-i2c 0-0036: AXP20X driver loaded [ 3.938987] ehci-platform 5101000.usb: irq 288, io mem 0x05101000 [ 3.942461] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator [ 3.946671] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator [ 3.946727] ohci-platform 5101400.usb: irq 293, io mem 0x05101400 [ 3.948868] sun4i-drm display-engine: Adding to iommu group 0 [ 3.957835] vdd-dram: Bringing 1100000uV into 1200000-1200000uV [ 3.965544] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops) [ 3.971808] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00 [ 3.977771] sun4i-drm display-engine: bound 6510000.tcon-top (ops sun8i_tcon_top_ops) [ 3.982720] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 3.989116] sun4i-drm display-engine: bound 6515000.lcd-controller (ops sun4i_tcon_ops) [ 3.997223] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.997234] usb usb7: Product: EHCI Host Controller [ 3.997241] usb usb7: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 3.997925] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY) [ 4.006030] usb usb7: SerialNumber: 5101000.usb [ 4.013007] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver [ 4.018824] hub 7-0:1.0: USB hub found [ 4.025534] sun4i-drm display-engine: bound 6000000.hdmi (ops sun8i_dw_hdmi_ops) [ 4.031370] hub 7-0:1.0: 1 port detected [ 4.038648] [drm] Initialized sun4i-drm 1.0.0 for display-engine on minor 0 [ 4.137538] EDID block 0 is all zeroes [ 4.154897] EDID block 0 is all zeroes [ 4.172164] EDID block 0 is all zeroes [ 4.197811] sun8i-dw-hdmi 6000000.hdmi: PHY PLL failed to lock [ 4.228834] sun50i-iommu 30f0000.iommu: Page fault for 0x00000000fff00000 (master -1, dir rd) [ 4.235904] Console: switching to colour frame buffer device 128x48 [ 4.273182] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device [ 4.282515] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 4.290993] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.296833] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator [ 4.299779] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator [ 4.300680] of_cfs_init [ 4.300744] of_cfs_init: OK [ 4.301674] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq [ 4.302177] usb usb8: Product: Generic Platform OHCI controller [ 4.302197] usb usb8: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 4.302203] usb usb8: SerialNumber: 5101400.usb [ 4.305921] hub 8-0:1.0: USB hub found [ 4.305995] hub 8-0:1.0: 1 port detected [ 4.325161] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 4.333340] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 4.354871] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 4.386709] mmc3: new high speed SDIO card at address 390b [ 4.427214] clk: Disabling unused clocks [ 4.427530] mmc0: host does not support reading read-only switch, assuming write-enable [ 4.429250] sun50i-h6-r-ccu 7010000.clock: Powering off unused clock r-apb2-rsb [ 4.452365] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-i2c3 [ 4.461427] sunxi-de33-clks 1008000.clock: Powering off unused clock wb-div [ 4.470248] sunxi-de33-clks 1008000.clock: Powering off unused clock mixer1-div [ 4.479401] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-pwm [ 4.488245] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-emac1 [ 4.497231] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-ve [ 4.505919] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-ce [ 4.514563] sun50i-h616-ccu 3001000.clock: Powering off unused clock ce [ 4.522804] sun50i-h616-ccu 3001000.clock: Powering off unused clock mbus-ce [ 4.531457] sun50i-h616-ccu 3001000.clock: Powering off unused clock cpux-apb [ 4.540152] sun50i-h616-ccu 3001000.clock: Powering off unused clock axi [ 4.548377] sun50i-h6-r-ccu 7010000.clock: Powering off unused clock r-apb1-twd [ 4.557251] PM: genpd: Disabling unused power domains [ 4.557394] mmc0: new high speed SDHC card at address 21d9 [ 4.558790] ALSA device list: [ 4.561542] mmcblk0: mmc0:21d9 APPSD 31.3 GiB [ 4.561768] No soundcards found. [ 4.566404] mmcblk0: p1 [ 4.597134] Freeing unused kernel memory: 8000K [ 4.600747] mmc2: new DDR MMC card at address 0001 [ 4.603512] Run /init as init process [ 4.606118] mmcblk2: mmc2:0001 SHP808 6.92 GiB [ 4.611745] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.614261] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.619238] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.624961] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.632516] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.016604] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.024567] I/O error, dev mmcblk2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 5.034616] Buffer I/O error on dev mmcblk2, logical block 0, async page read [ 5.043755] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.052064] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.060831] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.069091] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.077232] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.085424] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.093288] I/O error, dev mmcblk2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 5.103189] Buffer I/O error on dev mmcblk2, logical block 0, async page read [ 5.111847] mmcblk2: unable to read partition table [ 5.119079] mmcblk2boot0: mmc2:0001 SHP808 4.00 MiB [ 5.130785] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.138455] sunxi-mmc 4022000.mmc: send stop command failed [ 5.147207] mmcblk2boot1: mmc2:0001 SHP808 4.00 MiB [ 14.561669] platform sound-spdif: deferred probe pending: asoc-simple-card: parse error
-
My experience is that the edge kernel is stable enough, but if you act like a disk-jockey (playing with disks or SD-cards/images nowadays) you destroy your success potentially every time you try some new image. Instead, pick a distro Debian or Ubuntu when Armbian, and make backups and/or do snapshots of what worked and then install packages variants. You can have vendor, current, edge kernels installed at the same time. A lot faster build maybe because the kernel is already build by some person or some computer before, so you get it fetched from a cache. I have added the beta repo in my sources so I can select between various kernels (and U-Boot variants). You need a bootmanager though, so own extlinux.conf script or wipe standard boot.* files and make sure EFI works, with GRUB or so. The latter works fine if you don't need overlays etc, so more use the SBC as PC then as embedded board to control things via GPIO pins or so. You can also re-install a specific kernel every time, but that does not work when the one you wanted to run does not start the board or crashes it. The OPi5plus I would consider as a PC, I do that for similar boards like ROCK5B and NanoPi-R6C at least. I select kernel via GRUB and have a permanent serial console cable connected, so it also works without HDMI connected. It is mainly the choice between vendor and mainline, that is the state of ARM64 nowadays. Some new boards like RPi5 cannot run mainline yet, so then there is little need to have a bootmanager, then you need the disk-jockey methods.
-
@mdidisDid you compile with the secure boot patch? Because it sounds like that’s your issue. If secure boot is not enabled you won’t get any output from your serial interface. post your dts. I’ll tell you the correct gpio for wifi and emmc.
-
I don't know, but what you describe is that OP1 is essentially able to run from RAM (network I/O mainly) so not so much storage I/O which then lowers the change of corruption. For OP2, is quite heavy disk I/O it seems, also torrents writing is tricky for some filesystems. If you want to know more why and how w.r.t. corruption, use Btrfs instead of Ext4. It still can be difficult if HW caches do the wrong thing, but you can make metadata duplicate and also play with commit time. I have a Pi3B running from SD-card and 4T 3.5i HDD via USB attached. It runs Debian Testing (Trixie now) , FAT bootfs and Btrfs rootfs with hourly snapper and also manual extra snapshots if I do upgrades. Also HDD is Btrfs formatted, 'dup' profile for metadata 'single' profile for data. I gets hard power cut every day at least once as solar powered. I do not do any UPS like noticing, also the power loss might be during a btrfs send|receive transfer, that will then fail, but in my script I delete read-write snapshots first as they should be read-only (so were correctly finished). No data loss or corruption during years. I just have a very simple guess about the amount of sunlight, which might be almost zero for days in winter. On a Pi2B that seems to have damaged GPIO pin 4 and was using a bad brand SD-card, I could quite perfectly see when corruption started, which files you see when you do scrub. It was a logfile and some other file that were recently written, but unimportant, so I could still do a btrfs send of a snapshot of the rootfs to my local laptop new SD-card. I know how to create bootfs for Raspberries. For my NanoPi-NEOs running Armbian I changed rootfs Ext4 into bootfs Ext4 + rootfs Btrfs. You can also use Armbian build to generate that off-the-shelf, I would now use FAT for bootfs as that matches how UEFI computers are organized. You also need extra write of U-Boot, that is not needed for RPi or UEFI. An Ext4 filesystem can be turned into Btrfs in-place with tool btrfs-convert. If it is a rootfilesystem where the OS runs from, you still need to create an extra bootfs though and so also change fstab and also as a consequence the partition table and organisation.
-
Thanks. I have tried and compiled image, but when I boot with SD card nothing appears, and Serial interface seems that disconnects. I have tried both with "uboot" button pressed and not. These are, I think, the gpio you asked gpio_encrypt { compatible = "allwinner,gpio_encrypt"; gpio_number_sun = <0x05>; gpio1_value = <0x00>; gpio2_value = <0x01>; gpio3_value = <0x01>; gpio4_value = <0x01>; gpio5_value = <0x01>; gpio1_pin = <0x53 0x08 0x0d 0x01 0xffffffff 0xffffffff 0x00>; gpio2_pin = <0x53 0x08 0x09 0x01 0xffffffff 0xffffffff 0x00>; gpio3_pin = <0x53 0x08 0x01 0x01 0xffffffff 0xffffffff 0x00>; gpio4_pin = <0x53 0x07 0x06 0x01 0xffffffff 0xffffffff 0x00>; gpio5_pin = <0x53 0x07 0x07 0x01 0xffffffff 0xffffffff 0x00>; status = "okay"; linux,phandle = <0x17d>; phandle = <0x17d>; }; or these ones? boot_init_gpio { device_type = "boot_init_gpio"; status = "okay"; gpio0 = <0x53 0x08 0x0b 0x01 0xffffffff 0xffffffff 0x00>; gpio1 = <0x53 0x08 0x0c 0x01 0xffffffff 0xffffffff 0x01>; gpio2 = <0x53 0x08 0x0e 0x01 0xffffffff 0xffffffff 0x00>; };
-
I made this simple dts file for my GPS NTP server running on Zero2/3 and Zero2w On Zero2, use PC9 as PPS in , and on Zero2W use PI5 . It should be configured in /boot/armbianEnv.txt, but I unsuccess on zero2w, so you must comment out two lines and compile it by yourself. Maybe help someone. sun50i-h616-pps-gpio.dtso
- 3 replies
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
Single board computers running Armbian offer incredible flexibility and power, but like any mini-computer, they can occasionally hit a snag. When your trusty SBC goes quiet or acts erratically, a systematic approach to troubleshooting can save you hours of frustration. Here are some fundamental steps to get your Armbian-powered device back on track. 1. The power supply: often the culpritBefore you dive into complex software diagnostics, always, always check your power supply. Undervoltage is perhaps the most common cause of instability, random reboots, and even failure to boot on SBCs. Avoid cell phone chargers: While many cell phone chargers feature a USB output and provide 5V, they are generally not recommended for powering SBCs. Phone chargers are designed primarily for charging batteries, which have different power draw characteristics. They often lack the stable voltage regulation required by SBCs, especially under fluctuating loads. This can lead to voltage sags, causing instability, corruption of your storage medium, and unreliable operation. Always opt for a dedicated power supply designed for SBCs, or a high-quality regulated power supply that meets or slightly exceeds your board's recommended voltage and amperage.Verify voltage and amperage: While most boards are rated for 5V, in practice, many SBCs actually perform better with a slight overvoltage, typically around 5.1V or 5.2V. This compensates for voltage drops across cables, connectors, and the board's own circuitry. Even official power supplies for popular boards like the Raspberry Pi and Orange Pi often provide this subtle increase. Ensure your power supply meets the current (amperage) requirements specified by your board's manufacturer, as many consumer USB chargers may not deliver sufficient stable current under load.Cable quality: Don't overlook the USB cable itself. Thin or long cables can introduce significant voltage drop, even if your power adapter is robust. Opt for short, thick cables designed for both data and power.LED indicators: Pay attention to any status LEDs on your board. A consistently lit red LED (often indicating power) might be good, but a rapidly blinking or absent one could signal a power issue. Some boards also have green or blue LEDs that indicate activity; if these are absent, it could point to a boot failure.2. The storage medium: a common point of failureAs discussed previously, microSD cards, while convenient, are prone to issues. eMMC and NVMe are more robust, but can still encounter problems. Re-seat the card/drive: For microSD cards, remove and re-insert it firmly. For eMMC modules or NVMe drives, ensure they are properly seated in their respective slots.Test the storage: If you suspect the storage, try flashing the Armbian image to a different, high-quality microSD card (Class 10, A1, or A2 rated is recommended). Tools like H2testw (Windows) or F3 (Linux) can verify the integrity and true capacity of your microSD card, weeding out fakes or faulty units.Re-flash the image: Sometimes, an image write can be corrupted. Re-flashing Armbian to your storage device using a reliable tool like USBImager can resolve boot issues.File system corruption: Abrupt power cuts can corrupt the file system, especially on microSD cards. While Armbian includes some resilience, a deeply corrupted card might prevent booting.3. First boot and initial access: getting connectedIf your board seems to power on but you get no display or remote access, consider these points: Display output (HDMI): While many SBCs come with an HDMI connector, having the port is not a guarantee that it will be immediately or reliably functional. On some boards, especially those with newer System-on-Chips (SoCs), HDMI drivers might still be in active development, or there could be specific kernel or firmware dependencies. If you're encountering display issues, first try a different HDMI cable and a different monitor or TV. If the problem persists, recognize that the HDMI output might not be stable for your specific Armbian build or board revision.Resolution issues: If you can gain access via SSH (see below) or by mounting the SD card on another machine, you might need to manually edit /boot/armbianEnv.txt to force a lower resolution (e.g., hdmimode=1080p) if it's a resolution compatibility problem.Network (SSH/Ethernet/Wi-Fi):Ethernet connection: This is the most reliably verified working method for initial access and troubleshooting on Armbian. Ensure your Ethernet cable is securely plugged in and the port LEDs are active. Check your router's connected devices list for your SBC's assigned IP address.Wi-Fi issues: If using Wi-Fi, ensure your armbian-config settings (accessible via sudo armbian-config if you have serial or keyboard/monitor access) are correct, including SSID and password. Sometimes, Wi-Fi drivers require specific firmware that might not be active, or kernel updates can temporarily break Wi-Fi functionality. It's also worth noting that some Wi-Fi modules may require the armbian-firmware-full package to be installed for proper operation.SSH credentials: For initial SSH access, Armbian typically uses root with password 1234. You'll be prompted to change this on first login. If "Connection Refused" appears, ensure the SSH service is running (it usually is by default). Check for firewall rules on your network or the SBC that might be blocking port 22.4. Advanced debugging: the serial consoleWhen an SBC fails to boot, provides no display output, and isn't accessible over the network, the debug serial console becomes your most powerful diagnostic tool. It offers direct, low-level communication with the board, allowing you to see boot-up messages, kernel errors, and login prompts even when the system is otherwise unresponsive. What you need:A USB-to-TTL serial adapter (e.g., based on FTDI FT232R, CP2104, or CH340 chips). The CP2104 is often preferred as it reliably supports higher baud rates (like 1.5Mbaud for some Rockchip SoCs), while older CP2102 chips might be limited to 115200 baud, which is common for Amlogic and Allwinner. Ensure your adapter is a 3.3V model, as 5V adapters can permanently damage your SBC.Jumper wires to connect the adapter to your SBC.A host computer (Windows, macOS, Linux) with a terminal emulator program.Connecting:Locate the UART (Universal Asynchronous Receiver-Transmitter) pins on your SBC's GPIO header. You'll typically look for Tx (Transmit), Rx (Receive), and GND (Ground) pins.Connect GND on the adapter to GND on the SBC.Connect Tx on the adapter to Rx on the SBC (cross-over connection).Connect Rx on the adapter to Tx on the SBC (cross-over connection).Crucially, do NOT connect the VCC/3.3V/5V pin from the adapter to your SBC unless your SBC explicitly needs it for the UART to function, which is rare. The SBC should be powered by its primary power supply.Accessing the console:Plug the USB-to-TTL adapter into your host computer. Drivers might install automatically or require manual installation.Identify the serial port (e.g., COMx on Windows, /dev/ttyUSBx or /dev/tty.usbserial-xxxx on Linux/macOS).Open your terminal emulator (e.g., PuTTY on Windows, Minicom or screen on Linux/macOS).Configure the serial connection: Baud rate is typically 115200 (for Amlogic, Allwinner) or 1.5Mbaud (1,500,000) for some newer Rockchip boards, 8 data bits, no parity, 1 stop bit (8N1).Power on your SBC. You should immediately start seeing bootloader messages (U-Boot, GRUB) followed by kernel boot messages. This output can pinpoint exactly where the boot process is failing, providing invaluable clues for debugging.5. Software and configuration deep diveIf the basic checks pass, the issue might lie within the Armbian software configuration. Kernel updates: While updates bring improvements, sometimes a new kernel version can introduce regressions for specific hardware. If a problem appeared after an apt upgrade, consider if it was a kernel update. Armbian allows managing kernel versions, though this is an advanced step.armbian-config: This invaluable tool, run via sudo armbian-config, provides a text-based interface to manage many system settings, including networking, boot options, and installing software. It's often your first stop for diagnosing and fixing configuration issues.Log files: When you can gain access (via SSH or serial console), review system logs for clues. Commands like dmesg (kernel messages), journalctl -xe (systemd journal), and logs in /var/log can reveal errors.Troubleshooting an SBC with Armbian often involves a blend of hardware checks and software diagnostics. By systematically ruling out common issues, you can efficiently pinpoint the root cause and get your single board computer project back on track. For further assistance and community support, you can find help on the official Armbian forum and their Discord server. When seeking help, it is always beneficial to include the output of armbianmonitor -u which provides crucial system information to diagnose your issue. View the full article
-
https://github.com/NickAlilovic/build/releases/ [01.296]secure enable bit: 1 I see this in your android log so I believe you have to enable secure boot. If the images don’t boot. These are the steps to enable secure boot for tanix_tx6s_axp313. (Link below) [01.303]PMU: AXP1530 You have a axp313a so transpeed, x98h and tanix might work for you. [359]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) Transpeed, x98h and tanix use ddr3 If emmc or wifi do not work. You can use your android dts to find the gpio numbers. You might also need to take a picture of your wifi chip.
-
Hello, I tried Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img on my TV box x96q2 H313 2/16 board v4.0 ram k4b2g0446c hyh9, axp305. And I get the message: [60]HELLO! BOOT0 is starting May 13 2020 14:05:42! [65]BOOT0 commit : 593cf83 [68]set pll start [70]periph0 has been enabled [73]set pll end [75]unknow PMU [77]PMU: AXP806 [84]vaild para:8 select dram para0 [87]board init ok [89]DRAM BOOT DRIVE INFO: V0.52 [92]the chip id is 0x5c00 [95]chip id check OK [97]DRAM_VCC set to 1500 mv [100]DRAM CLK =600 MHZ [102]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) [108]Actual DRAM SIZE =2048 M [111]DRAM SIZE =2048 MBytes, para1 = 30fb, para2 = 8000000, dram_tpr13 = 6041 [124]DRAM simple test OK. [127]rtc standby flag is 0x0, super standby flag is 0x0 [132]dram size =2048 [134]*****dram handle ok**** [138]card no is 2 [140]sdcard 2 line count 8 [142][mmc]: mmc driver ver 2019-12-19 10:41 [147][mmc]: set f_max to 50M, set f_max_ddr to 50M [152][mmc]: mmc 2 bias 4 [160][mmc]: ***Try MMC card 2*** [191][mmc]: MMC 5.0 [193][mmc]: HSDDR52/DDR50 8 bit [196][mmc]: 50000000 Hz [198][mmc]: 15028 MB [200][mmc]: ***SD/MMC 2 init OK!!!*** [267]Loading boot-pkg Succeed(index=0). [271]Entry_name = u-boot [280]Entry_name = monitor [284]Entry_name = dtb [288]tunning data addr:0x4a0003e8 [291]Jump to second Boot. NOTICE: BL3-1: v1.0(debug):9fecd83 NOTICE: BL3-1: Built : 17:08:29, 2020-05-28 NOTICE: BL3-1 commit: 8 ERROR: Error initializing runtime service tspd_fast NOTICE: BL3-1: Preparing for EL3 exit to normal world NOTICE: BL3-1: Next image address = 0x4a000000 NOTICE: BL3-1: Next image spsr = 0x1d3 U-Boot 2018.05-00003-gb6e8ff6-dirty (Jul 21 2020 - 10:23:22 +0800) Allwinner Technology [00.370]CPU: Allwinner Family [00.373]Model: sun50iw9 I2C: ready [00.378]DRAM: 2 GiB [00.381]Relocation Offset is: 75ec5000 [00.423]secure enable bit: 0 [00.425]pmu_axp152_probe pmic_bus_read fail [00.429]PMU: AXP806 [00.433]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz [00.441]drv_disp_init [00.472]__clk_enable: clk is null. [00.478]drv_disp_init finish [00.480]gic: sec monitor mode [00.510]flash init start [00.512]workmode = 0,storage type = 2 [00.515]MMC: 2 [00.517]get mem for descripter OK ! [00.526]get sdc2 sdc_boot0_sup_1v8 fail. [00.530]io is 1.8V [00.574]already at HSSDR52_SDR25 mode [00.577]sunxi flash init ok [00.581]Loading Environment from SUNXI_FLASH... OK [00.591]usb burn from boot delay time 0 weak:otg_phy_config [00.605]usb prepare ok [01.408]overtime [01.412]do_burn_from_boot usb : no usb exist [01.416]boot_gui_init:start FAT: Misaligned buffer address (bbe839d8) 34 bytes read in 4 ms (7.8 KiB/s) [01.546]boot_gui_init:finish [01.549]bmp_name=bootlogo.bmp 3686456 bytes read in 27 ms (130.2 MiB/s) [01.590]hsddr 2-50000000 [01.592]hs200 5-200000000 [01.594]hs400 4-150000000 [01.596]get max-frequency ok 100000000 Hz [01.600]0 0 0: 0 0 0 [01.605]update dts ** Unrecognized filesystem type ** [01.614]load file(ULI/factory/rootwait init.txt) error. ** Unrecognized filesystem type ** [01.626]load file(ULI/factory/snum.txt) error. [01.630]name in map mac ** Unrecognized filesystem type ** [01.640]load file(ULI/factory/wifi_mac.txt) error. ** Unrecognized filesystem type ** [01.652]load file(ULI/factory/bt_mac.txt) error. ** Unrecognized filesystem type ** [01.663]load file(ULI/factory/selinux.txt) error. ** Unrecognized filesystem type ** [01.675]load file(ULI/factory/specialstr.txt) error. [01.685]update part info [boot efex] set misc : boot efex [01.742]mmc exit start [01.800]mmc 2 exit ok [61]HELLO! BOOT0 is starting May 13 2020 14:05:42! [66]BOOT0 commit : 593cf83 [69]set pll start [72]periph0 has been enabled [75]set pll end [76]unknow PMU [78]PMU: AXP806 [85]vaild para:8 select dram para0 [88]board init ok [90]rtc[2] value = 0x5aa5a55a [93]eraly jump fel If i try MiniArch-20240715-6.16.0-board-h313.x96_q-SD-Image.img or MiniMyth2-armv8-master-14.3.0.r502-board-h313.x96_q-SD-Image.img, any version, nothing happens or I get the message "DRAM: DRAM setup is currently not supported". I need SD-card version. But at this point any option will do. Maybe someone has encountered such problems? What are the options for solving the problems of the sicxnull version or miniarch/minimyth2 version? UPD1: When boot android get this message: U-Boot 2018.05-00003-gb6e8ff6-dirty (Jul 21 2020 - 10:23:22 +0800) Allwinner Technology [00.374]CPU: Allwinner Family [00.377]Model: sun50iw9 I2C: ready [00.381]DRAM: 2 GiB [00.384]Relocation Offset is: 75ec5000 [00.426]secure enable bit: 0 [00.428]pmu_axp152_probe pmic_bus_read fail [00.433]PMU: AXP806 [00.436]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz [00.445]drv_disp_init [00.475]__clk_enable: clk is null. [00.481]drv_disp_init finish [00.484]gic: sec monitor mode [00.514]flash init start [00.516]workmode = 0,storage type = 2 [00.520]MMC: 2 [00.521]get mem for descripter OK ! [00.530]get sdc2 sdc_boot0_sup_1v8 fail. [00.535]io is 1.8V [00.578]already at HSSDR52_SDR25 mode [00.582]sunxi flash init ok [00.585]Loading Environment from SUNXI_FLASH... OK [00.595]usb burn from boot delay time 0 weak:otg_phy_config [00.608]usb prepare ok [01.411]overtime [01.415]do_burn_from_boot usb : no usb exist [01.419]boot_gui_init:start FAT: Misaligned buffer address (bbe839d8) 34 bytes read in 4 ms (7.8 KiB/s) [01.549]boot_gui_init:finish [01.552]bmp_name=bootlogo.bmp 3686456 bytes read in 26 ms (135.2 MiB/s) [01.592]hsddr 2-50000000 [01.594]hs200 5-200000000 [01.597]hs400 4-150000000 [01.599]get max-frequency ok 100000000 Hz [01.603]0 0 0: 0 0 0 [01.608]update dts ** Unrecognized filesystem type ** [01.617]load file(ULI/factory/rootwait init.txt) error. ** Unrecognized filesystem type ** [01.629]load file(ULI/factory/snum.txt) error. [01.633]name in map mac ** Unrecognized filesystem type ** [01.643]load file(ULI/factory/wifi_mac.txt) error. ** Unrecognized filesystem type ** [01.654]load file(ULI/factory/bt_mac.txt) error. ** Unrecognized filesystem type ** [01.665]load file(ULI/factory/selinux.txt) error. ** Unrecognized filesystem type ** [01.677]load file(ULI/factory/specialstr.txt) error. [01.687]update part info [01.705]update bootcmd [01.707]No ethernet found. Hit any key to stop autoboot: 0 [01.912]Starting kernel ... [01.915]mmc exit start [01.955]mmc 2 exit ok [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.170 (yxt-rd01@yxtrd01-Super-Server) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 SMP PREEMPT Tue Aug 11 11:46:00 CST 2020 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] bootconsole [earlycon0] enabled [ 0.027881] BOOTEVENT: 27.865165: ON [ 0.272767] sunxi_i2c_probe()2209 - [i2c3] warning: failed to get regulator id [ 0.273865] sunxi_i2c_probe()2209 - [i2c5] warning: failed to get regulator id [ 0.329453] acx00_i2c_probe,l:282 [ 0.329625] [ac200] pwm is NULL! Just initialize it. [ 0.330443] [ac200] pwm enable [ 0.330477] [ac200] pwm is initialized [ 0.330570] acx00_init_work,l:130 [ 0.331310] acx00_init_work,l:137 [ 0.331964] sunxi_i2c_do_xfer()1935 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x10) [ 0.337604] [ac200] get ave_regulator_name failed! [ 0.433136] failed to get standby led pin assign �[ 0.438711] uart uart1: get regulator failed [ 0.472391] [NAND][NE] Not found valid nand node on dts [ 0.481160] sunxi-wlan soc@03000000:wlan: get gpio chip_en failed [ 0.488059] sunxi-wlan soc@03000000:wlan: get gpio power_en failed [ 0.628738] hci: request ohci1-controller gpio:232 [ 0.820154] axp2101_pek: axp2101-pek can not register without irq [ 0.830567] sunxi_ir_startup: get ir protocol failed [ 0.838951] VE: get debugfs_mpp_root is NULL, please check mpp [ 0.838951] [ 0.847219] VE: sunxi ve debug register driver failed! [ 0.847219] [ 0.863567] mmc:failed to get gpios [ 0.941205] mmc:failed to get gpios [ 0.977947] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 0.985169] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 0.991622] [sunxi_internal_codec_probe]:get audio vcc3v3-audio failed [ 0.999399] [audio-codec]dachpf_cfg configurations missing or invalid. [ 1.006781] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 1.012748] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 1.018656] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 1.024570] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 1.030494] lineout_vol:26, linein_gain:3, fmin_gain:3, digital_vol:0, adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf_cfg:0, ramp_func_used:1, pa_msleep_time:160, pa_ctl_level:0, gpio-spk:0 [ 1.054863] sndhdmi sndhdmi: ASoC: CPU DAI (null) not registered [ 1.061670] sndhdmi sndhdmi: snd_soc_register_card() failed: -517 [ 1.071222] sunxi-ahub-cpudai 5097000.cpudai3-controller: ahub cpudai id invalid [ 1.106837] ERROR: pinctrl_get for HDMI2.0 DDC fail [ 1.117004] tv_probe()1435 - of_property_read_string tv_power failed! [ 1.125383] tv_probe()1435 - of_property_read_string tv_power failed! [ 1.206317] cpu cpu1: opp_list_debug_create_link: Failed to create link [ 1.213841] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12) [ 1.221465] cpu cpu2: opp_list_debug_create_link: Failed to create link [ 1.228930] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12) [ 1.236533] cpu cpu3: opp_list_debug_create_link: Failed to create link [ 1.243985] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12) [ 1.720606] selinux: avc: denied { set } for scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1 [ 1.720606] [ 1.738732] selinux: avc: denied { set } for scontext=u:r:vendor_init:s0 tcontext=u:object_r:dalvik_prop:s0 tclass=property_service permissive=1 [ 1.738732] [ 2.612742] FAT-fs (mmcblk0p15): bogus number of reserved sectors console:/ $ [ 3.576869] apexd: Failed to walk /product/apex : Can't open /product/apex for reading : No such file or directory [ 23.395613] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR EBE !! [ 23.402157] sunxi-mmc sdc2: send manual stop command failed [ 23.408822] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.415284] sunxi-mmc sdc2: send manual stop command failed [ 23.421941] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.428371] sunxi-mmc sdc2: send manual stop command failed [ 23.434993] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.441482] sunxi-mmc sdc2: send manual stop command failed [ 23.448162] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.454568] sunxi-mmc sdc2: send manual stop command failed [ 23.461302] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.467781] sunxi-mmc sdc2: send manual stop command failed [ 23.474538] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.481019] sunxi-mmc sdc2: send manual stop command failed [ 23.487675] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.494198] sunxi-mmc sdc2: send manual stop command failed [ 23.500841] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.507332] sunxi-mmc sdc2: send manual stop command failed [ 23.514122] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.520545] sunxi-mmc sdc2: send manual stop command failed [ 23.527260] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.533644] sunxi-mmc sdc2: send manual stop command failed [ 23.540345] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.546834] sunxi-mmc sdc2: send manual stop command failed [ 23.553468] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.559989] sunxi-mmc sdc2: send manual stop command failed [ 23.566662] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.573213] sunxi-mmc sdc2: send manual stop command failed [ 23.579913] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.586323] sunxi-mmc sdc2: send manual stop command failed [ 23.593095] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.599558] sunxi-mmc sdc2: send manual stop command failed [ 23.606250] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.612690] sunxi-mmc sdc2: send manual stop command failed [ 23.619407] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.625931] sunxi-mmc sdc2: send manual stop command failed [ 23.632651] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.639072] sunxi-mmc sdc2: send manual stop command failed [ 23.645837] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.652267] sunxi-mmc sdc2: send manual stop command failed [ 23.658998] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.665391] sunxi-mmc sdc2: send manual stop command failed [ 23.672094] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.678624] sunxi-mmc sdc2: send manual stop command failed [ 23.685264] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.691785] sunxi-mmc sdc2: send manual stop command failed [ 23.698528] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.704983] sunxi-mmc sdc2: send manual stop command failed [ 23.711782] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.718228] sunxi-mmc sdc2: send manual stop command failed [ 23.724966] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.731523] sunxi-mmc sdc2: send manual stop command failed [ 23.738173] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.744671] sunxi-mmc sdc2: send manual stop command failed [ 23.751325] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.757815] sunxi-mmc sdc2: send manual stop command failed [ 23.764544] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.770973] sunxi-mmc sdc2: send manual stop command failed [ 23.777730] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.784162] sunxi-mmc sdc2: send manual stop command failed [ 23.790915] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.797446] sunxi-mmc sdc2: send manual stop command failed [ 23.804129] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.810694] sunxi-mmc sdc2: send manual stop command failed [ 23.817380] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !! [ 23.823873] sunxi-mmc sdc2: send manual stop command failed [ 23.830352] sunxi-mmc sdc2: retry:set phase failed or over retry times [ 23.837856] sunxi-mmc sdc2: retry:give up [ 23.842667] sunxi-mmc sdc2: smc 0 p2 err, cmd 13, RTO !! [ 23.848689] mmcblk0: error -110 sending status command, retrying [ 23.855588] sunxi-mmc sdc2: smc 0 p2 err, cmd 13, RTO !! [ 23.861791] mmcblk0: error -110 sending status command, retrying [ 23.868690] sunxi-mmc sdc2: smc 0 p2 err, cmd 13, RTO !! [ 23.874711] mmcblk0: error -110 sending status command, aborting [ 23.881640] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !! [ 23.887737] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !! [ 23.893705] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !! [ 23.899646] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !! [ 23.905557] mmc0: cache flush error -110 [ 34.483900] binder_alloc: 2990: binder_alloc_buf, no vma [ 38.465719] apexd: Can't open /product/apex for reading : No such file or directory [ 40.933841] binder: unexpected work type, 4, not freed [ 59.496340] binder: unexpected work type, 4, not freed [ 73.682650] audit: rate limit exceeded [ 74.543261] binder_alloc: 5395: binder_alloc_buf, no vma [ 75.490661] binder: unexpected work type, 4, not freed
-
-
SOURCE: https://github.com/MathiasStadler/orange-pi-zero-boot-from-spi I spent the whole day trying to boot without a microSD, and I finally got it, using the Orange Pi Zero SPI boot tutorial, with a few adjustments. First of all, you’ll need a microSD card. I used this Armbian version Armbian_24.11.1_Orangepizero2_noble_current_6.6.62_minimal.img.xz Once the system has booted from the microSD: sudo apt update && sudo apt upgrade -y reboot After the system reboots, we need to check if the SPI flash is detected: cat /proc/mtd #It should return something like: dev: size erasesize name mtd0: 00200000 00001000 "spi0.0" #Double-check with: ls -l /dev/mtd* #You should get something like: crw------- 1 root root 90, 0 Apr 10 19:34 /dev/mtd0 crw------- 1 root root 90, 1 Apr 10 19:34 /dev/mtd0ro brw-rw---- 1 root disk 31, 0 Apr 10 19:34 /dev/mtdblock0 /dev/mtd/ total 0 drwxr-xr-x 2 root root 60 Apr 10 19:34 by-name If you see a device at /dev/mtd0 or /dev/mtd/by-name/spi0.0, you can flash U-Boot to the SPI. # Create an empty image sudo dd if=/dev/zero count=2048 bs=1K | tr '\000' '\377' > spi.img # Write U-Boot to the image sudo dd if=/usr/lib/linux-u-boot-current-orangepizero2/u-boot-sunxi-with-spl.bin of=spi.img bs=1k conv=notrunc # Flash the image to SPI sudo flashcp -v spi.img /dev/mtd0 # Or /dev/mtd/by-name/spi0.0 Now it's time to plug in the USB drive (SSD or flash drive): # Install Armbian to the USB stick, pendrive or SSD # Follow the instructions in the menu, default values are usually fine # DON'T REBOOT the device after this step sudo nand-sata-install # Mount the USB stick sudo mount /dev/sda1 /mnt # Copy (overwrite) the /boot directory sudo cp -a /boot /mnt # Now edit /mnt/boot/boot.cmd and set the correct root device: setenv rootdev "/dev/sda1" #Then generate the new boot.scr sudo mkimage -C none -A arm -T script -d /mnt/boot/boot.cmd /mnt/boot/boot.scr #Finally, edit armbianEnv.txt to update the rootdev by UUID: blkid /dev/sda1 #Copy the UUID and update this line rootdev=UUID=your-usb-uuid nano /mnt/boot/armbianEnv.txt Now the moment of truth: sudo shutdown -Fh now Disconnect power and remove the microSD card. Reconnect the power adapter and the system should boot from the USB drive. If there's no sign of life, it's highly recommended to use a UART adapter to debug. Some boards require a jumper between GPIO pins 13 and 14 to boot from SPI — on my board (V1.5), this was not necessary.