All Activity
- Today
-
@Randlin
-
@Piotr si guess this problem doesn’t exist with miniarch. I’ll have to update my build to 6.16 kernel with warpme patches. I’m busy right now so it might take awhile.
-
@ARx8 try miniarch. https://github.com/warpme/miniarch/releases/tag/f3b14fbae071 I think this box is having the same issue as yours?
-
Hello everyone, i somehow compiled u-boot for x96q with 1.5Gb DRAM, and i created "instruction", how i managed to compile it: https://gist.github.com/VMTestik/257c836f1602a64fea8c05ecedc650b0 Maybe it will be helpful or useful
-
@laibsch thank you. @TonyMac32 any ideas? Update: The Bookworm minimal image does fully boot. Just not Trixie.
-
BPI-R4 fails to build, missing bl2 firmware
tabrisnet replied to tabrisnet's topic in Other families
above PR is merged -
Board: ODROID HC4 Kernel: 6.12.42-current-meson64 Issue: PWM fan control completely non-functional despite software appearing to work Problem Summary: The HC4's PWM fan runs at constant speed regardless of PWM settings. Manual PWM control has zero effect on fan speed, even when setting PWM to 0 (fan should stop/slow) or 255 (full speed). What I've Tried: Hardware Testing: Verified fan wiring with schematic (Pin 1=+5V, Pin 2=GND, Pin 3=TACHO, Pin 4=PWM) Tested with Noctua NF-A4x10 5V PWM fan (confirmed working on other systems) Swapped PWM/TACHO wire positions - no change Software Testing: Manual PWM control: echo 0|50|255 > /sys/class/hwmon/hwmon2/pwm1 - no response Direct PWM chip control: /sys/class/pwm/pwmchip0/pwm0/ - no response Tested different PWM chips (pwmchip0, pwmchip1) and channels Stopped fancontrol service to avoid conflicts Verified PWM files exist and accept values Overlay Testing: Tried existing Armbian overlays: meson-g12-pwm-gpiox-5-fan Copied PWM overlays from official ODROID Ubuntu image: fanspeed-full.dtbo, pwm_a-pwmfan.dtbo, etc. Overlays present in filesystem but show no loading errors or effects System Status: PWM driver loaded: meson-pwm ff802000.pwm: using obsolete compatible PWM devices detected: /sys/class/pwm/pwmchip0, /sys/class/pwm/pwmchip1 Device tree shows: cat /proc/device-tree/pwm-fan/compatible = pwm-fan Fan gets power and runs, but zero PWM response Research Findings: Found GitHub discussion showing HC4 PWM was broken in Armbian (August 2023 merge/revert cycle) where "PWM pulse reading was removed from HC4." This appears to be an ongoing regression in 6.x kernels. Similar issue documented in forum post about ODROID C2 where user had PWM files working but "nothing happen" until they manually patched device tree. What I Want to Contribute: I'd like to properly fix HC4 PWM fan control and contribute the solution back to Armbian. This affects anyone wanting quiet operation or proper thermal management. Need Guidance On: I'm relatively new to device tree development and embedded Linux, but I'm motivated to learn and contribute a proper fix. I'd appreciate guidance on: Where to start - What's the best approach for a beginner to debug device tree PWM issues? Learning resources - Any recommended documentation for understanding Amlogic PWM/device tree development? Debugging methodology - How to compare current vs. working device tree for PWM routing? Development workflow - What tools should I learn for creating/testing HC4-specific overlays or patches? Contribution process - How do device tree fixes typically get submitted and reviewed in Armbian?
-
Log with Verbosity 7. Some problems with access to SD card. Tried with two different cards, the same result. Both are 32GB. Is size a problem? I will try with smaller like 8GB when I have one. Trying to boot from MMC1 NOTICE: BL31: v2.10.14(debug):armbian NOTICE: BL31: Built : 18:07:43, Apr 2 2025 NOTICE: BL31: Detected Allwinner H616 SoC (1823) NOTICE: BL31: Found U-Boot DTB at 0x4a0b2520, model: hechuang,x96-q LPDDR3 INFO: ARM GICv2 driver initialized INFO: Configuring SPC Controller INFO: PMIC: Probing AXP305 on RSB ERROR: RSB: set run-time address: 0x10003 INFO: Could not init RSB: -65539 INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied INFO: PSCI: Suspend is unavailable INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 INFO: Changed devicetree. ns16550_serial serial@5000000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 U-Boot 2025.01-armbian-2025.01-S6d41-P7151-H8869-V004f-Bb703-R448a-dirty (Apr 02 2025 - 21:10:39 -0400) Allwinner Technology CPU: Allwinner H616 (SUN50I) Model: hechuang,x96-q LPDDR3 DRAM: 1 GiB Core: 58 devices, 20 uclasses, devicetree: separate WDT: Not starting watchdog@30090a0 MMC: mmc@4020000: 0, mmc@4021000: 3, mmc@4022000: 1 Loading Environment from FAT... Unable to use mmc 0:1... In: serial@5000000 Out: serial@5000000 Err: serial@5000000 No USB device found Net: apply fix for AC300 ephy bb version bug ... using AC300 emac1 ephy default config ... eth0: ethernet@5030000 starting USB... No USB controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 4641 bytes read in 2 ms (2.2 MiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 202 bytes read in 2 ms (98.6 KiB/s) Load fdt: /boot/dtb/allwinner/sun50i-h313-x96-q-lpddr3.dtb 37577 bytes read in 6 ms (6 MiB/s) Working FDT set to 4fa00000 Failed to load '/boot/dtb/allwinner/overlay/sun50i-h616-fixup.scr' 15484849 bytes read in 981 ms (15.1 MiB/s) 42621440 bytes read in 2670 ms (15.2 MiB/s) Moving Image from 0x40080000 to 0x40200000, end=0x42b50000 ## Loading init Ramdisk from Legacy Image at 4ff00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 15484785 Bytes = 14.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Working FDT set to 4fa00000 Loading Ramdisk to 4913b000, end 49fff771 ... OK Loading Device Tree to 00000000490c9000, end 000000004913afff ... OK Working FDT set to 490c9000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.12.11-edge-sunxi64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Thu Jan 23 11:23:05 EST 2025 [ 0.000000] Machine model: hechuang,x96-q LPDDR3 [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004007ffff (512 KiB) nomap non-reusable secmon@40000000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x000000004007ffff] [ 0.000000] node 0: [mem 0x0000000040080000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] cma: Reserved 64 MiB at 0x000000007ac00000 on node -1 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.4 [ 0.000000] No bootconfig data provided, so skipping bootconfig [ 0.000000] percpu: Embedded 33 pages/cpu s95832 r8192 d31144 u135168 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=UUID=adc7b539-05e1-42cd-b4a4-263c1693e027 rootwait rootfstype=ext4 splash plymouth.ignore-serial-consoles console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=7 ubootpart=1709ba65-01 usb-storage.quirks= cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "splash ubootpart=1709ba65-01 cgroup_enable=memory", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 262144 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x000000007aa80000-0x000000007ab80000] (1MB) [ 0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 56722 entries in 222 pages [ 0.000000] ftrace: allocated 222 pages with 6 groups [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000744] Console: colour dummy device 80x25 [ 0.000761] printk: legacy console [tty1] enabled [ 0.001402] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.001436] pid_max: default: 32768 minimum: 301 [ 0.001688] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.001718] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.017371] rcu: Hierarchical SRCU implementation. [ 0.017424] rcu: Max phase no-delay instances is 1000. [ 0.017785] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.022347] EFI services will not be available. [ 0.023044] smp: Bringing up secondary CPUs ... [ 0.030373] Detected VIPT I-cache on CPU1 [ 0.030529] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.037222] Detected VIPT I-cache on CPU2 [ 0.037377] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.043811] Detected VIPT I-cache on CPU3 [ 0.043963] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.044160] smp: Brought up 1 node, 4 CPUs [ 0.044256] SMP: Total of 4 processors activated. [ 0.044271] CPU: All CPU(s) started at EL2 [ 0.044299] CPU features: detected: 32-bit EL0 Support [ 0.044314] CPU features: detected: 32-bit EL1 Support [ 0.044333] CPU features: detected: CRC32 instructions [ 0.044411] alternatives: applying system-wide alternatives [ 0.045835] Memory: 899180K/1048576K available (16448K kernel code, 3734K rwdata, 13308K rodata, 8000K init, 599K bss, 79692K reserved, 65536K cma-reserved) [ 0.046873] devtmpfs: initialized [ 0.059181] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.059260] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.063112] 22192 pages in range for non-PLT usage [ 0.063143] 513712 pages in range for PLT usage [ 0.063444] pinctrl core: initialized pinctrl subsystem [ 0.064414] DMI not present or invalid. [ 0.068171] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.071403] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.073236] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.075612] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.075763] audit: initializing netlink subsys (disabled) [ 0.076284] audit: type=2000 audit(0.073:1): state=initialized audit_enabled=0 res=1 [ 0.078025] thermal_sys: Registered thermal governor 'fair_share' [ 0.078043] thermal_sys: Registered thermal governor 'bang_bang' [ 0.078069] thermal_sys: Registered thermal governor 'step_wise' [ 0.078086] thermal_sys: Registered thermal governor 'user_space' [ 0.078226] cpuidle: using governor ladder [ 0.078292] cpuidle: using governor menu [ 0.078524] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.078709] ASID allocator initialised with 65536 entries [ 0.079648] Serial: AMBA PL011 UART driver [ 0.086030] /soc/bus@1000000/mixer@100000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.086230] /soc/interrupt-controller@3021000: Fixed dependency cycle(s) with /soc/interrupt-controller@3021000 [ 0.086435] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.086532] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000 [ 0.086578] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/lcd-controller@6515000 [ 0.086625] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/bus@1000000/mixer@100000 [ 0.086729] /soc/lcd-controller@6515000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.087882] /soc/bus@1000000/mixer@100000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.092356] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.093157] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.093300] /soc/bus@1000000/mixer@100000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.093432] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000 [ 0.093560] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/lcd-controller@6515000 [ 0.093606] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/bus@1000000/mixer@100000 [ 0.093985] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/lcd-controller@6515000 [ 0.094121] /soc/lcd-controller@6515000: Fixed dependency cycle(s) with /soc/tcon-top@6510000 [ 0.102909] /soc/hdmi@6000000: Fixed dependency cycle(s) with /connector [ 0.103091] /connector: Fixed dependency cycle(s) with /soc/hdmi@6000000 [ 0.107591] cryptd: max_cpu_qlen set to 1000 [ 0.108765] ACPI: Interpreter disabled. [ 0.109522] iommu: Default domain type: Translated [ 0.109572] iommu: DMA domain TLB invalidation policy: strict mode [ 0.110824] SCSI subsystem initialized [ 0.111234] usbcore: registered new interface driver usbfs [ 0.111301] usbcore: registered new interface driver hub [ 0.111377] usbcore: registered new device driver usb [ 0.112254] pps_core: LinuxPPS API ver. 1 registered [ 0.112276] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.112320] PTP clock support registered [ 0.112685] scmi_core: SCMI protocol bus registered [ 0.113359] Advanced Linux Sound Architecture Driver Initialized. [ 0.115070] clocksource: Switched to clocksource arch_sys_counter [ 1.272724] pnp: PnP ACPI: disabled [ 1.286113] NET: Registered PF_INET protocol family [ 1.286444] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.355371] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 1.355530] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 1.355583] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.355676] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 1.355972] TCP: Hash tables configured (established 8192 bind 8192) [ 1.356184] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.356245] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.356514] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 1.357478] RPC: Registered named UNIX socket transport module. [ 1.357530] RPC: Registered udp transport module. [ 1.357546] RPC: Registered tcp transport module. [ 1.357561] RPC: Registered tcp-with-tls transport module. [ 1.357576] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.357599] NET: Registered PF_XDP protocol family [ 1.357635] PCI: CLS 0 bytes, default 64 [ 1.358015] Trying to unpack rootfs image as initramfs... [ 1.370270] kvm [1]: nv: 554 coarse grained trap handlers [ 1.371156] kvm [1]: IPA Size Limit: 40 bits [ 1.374817] kvm [1]: vgic interrupt IRQ9 [ 1.374917] kvm [1]: Hyp nVHE mode initialized successfully [ 1.378104] Initialise system trusted keyrings [ 1.378701] workingset: timestamp_bits=46 max_order=18 bucket_order=0 [ 1.379643] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.380458] NFS: Registering the id_resolver key type [ 1.380562] Key type id_resolver registered [ 1.380579] Key type id_legacy registered [ 1.380638] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.380659] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.445578] NET: Registered PF_ALG protocol family [ 1.445663] Key type asymmetric registered [ 1.445681] Asymmetric key parser 'x509' registered [ 1.445698] Asymmetric key parser 'pkcs8' registered [ 1.445715] Key type pkcs7_test registered [ 1.445932] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.446375] io scheduler mq-deadline registered [ 1.446422] io scheduler kyber registered [ 1.446497] io scheduler bfq registered [ 1.461408] ledtrig-cpu: registered to indicate activity on CPUs [ 1.493514] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.499473] Serial: AMBA driver [ 1.531445] usbcore: registered new interface driver uas [ 1.531540] usbcore: registered new interface driver usb-storage [ 1.533206] mousedev: PS/2 mouse device common for all mice [ 1.535617] sun6i-rtc 7000000.rtc: registered as rtc0 [ 1.535711] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:08 UTC (86408) [ 1.543378] sdhci: Secure Digital Host Controller Interface driver [ 1.543430] sdhci: Copyright(c) Pierre Ossman [ 1.543921] Synopsys Designware Multimedia Card Interface Driver [ 1.547237] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.550997] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000000 [ 1.554963] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 (0,8000003f) counters available [ 1.556065] watchdog: NMI not fully supported [ 1.556114] watchdog: Hard watchdog permanently disabled [ 1.571917] NET: Registered PF_PACKET protocol family [ 1.572406] Key type dns_resolver registered [ 1.589413] registered taskstats version 1 [ 1.589983] Loading compiled-in X.509 certificates [ 1.594268] zswap: loaded using pool zstd/zsmalloc [ 1.618031] sun8i-mixer 1100000.mixer: Adding to iommu group 0 [ 1.622491] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 1.636870] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver [ 1.638759] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator [ 1.643845] printk: legacy console [ttyS0] disabled [ 1.644736] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 286, base_baud = 1500000) is a 16550A [ 1.644870] printk: legacy console [ttyS0] enabled [ 2.169787] Freeing initrd memory: 15120K [ 2.179196] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pg not found, using dummy regulator [ 2.892608] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 287, base_baud = 1500000) is a 16550A [ 2.902018] serial serial0: tty port ttyS1 registered [ 2.911992] phy phy-5100400.phy.0: Changing dr_mode to 1 [ 2.913438] ehci-platform 5200000.usb: EHCI Host Controller [ 2.915503] ehci-platform 5310000.usb: EHCI Host Controller [ 2.915549] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 1 [ 2.915736] ehci-platform 5310000.usb: irq 290, io mem 0x05310000 [ 2.918019] ehci-platform 5311000.usb: EHCI Host Controller [ 2.922133] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus) [ 2.923087] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 2 [ 2.923314] ehci-platform 5200000.usb: irq 289, io mem 0x05200000 [ 2.928798] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 3 [ 2.928907] ohci-platform 5200400.usb: Generic Platform OHCI controller [ 2.928932] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 4 [ 2.929010] ohci-platform 5310400.usb: Generic Platform OHCI controller [ 2.929032] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 5 [ 2.929119] ohci-platform 5200400.usb: irq 294, io mem 0x05200400 [ 2.929148] ohci-platform 5310400.usb: irq 295, io mem 0x05310400 [ 2.929235] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00 [ 2.929622] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.929637] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.929645] usb usb1: Product: EHCI Host Controller [ 2.929652] usb usb1: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 2.929659] usb usb1: SerialNumber: 5310000.usb [ 2.930836] hub 1-0:1.0: USB hub found [ 2.930905] hub 1-0:1.0: 1 port detected [ 2.931094] ohci-platform 5311400.usb: Generic Platform OHCI controller [ 2.931507] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 6 [ 2.931709] ohci-platform 5311400.usb: irq 296, io mem 0x05311400 [ 2.945074] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00 [ 2.948428] ehci-platform 5311000.usb: irq 291, io mem 0x05311000 [ 2.958681] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.975086] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00 [ 2.979955] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.120492] usb usb2: Product: EHCI Host Controller [ 3.125396] usb usb2: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 3.132029] usb usb2: SerialNumber: 5200000.usb [ 3.137535] hub 2-0:1.0: USB hub found [ 3.141423] hub 2-0:1.0: 1 port detected [ 3.146257] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 3.154612] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.161870] usb usb4: Product: Generic Platform OHCI controller [ 3.167816] usb usb4: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 3.174449] usb usb4: SerialNumber: 5200400.usb [ 3.179978] hub 4-0:1.0: USB hub found [ 3.183875] hub 4-0:1.0: 1 port detected [ 3.188703] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 3.197043] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.204299] usb usb5: Product: Generic Platform OHCI controller [ 3.210238] usb usb5: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 3.216871] usb usb5: SerialNumber: 5310400.usb [ 3.222357] hub 5-0:1.0: USB hub found [ 3.226221] hub 5-0:1.0: 1 port detected [ 3.230997] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 3.239337] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.246590] usb usb3: Product: EHCI Host Controller [ 3.251489] usb usb3: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 3.258123] usb usb3: SerialNumber: 5311000.usb [ 3.263620] hub 3-0:1.0: USB hub found [ 3.267498] hub 3-0:1.0: 1 port detected [ 3.272262] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 3.280595] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.287855] usb usb6: Product: Generic Platform OHCI controller [ 3.293795] usb usb6: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 3.300440] usb usb6: SerialNumber: 5311400.usb [ 3.305921] hub 6-0:1.0: USB hub found [ 3.309798] hub 6-0:1.0: 1 port detected [ 3.918457] ehci-platform 5101000.usb: EHCI Host Controller [ 3.918511] ohci-platform 5101400.usb: Generic Platform OHCI controller [ 3.924286] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 7 [ 3.930982] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 8 [ 3.931953] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.932545] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver [ 3.934900] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator [ 3.936611] axp20x-i2c 0-0036: AXP20x variant AXP313a found [ 3.937394] axp20x-i2c 0-0036: AXP20X driver loaded [ 3.938987] ehci-platform 5101000.usb: irq 288, io mem 0x05101000 [ 3.942461] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator [ 3.946671] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator [ 3.946727] ohci-platform 5101400.usb: irq 293, io mem 0x05101400 [ 3.948868] sun4i-drm display-engine: Adding to iommu group 0 [ 3.957835] vdd-dram: Bringing 1100000uV into 1200000-1200000uV [ 3.965544] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops) [ 3.971808] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00 [ 3.977771] sun4i-drm display-engine: bound 6510000.tcon-top (ops sun8i_tcon_top_ops) [ 3.982720] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 3.989116] sun4i-drm display-engine: bound 6515000.lcd-controller (ops sun4i_tcon_ops) [ 3.997223] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.997234] usb usb7: Product: EHCI Host Controller [ 3.997241] usb usb7: Manufacturer: Linux 6.12.11-edge-sunxi64 ehci_hcd [ 3.997925] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY) [ 4.006030] usb usb7: SerialNumber: 5101000.usb [ 4.013007] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver [ 4.018824] hub 7-0:1.0: USB hub found [ 4.025534] sun4i-drm display-engine: bound 6000000.hdmi (ops sun8i_dw_hdmi_ops) [ 4.031370] hub 7-0:1.0: 1 port detected [ 4.038648] [drm] Initialized sun4i-drm 1.0.0 for display-engine on minor 0 [ 4.137538] EDID block 0 is all zeroes [ 4.154897] EDID block 0 is all zeroes [ 4.172164] EDID block 0 is all zeroes [ 4.197811] sun8i-dw-hdmi 6000000.hdmi: PHY PLL failed to lock [ 4.228834] sun50i-iommu 30f0000.iommu: Page fault for 0x00000000fff00000 (master -1, dir rd) [ 4.235904] Console: switching to colour frame buffer device 128x48 [ 4.273182] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device [ 4.282515] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 4.290993] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.296833] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator [ 4.299779] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator [ 4.300680] of_cfs_init [ 4.300744] of_cfs_init: OK [ 4.301674] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq [ 4.302177] usb usb8: Product: Generic Platform OHCI controller [ 4.302197] usb usb8: Manufacturer: Linux 6.12.11-edge-sunxi64 ohci_hcd [ 4.302203] usb usb8: SerialNumber: 5101400.usb [ 4.305921] hub 8-0:1.0: USB hub found [ 4.305995] hub 8-0:1.0: 1 port detected [ 4.325161] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 4.333340] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 4.354871] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 4.386709] mmc3: new high speed SDIO card at address 390b [ 4.427214] clk: Disabling unused clocks [ 4.427530] mmc0: host does not support reading read-only switch, assuming write-enable [ 4.429250] sun50i-h6-r-ccu 7010000.clock: Powering off unused clock r-apb2-rsb [ 4.452365] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-i2c3 [ 4.461427] sunxi-de33-clks 1008000.clock: Powering off unused clock wb-div [ 4.470248] sunxi-de33-clks 1008000.clock: Powering off unused clock mixer1-div [ 4.479401] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-pwm [ 4.488245] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-emac1 [ 4.497231] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-ve [ 4.505919] sun50i-h616-ccu 3001000.clock: Powering off unused clock bus-ce [ 4.514563] sun50i-h616-ccu 3001000.clock: Powering off unused clock ce [ 4.522804] sun50i-h616-ccu 3001000.clock: Powering off unused clock mbus-ce [ 4.531457] sun50i-h616-ccu 3001000.clock: Powering off unused clock cpux-apb [ 4.540152] sun50i-h616-ccu 3001000.clock: Powering off unused clock axi [ 4.548377] sun50i-h6-r-ccu 7010000.clock: Powering off unused clock r-apb1-twd [ 4.557251] PM: genpd: Disabling unused power domains [ 4.557394] mmc0: new high speed SDHC card at address 21d9 [ 4.558790] ALSA device list: [ 4.561542] mmcblk0: mmc0:21d9 APPSD 31.3 GiB [ 4.561768] No soundcards found. [ 4.566404] mmcblk0: p1 [ 4.597134] Freeing unused kernel memory: 8000K [ 4.600747] mmc2: new DDR MMC card at address 0001 [ 4.603512] Run /init as init process [ 4.606118] mmcblk2: mmc2:0001 SHP808 6.92 GiB [ 4.611745] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.614261] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.619238] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.624961] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.632516] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.016604] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.024567] I/O error, dev mmcblk2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 5.034616] Buffer I/O error on dev mmcblk2, logical block 0, async page read [ 5.043755] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.052064] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.060831] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.069091] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.077232] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.085424] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.093288] I/O error, dev mmcblk2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 5.103189] Buffer I/O error on dev mmcblk2, logical block 0, async page read [ 5.111847] mmcblk2: unable to read partition table [ 5.119079] mmcblk2boot0: mmc2:0001 SHP808 4.00 MiB [ 5.130785] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.138455] sunxi-mmc 4022000.mmc: send stop command failed [ 5.147207] mmcblk2boot1: mmc2:0001 SHP808 4.00 MiB [ 14.561669] platform sound-spdif: deferred probe pending: asoc-simple-card: parse error
-
So 25.05 and 25.5 are the same version? That threw me off for a while...
-
True, it's not critical to compile the ideal kernel into the image as long as I get one that works, I can always update it later from within the image. But I do prefer to do things right the first time, and to be utilizing the version I think I am and intend to be using. Btw, I boot from grub as well. For my Orange PI 5 Plus, The edge kernel is the only one that's actually useful to me because the Vendor kernel has no GPU acceleration at all, the Mainline kernel has no video output to my DVI monitor, and all 3 kernel branches aren't correctly utilizing the ES8388 analog audio, which I need. The audio volume is barely audible even when all volume controls are maxed out. It's been that way in every operating system I've tried (except those with old barebones Vendor Kernels from Orange PI). So ultimately I want to compile the latest (relatively) stable edge kernel myself, so I can modify the source code in an attempt to fix the audio, and of course share the solution when / if I find it. I've already found that the ES8388 and ES8328 are compatible - hence the es8328 modules used in the kernel for the ES8388. And I've narrowed down where the issue most likely is: Directory: sound/soc/codecs Files: es8328.h, es8328.c, es8328-i2c.c
-
Board: ODROID-HC4 Images tested: Armbian_25.5.1_Odroidhc4_bookworm_current_6.12.28_minimal.img Armbian_25.5.1_Odroidhc4_noble_current_6.12.28.img Kernel versions tested: multiple (6.6.x, 6.7.x, 6.12.x) through armbian-config Issues observed: 1. No USB keyboard at boot I have tested with three different USB keyboards (all working fine on Debian/Ubuntu official images). 2. SATA not initialized → NAS functionality is broken Always get: ata1: SATA max UDMA/133 ata1: SATA link down (SStatus 0 SControl 300) ata2: SATA max UDMA/133 ata2: SATA link down (SStatus 0 SControl 300) Disks are never detected. This makes Armbian unusable on HC4 as a NAS (which is the main purpose of the board). 3. Petitboot incompatibility and restore procedure Armbian does not boot correctly with Petitboot (the default bootloader shipped by Hardkernel). The Armbian documentation recommends removing Petitboot, which prevents using other distributions afterwards. The official Armbian forum threads redirect to Hardkernel forum. The tools to restore Petitboot are hosted on ppa.linuxfactory.or.kr, which has been offline for over a week !... This effectively leaves users stuck without a working bootloader or system. Expected behavior SATA disks should be detected and initialized (as with Hardkernel’s Debian/Ubuntu 5.15 LTS images). USB keyboards should work at boot. Armbian should either work with Petitboot, or provide a reliable documented way to restore it. At the moment, Armbian on ODROID-HC4 is unusable as a NAS due to SATA not working and Petitboot being broken. The only working setup is using Hardkernel’s old Debian/Ubuntu images with kernel 5.15. Could you please clarify: Is HC4 still officially supported by Armbian? Do you test your releases ? If yes, which kernel/branch should be used for stable SATA support?... Will there be fixes for USB keyboard and Petitboot compatibility? Thanks a lot !
-
sorry to hear about your troubles The Tritium H5 is maintained by https://github.com/Tonymac32. Not sure if he is active here in the forum.
-
My experience is that the edge kernel is stable enough, but if you act like a disk-jockey (playing with disks or SD-cards/images nowadays) you destroy your success potentially every time you try some new image. Instead, pick a distro Debian or Ubuntu when Armbian, and make backups and/or do snapshots of what worked and then install packages variants. You can have vendor, current, edge kernels installed at the same time. A lot faster build maybe because the kernel is already build by some person or some computer before, so you get it fetched from a cache. I have added the beta repo in my sources so I can select between various kernels (and U-Boot variants). You need a bootmanager though, so own extlinux.conf script or wipe standard boot.* files and make sure EFI works, with GRUB or so. The latter works fine if you don't need overlays etc, so more use the SBC as PC then as embedded board to control things via GPIO pins or so. You can also re-install a specific kernel every time, but that does not work when the one you wanted to run does not start the board or crashes it. The OPi5plus I would consider as a PC, I do that for similar boards like ROCK5B and NanoPi-R6C at least. I select kernel via GRUB and have a permanent serial console cable connected, so it also works without HDMI connected. It is mainly the choice between vendor and mainline, that is the state of ARM64 nowadays. Some new boards like RPi5 cannot run mainline yet, so then there is little need to have a bootmanager, then you need the disk-jockey methods.
-
I've downloaded the latest stable Release of the source code: https://github.com/armbian/build/releases/tag/v25.8.1 When doing a Build, when it allows you to select the kernel branch: [vendor, mainline, edge], the only edge available for selection is the bleeding edge (i.e. latest trunk version). I've downloaded the 25.8.1 source code, and that's the edge version I want to compile. How do you build an image with the latest (relatively) stable edge kernel, as available in Armbian-Config? (i.e. currently v6.16.1-edge at Armbian 25.8.1)? Update #1 When compiling the image with the edge kernel, it downloaded it from the internet and it took roughly an hour to build. When compiling an otherwise identical image with the Vendor kernel, it did not seem to download it from the internet (although I wasn't watching it closely), and it took roughly less than half the time to build the image. The reason I compiled an image with the Vendor kernel is because something broke in the last 24 hours on the internet-supplied edge kernel. It compiled 24 hours ago, a few hours ago it didn't. This wouldn't be an issue if it was compiling the most recent release of v6.16.1-edge (25.8.1), as per my intention, instead of the ultra-latest. I also made some discoveries about version number inconsistencies (independent of the kernel branch selected). Things are confused. In Release 25.8.1, the version is 25.11.0.trunk. In Release 25.5.1, the version is 25.08.0-trunk.
-
Sorry, I don't have the Android dts, the Android image is erased. I have tried the image from niulinkcloud, The ethernet is working on this image, can we extract dts from this image?
-
look into understanding what armbian-config does behind the scenes and replicate that. I think that is a better option anyhow. armbian-config is known to royally screw up your system every now and then.
-
I flashed a fresh image to my uSD card via dd. $ sudo unxz -c Armbian_25.5.1_Tritium-h5_trixie_current_6.12.30_minimal.img.xz | dd of=/dev/sdf bs=1M oflag=direct conv=fsync status=progress iflag=fullblock When I loaded the uSD into my Tritium-H5 all I got was just the red power light, but no activity. Tried a few different power supplies with the same result. I finally figured out that it appeared the bootloader was missing. I used Libre Tech's flash tool to flash their bootloader to my uSD card. Now I was able to get the Tritium-H5 outputting the boot sequesnce on the serial console. However, it stops at: I stumbled through the u-Boot recovery process and after remounting the partition r/w I got dpkg to install linux-u-boot-tritium-h5-current_25.5.1_arm64__2024.01-S866c-P42f9-Hc721-V3ed7-Bb703-R448a.deb However, when I rebooted the Tritium-H5 I was still stuck on the above spoiler. 👆 Am I doing something wrong? How can I get the Tritium-H5 to boot the Armbian image? Thanks!
-
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
here is the ouput : @Nick A -
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
@Nick Aalright -
mxq pro 4k 5g allwinner h313 can't sd card boot
Nick A replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
Connect using 5037 -
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
Hello @Nick A, i'm on my linux virtual machine doing the following command, but i got some problem on it (i have installed every package needed): yes, i got the ip from the ifconfig command on termux 32bit if you are wondering glad you helped me -
@Nick AThe possibility of a cold solder joint is very low since both devices (with identical eMCP chips) exhibit the same symptoms. Additionally, SD card read/write functions normally within the Android system. Are there any alternative methods to install the OS onto the eMMC?
- Yesterday
-
Looking at the code, I don't see this being possible as built. Alternative option is scheduling a reboot sufficiently far enough out and hoping the operation has completed by that time.. thoughts?