Active threads
Showing topics posted in for the last 365 days.
- Past hour
-
I have long struggled with a problem with my Rock S0: If using the USB OTG port in device mode, the connection would suddenly drop randomly, minutes or sometimes hours after initialization. I spent months on and off looking for solutions, and I finally found one, so here it is if you ever find yourself having the same problem. Basically, it is caused by the SoC being very sensitive to voltage drops before the USB controller interprets it as the connection being lost. It's far more sensitive than it needs to be, given that my device is bus-powered and so the OS never actually needs to worry about a connection loss. If the connection is lost it is because I have unplugged the cable and so the device would be shut off regardless. Anyway, the solution lies deep within the RK3308's control registers, where I found the following: Three bits named "B_validsession reference tuning". There's no other explanation on what these bits does in the manual, but it sounded vaguely promising since I had been able to establish that "b-session valid" is actually the name of the status/interrupt that the vbus voltage affects in OTG device mode. Other registers related to the b-session valid status didn't work, however, including filter times, interrupt masks, force high bits, etc. But luckily this one register finally did the trick. The default value of these three bits are 000. Without any documentation I basically just had to guess what to do, so I tried setting them to 111 instead. And that seemed to work. It significantly lowered the voltage on the vbus pin required to trigger a disconnect signal. My connection was finally stable. Here's how you can do it yourself. First install memtool via apt, then run: memtool mw 0xFF008018 0x1C001C00
- Today
-
I have a pihole on one of my devices that I backup using shrink-backup. When pihole released 6.0 there was a bug that rendered my system unstable so I found it easier to revert back to 5.x until they fixed the bug. The restore worked without any issues whatsoever. The pihole database is only a db file and the records between the backup and to date is obv lost, but as for integrity of the system it's only a query log so it has no impact on pihole itself. As a matter of fact, you can run pihole without any db history at all. And IIRC the database history is 90 days by default, not one year. A btrfs send|recieve is only a file backup, it will never handle boot process or anything like that. You will also need to do it on every subvolume individually since send|recieve only takes one subvol, not even nested volumes. You will also have to make the source subvolume read only before issuing the send, but I guess that is what you mean by saying "make atomic snapshots". It's also very slow compared to rsync. Besides, using btrfs send|recieve does not solve the issue that copying a database that is in use might corrupt it, shutting down the application using the database before making a backup is. As a matter of fact, it might just make things even more complicated since you have to make the database (subvolume) read only during the send so the application might freak out from not being able to write to the database (unless you snapshot it first like you mention, but then you still have the same problem that an open database might break after being backed up). btrbk solves this (I think) by creating a snapshot (snapshots become read only by default) from the subvolume first and then send that, but you can't btrfs send|recieve a read/write subvolume, but again, does not solve the issue that the database is open. https://btrfs.readthedocs.io/en/latest/btrfs-send.html Fun fact: shrink-backup can backup btrfs devices. https://github.com/UnconnectedBedna/shrink-backup?tab=readme-ov-file#btrfs
-
Well its equivalent so other than vendor not beeing in a database does not count as custom in my books, but that is beside the point. Armbian correctly recognizes the size and I can write to it and that is important. Now flashing an existing image is simple. My preferred way is dd as described by Piter75: dd if=uboot.img of=/dev/mtdblock0 bs=4K for u-boot images and dd if=idbloader.img of=/dev/mtdblock0 seek=64 bs=512 conv=sync dd if=u-boot.itb of=/dev/mtdblock0 seek=16384 bs=512 conv=sync if used with image tree blob. Nice thing is that if new u-boot hangs or does not boot I can just short pin 23-25 to boot from SD card and try again. Since I have an 8Mb flash I would really like to bake in m.2 to SATA drivers - for ASM1166 in my case. Any pointers are welcome. DeMo
-
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.
-
Desktop not showing Armbian 25.5.1 Noble Gnome, Orange Pi 5
laibsch replied to compent's topic in Orange Pi 5
Yes, your logs show hundreds of errors, so it will be hard to pinpoint which one it is exactly. Here's a few things I can suggest that might move you along. "sudo service restart lightdm" # see if X now comes up on your TV, assuming that lightm is what you are using "sudo nano /home/*/.xsession-errors" # check the errors listed in those log files, they are more specific Can you try to flash an (older) image to a microSD card, boot off it and see what the results are? @Efe Çetin is the maintainer of your board, maybe he has a comment? Your board is in community-maintained status for armbian. There are no guarantees. -
Do you know how to compile your own images? Do you know how to use "git bisect"?
-
The ones I linked. You mentioned that you have no experience to compile stuff. One option is to target another SBC or a virtual machine so that you can focus on learning the build framework (explicit instructions are already given in some of the links) instead of having to deal with a multitude of issues (setting up your compilation host, getting compilation to succeed, finding the artifact to flash, only to then run into the next issue that armbian currently does not support your board). With a virtual system, you can be sure that you should get a working image. You can then focus on the compilation and familiarize yourself with that before jumping into real hardware enablement.
-
Efforts to develop firmware for X96 X6 RK3566 (8G/64G)
Dũng Trần replied to loi xin's topic in Rockchip CPU Boxes
Do you have specific instructions for installing the X96 X6? @Chris4arm Thank you very much. -
Building Armbian Distribution with Kernel 6.10 for Orange Pi 5 Pro
Werner replied to Sergey Dulimov's topic in Rockchip
I added a suggestion at the PR how to implement the driver while building to allow network oob. -
Driving the ili9488 LCD (4.0 inch cheap chinese clone)
robertoj replied to robertoj's topic in Allwinner sunxi
Ok I was able to get the LCD working with a self built image, by copying the linux config from the armbian.com image to the build/userpatches/linux-sunxi64-edge.config Currently rebuilding without the successful linux config, and then I will look at the difference Update: I didn't find any differences and the new image without the userpatches config accepts the LCD DTS and bin file. Ok, I dont understand what was happening before. Now I am getting the same X11 error as before: MESA-LOADER: failed to open panel-mipi-dbi: /usr/lib/dri/panel-mipi-dbi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) I see that this panel-mipi-dbi_dri.so is part of libgl1-mesa-dri debian package, in DEBIAN SID, but not Bookworm https://packages.debian.org/sid/arm64/libgl1-mesa-dri/filelist https://packages.debian.org/bookworm/arm64/libgl1-mesa-dri/filelist Next, when I rebuilt the armbian OS with xfce desktop, I get the same panel-mipi-dbi-spi error: can't find the bin file. I checked the config again... and it was the same Update: It was easier to build Sid minimal, and install labwc (wayland), just remember to install seatd: https://eirenicon.org/labwc-a-tutorial/ -
Hello everyone, I have an old POS machine that uses the Rockchip RK3288 processor. It has a 1920x1080 screen and works fine, but I don’t have any root or bootloader unlock permissions. I would like to flash Armbian on it and make better use of the device. So far I’ve tried: ADB access (only recovery available) Tried using adb reboot bootloader, but the device just powers off Identified some test points like KEY, T3, T2, T52, T51, but not sure which one is for MaskROM shorting Found no physical recovery button, only a reset and power button There might be a UART port, but I’m not sure 👉 Can someone please help me: Identify which test points or pads I can short to enter MaskROM mode Locate a possible UART debug port on the board Any advice for dumping original firmware or unlocking bootloader I've attached front and back photos of the mainboard. Any suggestions or experience with RK3288 boards are greatly appreciated! Thank you 🙏
- Yesterday
-
Can't flash Armbian to EMMC on Orange Pi 5B
Matthijs Kooijman replied to sns1081's topic in Rockchip
To add a datapoint: In the past, I've been succesfully installing to eMMC using `armbian-install` using an Armbian 24.2.1 Jammy image. IIRC I had to change the `ftdfile=` line in `/boot/armbianEnv.txt` (as documented at https://www.armbian.com/orangepi-5/) but it otherwise worked right away. Now recently I have been playing with newer bootloaders and images and kernels (in order to fix an issue where a reboot hangs), and in that process I updated the U-boot on the eMMC, which caused booting from eMMC to fail, and when booting from SD card, I no longer have the eMMC device so I cannot fix this (I think this might be exactly what @sns1081 describes in the first post of this topic). I've been trying to fix this (see this post for details), but on my previous attempt I could not get `rkdeveloptool` to work: it kept giving "Write LBA failed!" errors on on the `wl` command. I suspected this was because I needed the `db` (download bootloader) command first to download and run a bootloader to then handle the `wl` command, but I could not find the right spl_loader file. But with this thread (and in particular this post by @Andrius Vainorius) offered a filename I could google and then found it here: https://dl.radxa.com/rock5/sw/images/loader/rock-5b/release/ With that, at least the db and wl commands work: ❯ sudo ~/bin/rkdeveloptool db ~/Downloads/rk3588_spl_loader_v1.15.113.bin Downloading bootloader succeeded. ❯ sudo ~/bin/rkdeveloptool wl 0 some_img.img Write LBA from file (100%) For this, I cannected USB-C cable to the J11 USB connector in the middle, powered up via the USB-C connector in the corner and pressed the maskrom button on powerup. Note that it did not seem to be necessary to have the rkdeveloptool and the images to write in the same directory, as suggested by others here. Note that the the "some_img.img" is an image I lifted from an SD-card with Armbian 24.2.1 Jammy, so it is not the original clean image, but it does have the same stuff on it. Just the above commands recovered my board: It can boot from eMMC again and the /dev/mmcblk0 eMMC device is available again (both when booting from eMMC and when booting from SD). Analyzing why eMMC was broken before, I compared the serial output from the broken and fixed cases. The main difference is here seems to be the u-boot SPL version. AFAIU, this is what happens: Some ROM bootloader boots, which loads U-boot SPL from eMMC U-boot SPL checks SD-card and then eMMC to load the main U-boot Maybe there is another bootloader stage involved (between ROM and SPL, since there is some serial output before SPL shows up that is different between both cases). Here's a diff of the serial output between both cases (up to the moment where U-boot runs and no more interesting differences appear): --- old-opi5.txt 2025-07-02 21:20:08.631329154 +0200 +++ old-opi5-emmc-fixed.txt 2025-07-02 23:01:17.982196616 +0200 @@ -1,26 +1,24 @@ -üDDR d5483af87d cym 23/11/23-16:15:24,fwver: v1.15 +þDDR V1.11 f1474cf52f cym 23/05/09-11:02:36 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB Manufacturer ID:0x1 -CH0 RX Vref:29.3%, TX Vref:22.8%,21.8% -CH1 RX Vref:28.9%, TX Vref:20.8%,21.8% +CH0 RX Vref:28.5%, TX Vref:23.8%,22.8% +CH1 RX Vref:29.3%, TX Vref:20.8%,20.8% CH2 RX Vref:29.3%, TX Vref:22.8%,21.8% -CH3 RX Vref:27.9%, TX Vref:20.8%,20.8% +CH3 RX Vref:26.7%, TX Vref:21.8%,21.8% change to F1: 528MHz change to F2: 1068MHz change to F3: 1560MHz change to F0: 2112MHz out U-Boot SPL board init -U-Boot SPL 2017.09 (Feb 25 2025 - 08:48:59) -sfc cmd=9fH(6BH-x4) -unrecognized JEDEC id bytes: ff, ff, ff -unknown raw ID ff ff ff -Trying to boot from MMC2 -spl: partition error +U-Boot SPL 2017.09 (Feb 09 2024 - 18:56:36) +unknown raw ID 0 0 0 +unrecognized JEDEC id bytes: 00, 00, 00 +Trying to boot from MMC1 Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(7efcd01a0f...) + OK @@ -29,7 +27,7 @@ ## Checking atf-2 0xff100000 ... sha256(1163474a5b...) + OK ## Checking atf-3 0x000f0000 ... sha256(da90adf3a4...) + OK Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000) -Total: 304.579/460.237 ms +Total: 245.95 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-589-g3389cfdda:derrick.huang @@ -42,11 +40,10 @@ INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0 INFO: system boots from cpu-hwid-0 INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001 -ERROR: dfs get fsp_params[0] error, 0xfead0004 != 0xfead0003 -ERROR: dfs get fsp_params[1] error, 0x1111 != 0xfead0003 -ERROR: dfs get fsp_params[2] error, 0x0 != 0xfead0003 -ERROR: dfs get fsp_params[3] error, 0x60241520 != 0xfead0003 -ERROR: loader&trust unmatch!!! Please update trust if need enable dmc +INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz +INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz +INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz +INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz INFO: BL31: Initialising Exception Handling Framework INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK @@ -67,18 +64,8 @@ CR: M/C/I Using default environment -no mmc device at slot 1 -Card did not respond to voltage select! -do_rkimg_test: dev_desc is NULL! mmc@fe2c0000: 0, mmc@fe2e0000: 1 -Card did not respond to voltage select! -PCIe-0 Link Fail - -Device 0: unknown device -Card did not respond to voltage select! -switch to partitions #0, OK -mmc0 is current device -Bootdev(scan): mmc 0 +Bootdev(atags): mmc 0 MMC0: Legacy, 52Mhz PartType: EFI DM: v2 Since in both cases, the main U-boot (Feb 09 2024) runs from the SD-card, I suspect that the U-boot SPL (or the preceding bootloader, if any) is somehow involved in setting up the eMMC properly, and the new one does not do the setup properly (or otherwise messes something up). Next things I could try are: Flash a recent Armbian image (different version/flavors) to eMMC using rkdeveloptool and see if any of those produce a working system/eMMC. Figure out how the boot process *really* works and what parts of the eMMC are loaded in what order and how Compare a working and broken armbian image (in the areas that contain bootloader-stuff) and swap out some of these parts to see what is the part that breaks it. However, my main issue is fixing reboots on the older armbian system we are using, so I might not get around to the above anytime soon (OTOH, it seems the newer U-boot SPL actually fixes the reboot issue, so that could motivate me to see if we can upgrade to the new u-boot version without losing eMMC). -
I did so, but openvfd still doesn't work and can't compile.
-
I meant to say "armbian", my apologies
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
xuandat09 replied to Hqnicolas's topic in Rockchip CPU Boxes
Dear all, How can i auto login h96max armbian without input user name&password. Every time i turn on the box, i have to enter the user name&password. I don't want to do that the same to windows OS Thank you, -
Sorry - this is probably an easy one for those that know. But I am trying hard to copy my work and progress and build another NAS out of another T95z Plus box for my brother. All is going well - but on the second box - months after building the first - I installed the latest download. So I have Old box = Armbian Linux 6.12.32-current-meson64 - v25.5.1 New box = Armbian Linux 6.12.34-current-meson64 - v25.8 rolling - Support:for advanced users (rolling release) Both show - Ubuntu stable (noble) - which I think I changed on first boot with Armbian-config. Okay - so I don't think I am an advanced user so that warning has got me worried. So is there another version I should be using? I can't find the old file I downloaded so they would be identical. I have disabled unattended upgrades and things like that. Or am I worrying about nothing. Anyway - thanks as always. I still can't believe I have these cheap things pulled from my dust bin doing a real job again.
-
TV Box Name: Sunvell T95Z plus Octagon shaped box (I wrote it before – but Beware – apparently a lot of variants) CPU Amlogics S912 Armbian build file name: Armbian_community_25.8.0-trunk.277_Aml-s9xx-box_noble_current_6.12.34 DTB file used: meson-gxm-t95z-plus.dtb – (my other T95z uses meson-gxm-vega-s96.dtb) Kernel Version: 6.12.34 Distribution Installed (focal, buster, etc): Noble Working Ethernet (Yes/No): Yes Max Ethernet Speed that works (100/1000): Not sure how to determine... Does wifi work (Yes/No): No Does bluetooth work (Yes/No): Not tested Does HDMI audio work (Yes/No): Yes Additional Comments (provide any additional information you feel is important): This is my second T95z plus box build. Using as headless server and both seem solid. Confirming what others have said – the build is different inside. This has a different wifi card and eemc. I have a 3rd T95z plus that has the dreaded NAND chip too. Having fun and learning. Using as a simple NAS now with a ZFS pool and works just fine.
-
We are ready to offer a Bountysource donation to Armbian
amazingfate replied to maximumsettings's topic in Orange Pi 5
These errors are fine because moonlight will try all the hw accel APIs like vaapi, vdpau and vulkan, but on rockchip platform we only need rkmpp decoder, as you can see in the log it is detected, - Last week
-
sudo modprobe i2c-dev ?
-
Orangepi Zero 2W wrong color display on MPI3501
robertoj replied to Minh Tiến Nguyễn's topic in Allwinner sunxi
Can you confirm that you can still run X11 with Linux 6.12? -
Sound works but only with certain versions
Reluctant Linux User replied to Reluctant Linux User's topic in Radxa Rock 5 ITX
Ok, the noble_vendor_gnome image actually works. Not out of the box, you have to select "headphones" and most important, the gnome self-test "front left, front right" doesn't work. That's what was fooling me to begin with. But if you play videos, that works just fine. So for anyone on down the line confused by all of this, you need to copy a known good video or soundfile over to see if it will play. Here's the armbianmonior -u for it in any case - https://paste.armbian.com/nutedakeco However, one problem solved, new problem shows up to take its place. The current_ kernel images I've tried no longer boot off the nvme now that I have a SATA drive connected! It just sits there and hangs. The vendor images work OK, although I am seeing the SATA drive mysteriously appear and disappear upon boot. I suppose I should start a new thread for that one? I see a big long thread about SATA drives already.