Jump to content

Search the Community

Showing results for 'gpio'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Volunteering opportunities
  • Part time jobs

Categories

  • Official giveaways
  • Community giveaways
  • Raffles

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Two days ago I upgraded the kernel to 25.5.1 (6.12.30-current-sunxi) from 25.2.3 (6.12.20-current-sunxi). Since then I have no longer been able to play a certain title (FLAC file) in mocp. In case it's relevant, the title is: "Malukah - Awake (The Dragonborn Comes)". Symptoms: dmesg starts showing kernel trace output at 1:43 of the song mocp finally stalls at 1:52 and it's impossible to interact with it from that point on Is there anyone here who would be able to provide pointers on how to debug this? I am a developer and I have done some work with Yocto/OE before and wouldn't be afraid to get at this with a debugger. Since it's nicely reproducible, I could switch between those package versions to investigate. From the trace output it looks as if this is in exfat code. Makes sense, since the song is getting played from a USB key that is exfat-formatted. Here's the dmesg output with the two traces towards the end. I decided to include a few messages up to the point where systemd starts: [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.12.30-current-sunxi (build@armbian) (arm-linux-gnueabihf-gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP Thu May 22 12:29:54 UTC 2025 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x4a000000, size 96 MiB [ 0.000000] OF: reserved mem: initialized node default-pool, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x4a000000..0x4fffffff (98304 KiB) map reusable default-pool [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000040000000-0x000000006fffffff] [ 0.000000] HighMem [mem 0x0000000070000000-0x00000000bfcfffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000bfcfffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfcfffff] [ 0.000000] On node 0, zone HighMem: 768 pages in unavailable ranges [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 19 pages/cpu s48588 r8192 d21044 u77824 [ 0.000000] pcpu-alloc: s48588 r8192 d21044 u77824 alloc=19*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Kernel command line: root=UUID=ad99c006-e2fa-4070-8fbe-9e08f643dd62 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=5b507211-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] Unknown kernel command line parameters "ubootpart=5b507211-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 523520 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] allocated 2097152 bytes of page_ext [ 0.000000] ftrace: allocating 47264 entries in 139 pages [ 0.000000] ftrace: allocated 139 pages with 4 groups [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] RCU Tasks Rude: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2. [ 0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000018] Switching to timer-based delay loop, resolution 41ns [ 0.000435] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001281] Console: colour dummy device 80x30 [ 0.001311] printk: legacy console [tty1] enabled [ 0.001505] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001530] CPU: Testing write buffer coherency: ok [ 0.001607] pid_max: default: 32768 minimum: 301 [ 0.010543] LSM: initializing lsm=capability,yama,apparmor [ 0.013707] Yama: becoming mindful. [ 0.014095] AppArmor: AppArmor initialized [ 0.015557] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.015592] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.021695] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.044852] Setting up static identity map for 0x40100000 - 0x40100054 [ 0.048263] rcu: Hierarchical SRCU implementation. [ 0.048283] rcu: Max phase no-delay instances is 1000. [ 0.048858] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.054065] smp: Bringing up secondary CPUs ... [ 0.071012] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.071303] smp: Brought up 1 node, 2 CPUs [ 0.071330] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.071345] CPU: All CPU(s) started in HYP mode. [ 0.071352] CPU: Virtualization extensions available. [ 0.071568] Memory: 1933492K/2094080K available (10240K kernel code, 1685K rwdata, 9100K rodata, 1024K init, 409K bss, 57468K reserved, 98304K cma-reserved, 1307648K highmem) [ 0.073644] devtmpfs: initialized [ 0.086909] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.087516] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.087579] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.096245] pinctrl core: initialized pinctrl subsystem [ 0.099654] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.107107] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.108097] audit: initializing netlink subsys (disabled) [ 0.108752] audit: type=2000 audit(0.100:1): state=initialized audit_enabled=0 res=1 [ 0.109807] thermal_sys: Registered thermal governor 'fair_share' [ 0.109827] thermal_sys: Registered thermal governor 'bang_bang' [ 0.109838] thermal_sys: Registered thermal governor 'step_wise' [ 0.110006] cpuidle: using governor ladder [ 0.110071] cpuidle: using governor menu [ 0.110879] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.110905] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.121698] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.121833] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.121937] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.122055] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.122158] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.122261] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.122578] /soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000 [ 0.122732] /soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000 [ 0.123085] /soc/interrupt-controller@1c81000: Fixed dependency cycle(s) with /soc/interrupt-controller@1c81000 [ 0.123248] /soc/display-frontend@1e00000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.123439] /soc/display-frontend@1e00000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.123615] /soc/display-frontend@1e20000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.123773] /soc/display-frontend@1e20000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.123862] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000 [ 0.123940] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000 [ 0.124009] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/display-frontend@1e20000 [ 0.124077] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/display-frontend@1e00000 [ 0.124170] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000 [ 0.124249] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000 [ 0.124317] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/display-frontend@1e20000 [ 0.124386] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/display-frontend@1e00000 [ 0.125215] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.125339] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.125455] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.125804] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.125918] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.126030] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.128237] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.128436] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.128705] /soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000 [ 0.128943] /soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000 [ 0.131769] /soc/pinctrl@1c20800: Fixed dependency cycle(s) with /soc/pinctrl@1c20800/clk-out-a-pin [ 0.136344] /soc/display-frontend@1e00000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.136455] /soc/display-frontend@1e00000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.136830] /soc/display-frontend@1e20000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.136924] /soc/display-frontend@1e20000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.137304] /soc/display-frontend@1e20000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.137470] /soc/display-frontend@1e00000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.137604] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.137736] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/display-backend@1e40000 [ 0.137883] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000 [ 0.138028] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000 [ 0.138142] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/display-frontend@1e20000 [ 0.138279] /soc/display-backend@1e40000: Fixed dependency cycle(s) with /soc/display-frontend@1e00000 [ 0.138694] /soc/display-frontend@1e20000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.138884] /soc/display-frontend@1e00000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.139055] /soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.139186] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/display-backend@1e60000 [ 0.139302] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000 [ 0.139477] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000 [ 0.139661] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/display-frontend@1e20000 [ 0.139780] /soc/display-backend@1e60000: Fixed dependency cycle(s) with /soc/display-frontend@1e00000 [ 0.142414] /soc/hdmi@1c16000: Fixed dependency cycle(s) with /hdmi-connector [ 0.142644] /hdmi-connector: Fixed dependency cycle(s) with /soc/hdmi@1c16000 [ 0.154682] cryptd: max_cpu_qlen set to 1000 [ 0.232124] raid6: neonx8 gen() 582 MB/s [ 0.300278] raid6: neonx4 gen() 822 MB/s [ 0.368453] raid6: neonx2 gen() 825 MB/s [ 0.436671] raid6: neonx1 gen() 677 MB/s [ 0.504833] raid6: int32x8 gen() 252 MB/s [ 0.572914] raid6: int32x4 gen() 289 MB/s [ 0.641009] raid6: int32x2 gen() 365 MB/s [ 0.709128] raid6: int32x1 gen() 337 MB/s [ 0.709142] raid6: using algorithm neonx2 gen() 825 MB/s [ 0.777211] raid6: .... xor() 614 MB/s, rmw enabled [ 0.777223] raid6: using neon recovery algorithm [ 0.779037] iommu: Default domain type: Translated [ 0.779063] iommu: DMA domain TLB invalidation policy: strict mode [ 0.780359] SCSI subsystem initialized [ 0.780941] libata version 3.00 loaded. [ 0.781297] usbcore: registered new interface driver usbfs [ 0.781366] usbcore: registered new interface driver hub [ 0.781432] usbcore: registered new device driver usb [ 0.781783] pps_core: LinuxPPS API ver. 1 registered [ 0.781798] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.781825] PTP clock support registered [ 0.782595] Advanced Linux Sound Architecture Driver Initialized. [ 0.784208] NetLabel: Initializing [ 0.784231] NetLabel: domain hash size = 128 [ 0.784242] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.784360] NetLabel: unlabeled traffic allowed by default [ 0.785656] clocksource: Switched to clocksource arch_sys_counter [ 0.798624] VFS: Disk quotas dquot_6.6.0 [ 0.798981] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.799863] AppArmor: AppArmor Filesystem Enabled [ 0.816412] NET: Registered PF_INET protocol family [ 0.816787] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.903926] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.904136] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.904189] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.904385] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 0.904778] TCP: Hash tables configured (established 8192 bind 8192) [ 0.905038] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.905134] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.906025] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.906649] Trying to unpack rootfs image as initramfs... [ 0.910989] Initialise system trusted keyrings [ 0.911155] Key type blacklist registered [ 0.912237] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.912442] zbud: loaded [ 0.915119] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.926275] fuse: init (API version 7.41) [ 0.942065] integrity: Platform Keyring initialized [ 0.942166] xor: measuring software checksum speed [ 0.945010] arm4regs : 1159 MB/sec [ 0.950057] 8regs : 656 MB/sec [ 0.954923] 32regs : 680 MB/sec [ 0.957769] neon : 1170 MB/sec [ 0.957807] xor: using function: neon (1170 MB/sec) [ 0.957845] Key type asymmetric registered [ 0.957862] Asymmetric key parser 'x509' registered [ 0.958690] bounce: pool size: 64 pages [ 0.959359] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.960113] io scheduler mq-deadline registered [ 0.960146] io scheduler kyber registered [ 0.960735] io scheduler bfq registered [ 0.977058] ledtrig-cpu: registered to indicate activity on CPUs [ 0.995929] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.014369] sun4i-drm display-engine: bound 1e00000.display-frontend (ops 0xc0bb0c8c) [ 1.014715] sun4i-drm display-engine: bound 1e20000.display-frontend (ops 0xc0bb0c8c) [ 1.015235] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0bb03f8) [ 1.015729] sun4i-drm display-engine: bound 1e40000.display-backend (ops 0xc0bb03f8) [ 1.016653] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 1.016699] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0bae8e8) [ 1.017975] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 1.018031] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xc0bae8e8) [ 1.020256] sun4i-drm display-engine: bound 1c16000.hdmi (ops 0xc0bb1688) [ 1.022796] [drm] Initialized sun4i-drm 1.0.0 for display-engine on minor 0 [ 1.022975] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes [ 1.032968] brd: module loaded [ 1.039581] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes [ 1.047130] loop: module loaded [ 1.055585] usbcore: registered new interface driver usb-storage [ 1.057950] sunxi-rtc 1c20d00.rtc: registered as rtc0 [ 1.058027] sunxi-rtc 1c20d00.rtc: setting system clock to 2025-07-02T08:56:46 UTC (1751446606) [ 1.058332] i2c_dev: i2c /dev entries driver [ 1.062076] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.064151] sun4i-ss 1c15000.crypto-engine: no reset control found [ 1.064308] sun4i-ss 1c15000.crypto-engine: Die ID 0 [ 1.066426] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns [ 1.066943] hid: raw HID events driver (C) Jiri Kosina [ 1.067216] usbcore: registered new interface driver usbhid [ 1.067237] usbhid: USB HID core driver [ 1.067954] armv7-pmu pmu: hw perfevents: no interrupt-affinity property, guessing. [ 1.071446] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 (8000000f) counters available [ 1.095873] NET: Registered PF_INET6 protocol family [ 2.127070] Freeing initrd memory: 13656K [ 2.182392] Segment Routing with IPv6 [ 2.182617] In-situ OAM (IOAM) with IPv6 [ 2.182903] NET: Registered PF_PACKET protocol family [ 2.182935] NET: Registered PF_KEY protocol family [ 2.182985] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.183410] Key type dns_resolver registered [ 2.184170] Registering SWP/SWPB emulation handler [ 2.196828] registered taskstats version 1 [ 2.197160] Loading compiled-in X.509 certificates [ 2.214355] zswap: loaded using pool zstd/zbud [ 2.215911] Key type .fscrypt registered [ 2.215942] Key type fscrypt-provisioning registered [ 2.226935] Btrfs loaded, zoned=no, fsverity=yes [ 2.307518] Key type encrypted registered [ 2.307567] AppArmor: AppArmor sha256 policy hashing enabled [ 2.328245] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pi not found, using dummy regulator [ 2.328719] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.331261] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 2.332777] sun4i-pinctrl 1c20800.pinctrl: supply vcc-ph not found, using dummy regulator [ 2.336072] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator [ 2.337794] printk: legacy console [ttyS0] disabled [ 2.338531] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 71, base_baud = 1500000) is a 16550A [ 2.338635] printk: legacy console [ttyS0] enabled [ 2.343112] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 72, base_baud = 1500000) is a 16550A [ 2.343750] serial serial0: tty port ttyS2 registered [ 2.345203] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator [ 2.345901] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found [ 2.345938] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found [ 2.345954] sun7i-dwmac 1c50000.ethernet: IRQ sfty not found [ 2.346126] sun7i-dwmac 1c50000.ethernet: PTP uses main clock [ 2.346202] sun7i-dwmac 1c50000.ethernet: no regulator found [ 2.346880] sun7i-dwmac 1c50000.ethernet: Version ID not available [ 2.346924] sun7i-dwmac 1c50000.ethernet: DWMAC1000 [ 2.346940] sun7i-dwmac 1c50000.ethernet: No HW DMA feature register supported [ 2.346954] sun7i-dwmac 1c50000.ethernet: TX Checksum insertion supported [ 2.346969] sun7i-dwmac 1c50000.ethernet: Normal descriptors [ 2.346982] sun7i-dwmac 1c50000.ethernet: Ring mode enabled [ 2.378420] axp20x-i2c 1-0034: AXP20x variant AXP209 found [ 2.394479] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-0034/axp20x-pek/input/input0 [ 2.400618] axp20x-i2c 1-0034: Backup (RTC) battery charging is disabled [ 2.400815] axp20x-i2c 1-0034: AXP20X driver loaded [ 2.406857] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator [ 2.413840] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 2.418221] ahci-sunxi 1c18000.sata: supply ahci not found, using dummy regulator [ 2.418494] ahci-sunxi 1c18000.sata: supply phy not found, using dummy regulator [ 2.438244] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 2.465843] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 2.465933] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled [ 2.465982] ahci-sunxi 1c18000.sata: AHCI vers 0001.0100, 32 command slots, 3 Gbps, platform mode [ 2.466005] ahci-sunxi 1c18000.sata: 1/1 ports implemented (port mask 0x1) [ 2.466021] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc [ 2.468318] scsi host0: ahci-sunxi [ 2.469308] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 119 lpm-pol 0 [ 2.474777] of_cfs_init [ 2.474978] of_cfs_init: OK [ 2.478704] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.480932] mmc0: new high speed SDHC card at address b368 [ 2.484061] mmcblk0: mmc0:b368 NCard 3.70 GiB [ 2.713012] clk: Disabling unused clocks [ 2.713235] PM: genpd: Disabling unused power domains [ 2.713266] ALSA device list: [ 2.713278] #0: sun4i-codec [ 2.713992] mmcblk0: p1 [ 2.780858] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 2.782832] ata1.00: Model 'Samsung SSD 840 EVO 500GB', rev 'EXT0CB6Q', applying quirks: noncqtrim zeroaftertrim nodmalog [ 2.782904] ata1.00: supports DRM functions and may not be fully accessible [ 2.782919] ata1.00: ATA-9: Samsung SSD 840 EVO 500GB, EXT0CB6Q, max UDMA/133 [ 2.782939] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 32) [ 2.783422] ata1.00: Features: Trust [ 2.783673] ata1.00: supports DRM functions and may not be fully accessible [ 2.784145] ata1.00: configured for UDMA/133 [ 2.785048] scsi 0:0:0:0: Direct-Access ATA Samsung SSD 840 CB6Q PQ: 0 ANSI: 5 [ 2.787212] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 2.787270] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 2.787381] sd 0:0:0:0: [sda] Write Protect is off [ 2.787406] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.787559] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.787919] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes [ 2.806306] sda: sda1 sda2 sda3 [ 2.807527] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.816074] Freeing unused kernel image (initmem) memory: 1024K [ 2.816726] Run /init as init process [ 2.816754] with arguments: [ 2.816773] /init [ 2.816784] with environment: [ 2.816794] HOME=/ [ 2.816805] TERM=linux [ 2.816815] ubootpart=5b507211-01 [ 2.816826] ubootsource=mmc [ 2.816837] sunxi_ve_mem_reserve=0 [ 2.816847] sunxi_g2d_mem_reserve=0 [ 2.816858] sunxi_fb_mem_reserve=16 [ 2.816869] cgroup_enable=memory [ 3.909998] sunxi-mmc 1c12000.mmc: allocated mmc-pwrseq [ 3.933806] sunxi-mmc 1c12000.mmc: initialized, max. request size: 16384 KB [ 4.061411] mmc1: new high speed SDIO card at address 0001 [ 4.211031] sun5i-a13-gpadc-iio: Failed to locate of_node [id: 0] [ 4.283436] sun7i-dwmac 1c50000.ethernet end0: renamed from eth0 [ 4.301983] axp20x-gpio axp20x-gpio: DMA mask not set [ 4.327476] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded [ 4.355581] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set [ 4.371464] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set [ 5.873099] EXT4-fs (sda1): mounted filesystem ad99c006-e2fa-4070-8fbe-9e08f643dd62 ro with ordered data mode. Quota mode: none. [ 14.571324] platform sound: deferred probe pending: asoc-simple-card: parse error [ 14.571365] platform 1c13400.phy: deferred probe pending: platform: supplier axp20x-usb-power-supply not ready [ 14.571381] platform 1c13000.usb: deferred probe pending: platform: supplier 1c13400.phy not ready [ 14.571395] platform 1c14000.usb: deferred probe pending: platform: supplier 1c13400.phy not ready [ 14.571409] platform 1c1c000.usb: deferred probe pending: platform: supplier 1c13400.phy not ready [ 14.571422] platform 1c14400.usb: deferred probe pending: platform: supplier 1c13400.phy not ready [ 14.571436] platform 1c1c400.usb: deferred probe pending: platform: supplier 1c13400.phy not ready [ 14.571449] platform axp20x-battery-power-supply: deferred probe pending: (reason unknown) [ 14.571462] platform axp20x-usb-power-supply: deferred probe pending: (reason unknown) [ 17.843978] systemd[1]: Inserted module 'autofs4' [ 18.117493] systemd[1]: systemd 255.4-1ubuntu8.8 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 18.117576] systemd[1]: Detected architecture arm. ... SNIP ... [90829.705266] 8<--- cut here --- [90829.708505] Unable to handle kernel NULL pointer dereference at virtual address 00000255 when write [90829.717695] [00000255] *pgd=00000000 [90829.721519] Internal error: Oops: 805 [#1] SMP THUMB2 [90829.726679] Modules linked in: nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 netfs exfat snd_usb_audio snd_hwdep binfmt_misc snd_seq_dummy snd_usbmidi_lib snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq snd_rawmidi snd_seq_device uas lima gpu_sched drm_shmem_helper axp20x_adc sunxi_cedrus(C) sun4i_gpadc_iio v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 sunxi_cir videobuf2_common videodev mc display_connector cpufreq_dt evdev brcmfmac_wcc sch_fq_codel bonding brcmfmac brcmutil cfg80211 rfkill dm_mod autofs4 ext4 mbcache jbd2 axp20x_usb_power axp20x_battery industrialio pinctrl_axp209 sun4i_gpadc pwm_sun4i sunxi phy_generic uio_pdrv_genirq pwrseq_simple uio realtek [90829.788428] CPU: 1 UID: 1000 PID: 14406 Comm: mocp Tainted: G C 6.12.30-current-sunxi #1 [90829.797976] Tainted: [C]=CRAP [90829.800979] Hardware name: Allwinner sun7i (A20) Family [90829.806223] PC is at mmioset+0x90/0xa4 [90829.810015] LR is at exfat_get_block+0x58b/0x638 [exfat] [90829.815374] pc : [<c0ab76b0>] lr : [<bfbdf847>] psr: 8003b833 [90829.821651] sp : f2559b48 ip : 00000255 fp : 00000000 [90829.826890] r10: 00004931 r9 : 00926255 r8 : c5a21400 [90829.832128] r7 : d09bc5c0 r6 : 00000000 r5 : 00000200 r4 : 00000055 [90829.838668] r3 : 00000001 r2 : 000001a7 r1 : 00000000 r0 : 00000255 [90829.845209] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [90829.852537] Control: 50c5387d Table: 536e006a DAC: 00000051 [90829.858294] Register r0 information: non-paged memory [90829.863367] Register r1 information: NULL pointer [90829.868089] Register r2 information: non-paged memory [90829.873156] Register r3 information: non-paged memory [90829.878221] Register r4 information: non-paged memory [90829.883286] Register r5 information: non-paged memory [90829.888356] Register r6 information: NULL pointer [90829.893082] Register r7 information: slab buffer_head start d09bc5c0 pointer offset 0 size 64 [90829.901656] Register r8 information: slab kmalloc-1k start c5a21400 pointer offset 0 size 1024 [90829.910306] Register r9 information: non-paged memory [90829.915380] Register r10 information: non-paged memory [90829.920533] Register r11 information: NULL pointer [90829.925338] Register r12 information: non-paged memory [90829.930495] Process mocp (pid: 14406, stack limit = 0xfea269c0) [90829.936437] Stack: (0xf2559b48 to 0xf255a000) [90829.940814] 9b40: d09bc240 2e2746cd 00000001 d09bc5c0 00000000 c597c86c [90829.949011] 9b60: 00000001 00000024 c5a21400 00000000 c597c800 d09bc240 00000000 0012aace [90829.957211] 9b80: 0012aacd 00000000 00000000 00000000 00000000 2e2746cd 00000000 00004931 [90829.965406] 9ba0: d09bc5c0 00000000 00000001 00000200 e1bc1760 d09bc240 00000200 c032a52f [90829.973601] 9bc0: d09bc5c0 00000000 00000000 00004932 00000000 ef5b9864 bfbdf2bd 00000000 [90829.981796] 9be0: e5afa800 00000000 00000054 d09bc240 00000000 00000000 00000000 00000000 [90829.989993] 9c00: 00000000 00000000 00000000 2e2746cd 00afa800 e22e4a80 00000001 00000000 [90829.998200] 9c20: f2559c98 c2840400 00000008 00000008 00004932 c032c541 f2559cb0 00000000 [90830.006409] 9c40: 255febb0 00000009 00000000 00000000 ef5b9864 f2559cb0 e1bc1760 c2840400 [90830.014612] 9c60: 00000000 00000001 00012cc0 00080000 00260000 f2559dd4 ef5b9864 00000001 [90830.022812] 9c80: 00000001 0000000b 00112cca e1bc186c 0000091c c032cfb1 00000000 ef5b9864 [90830.031006] 9ca0: 00000001 00000001 255febaf 00000000 00000000 00000000 ef5b9864 00000000 [90830.039202] 9cc0: 255febb1 00000000 00000200 00000000 c2840400 00000000 00000000 00000000 [90830.047396] 9ce0: 00000000 00000000 00000000 00000000 000048e0 bfbdf2bd 00260000 2e2746cd [90830.055591] 9d00: bfb86090 f2559dd4 f2559dd4 c0286967 00000000 ef5b9864 00000000 00000000 [90830.063788] 9d20: 00000000 00000000 00000000 00000000 00000001 00000100 f2559d38 f2559d38 [90830.071985] 9d40: 00000000 2e2746cd 0000000a 0000000b e5afa800 f2559dd4 e1bc1878 c0286bc3 [90830.080182] 9d60: e5afa800 e1bc1868 ffffffeb 00400040 e1bc1878 e5afa800 e1bc1868 8c140000 [90830.088384] 9d80: f2559e4c e1bc1868 ef80aae4 e5afa800 000008fc f2559f28 000008fa c027dd25 [90830.096580] 9da0: e5afae4c ede0f780 ede0f7e8 000008fd f2559dec c15adf00 00000000 00000000 [90830.104777] 9dc0: 00001fa0 e5afa800 e5afa800 2e2746cd 00000000 ede0f780 e1bc1868 ede0f7e8 [90830.112973] 9de0: 00000926 00000001 00000001 00000000 00000000 2e2746cd 00000002 00926255 [90830.121170] 9e00: 00000004 008fabe0 00000000 e1bc1760 b117bb9c 00000001 f2559f28 c027dfc5 [90830.129370] 9e20: f2559f10 c0ae793f c250c988 00000000 e5afa800 c01b36e1 e5afa800 c01b3b53 [90830.137568] 9e40: e1bc1868 ede0f780 e5afa800 00000003 ef5b8cb8 ef80ab74 ef80aae4 00000000 [90830.145762] 9e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [90830.153960] 9e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [90830.162153] 9ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [90830.170347] 9ec0: 00000000 00000000 00000000 2e2746cd e5afa800 bfbe6225 ede0f780 e5afa800 [90830.178542] 9ee0: 00001fa0 f2559f80 b117bb9c 00000001 bfb87c80 c02f0a13 00000000 00000002 [90830.186737] 9f00: 00000001 f2559f00 c265aa00 00000000 00000000 00000000 b117bb9c 00001fa0 [90830.194933] 9f20: 00000001 00000000 ede0f780 00000000 008fabe0 00000000 00000000 00000000 [90830.203129] 9f40: 00000000 00004004 00000000 00000000 b12007d4 2e2746cd b12007d4 ede0f783 [90830.211332] 9f60: ede0f780 008fabe0 00000000 c01002a0 e5afa800 00000003 b120076c c02f114b [90830.219536] 9f80: 008fabe0 00000000 c0102455 2e2746cd 00000001 00001fa0 b117bb9c 00000004 [90830.227731] 9fa0: 00000003 c0100061 00001fa0 b117bb9c 00000004 b117bb9c 00001fa0 00000000 [90830.235929] 9fc0: 00001fa0 b117bb9c 00000004 00000003 00001fa0 00001fa0 b12007f0 b120076c [90830.244122] 9fe0: 00000003 b117bad0 b6ac36d1 b6a396c6 80030030 00000004 00000000 00000000 [90830.252311] Call trace: [90830.252331] mmioset from exfat_get_block+0x58b/0x638 [exfat] [90830.260706] exfat_get_block [exfat] from block_read_full_folio+0xf7/0x2b0 [90830.267634] block_read_full_folio from do_mpage_readpage+0x71/0x498 [90830.274031] do_mpage_readpage from mpage_readahead+0x8d/0xe4 [90830.279818] mpage_readahead from read_pages+0x4b/0x1e8 [90830.285078] read_pages from page_cache_ra_unbounded+0xbf/0x12c [90830.291027] page_cache_ra_unbounded from filemap_get_pages+0x385/0x554 [90830.297674] filemap_get_pages from filemap_read+0xd1/0x34c [90830.303276] filemap_read from vfs_read+0x1b3/0x228 [90830.308191] vfs_read from ksys_read+0x53/0xa8 [90830.312668] ksys_read from ret_fast_syscall+0x1/0x5c [90830.317751] Exception stack(0xf2559fa8 to 0xf2559ff0) [90830.322822] 9fa0: 00001fa0 b117bb9c 00000004 b117bb9c 00001fa0 00000000 [90830.331019] 9fc0: 00001fa0 b117bb9c 00000004 00000003 00001fa0 00001fa0 b12007f0 b120076c [90830.339214] 9fe0: 00000003 b117bad0 b6ac36d1 b6a396c6 [90830.344288] Code: 3a04 dbf0 2b02 bfb8 (f80c) 1b01 [90830.349338] ---[ end trace 0000000000000000 ]--- [90830.354108] ------------[ cut here ]------------ [90830.358863] WARNING: CPU: 1 PID: 14406 at kernel/exit.c:886 do_exit+0x62d/0x744 [90830.366383] Modules linked in: nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 netfs exfat snd_usb_audio snd_hwdep binfmt_misc snd_seq_dummy snd_usbmidi_lib snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq snd_rawmidi snd_seq_device uas lima gpu_sched drm_shmem_helper axp20x_adc sunxi_cedrus(C) sun4i_gpadc_iio v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 sunxi_cir videobuf2_common videodev mc display_connector cpufreq_dt evdev brcmfmac_wcc sch_fq_codel bonding brcmfmac brcmutil cfg80211 rfkill dm_mod autofs4 ext4 mbcache jbd2 axp20x_usb_power axp20x_battery industrialio pinctrl_axp209 sun4i_gpadc pwm_sun4i sunxi phy_generic uio_pdrv_genirq pwrseq_simple uio realtek [90830.427987] CPU: 1 UID: 1000 PID: 14406 Comm: mocp Tainted: G D C 6.12.30-current-sunxi #1 [90830.428023] Tainted: [D]=DIE, [C]=CRAP [90830.428029] Hardware name: Allwinner sun7i (A20) Family [90830.428036] Call trace: [90830.428050] unwind_backtrace from show_stack+0x11/0x14 [90830.428091] show_stack from dump_stack_lvl+0x37/0x42 [90830.428114] dump_stack_lvl from __warn+0xbf/0xe8 [90830.428138] __warn from warn_slowpath_fmt+0x113/0x118 [90830.428161] warn_slowpath_fmt from do_exit+0x62d/0x744 [90830.428186] do_exit from make_task_dead+0x77/0x11c [90830.428214] make_task_dead from die+0x2a5/0x364 [90830.428235] die from die_kernel_fault+0x6f/0x84 [90830.428258] die_kernel_fault from do_translation_fault+0x1/0x88 [90830.428283] do_translation_fault from 0xc160323c [90830.428338] ---[ end trace 0000000000000000 ]--- The issue is easy enough to work around, simply downgrade to the working version: # apt install linux-image-current-sunxi=25.2.3 armbian-firmware=25.2.3 linux-dtb-current-sunxi=25.2.3 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be DOWNGRADED: armbian-firmware linux-dtb-current-sunxi linux-image-current-sunxi 0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not upgraded. Need to get 136 MB of archives. After this operation, 3,704 kB disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://fi.mirror.armbian.de/apt noble/main armhf armbian-firmware all 25.2.3 [94.1 MB] Get:2 http://fi.mirror.armbian.de/apt noble/main armhf linux-dtb-current-sunxi armhf 25.2.3 [211 kB] Get:3 http://fi.mirror.armbian.de/apt noble/main armhf linux-image-current-sunxi armhf 25.2.3 [41.5 MB] Fetched 103 MB in 19s (5,509 kB/s) dpkg: warning: downgrading armbian-firmware from 25.5.1 to 25.2.3 (Reading database ... 49560 files and directories currently installed.) Preparing to unpack .../armbian-firmware_25.2.3_all.deb ... Unpacking armbian-firmware (25.2.3) over (25.5.1) ... dpkg: warning: downgrading linux-dtb-current-sunxi from 25.5.1 to 25.2.3 Preparing to unpack .../linux-dtb-current-sunxi_25.2.3_armhf.deb ... Armbian 'linux-dtb-current-sunxi' for '6.12.20-current-sunxi': 'preinst' starting. Armbian 'linux-dtb-current-sunxi' for '6.12.20-current-sunxi': 'preinst' finishing. Unpacking linux-dtb-current-sunxi (25.2.3) over (25.5.1) ... dpkg: warning: downgrading linux-image-current-sunxi from 25.5.1 to 25.2.3 Preparing to unpack .../linux-image-current-sunxi_25.2.3_armhf.deb ... Armbian 'linux-image-current-sunxi' for '6.12.30-current-sunxi': 'prerm' starting. Armbian 'linux-image-current-sunxi' for '6.12.30-current-sunxi': 'prerm' finishing. Armbian 'linux-image-current-sunxi' for '6.12.20-current-sunxi': 'preinst' starting. ls: cannot access '/var/lib/initramfs-tools': No such file or directory Armbian 'linux-image-current-sunxi' for '6.12.20-current-sunxi': 'preinst' finishing. Unpacking linux-image-current-sunxi (25.2.3) over (25.5.1) ... Armbian 'linux-image-current-sunxi' for '6.12.30-current-sunxi': 'postrm' starting. Armbian 'linux-image-current-sunxi' for '6.12.30-current-sunxi': 'postrm' finishing. Setting up linux-image-current-sunxi (25.2.3) ... Armbian 'linux-image-current-sunxi' for '6.12.20-current-sunxi': 'postinst' starting. update-initramfs: Generating /boot/initrd.img-6.12.20-current-sunxi I: The initramfs will attempt to resume from /dev/sda3 I: (UUID=ae1efffa-3fde-41fc-ab76-99e60ecca21c) I: Set the RESUME variable to override this. update-initramfs: Converting to u-boot format Armbian: update last-installed kernel symlink to 'zImage'... '/boot/zImage' -> 'vmlinuz-6.12.20-current-sunxi' Armbian: Debian compat: linux-update-symlinks install 6.12.20-current-sunxi boot/vmlinuz-6.12.20-current-sunxi I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.12.20-current-sunxi I: /boot/initrd.img.old is now a symlink to initrd.img-6.12.20-current-sunxi I: /boot/vmlinuz is now a symlink to vmlinuz-6.12.20-current-sunxi I: /boot/initrd.img is now a symlink to initrd.img-6.12.20-current-sunxi Armbian 'linux-image-current-sunxi' for '6.12.20-current-sunxi': 'postinst' finishing. Setting up linux-dtb-current-sunxi (25.2.3) ... Armbian 'linux-dtb-current-sunxi' for '6.12.20-current-sunxi': 'postinst' starting. Armbian: DTB: symlinking /boot/dtb to /boot/dtb-6.12.20-current-sunxi... 'dtb' -> 'dtb-6.12.20-current-sunxi' Armbian 'linux-dtb-current-sunxi' for '6.12.20-current-sunxi': 'postinst' finishing. Setting up armbian-firmware (25.2.3) ... # apt-mark hold linux-image-current-sunxi armbian-firmware linux-dtb-current-sunxi linux-image-current-sunxi set on hold. armbian-firmware set on hold. linux-dtb-current-sunxi set on hold.
  2. Armbian Development Report: Continued Progress and Community Momentum Over the past two weeks, the Armbian project has made steady and meaningful progress across core infrastructure, board support, and kernel development. From bootloader improvements to expanded hardware compatibility, our contributors continue to push the platform forward. This update highlights recent technical advancements, bug fixes, and community contributions that help power the Armbian ecosystem. Highlights Pcduino2/3 Gain HDMI and Display FixesHDMI output is now supported, and a regression affecting display output on Pcduino2 and Pcduino3 boards has been resolved.#8341 Key Bootloader and Memory EnhancementsUpdates include a boot fix for Inovato Quadra, u-boot bumps for Banana Pi Zero3 and 2W, and the addition of 1.5GB memory support.#8334 Enhanced Repository SecurityImprovements include a new signing key, dual signing support, and better GPG key handling via APA.#8323, #8320, #8316 Improved TI Board SupportTexas Instruments boards now benefit from a custom Debian repo, pre-installed packages, and a Real-Time (RT) kernel config option.#8305, #8280 Meson64 Security BoostKernel Address Space Layout Randomization (KASLR) is now enabled by default to improve runtime security.#8354 New Features Add rtl8723ds Bluetooth support to Gateway GZ80x Add HDMI support for Pcduino2/3 and fix sun4i-drm regression TI: Add Debian repo and default packages TI: Add Real-Time kernel config for current Bug Fixes Fix Odroid-C4 I2C overlays (6.15 kernel) Fix I2C overlays for Odroid-C4 Fix WAN interface naming on Nanopi R6/R5 (Netplan rules) Fix DP alt mode on some rk3399 boards (6.15 kernel) Improvements Enable KASLR in Meson64 config Enable USB serial on PocketBeagle2 Add GPIO names to Rock-5C DTS Update u-boot and fix Bluetooth on BPI-M4-Zero Align Rock-5B-Plus edge kernel (6.16) with upstream Allwinner: Bump current to 6.12.35 and edge to 6.15.4 Re-enable xradio wireless driver for Allwinner 64-bit Bootloader/memory improvements for multiple boards Update SpacemiT kernel to 6.6.95 Remove WiFi patches (merged upstream in 6.16) Refactor Rockchip64 patches Bump Rockchip64 edge to 6.16-rc3 Enable Ethernet & USB serial modules on Beagle boards Add new GPG signing key Support dual signing of repos APA: Handle GPG key installation Update TM16xx driver for Rockchip64 edge Community Contributions @veduco @pyavitz @Ayush1325 @EvilOlaf @Ryzer58 @HeyMeco @igorpecovnik @amazingfate @paolosabatino @jsuhaas22 @hyx0329 @leggewie Stay Connected with the Community Looking to join live chats with Armbian developers and users? The Armbian Community Calendar lists upcoming voice chats, planning sessions, and community events. Stay informed and be part of the conversation! The post Armbian Development Highlights first appeared on Armbian. View the full article
  3. Hello there, 👋 I've connected an NVMe drive that I used in my PC to the Banana Pi F3, but it's not being detected. I'm using a USB-C PD power supply (Pine64 PinePower Desktop) to ensure sufficient power, yet it's still not recognized. The drive might be faulty. Has anyone successfully used an NVMe drive with this board? If so, could you share which NVMe drives are known to work with it? Thanks! _ _ _ /_\ _ _ _ __ | |__(_)__ _ _ _ / _ \| '_| ' \| '_ \ / _` | ' \ /_/ \_\_| |_|_|_|_.__/_\__,_|_||_| v25.5.1 for BananaPi BPI-F3 running Armbian Linux 6.6.87-current-spacemit Packages: Debian rolling (trixie) IPv4: (LAN) 192.168.1.185, 192.168.1.83 (WAN) 82.65.177.146 IPv6: 2a01:e0a:5ed:6230:fcfe:feff:fef8:f4be, 2a01:e0a:5ed:6230:3718:a97e:8a7b:a2c6 (WAN) 2a01:e0a:5ed:6230:9f8a:b5c1:f849:3f6f Performance: Load: 2% Up time: 1:31 Memory usage: 2% of 15.51G CPU temp: 45°C Usage of /: 12% of 113G Commands: Configuration : armbian-config Monitoring : htop [...] # Check PCIe-related kernel messages sudo dmesg | grep -E "(pcie|nvme|k1x-dwc)" # Check PCIe power management cat /sys/module/nvme_core/parameters/default_ps_max_latency_us # Monitor PCIe during boot sudo journalctl -b | grep -i pcie [ 0.404937] k1x-dwc-pcie ca400000.pcie: has no power on gpio. [ 0.407218] k1x-dwc-pcie ca400000.pcie: host bridge /soc/pcie@ca400000 ranges: [ 0.407260] k1x-dwc-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x009f002000 [ 0.407280] k1x-dwc-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 [ 0.507413] k1x-dwc-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 1.507664] k1x-dwc-pcie ca400000.pcie: Phy link never came up [ 1.508176] k1x-dwc-pcie ca400000.pcie: PCI host bridge to bus 0001:00 [ 1.514835] pcieport 0001:00:00.0: PME: Signaling with IRQ 65 [ 1.515235] pcieport 0001:00:00.0: AER: enabled with IRQ 65 [ 1.515884] k1x-dwc-pcie ca800000.pcie: has no power on gpio. [ 1.518096] k1x-dwc-pcie ca800000.pcie: host bridge /soc/pcie@ca800000 ranges: [ 1.518126] k1x-dwc-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x00b7002000 [ 1.518150] k1x-dwc-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 [ 1.518164] k1x-dwc-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 [ 1.618263] k1x-dwc-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 2.618384] k1x-dwc-pcie ca800000.pcie: Phy link never came up [ 2.618513] k1x-dwc-pcie ca800000.pcie: PCI host bridge to bus 0002:00 [ 2.625055] pcieport 0002:00:00.0: PME: Signaling with IRQ 69 [ 2.625444] pcieport 0002:00:00.0: AER: enabled with IRQ 69 [ 8.000939] systemd[1]: Starting modprobe@nvme_fabrics.service - Load Kernel Module nvme_fabrics... [ 8.348576] systemd[1]: modprobe@nvme_fabrics.service: Deactivated successfully. [ 8.349624] systemd[1]: Finished modprobe@nvme_fabrics.service - Load Kernel Module nvme_fabrics. [ 9.227876] systemd[1]: nvmefc-boot-connections.service - Auto-connect to subsystems on FC-NVME devices found during boot was skipped because of an unmet condition check (ConditionPathExists=/sys/class/fc/fc_udev_device/nvme_discovery). 100000 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: has no power on gpio. juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: host bridge /soc/pcie@ca400000 ranges: juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x009f002000 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: Phy link never came up juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca400000.pcie: PCI host bridge to bus 0001:00 juil. 04 19:00:44 bananapif3 kernel: pcieport 0001:00:00.0: PME: Signaling with IRQ 65 juil. 04 19:00:44 bananapif3 kernel: pcieport 0001:00:00.0: AER: enabled with IRQ 65 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: has no power on gpio. juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: host bridge /soc/pcie@ca800000 ranges: juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x00b7002000 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: Phy link never came up juil. 04 19:00:44 bananapif3 kernel: k1x-dwc-pcie ca800000.pcie: PCI host bridge to bus 0002:00 juil. 04 19:00:44 bananapif3 kernel: pcieport 0002:00:00.0: PME: Signaling with IRQ 69 juil. 04 19:00:44 bananapif3 kernel: pcieport 0002:00:00.0: AER: enabled with IRQ 69 poddingue@bananapif3 ~ $ # Enable all available kernel modules for NVMe sudo modprobe nvme sudo modprobe nvme-core sudo modprobe nvme-pci # Check if modules loaded lsmod | grep nvme modprobe: FATAL: Module nvme-pci not found in directory /lib/modules/6.6.87-current-spacemit nvme_fabrics 118784 0
  4. Hello! PWM seems to work without any configuration on the factory images with the gpio command, but I cant seem to get it to work on armbian. There doesn't seem to be any dtbs related to pwm, and /sys/class/pwm is empty on armbian. Anyone got this to work? EDIT: Forgot to add, doesnt seem to be any pwm overlays present on armbian install
  5. I hadn't done an upgrade but a fresh install; (v25.5.1 for Raspberry Pi 3 Model B running Armbian Linux 6.12.28-current-bcm2711) Realised that I had the same problem, only channel 2 was present; though I only realised something was missing when I'd tried RaspberryOS on a Pi Zero with the same i2c device. Adding to the /boot/config.txt didn't of itself solve the issue; adding the i2c1 to the armbian-config overlays also didn't see. However I did find the `/boot/firmware/config.txt` that has a lot more settings, and seems to be where armbian-config edits Note the `dtparam-i2c_arm=on` line... which was commented out. Adding that back and it works... (well after figuring out I needed to level shift the i2c device but that's another story) # For more options and information see # http://rptl.io/configtxt # Some settings may impact device functionality. See link above for details # Uncomment some or all of these to enable the optional hardware interfaces dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # .. dtoverlay=dwc2 i2c0 i2c1 i2c-gpio vc4-kms-v3d
  6. I use a 12v 3a PSU "Barrel" patrick@bananapif3:~$ dmesg | grep pcie [ 0.322772] k1x-dwc-pcie ca400000.pcie: has no power on gpio. [ 0.325025] k1x-dwc-pcie ca400000.pcie: host bridge /soc/pcie@ca400000 ranges: [ 0.325065] k1x-dwc-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x009f002000 [ 0.325088] k1x-dwc-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 [ 0.425212] k1x-dwc-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 0.525297] k1x-dwc-pcie ca400000.pcie: PCIe Gen.2 x2 link up [ 0.525837] k1x-dwc-pcie ca400000.pcie: PCI host bridge to bus 0001:00 [ 0.543059] pcieport 0001:00:00.0: PME: Signaling with IRQ 65 [ 0.543510] pcieport 0001:00:00.0: AER: enabled with IRQ 65 [ 0.544202] k1x-dwc-pcie ca800000.pcie: has no power on gpio. [ 0.546446] k1x-dwc-pcie ca800000.pcie: host bridge /soc/pcie@ca800000 ranges: [ 0.546484] k1x-dwc-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x00b7002000 [ 0.546510] k1x-dwc-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 [ 0.546525] k1x-dwc-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 [ 0.646655] k1x-dwc-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 1.647016] k1x-dwc-pcie ca800000.pcie: Phy link never came up [ 1.647233] k1x-dwc-pcie ca800000.pcie: PCI host bridge to bus 0002:00 [ 1.654489] pcieport 0002:00:00.0: PME: Signaling with IRQ 69 [ 1.654939] pcieport 0002:00:00.0: AER: enabled with IRQ 69 patrick@bananapif3:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mmcblk2 179:0 0 14.6G 0 disk ├─mmcblk2p1 179:1 0 508M 0 part └─mmcblk2p2 179:2 0 14.1G 0 part mmcblk2boot0 179:8 0 4M 1 disk mmcblk2boot1 179:16 0 4M 1 disk zram0 250:0 0 1.9G 0 disk [SWAP] nvme0n1 259:0 0 238.5G 0 disk ├─nvme0n1p1 259:1 0 508M 0 part /boot └─nvme0n1p2 259:2 0 238G 0 part /
  7. Hello Armbian community, I'm new to the forums and I'm currently working on adding support for the Orange Pi 5 Pro. I have developed a DTS file that enables support for this board on the EDGE kernel (currently v6.16). Here is the current status of device support with my changes: Working Features: Wireless & Bluetooth USB 2.0 (x3 ports) HDMI 2.1 Gigabit Ethernet (via PCIe to RJ45 adapter - requires manual driver installation as it's not in the kernel) NVMe x2 (One slot tested with an NVMe drive, works perfectly. The other is used by the Ethernet adapter) GPIO PWM LEDs Audio CODEC (ES8388) GPU (with the latest Mesa drivers) Not Yet Working (Work in Progress): USB 3.1 HDMI output via USB-C DisplayPort Alt Mode NPU Untested (Hardware unavailable to me): These are expected to work but remain unconfirmed. Cameras Regulated FAN TouchScreen eMMC Flash Not Sure: VPU (Unable to test due to lack of VAAPI support) Additional Information: I have successfully booted the board using u-boot version 2024.04, and it will likely work with newer versions as well. Questions and Call for Collaboration: I've based my work on the Armbian build system, patching the kernel, u-boot, and modifying the board configuration file. Now that the initial work is done, I have a few questions: 1. Contribution Process: When my DTS and related changes are more mature, what is the proper procedure to submit them as a contribution to the official Armbian project? 2. Testing: My build is based on the nightly branch. I am looking for volunteers to help test the image. Is there a specific forum section or process for sharing test images and gathering community feedback? 3. Collaboration: I would greatly appreciate any help or collaboration, especially with getting USB 3.0 and DisplayPort (via USB-C) connectivity fully functional. If you're interested in helping, please let me know. Thank you for your time and any guidance you can provide. Repository: U-boot Patch: https://github.com/c127dev/u-boot/tree/orangepi5pro-dev-2404 Kernel Patch: https://github.com/c127dev/linux/tree/orange-pi-5-pro-dev Armbian build: https://github.com/c127dev/build/tree/orange-pi-5-pro-dev
  8. My goal is to be able to boot mainline kernel actually. I can "boot" orangepi5-pro using the orangepi5 dts in mainline 6.15.4 , but I get no ethernet so that is a no go for me. I dont need wifi, bluetooth or display output, but I need ethernet, emmc and nvme at least. Fdt Ramdisk skip relocation No misc partition ## Flattened Device Tree blob at 0x08300000 Booting using the fdt blob at 0x08300000 Using Device Tree in place at 0000000008300000, end 0000000008316c97 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: 5511.816/5905.569 ms Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 6.15.4 (root@pi5pro3.lan) (gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP Sat Jun 28 00:27:52 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] 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 16 MiB at 0x00000000ef000000 [ 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 33 pages/cpu s97960 r8192 d29016 u135168 [ 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=0e3353db-b89e-4834-bd3a-f7400169b277 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory androidboot.fwver=ddr-v1.16-9fffbe1e78,bl31-v1.45,uboot-08/31/2024 [ 0.000000] Unknown kernel command line parameters "cgroup_enable=memory cgroup_memory=1", will be passed to user space. [ 0.000000] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes [ 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] software IO TLB: area num 8. [ 0.000000] software IO TLB: mapped [mem 0x00000000eb000000-0x00000000ef000000] (64MB) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 4192256 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] ftrace: allocating 68193 entries in 268 pages [ 0.000000] ftrace: allocated 268 pages with 3 groups [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is 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 Tasks Rude: 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] GIC: enabling workaround for GICv3: non-coherent attribute [ 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] GIC: enabling workaround for ITS: non-coherent attribute [ 0.000000] ITS@0x00000000fe640000: allocated 8192 Devices @100150000 (indirect, esz 8, psz 64K, shr 0) [ 0.000000] ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @100160000 (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] GIC: enabling workaround for ITS: non-coherent attribute [ 0.000000] ITS@0x00000000fe660000: allocated 8192 Devices @100180000 (indirect, esz 8, psz 64K, shr 0) [ 0.000000] ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @100190000 (flat, esz 2, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x00000001001a0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000001001b0000 [ 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000930] Console: colour dummy device 80x25 [ 0.000944] printk: legacy console [tty1] enabled [ 0.001803] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.001832] pid_max: default: 32768 minimum: 301 [ 0.001964] LSM: initializing lsm=capability,apparmor [ 0.002090] AppArmor: AppArmor initialized [ 0.002252] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.002310] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.005371] rcu: Hierarchical SRCU implementation. [ 0.005392] rcu: Max phase no-delay instances is 1000. [ 0.005725] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.006942] EFI services will not be available. [ 0.007404] smp: Bringing up secondary CPUs ... [ 0.008106] Detected VIPT I-cache on CPU1 [ 0.008184] GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000 [ 0.008198] GICv3: CPU1: using allocated LPI pending table @0x00000001001c0000 [ 0.008243] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.009092] Detected VIPT I-cache on CPU2 [ 0.009165] GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000 [ 0.009178] GICv3: CPU2: using allocated LPI pending table @0x00000001001d0000 [ 0.009220] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.010168] Detected VIPT I-cache on CPU3 [ 0.010236] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000 [ 0.010249] GICv3: CPU3: using allocated LPI pending table @0x00000001001e0000 [ 0.010287] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 0.011061] CPU features: detected: Spectre-v4 [ 0.011067] CPU features: detected: Spectre-BHB [ 0.011072] CPU features: detected: SSBS not fully self-synchronizing [ 0.011075] Detected PIPT I-cache on CPU4 [ 0.011112] GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000 [ 0.011120] GICv3: CPU4: using allocated LPI pending table @0x00000001001f0000 [ 0.011143] CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0] [ 0.011875] Detected PIPT I-cache on CPU5 [ 0.011918] GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000 [ 0.011926] GICv3: CPU5: using allocated LPI pending table @0x0000000100200000 [ 0.011951] CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0] [ 0.012678] Detected PIPT I-cache on CPU6 [ 0.012720] GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000 [ 0.012729] GICv3: CPU6: using allocated LPI pending table @0x0000000100210000 [ 0.012753] CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0] [ 0.013518] Detected PIPT I-cache on CPU7 [ 0.013561] GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000 [ 0.013570] GICv3: CPU7: using allocated LPI pending table @0x0000000100220000 [ 0.013594] CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0] [ 0.013683] smp: Brought up 1 node, 8 CPUs [ 0.013993] SMP: Total of 8 processors activated. [ 0.014007] CPU: All CPU(s) started at EL2 [ 0.014020] CPU features: detected: 32-bit EL0 Support [ 0.014034] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.014053] CPU features: detected: Common not Private translations [ 0.014068] CPU features: detected: CRC32 instructions [ 0.014086] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.014100] CPU features: detected: LSE atomic instructions [ 0.014114] CPU features: detected: Privileged Access Never [ 0.014128] CPU features: detected: PMUv3 [ 0.014141] CPU features: detected: RAS Extension Support [ 0.014158] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.014227] alternatives: applying system-wide alternatives [ 0.016345] CPU features: detected: Hardware dirty bit management on CPU4-7 [ 0.016628] Memory: 16221528K/16769024K available (17152K kernel code, 3516K rwdata, 12656K rodata, 8320K init, 752K bss, 522596K reserved, 16384K cma-reserved) [ 0.020718] devtmpfs: initialized [ 0.027560] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.027577] posixtimers hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.027639] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.027758] 22112 pages in range for non-PLT usage [ 0.027761] 513632 pages in range for PLT usage [ 0.027849] pinctrl core: initialized pinctrl subsystem [ 0.028160] DMI not present or invalid. [ 0.030469] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.031132] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.031323] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.031490] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.031519] audit: initializing netlink subsys (disabled) [ 0.031650] audit: type=2000 audit(0.029:1): state=initialized audit_enabled=0 res=1 [ 0.031995] thermal_sys: Registered thermal governor 'fair_share' [ 0.031999] thermal_sys: Registered thermal governor 'step_wise' [ 0.032007] thermal_sys: Registered thermal governor 'user_space' [ 0.032013] thermal_sys: Registered thermal governor 'power_allocator' [ 0.032052] cpuidle: using governor menu [ 0.032179] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.032326] ASID allocator initialised with 65536 entries [ 0.053320] rockchip_rk3588_pll_wait_lock: timeout waiting for pll to lock [ 0.053330] rockchip_rk3588_pll_set_params: pll update unsuccessful, trying to restore old params [ 0.058440] /vop@fdd90000: Fixed dependency cycle(s) with /hdmi@fde80000 [ 0.058480] /hdmi@fde80000: Fixed dependency cycle(s) with /vop@fdd90000 [ 0.061445] /pcie@fe190000: Fixed dependency cycle(s) with /pcie@fe190000/legacy-interrupt-controller [ 0.063859] /i2c@fec80000/usb-typec@22/connector: Fixed dependency cycle(s) with /usb@fc000000 [ 0.064402] /i2c@fec80000/usb-typec@22/connector: Fixed dependency cycle(s) with /phy@fed80000 [ 0.064441] /usb@fc000000: Fixed dependency cycle(s) with /phy@fed80000 [ 0.064475] /phy@fed80000: Fixed dependency cycle(s) with /i2c@fec80000/usb-typec@22/connector [ 0.066929] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.067299] rockchip-gpio fd8a0000.gpio: probed /pinctrl/gpio@fd8a0000 [ 0.067470] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.067632] rockchip-gpio fec20000.gpio: probed /pinctrl/gpio@fec20000 [ 0.067791] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.067946] rockchip-gpio fec30000.gpio: probed /pinctrl/gpio@fec30000 [ 0.068150] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.068299] rockchip-gpio fec40000.gpio: probed /pinctrl/gpio@fec40000 [ 0.068496] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.068646] rockchip-gpio fec50000.gpio: probed /pinctrl/gpio@fec50000 [ 0.069359] /hdmi@fde80000: Fixed dependency cycle(s) with /hdmi0-con [ 0.069395] /hdmi0-con: Fixed dependency cycle(s) with /hdmi@fde80000 [ 0.070486] HugeTLB: allocation took 0ms with hugepage_allocation_threads=2 [ 0.070496] HugeTLB: allocation took 0ms with hugepage_allocation_threads=2 [ 0.070505] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.070511] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.070519] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.070524] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.070531] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.070537] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.070543] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.070550] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.126828] raid6: neonx8 gen() 6347 MB/s [ 0.183584] raid6: neonx4 gen() 6241 MB/s [ 0.240334] raid6: neonx2 gen() 5196 MB/s [ 0.297084] raid6: neonx1 gen() 4203 MB/s [ 0.353835] raid6: int64x8 gen() 1433 MB/s [ 0.410580] raid6: int64x4 gen() 1867 MB/s [ 0.467326] raid6: int64x2 gen() 2460 MB/s [ 0.524076] raid6: int64x1 gen() 2021 MB/s [ 0.524081] raid6: using algorithm neonx8 gen() 6347 MB/s [ 0.580822] raid6: .... xor() 4730 MB/s, rmw enabled [ 0.580827] raid6: using neon recovery algorithm [ 0.581271] iommu: Default domain type: Translated [ 0.581279] iommu: DMA domain TLB invalidation policy: strict mode [ 0.587176] SCSI subsystem initialized [ 0.587275] usbcore: registered new interface driver usbfs [ 0.587295] usbcore: registered new interface driver hub [ 0.587313] usbcore: registered new device driver usb [ 0.587371] mc: Linux media interface: v0.10 [ 0.587392] videodev: Linux video capture interface: v2.00 [ 0.587425] pps_core: LinuxPPS API ver. 1 registered [ 0.587431] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.587443] PTP clock support registered [ 0.587495] scmi_core: SCMI protocol bus registered [ 0.587710] Advanced Linux Sound Architecture Driver Initialized. [ 0.588125] Bluetooth: Core ver 2.22 [ 0.588149] NET: Registered PF_BLUETOOTH protocol family [ 0.588155] Bluetooth: HCI device and connection manager initialized [ 0.588163] Bluetooth: HCI socket layer initialized [ 0.588170] Bluetooth: L2CAP socket layer initialized [ 0.588180] Bluetooth: SCO socket layer initialized [ 0.588226] NetLabel: Initializing [ 0.588231] NetLabel: domain hash size = 128 [ 0.588236] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.588270] NetLabel: unlabeled traffic allowed by default [ 0.589731] clocksource: Switched to clocksource arch_sys_counter [ 0.670963] VFS: Disk quotas dquot_6.6.0 [ 0.670982] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.671235] AppArmor: AppArmor Filesystem Enabled [ 0.677902] NET: Registered PF_INET protocol family [ 0.678087] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.685075] tcp_listen_portaddr_hash hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 0.685184] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.685218] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.685889] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear) [ 0.688980] TCP: Hash tables configured (established 131072 bind 65536) [ 0.689163] MPTCP token hash table entries: 16384 (order: 7, 786432 bytes, linear) [ 0.689373] UDP hash table entries: 8192 (order: 8, 1310720 bytes, linear) [ 0.689895] UDP-Lite hash table entries: 8192 (order: 8, 1310720 bytes, linear) [ 0.690454] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.690773] RPC: Registered named UNIX socket transport module. [ 0.690782] RPC: Registered udp transport module. [ 0.690787] RPC: Registered tcp transport module. [ 0.690792] RPC: Registered tcp-with-tls transport module. [ 0.690798] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.691298] PCI: CLS 0 bytes, default 64 [ 0.691383] Trying to unpack rootfs image as initramfs... [ 0.698503] kvm [1]: nv: 566 coarse grained trap handlers [ 0.698745] kvm [1]: IPA Size Limit: 40 bits [ 0.698763] kvm [1]: GICv3: no GICV resource entry [ 0.698769] kvm [1]: disabling GICv2 emulation [ 0.698774] kvm [1]: GIC system register CPU interface enabled [ 0.698791] kvm [1]: vgic interrupt IRQ18 [ 0.698811] kvm [1]: VHE mode initialized successfully [ 0.700158] Initialise system trusted keyrings [ 0.700329] workingset: timestamp_bits=46 max_order=22 bucket_order=0 [ 0.700695] NFS: Registering the id_resolver key type [ 0.700712] Key type id_resolver registered [ 0.700718] Key type id_legacy registered [ 0.700731] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.700738] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.723786] NET: Registered PF_ALG protocol family [ 0.723800] xor: measuring software checksum speed [ 0.724322] 8regs : 6351 MB/sec [ 0.724723] 32regs : 8326 MB/sec [ 0.725048] arm64_neon : 10254 MB/sec [ 0.725053] xor: using function: arm64_neon (10254 MB/sec) [ 0.725062] Key type asymmetric registered [ 0.725068] Asymmetric key parser 'x509' registered [ 0.725102] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.725243] io scheduler mq-deadline registered [ 0.725251] io scheduler kyber registered [ 0.733227] ledtrig-cpu: registered to indicate activity on CPUs [ 0.735078] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.735090] dma-pl330 fea10000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 0.735962] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.735973] dma-pl330 fea30000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 0.736901] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.736913] dma-pl330 fed10000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 0.737680] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.739948] printk: legacy console [ttyS2] disabled [ 0.740114] feb50000.serial: ttyS2 at MMIO 0xfeb50000 (irq = 40, base_baud = 1500000) is a 16550A [ 0.740214] printk: legacy console [ttyS2] enabled [ 0.895545] arm-smmu-v3 fc900000.iommu: ias 48-bit, oas 48-bit (features 0x001c1e8f) [ 0.896687] arm-smmu-v3 fc900000.iommu: allocated 65536 entries for cmdq [ 0.897806] arm-smmu-v3 fc900000.iommu: allocated 32768 entries for evtq [ 0.898891] arm-smmu-v3 fc900000.iommu: msi_domain absent - falling back to wired irqs [ 0.900808] platform fdb50000.video-codec: Adding to iommu group 0 [ 0.902062] platform fdba0000.video-codec: Adding to iommu group 1 [ 0.903254] platform fdba4000.video-codec: Adding to iommu group 2 [ 0.904482] platform fdba8000.video-codec: Adding to iommu group 3 [ 0.905704] platform fdbac000.video-codec: Adding to iommu group 4 [ 0.906853] platform fdd90000.vop: Adding to iommu group 5 [ 0.911863] rockchip-drm display-subsystem: bound fdd90000.vop (ops vop2_component_ops) [ 0.912924] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0 [ 0.913571] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 0.917039] brd: module loaded [ 0.920292] loop: module loaded [ 0.920776] rbd: loaded (major 254) [ 0.921119] lkdtm: No crash points registered, enable through debugfs [ 0.923637] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/regulators/dcdc-reg6 [ 0.924494] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/regulators/dcdc-reg7 [ 0.925373] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs3-null-pins [ 0.926178] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs2-null-pins [ 0.926998] /spi@feb20000/pmic@0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs1-null-pins [ 0.928358] spi-nor spi5.0: supply vcc not found, using dummy regulator [ 0.929058] spi-nor spi5.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff [ 0.931239] rk_gmac-dwmac fe1c0000.ethernet: IRQ eth_lpi not found [ 0.931787] rk_gmac-dwmac fe1c0000.ethernet: IRQ sfty not found [ 0.932399] rk_gmac-dwmac fe1c0000.ethernet: supply phy not found, using dummy regulator [ 0.933169] rk_gmac-dwmac fe1c0000.ethernet: clock input or output? (output). [ 0.933796] rk_gmac-dwmac fe1c0000.ethernet: TX delay(0x42). [ 0.934294] rk_gmac-dwmac fe1c0000.ethernet: Can not read property: rx_delay. [ 0.934919] rk_gmac-dwmac fe1c0000.ethernet: set rx_delay to 0x10 [ 0.935460] rk_gmac-dwmac fe1c0000.ethernet: integrated PHY? (no). [ 0.941016] rk_gmac-dwmac fe1c0000.ethernet: init for RGMII_RXID [ 0.941701] rk_gmac-dwmac fe1c0000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 0.942330] rk_gmac-dwmac fe1c0000.ethernet: DWMAC4/5 [ 0.942783] rk_gmac-dwmac fe1c0000.ethernet: DMA HW capability register supported [ 0.943446] rk_gmac-dwmac fe1c0000.ethernet: RX Checksum Offload Engine supported [ 0.944102] rk_gmac-dwmac fe1c0000.ethernet: TX Checksum insertion supported [ 0.944719] rk_gmac-dwmac fe1c0000.ethernet: Wake-Up On Lan supported [ 0.945307] rk_gmac-dwmac fe1c0000.ethernet: TSO supported [ 0.945790] rk_gmac-dwmac fe1c0000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 0.946495] rk_gmac-dwmac fe1c0000.ethernet: Enabled L3L4 Flow TC (entries=2) [ 0.947121] rk_gmac-dwmac fe1c0000.ethernet: Enabled RFS Flow TC (entries=10) [ 0.947746] rk_gmac-dwmac fe1c0000.ethernet: TSO feature enabled [ 0.948272] rk_gmac-dwmac fe1c0000.ethernet: SPH feature enabled [ 0.948799] rk_gmac-dwmac fe1c0000.ethernet: Using 32/32 bits DMA host/device width [ 0.949950] mdio_bus stmmac-0: MDIO device at address 1 is missing. [ 0.951975] usbcore: registered new interface driver asix [ 0.952471] usbcore: registered new interface driver cdc_ether [ 0.953000] usbcore: registered new interface driver rndis_host [ 0.953544] usbcore: registered new interface driver cdc_ncm [ 0.954308] VFIO - User Level meta-driver version: 0.3 [ 0.971555] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 0.972049] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 0.972784] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 0.973078] ehci-platform fc800000.usb: EHCI Host Controller [ 0.973085] ohci-platform fc840000.usb: Generic Platform OHCI controller [ 0.973096] ohci-platform fc840000.usb: new USB bus registered, assigned bus number 2 [ 0.973149] ohci-platform fc840000.usb: irq 57, io mem 0xfc840000 [ 0.973692] xhci-hcd xhci-hcd.0.auto: irq 54, io mem 0xfcd00000 [ 0.973769] ehci-platform fc880000.usb: EHCI Host Controller [ 0.973786] ohci-platform fc8c0000.usb: Generic Platform OHCI controller [ 0.973792] ehci-platform fc880000.usb: new USB bus registered, assigned bus number 3 [ 0.973807] ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 4 [ 0.973910] ehci-platform fc880000.usb: irq 56, io mem 0xfc880000 [ 0.973930] ohci-platform fc8c0000.usb: irq 58, io mem 0xfc8c0000 [ 0.974111] ehci-platform fc800000.usb: new USB bus registered, assigned bus number 5 [ 0.974254] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 0.974761] ehci-platform fc800000.usb: irq 55, io mem 0xfc800000 [ 0.975393] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6 [ 0.982313] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 0.982968] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.15 [ 0.983100] ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00 [ 0.983701] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.984875] usb usb1: Product: xHCI Host Controller [ 0.985305] usb usb1: Manufacturer: Linux 6.15.4 xhci-hcd [ 0.985779] usb usb1: SerialNumber: xhci-hcd.0.auto [ 0.986535] hub 1-0:1.0: USB hub found [ 0.986883] hub 1-0:1.0: 1 port detected [ 0.987403] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 0.988166] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.15 [ 0.988892] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.989526] usb usb6: Product: xHCI Host Controller [ 0.989961] usb usb6: Manufacturer: Linux 6.15.4 xhci-hcd [ 0.990436] usb usb6: SerialNumber: xhci-hcd.0.auto [ 0.991111] hub 6-0:1.0: USB hub found [ 0.991456] hub 6-0:1.0: 1 port detected [ 0.991989] usbcore: registered new interface driver cdc_acm [ 0.992135] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.15 [ 0.992487] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 0.992645] usbcore: registered new interface driver uas [ 0.993067] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00 [ 0.993244] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.993967] usbcore: registered new interface driver usb-storage [ 0.994414] usb usb3: Product: EHCI Host Controller [ 0.995247] mousedev: PS/2 mouse device common for all mice [ 0.995595] usb usb3: Manufacturer: Linux 6.15.4 ehci_hcd [ 0.996210] i2c_dev: i2c /dev entries driver [ 0.996568] usb usb3: SerialNumber: fc880000.usb [ 0.998852] hub 3-0:1.0: USB hub found [ 0.999232] fan53555-regulator 0-0042: FAN53555 Option[10] Rev[1] Detected! [ 0.999240] hub 3-0:1.0: 1 port detected [ 0.999401] fan53555-regulator 2-0042: FAN53555 Option[10] Rev[1] Detected! [ 0.999681] fan53555-regulator 0-0043: FAN53555 Option[10] Rev[1] Detected! [ 1.000409] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.15 [ 1.001466] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.001470] usb usb5: Product: EHCI Host Controller [ 1.002206] usb usb5: Manufacturer: Linux 6.15.4 ehci_hcd [ 1.003276] usb usb5: SerialNumber: fc800000.usb [ 1.003312] rtc-hym8563 6-0051: no valid clock/calendar values available [ 1.003487] hub 5-0:1.0: USB hub found [ 1.003503] hub 5-0:1.0: 1 port detected [ 1.005606] rtc-hym8563 6-0051: registered as rtc0 [ 1.007027] rtc-hym8563 6-0051: no valid clock/calendar values available [ 1.007614] rtc-hym8563 6-0051: hctosys: unable to read the hardware clock [ 1.008116] rockchip-rga fdb80000.rga: HW Version: 0x03.02 [ 1.008820] rockchip-rga fdb80000.rga: Registered rockchip-rga as /dev/video0 [ 1.009690] usbcore: registered new interface driver uvcvideo [ 1.010877] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property [ 1.013508] sdhci: Secure Digital Host Controller Interface driver [ 1.014053] sdhci: Copyright(c) Pierre Ossman [ 1.014436] Synopsys Designware Multimedia Card Interface Driver [ 1.015167] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.016377] arm-scmi arm-scmi.2.auto: Using scmi_smc_transport [ 1.016907] arm-scmi arm-scmi.2.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20 [ 1.017789] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 1.018587] arm-scmi arm-scmi.2.auto: SCMI Notifications - Core Enabled. [ 1.019203] arm-scmi arm-scmi.2.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 1.025854] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 1.026591] hid: raw HID events driver (C) Jiri Kosina [ 1.027329] usbcore: registered new interface driver usbhid [ 1.027823] usbhid: USB HID core driver [ 1.030576] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.15 [ 1.031307] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.031942] usb usb2: Product: Generic Platform OHCI controller [ 1.032462] usb usb2: Manufacturer: Linux 6.15.4 ohci_hcd [ 1.032937] usb usb2: SerialNumber: fc840000.usb [ 1.033758] hub 2-0:1.0: USB hub found [ 1.033813] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available [ 1.034109] hub 2-0:1.0: 1 port detected [ 1.035680] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.15 [ 1.035716] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 (0,8000003f) counters available [ 1.036450] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.037900] usb usb4: Product: Generic Platform OHCI controller [ 1.038434] usb usb4: Manufacturer: Linux 6.15.4 ohci_hcd [ 1.038723] usbcore: registered new interface driver snd-usb-audio [ 1.038920] usb usb4: SerialNumber: fc8c0000.usb [ 1.040516] hub 4-0:1.0: USB hub found [ 1.040904] hub 4-0:1.0: 1 port detected [ 1.042057] Initializing XFRM netlink socket [ 1.042476] NET: Registered PF_PACKET protocol family [ 1.043067] Key type dns_resolver registered [ 1.043452] Key type ceph registered [ 1.044028] libceph: loaded (mon/osd proto 15/24) [ 1.049961] registered taskstats version 1 [ 1.050450] Loading compiled-in X.509 certificates [ 1.054967] Key type .fscrypt registered [ 1.055316] Key type fscrypt-provisioning registered [ 1.056402] Btrfs loaded, zoned=no, fsverity=no [ 1.056854] AppArmor: AppArmor sha256 policy hashing enabled [ 1.076343] random: crng init done [ 1.083807] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 1.246494] usb 5-1: new high-speed USB device number 2 using ehci-platform [ 1.384450] usb 5-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11 [ 1.385196] usb 5-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.385835] usb 5-1: Product: USB 2.0 Hub [ 1.387049] hub 5-1:1.0: USB hub found [ 1.387645] hub 5-1:1.0: 4 ports detected [ 3.055599] Freeing initrd memory: 92432K [ 3.070564] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 3.071501] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 3.072197] clk: Disabling unused clocks [ 3.075155] PM: genpd: Disabling unused power domains [ 3.075634] ALSA device list: [ 3.075900] No soundcards found. [ 3.080084] Freeing unused kernel memory: 8320K [ 3.080529] Run /init as init process [ 3.416753] rk_gmac-dwmac fe1c0000.ethernet end0: renamed from eth0 [ 4.616898] async_tx: api initialized (async) [ 4.714374] NET: Registered PF_INET6 protocol family [ 4.715947] Segment Routing with IPv6 [ 4.716324] In-situ OAM (IOAM) with IPv6 [ 4.723206] device-mapper: ioctl: 4.49.0-ioctl (2025-01-17) initialised: dm-devel@lists.linux.dev [ 4.726511] Key type encrypted registered [ 4.733545] 8021q: 802.1Q VLAN Support v1.8 [ 4.740925] rk_gmac-dwmac fe1c0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 4.743535] rk_gmac-dwmac fe1c0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-1 [ 4.746426] rk_gmac-dwmac fe1c0000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19) [ 33.759835] vcc3v3_pcie20: disabling [ 34.774410] rk_gmac-dwmac fe1c0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 34.775895] rk_gmac-dwmac fe1c0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-1 [ 34.777527] rk_gmac-dwmac fe1c0000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)
  9. 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
  10. They are in the same pin numbers, but different GPIO Update: I found that I can just use both CS0 and CS1 in opiz3 normally as expected in a DTS for a SPI ili948x LCD and touch screen, as seen in my ili9488 thread. (PH9=CS0, PC10=CS1) I was having so much trouble before, but now I finally got it
  11. 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?
  12. Your commands looks ok, but you need to use hk1-x3, not hk1-box Your runtime device-tree do contains the display-controller under /proc/device-tree/i2c-display. So your correctly copying your dtb, but device-tree/i2c-display/sda-gpios and device-tree/i2c-display/scl-gpios shows pin of hk1-box, not hk1-x3. You also need to remove any references to OpenVFD from your device tree. This will create conflicts if you have multiple nodes using the same pins. Your dmesg also has some messages about the i2c bus on which is connected your display controller: [ 3.787786] gpio-576 (sda): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 3.792897] gpio-577 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 3.802509] i2c-gpio i2c-display: using lines 576 (SDA) and 577 (SCL) If course, you need to first configure the right pins by using hk1-x3 (and removing openvfd). Then you can investigate remaining i2c issues, if any.
  13. Hi, Then the only other difference would be that your device has a pin tied to usb0-vbus. The topwise dts does not have the display nodes included in the cubieboard. Now as you are currently kernel 6.1, it is possible to enable the display via overlays or compile a version of the topwise dts that includes the display nodes. So the internal display does not work under 6.1? Are there any kind of errors or does it not appear to intialise at all? Cubieboard nodes (*Note - Nodes other than hdmi and usb related have been removed): /dts-v1/; #include "sun4i-a10.dtsi" #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> / { model = "Cubietech Cubieboard"; compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10"; hdmi-connector { compatible = "hdmi-connector"; type = "a"; port { hdmi_con_in: endpoint { remote-endpoint = <&hdmi_out_con>; }; }; }; }; &de { status = "okay"; }; &hdmi { status = "okay"; }; &hdmi_out { hdmi_out_con: endpoint { remote-endpoint = <&hdmi_con_in>; }; }; &reg_usb1_vbus { status = "okay"; }; &reg_usb2_vbus { status = "okay"; }; &usb_otg { dr_mode = "otg"; status = "okay"; }; &usbphy { usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ usb1_vbus-supply = <&reg_usb1_vbus>; usb2_vbus-supply = <&reg_usb2_vbus>; status = "okay"; }; Topwise a721: /dts-v1/; #include "sun4i-a10.dtsi" #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/pwm/pwm.h> / { model = "Topwise A721"; compatible = "topwise,a721", "allwinner,sun4i-a10"; panel { compatible = "starry,kr070pe2t"; backlight = <&backlight>; power-supply = <&reg_lcd_power>; port { panel_input: endpoint { remote-endpoint = <&tcon0_out_panel>; }; }; }; reg_lcd_power: reg-lcd-power { compatible = "regulator-fixed"; regulator-name = "reg-lcd-power"; gpio = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */ enable-active-high; }; }; &de { status = "okay"; }; &reg_usb0_vbus { status = "okay"; }; &reg_usb1_vbus { status = "okay"; }; &reg_usb2_vbus { status = "okay"; }; &tcon0_out { tcon0_out_panel: endpoint@0 { reg = <0>; remote-endpoint = <&panel_input>; }; }; &usb_otg { dr_mode = "otg"; status = "okay"; }; &usb_power_supply { status = "okay"; }; &usbphy { usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ usb0_vbus-supply = <&reg_usb0_vbus>; usb1_vbus-supply = <&reg_usb1_vbus>; usb2_vbus-supply = <&reg_usb2_vbus>; status = "okay"; }; It is possible to build just uboot using the BUILD_ONLY=uboot option. Again here you could face potential issues as newer uboot might not work well with an old kernel. All the best Ryzer
  14. Dear Community, I'll build a Developer Team specially for Banana Pi Boards!" GPIO Libarys I started updating/modifing the old GPIO-Libarys, so they can be used on the latest builds! I want to build a Team, for GPIO-Libary Development, for porting these Libarys: WiringPi-Node WiringPi-PHP WiringPi-Perl WirinigPi-Ruby gpiozero rpi-gpio Updating and modifying these: RPi.GPIO BPI-WiringPi2-Python BPI-WiringPi2 At the end, all currently working GPIO Libarys are: luma.oled RPi.GPIO BPI-WiringPi BPI-WiringPi2 BPI-WiringPi2-Python Armbian Build System for Banana Pi I started building the build-system for full banana pi support! Anyone who would like to join the developer-team, just pn me, post in this thread, or contact me on github or discord!" I created a GIthub-Organisation for this project and a Discord Server. A Domain & VPS Server is commin Monday!" Goals: Support ONLY for Banana Pi Boards Board Determiner Script which exports Board-Infos, required by gpio-libs (usual located at: /var/lib/bananapi) APT-Mirror Archive Hosted by our project-teams vps-server! ( Mirror stores all latest gpio-libarys we specially build for using on latest builds and other packages we'll develope in future) Added APPGROUPS: Pentesting, TV-Box, Server-Side, Game Desk & Development Revised menu for selecting extensions and other additional items Revised config menu Adding additional build options A Web-Based Project-Server Hosted Build-System will be build and available on the project-page, where you can build images remotely, according to you settings made in the WebInterface, with live progress & build-log + downloading compressed own image-release. A publish option will be added to, where you can upload your builded image to any Cloud/Storage we provide. Revised device trees According to APPGROUPS and Enabled Extensions: I2C, SPI, UART are enabled in the gpio_develope extension, and all requirements for gpio-programming are pre-installed, the gpio libs are pre-installed too. If you have some Ideas, what we could add or which wishes we can make true, just reply in this post, or contact us. Github Organisation Discord greetz, hexzhen3x7
  15. Bumps dtschema from 2025.2 to 2025.6.1. Commits 18ac2d8 validator: Fix ordering issue with properties referencing another property 4dbacd6 tests: Add test for DTSchema.check_schema_refs() 2c5f057 schema: Rework instantiating DTSchema.validator 19c88b9 schemas: gpio-nexus-node: Fix schema $ref paths fb770c7 schema: Fix a false positive unevaluatedProperties/additionalProperties check b7f612c schemas: reset: Add '#reset-cells' into schema 7e3ef3e schemas: reset: Add descriptions from original text binding 53a2132 meta-schemas: nodes: Allow if-then-else directly in patternProperties objects 9d1305d schemas: PCI: Add standard PCIe WAKE# signal 49451a5 schemas: root-node: Add 'all-in-one' chassis-type Additional commits viewable in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) View the full article
  16. I just did some new experiments, trying to get touch working in ili9488 LCD v2.1 Increasing or decreasing the SPI MHz in both the LCD and touch section of the DTS DONT WORK... I couldn't get touch working Next is to use a software defined SPI with spi-gpio (based on my experience in my ili9341 thread) does anybody know a Python soft spi program which can talk to ads7846/xpt2046? update: I am getting some good touch results with Raspberry, which I hope I can transfer to opiz3. https://forums.raspberrypi.com/viewtopic.php?t=389230
  17. Hi, I managed to make w1-GPIO work in Orange Pi Zero v3 for, for example, the DS18B20 sensor. However, I have some doubts about setting the GPIO flags for w1-gpio. Many examples provide flags in the form gpios = <&pio 0 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; but in the dts file when I use this form it does not work (syntax error) so I have to provide the flags in digital form. A description of flags and bits is here https://elixir.bootlin.com/linux/v6.6.30/source/include/dt-bindings/gpio/gpio.h If I would like to set GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN then the digital value for these bits will be for set bits: 0110000 = 48 because GPIO_OPEN_DRAIN it is (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_DRAIN) Please help me and confirm whether I understood it correctly I wanted to get rid of the message in the logs for w1-gpio [ 4.994183] gpio-74 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file which understands that I need to set the GPIO flag GPIO_OPEN_DRAIN in the dts file I see one problem with this source https://www.kernel.org/doc/Documentation/devicetree/bindings/gpio/gpio.txt where a number of bits to set is 6 in source https://elixir.bootlin.com/linux/v6.6.30/source/include/dt-bindings/gpio/gpio.h number of bits to set is 7 I hope I posted this question in the right section, if not please move it
  18. The actions in the dts for setting the GPIO pin are is based on the boot log line. marlin chip en dummy pull up -- need manually set GPIO You can check the whole discussion here and the reasoning https://chatgpt.com/share/68466d15-e5bc-8013-b200-17ae7f7c89fc However, After your last answer, Chatgpt suggests this is not really the issue, but a delayed initialisation would help. When the bt fails to initialise, try the following: sudo hciattach /dev/ttyS0 any 115200 flow sudo hciconfig hci0 up If this works, you can put this in a service to run at every boot. You can try yourself to continue the above conversation with chatgpt and see if you find the final solution. Then you can post it here.
  19. Ok, if you want we can try one more thing. According to AI, the correct way to always enable the bluetooth is to do it via a custom overlay, which is not done. First, remove the bt-gpio.service, it does not help: sudo sytemctl disable bt-gpio.service sudo rm /etc/systemd/system/bt-gpio.service sudo systemctl daemon-reload Then, create the custom overlay file /boot/overlay-user/bt_enable_ph1.dts with the following content: /dts-v1/; /plugin/; &pio { bt_en_pin: bt_en_pin { pins = "PH1"; function = "gpio_out"; bias-pull-up; output-high; }; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; status = "okay"; }; &wcn_bt { compatible = "wcn,bt"; uart = <&uart0>; enable-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; // PH1 = GPIO 225 status = "okay"; }; Then we can try to compile and install it: sudo armbian-add-overlay /boot/overlay-user/bt_enable_ph1.dts Then activate it in /boot/armbianEnv.txt, add the following line: user_overlays=bt_enable_ph1 If all works well try to reboot and see what happens.
  20. Hello everyone, I encountered an issue while using SPI with my Orange Pi 3 LTS, and now I'm going to share some solutions. Perhaps the Armbian Team can assist me in resolving the final problem. These tests were conducted on Armbian 23.02.2 Bullseye with Linux 5.15.93-sunxi64. The initial step I took to ensure the appearance of `spidev` on the Orange Pi 3 LTS was to include these configurations in `/boot/armbianEnv.txt`. overlays=spi-spidev1 param_spidev_spi_bus=0 param_spidev_spi_cs=0 Note: If `spi-spidev` and `spi-spidev1` are added together, it will not work, and the `spidev` will not appear when using the `ls /dev/sp*` command. After performing the above steps, I executed the `sudo reboot` command, and `/dev/spidev1.0` appeared. root@orangepi3-lts:~/wiringOP# ls /dev/sp* /dev/spidev1.0 However, this alone was insufficient to ensure proper functionality of SPI. I attempted to send a message to an ATMega 168p using a Python script that utilizes the `spidev` library. The script is below: import spidev spi = spidev.SpiDev() spi.open(1, 0) spi.max_speed_hz=10000 payload = [0x0c, 0x00] spi.xfer(payload) print(*payload[1:]) The ATMega 168p occasionally received the message, and sometimes it did not. I suspected that the issue might be related to the MISO or MOSI connections. To investigate further, I directly connected the MISO pin of the Orange Pi 3 LTS to its MOSI pin, testing whether I would receive an echo in the script provided earlier. Indeed, I received the echo successfully. Considering the observations so far, my remaining suspicion lies with the CS (Chip Select) line. If the CS line is not functioning properly, it may fail to select the specific device, resulting in issues with the request/response process (similar to what I experienced). Hence, I proceeded to install wiringOp, on my device. This allowed me to read all the GPIOs of my Orange Pi 3 LTS and check for any anomalies. After successfully building it, I ran the command `gpio readall` and observed the following output: root@orangepi3-lts:~/wiringOP# gpio readall +------+-----+----------+------+---+ OPi 3 +---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | | | 3.3V | | | 1 || 2 | | | 5V | | | | 122 | 0 | SDA.0 | OFF | 0 | 3 || 4 | | | 5V | | | | 121 | 1 | SCL.0 | OFF | 0 | 5 || 6 | | | GND | | | | 118 | 2 | PWM.0 | OFF | 0 | 7 || 8 | 0 | OFF | PL02 | 3 | 354 | | | | GND | | | 9 || 10 | 0 | OFF | PL03 | 4 | 355 | | 120 | 5 | RXD.3 | OFF | 0 | 11 || 12 | 0 | OFF | PD18 | 6 | 114 | | 119 | 7 | TXD.3 | OFF | 0 | 13 || 14 | | | GND | | | | 362 | 8 | PL10 | OFF | 0 | 15 || 16 | 0 | OFF | PD15 | 9 | 111 | | | | 3.3V | | | 17 || 18 | 0 | OFF | PD16 | 10 | 112 | | 229 | 11 | MOSI.1 | ALT2 | 0 | 19 || 20 | | | GND | | | | 230 | 12 | MISO.1 | ALT2 | 0 | 21 || 22 | 0 | OFF | PD21 | 13 | 117 | | 228 | 14 | SCLK.1 | ALT2 | 0 | 23 || 24 | 0 | OFF | CE.1 | 15 | 227 | | | | GND | | | 25 || 26 | 0 | OFF | PL08 | 16 | 360 | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+ OPi 3 +---+------+----------+-----+------+ I noticed that the CS pin (GPIO 227) is currently set to `OFF` and needs to be configured as `ALT2` along with `MOSI.1`, `MISO.1`, and `SCLK.1` . This information gave me a clear direction on how to solve my problem. To investigate further, I began checking the device tree configuration using the following commands: `sudo armbian-config` -> `System` -> `Dtc`: ... spi1-pins { pins = "PH4\0PH5\0PH6"; function = "spi1"; phandle = <0x2b>; }; spi1-cs-pin { pins = "PH3"; function = "spi1"; phandle = <0x2c>; }; ... spi@5011000 { compatible = "allwinner,sun50i-h6-spi\0allwinner,sun8i-h3-spi"; reg = <0x5011000 0x1000>; interrupts = <0x00 0x0b 0x04>; clocks = <0x04 0x53 0x04 0x51>; clock-names = "ahb\0mod"; dmas = <0x2a 0x17 0x2a 0x17>; dma-names = "rx\0tx"; pinctrl-names = "default"; pinctrl-0 = <0x2b 0x2c>; resets = <0x04 0x20>; status = "disabled"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x72>; }; ... Upon examining the pinout diagram, I realized that the Orange Pi 3 LTS utilizes SPI1, and all the SPI pins (H3, H4, H5, H6) were correctly configured in the device tree. This led me to speculate that the issue might not be in the device tree itself but rather in the `spi-spidev1 overlay`. To investigate further, I decompiled the `sun50i-h6-spi-spidev1.dtbo` file located at `/boot/dtb/allwinner/overlay/` into a `.dts` file using the command `dtc -I dtb -O dts sun50i-h6-spi-spidev1.dtbo -o sun50i-h6-sp i-spidev1.dts`. Next, I edited the `pinctrl-0` section of the `sun50i-h6-spi-spidev1.dts` file, adding the addresses `0x2b` and `0x2c` (similar to what was done in spi@5011000). /dts-v1/; / { compatible = "allwinner,sun8i-h3-spi"; fragment@0 { target-path = "/aliases"; __overlay__ { spi1 = "/soc/spi@5011000"; }; }; fragment@1 { target = <0xffffffff>; __overlay__ { pinctrl-names = "default"; pinctrl-0 = <0x2b 0x2c>; status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; spidev@0 { compatible = "armbian,spi-dev"; reg = <0x00>; spi-max-frequency = <0xf4240>; }; }; }; __fixups__ { spi1 = "/fragment@1:target:0"; spi1_pins = "/fragment@1/__overlay__:pinctrl-0:0"; }; }; Compiled the modified `sun50i-h6-spi-spidev1.dts` file into a `.dtbo` using the command `dtc -O dtb -I dts sun50i-h6-spi-spidev1.dts -o sun50i-h6-spi-spidev1.dtbo`. Then, I rebooted the Orange Pi 3 LTS. After the reboot, I ran the `gpio readall` command again to check the GPIO pin status: root@orangepi3-lts:~# gpio readall +------+-----+----------+------+---+ OPi 3 +---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | | | 3.3V | | | 1 || 2 | | | 5V | | | | 122 | 0 | SDA.0 | OFF | 0 | 3 || 4 | | | 5V | | | | 121 | 1 | SCL.0 | OFF | 0 | 5 || 6 | | | GND | | | | 118 | 2 | PWM.0 | OFF | 0 | 7 || 8 | 0 | OFF | PL02 | 3 | 354 | | | | GND | | | 9 || 10 | 0 | OFF | PL03 | 4 | 355 | | 120 | 5 | RXD.3 | OFF | 0 | 11 || 12 | 0 | OFF | PD18 | 6 | 114 | | 119 | 7 | TXD.3 | OFF | 0 | 13 || 14 | | | GND | | | | 362 | 8 | PL10 | OFF | 0 | 15 || 16 | 0 | OFF | PD15 | 9 | 111 | | | | 3.3V | | | 17 || 18 | 0 | OFF | PD16 | 10 | 112 | | 229 | 11 | MOSI.1 | ALT2 | 0 | 19 || 20 | | | GND | | | | 230 | 12 | MISO.1 | ALT2 | 0 | 21 || 22 | 0 | OFF | PD21 | 13 | 117 | | 228 | 14 | SCLK.1 | ALT2 | 0 | 23 || 24 | 0 | ALT2 | CE.1 | 15 | 227 | | | | GND | | | 25 || 26 | 0 | OFF | PL08 | 16 | 360 | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+ OPi 3 +---+------+----------+-----+------+ The SPI functionality is now operational, but this solution is not definitive. To address the underlying issue, I need assistance as device trees, kernels, and other aspects of Linux are not within my area of expertise. It seems that the problem with the CS pin is related to an error during the boot process, resulting in an incorrect address assignment. Well, I hope this information proves helpful to others who are experiencing the same issue as I did. Remember: English is not my first language, so there may be some errors.
  21. user@orangepizero2w:~$ systemctl status bt-gpio.service × bt-gpio.service - Enable GPIO for Bluetooth chip Loaded: loaded (/etc/systemd/system/bt-gpio.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Tue 2025-06-10 23:18:23 +03; 11h ago Process: 489 ExecStart=/bin/sh -c echo 225 > /sys/class/gpio/export || true; echo out > /sys/class/gpio/gpio225/direction; echo 1 > /sys/class/gpio/gpio225/value (code=exited, status=2) Main PID: 489 (code=exited, status=2) CPU: 5ms jun 10 23:18:23 orangepizero2w systemd[1]: Starting bt-gpio.service - Enable GPIO for Bluetooth chip... jun 10 23:18:23 orangepizero2w sh[489]: /bin/sh: 1: echo: echo: I/O error jun 10 23:18:23 orangepizero2w sh[489]: /bin/sh: 1: cannot create /sys/class/gpio/gpio225/direction: Directory nonexistent jun 10 23:18:23 orangepizero2w sh[489]: /bin/sh: 1: cannot create /sys/class/gpio/gpio225/value: Directory nonexistent jun 10 23:18:23 orangepizero2w systemd[1]: bt-gpio.service: Main process exited, code=exited, status=2/INVALIDARGUMENT jun 10 23:18:23 orangepizero2w systemd[1]: bt-gpio.service: Failed with result 'exit-code'. jun 10 23:18:23 orangepizero2w systemd[1]: Failed to start bt-gpio.service - Enable GPIO for Bluetooth chip. Also I attached boot log which is connected to that "systemctl status bt-gpio.service" command. bt_fail_boot_log_3.txt When the board was boot correctly (BT is working fine) the output looks the same: user@orangepizero2w:~$ systemctl status bt-gpio.service × bt-gpio.service - Enable GPIO for Bluetooth chip Loaded: loaded (/etc/systemd/system/bt-gpio.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2025-06-11 11:04:21 +03; 1min 30s ago Process: 492 ExecStart=/bin/sh -c echo 225 > /sys/class/gpio/export || true; echo out > /sys/class/gpio/gpio225/direction; echo 1 > /sys/class/gpio/gpio225/value (code=exited, status=2) Main PID: 492 (code=exited, status=2) CPU: 5ms jun 11 11:04:21 orangepizero2w systemd[1]: Starting bt-gpio.service - Enable GPIO for Bluetooth chip... jun 11 11:04:21 orangepizero2w sh[492]: /bin/sh: 1: echo: echo: I/O error jun 11 11:04:21 orangepizero2w sh[492]: /bin/sh: 1: cannot create /sys/class/gpio/gpio225/direction: Directory nonexistent jun 11 11:04:21 orangepizero2w sh[492]: /bin/sh: 1: cannot create /sys/class/gpio/gpio225/value: Directory nonexistent jun 11 11:04:21 orangepizero2w systemd[1]: bt-gpio.service: Main process exited, code=exited, status=2/INVALIDARGUMENT jun 11 11:04:21 orangepizero2w systemd[1]: bt-gpio.service: Failed with result 'exit-code'. jun 11 11:04:21 orangepizero2w systemd[1]: Failed to start bt-gpio.service - Enable GPIO for Bluetooth chip.
  22. In one post here I saw a "please buy hardware we recommend" quote, and I appreciate that, but I wasn't able to find a recommended boards list - is there even one? Or should I just use the standard/platinum support filtering on the main page? Anyway, I could also use some help / recommendation for a general purpose SBC as I ... didn't by one for years. I'm looking for a more recent SBC to run a small, low power server (think pihole, homeassistant, zigbee, etc). I don't have specific requirements, but I'd like the board to have some kind of "long term support" and I'd also like to choose something that the armbian team would recommend, maybe from a manufacturer that supports armbian directly, or at least provides good documentation. Headless install, may use GPIO, at least 3 USB ports, built-in ethernet + wifi + BT (not sure if there's an SBC that would support zigbee natively?). And also, avoid using an SD card. Ability to use eMMC or SSD would be important. Where I'm coming from: I still run two first-gen Raspberry Pis as webcams + dataloggers (the 26 pin GPIO ones with 256 and 512 MB RAM respectively) and I used OrangePi One and Lite as two surprisingly stable servers for years (one a small postfix mailserver + datalogger, the other even running 4 docker containers). I like using low-level hardware to its limits🙂 I have recently upgraded to an already outdated OrangePi PC+ that I found in the drawer - at least it has 1 GB of RAM and I was starting running into limits with the 512 MB ones. So yeah - I don't need the top of the range SBC but something ... reasonably priced (think ~40 €) that will run well for years to come. I heard good stuff about the Radxa boards with Rockchip SoCs but I have no experience as I haven't bought new SBCs in ... years. Thanks in advance 🙂
  23. I did not see the bt-gpio service starting on boot. Can you post the status ?
  24. Hi, without owning this board, chatgpt is pointing out to an initialisation issue of the bluetooth system caused by the GPIO pin not being correctly handled at boot. [ 6.024062] WCN: marlin chip en dummy pull up -- need manually set GPIO The correct solution would be to handle the init in the dtb file, but you can try the following systemd initialisation as a workaround to see if it works. Create (as root) the following service file /etc/systemd/system/bt-gpio.service with the contents: [Unit] Description=Enable GPIO for Bluetooth chip Before=bluetooth.service [Service] Type=oneshot ExecStart=/bin/sh -c 'echo 225 > /sys/class/gpio/export || true; echo out > /sys/class/gpio/gpio225/direction; echo 1 > /sys/class/gpio/gpio225/value' [Install] WantedBy=multi-user.target Then enable it (as root): systemctl daemon-reexec systemctl daemon-reload systemctl enable bt-gpio.service Reboot and check if the bluetooth starts correctly. Post the boot log if it does not.
  25. OK, I had the fan disconnected, I have connected the fan into gpio pins and reboot system, now is 1000Mb/s, and maybe is an GND issue as eselarm commented, thank you guys
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines