[Orange Pi Zero 2W] How to enable UART5?

System information

  • DietPi version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=11
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version
    bookworm
  • Kernel version
    Linux DietPi 6.6.44-current-sunxi64 #1 SMP Sat Aug 3 06:54:42 UTC 2024 aarch64x
  • Architecture
    arm64
  • SBC model
    Orange Pi Zero 2W (aarch64)
  • Power supply used
    5V 3A
  • SD card used
    Samsung EVOplus 64GB

Steps taken:

In my /boot/dietpiEnv.txt :

rootdev=UUID=496fcc46-9616-459e-9f7f-377c6bb442a9
rootfstype=ext4
# The init system logs to the console defined last.
consoleargs=console=tty1 console=ttyS0,115200
usbstoragequirks=
extraargs=net.ifnames=0
docker_optimizations=on
overlay_path=allwinner
overlay_prefix=sun50i-h616
overlays=uart5
user_overlays=
fdtfile=allwinner/sun50i-h618-orangepi-zero2w.dtb

After saving this change, i have rebooted my device using sudo reboot. After roboot when i run ls -al /dev/ttuAML* /dev/ttyS* i get output:

ls: cannot access '/dev/ttuAML*': No such file or directory                     
crw------- 1 root tty     4, 64 Apr  3 18:48  /dev/ttyS0                        
crw-rw---- 1 root dialout 4, 65 Apr  3 18:37  /dev/ttyS1                        
crw-rw---- 1 root dialout 4, 66 Apr  3 18:37  /dev/ttyS2                        
crw-rw---- 1 root dialout 4, 67 Apr  3 18:37  /dev/ttyS3                        
crw-rw---- 1 root dialout 4, 68 Apr  3 18:37  /dev/ttyS4                        
crw-rw---- 1 root dialout 4, 69 Apr  3 18:37  /dev/ttyS5

It should be /dev/ttyAML* and not ttuAML, but these are usually for amlogic SOCs.
But you have an allwinner SOC, so /dev/ttyS* is the right place and you have /dev/ttyS5, which should be the UART5 device!?

root@DietPi:~# ls -al /dev/ttyAML* /dev/ttyS*
ls: cannot access ‘/dev/ttyAML*’: No such file or directory
crw------- 1 root tty 4, 64 Apr 3 18:48 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Apr 3 18:37 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Apr 3 18:37 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Apr 3 18:37 /dev/ttyS3
crw-rw---- 1 root dialout 4, 68 Apr 3 18:37 /dev/ttyS4
crw-rw---- 1 root dialout 4, 69 Apr 3 18:37 /dev/ttyS5

I want to use uart5 to communicate with the controller.

This should be the the UART5 device.
See:
https://github.com/bigtreetech/SKR-Pico/issues/22

I connected the debug uart and saw an error

18:35:26.538 -> [    1.262067] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 226
18:35:26.538 -> [    1.262084] sun50i-h616-pinctrl 300b000.pinctrl: pin-226 (5001400.serial) status -517
18:35:26.538 -> [    1.262101] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 226 (PH2) from group PH2  on device 300b000.pinctrl
18:35:26.538 -> [    1.262120] dw-apb-uart 5001400.serial: Error applying setting, reverse things back

dmesg | grep uart
[    1.262175] dw-apb-uart 5001400.serial: Error applying setting, reverse things back

Ok wait, I found another issue.

So you run overlay prefix sun50i-h616 (which is probalby for the zero 2 without the W) but your device uses a h618 SOC. Correct that and have a look if it’s working then.
It’s also possible that the pin is already in use by something else, but fix that first and then we will see.

From my experience the device won’t boot anymore when changing to 618, I’m curious

I changed overlay_prefix to h618. The system booted. Errors appeared in debug uart

17:29:26.487 → Failed to load ‘/boot/dtb/allwinner/overlay/sun50i-h618-uart5-ph.dtbo’
17:29:26.487 → Failed to load ‘/boot/dtb/allwinner/overlay/sun50i-h618-fixup.scr’

I also tried changing uart5 to uart5-ph
overlay_prefix=sun50i-h616
overlays=uart5-ph
but it didn’t help

Can you check what overlays are present on the system?
ls /boot/dtb/allwinner/overlay/

root@DietPi:~# ls /boot/dtb/allwinner/over                                                                                                                                                                                                   lay/
README.sun50i-a64-overlays
README.sun50i-h5-overlays
sun50i-a64-fixup.scr
sun50i-a64-i2c0.dtbo
sun50i-a64-i2c1.dtbo
sun50i-a64-pine64-7inch-lcd.dtbo
sun50i-a64-pps-gpio.dtbo
sun50i-a64-spi-add-cs1.dtbo
sun50i-a64-spi-jedec-nor.dtbo
sun50i-a64-spi-spidev.dtbo
sun50i-a64-uart1.dtbo
sun50i-a64-uart2.dtbo
sun50i-a64-uart3.dtbo
sun50i-a64-uart4.dtbo
sun50i-a64-w1-gpio.dtbo
sun50i-h5-analog-codec.dtbo
sun50i-h5-cir.dtbo
sun50i-h5-cpu-clock-1.0GHz-1.1v.dtbo
sun50i-h5-cpu-clock-1.2GHz-1.3v.dtbo
sun50i-h5-cpu-clock-1.3GHz-1.3v.dtbo
sun50i-h5-fixup.scr
sun50i-h5-gpio-regulator-1.3v.dtbo
sun50i-h5-i2c0.dtbo
sun50i-h5-i2c1.dtbo
sun50i-h5-i2c2.dtbo
sun50i-h5-pps-gpio.dtbo
sun50i-h5-pwm.dtbo
sun50i-h5-spdif-out.dtbo
sun50i-h5-spi-add-cs1.dtbo
sun50i-h5-spi-jedec-nor.dtbo
sun50i-h5-spi-spidev.dtbo
sun50i-h5-tve.dtbo
sun50i-h5-uart1.dtbo
sun50i-h5-uart2.dtbo
sun50i-h5-uart3.dtbo
sun50i-h5-usbhost0.dtbo
sun50i-h5-usbhost1.dtbo
sun50i-h5-usbhost2.dtbo
sun50i-h5-usbhost3.dtbo
sun50i-h5-w1-gpio.dtbo
sun50i-h6-fixup.scr
sun50i-h6-i2c0.dtbo
sun50i-h6-i2c1.dtbo
sun50i-h6-i2c2.dtbo
sun50i-h6-pwm.dtbo
sun50i-h6-ruart.dtbo
sun50i-h6-spi-add-cs1.dtbo
sun50i-h6-spi-jedec-nor.dtbo
sun50i-h6-spi-spidev.dtbo
sun50i-h6-spi-spidev1.dtbo
sun50i-h6-uart1.dtbo
sun50i-h6-uart2.dtbo
sun50i-h6-uart3.dtbo
sun50i-h6-w1-gpio.dtbo
sun50i-h616-bananapi-m4-sdio-wifi-bt.dtbo
sun50i-h616-fixup.scr
sun50i-h616-gpu.dtbo
sun50i-h616-i2c0-pi.dtbo
sun50i-h616-i2c1-pi.dtbo
sun50i-h616-i2c2-ph.dtbo
sun50i-h616-i2c2-pi.dtbo
sun50i-h616-i2c3-ph.dtbo
sun50i-h616-i2c4-ph.dtbo
sun50i-h616-ir.dtbo
sun50i-h616-light.dtbo
sun50i-h616-mcp2515.dtbo
sun50i-h616-spi-spidev.dtbo
sun50i-h616-spidev0_0.dtbo
sun50i-h616-spidev1_0.dtbo
sun50i-h616-spidev1_1.dtbo
sun50i-h616-spidev1_2.dtbo
sun50i-h616-tft35_spi.dtbo
sun50i-h616-uart2-ph.dtbo
sun50i-h616-uart5-ph.dtbo
sun50i-h616-ws2812.dtbo

Ok, I also checked orange pi docs, you should use the 616 overlays, as we also see there are none for 618.
So it should be sun50i-h616-uart5-ph.dtbo:

overlay_prefix=sun50i-h616
overlays=uart5-ph
user_overlays=
fdtfile=allwinner/sun50i-h618-orangepi-zero2w.dtb

Let’s of that works :smiley:

I’ve already tried this:

overlay_prefix=sun50i-h616
overlays=uart5-ph
user_overlays=
fdtfile=allwinner/sun50i-h618-orangepi-zero2w.dtb

It doesn’t work.

Debug uart:

Спойлер
01:14:01: 
U-Boot SPL 2024.04-armbian-2024.04-S2504-P2ba5-Ha9af-V1f7b-Bda0a-R448a (Oct 09 2024 - 21:12:52 +0000)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.2(debug):armbian
NOTICE:  BL31: Built : 21:12:22, Oct  9 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0afc80, model: OrangePi Zero 2W
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 2024.04-armbian-2024.04-S2504-P2ba5-Ha9af-V1f7b-Bda0a-R448a (Oct 09 2024 - 21:12:52 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero 2W
DRAM:  4 GiB
Core:  55 devices, 24 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Allwinner mUSB OTG (Peripheral)
Net:   using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
eth0: usb_ether
starting USB...
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200000 for devices... 
01:14:03: 1 USB Device(s) found
scanning bus usb@5200400 for devices... 
01:14:04: 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot
01:14:05:  script /boot/boot.scr
2751 bytes read in 2 ms (1.3 MiB/s)
## Executing script at 4fc00000
365 bytes read in 2 ms (177.7 KiB/s)
23443464 bytes read in 970 ms (23 MiB/s)
01:14:07: 9957558 bytes read in 414 ms (22.9 MiB/s)
39030 bytes read in 7 ms (5.3 MiB/s)
Working FDT set to 4fa00000
343 bytes read in 5 ms (66.4 KiB/s)
Applying kernel provided DT overlay sun50i-h616-uart5-ph.dtbo
4203 bytes read in 5 ms (820.3 KiB/s)
Applying kernel provided DT fixup script sun50i-h616-fixup.scr
## Executing script at 45000000
Moving Image from 0x40080000 to 0x40200000, end=418f0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    9957494 Bytes = 9.5 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 49680000, end 49fff076 ... OK
   Loading Device Tree to 000000004960e000, end 000000004967ffff ... OK
Working FDT set to 4960e000
Спойлер
Starting kernel ...

01:14:09: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.44-current-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 Sat Aug  3 06:54:42 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: OrangePi Zero 2W
[    0.000000] OF: reserved mem: 0x0000000040000000..0x000000004007ffff (512 KiB) nomap non-reusable secmon@40000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x13f7c2040-0x13f7c3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    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-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] cma: Reserved 128 MiB at 0x00000000f8000000 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] percpu: Embedded 20 pages/cpu s42664 r8192 d31064 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: root=UUID=496fcc46-9616-459e-9f7f-377c6bb442a9 rootfstype=ext4 rootwait console=ttyS0,115200 console=tty1 consoleblank=0 coherent_pool=2M usb-storage.quirks= net.ifnames=0
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB)
[    0.000000] Memory: 3882720K/4194304K available (14144K kernel code, 1454K rwdata, 4088K rodata, 3072K init, 520K bss, 180512K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000521] Console: colour dummy device 80x25
[    0.000533] printk: console [tty1] enabled
[    0.000973] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000998] pid_max: default: 32768 minimum: 301
[    0.001091] LSM: initializing lsm=capability,yama,apparmor,integrity
[    0.001130] Yama: becoming mindful.
[    0.001220] AppArmor: AppArmor initialized
[    0.001326] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001361] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002420] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.003220] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.003442] rcu: Hierarchical SRCU implementation.
[    0.003455] rcu: 	Max phase no-delay instances is 1000.
[    0.004571] smp: Bringing up secondary CPUs ...
[    0.005101] Detected VIPT I-cache on CPU1
[    0.005180] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005746] Detected VIPT I-cache on CPU2
[    0.005790] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.006297] Detected VIPT I-cache on CPU3
[    0.006341] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.006411] smp: Brought up 1 node, 4 CPUs
[    0.006464] SMP: Total of 4 processors activated.
[    0.006476] CPU features: detected: 32-bit EL0 Support
[    0.006487] CPU features: detected: CRC32 instructions
[    0.006570] CPU: All CPU(s) started at EL2
[    0.006581] alternatives: applying system-wide alternatives
[    0.009015] devtmpfs: initialized
[    0.014936] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.014969] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.019572] pinctrl core: initialized pin
01:14:10: ctrl subsystem
[    0.020794] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021872] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.022265] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.022605] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.022652] audit: initializing netlink subsys (disabled)
[    0.022798] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.023185] thermal_sys: Registered thermal governor 'fair_share'
[    0.023192] thermal_sys: Registered thermal governor 'bang_bang'
[    0.023205] thermal_sys: Registered thermal governor 'step_wise'
[    0.023216] thermal_sys: Registered thermal governor 'user_space'
[    0.023264] cpuidle: using governor menu
[    0.023458] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.023556] ASID allocator initialised with 65536 entries
[    0.023751] Serial: AMBA PL011 UART driver
[    0.028677] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.031745] platform 6000000.hdmi: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[    0.032089] platform 6000000.hdmi: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[    0.032208] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/hdmi@6000000
[    0.032280] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/lcd-controller@6515000
[    0.032307] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/bus@1000000/mixer@100000
[    0.032487] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/lcd-controller@6515000
[    0.032563] platform 6515000.lcd-controller: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[    0.032818] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.032926] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.033037] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.034722] platform 6000000.hdmi: Fixed dependency cycle(s) with /connector
[    0.034793] platform connector: Fixed dependency cycle(s) with /soc/hdmi@6000000
[    0.036335] Modules: 26896 pages in range for non-PLT usage
[    0.036349] Modules: 518416 pages in range for PLT usage
[    0.037093] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.037115] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.037128] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.037140] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.037152] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.037163] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.037175] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.037186] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.037929] cryptd: max_cpu_qlen set to 1000
[    0.104438] raid6: neonx8   gen()  1797 MB/s
[    0.172505] raid6: neonx4   gen()  1849 MB/s
[    0.240589] raid6: neonx2   gen()  1757 MB/s
[    0.308676] raid6: neonx1   gen()  1510 MB/s
[    0.376740] raid6: int64x8  gen()  1147 MB/s
[    0.444809] raid6: int64x4  gen()  1349 MB/s
[    0.512901] raid6: int64x2  gen()  1175 MB/s
[    0.580970] raid6: int64x1  gen()   869 MB/s
[    0.580982] raid6: using algorithm neonx4 gen() 1849 MB/s
[    0.649040] raid6: .... xor() 1315 MB/s, rmw enabled
[    0.649052] raid6: using neon recovery algorithm
[    0.649615] iommu: Default domain type: Translated
[    0.649630] iommu: DMA domain TLB invalidation policy: strict mode
[    0.649883] SCSI subsystem initialized
[    0.650065] usbcore: registered new interface driver usbfs
[    0.650107] usbcore: registered new interface driver hub
[    0.650149] usbcore: registered new device driver usb
[    0.650435] pps_core: LinuxPPS API ver. 1 registered
[    0.650447] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.650472] PTP clock support registered
[    0.650855] ARM FF-A: FFA_VERSION returned not supported
[    0.650911] scmi_core: SCMI protocol bus registered
[    0.651125] Advanced Linux Sound Architecture Driver Initialized.
[    0.651938] NetLabel: Initializing
[    0.651950] NetLabel:  domain hash size = 128
[    0.651961] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.652034] NetLabel:  unlabeled traffic allowed by default
[    0.652046] mctp: management component transport protocol core
[    0.652058] NET: Registered PF_MCTP protocol family
[    0.652425] clocksource: Switched to clocksource arch_sys_counter
[    0.652653] VFS: Disk quotas dquot_6.6.0
[    0.652698] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.653286] AppArmor: AppArmor Filesystem Enabled
[    0.660103] NET: Registered PF_INET protocol family
[    0.660334] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.663675] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.663734] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.663761] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.664027] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.665351] TCP: Hash tables configured (established 32768 bind 32768)
[    0.665479] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.665579] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.665815] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.666081] Trying to unpack rootfs image as initramfs...
[    0.669774] Initialise system trusted keyrings
[    0.669883] Key type blacklist registered
[    0.670162] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.670227] zbud: loaded
[    0.670828] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.672376] integrity: Platform Keyring initialized
[    0.709959] xor: automatically using best checksumming function   32regs    
[    0.710005] async_tx: api initialized (async)
[    0.710023] Key type asymmetric registered
[    0.710035] Asymmetric key parser 'x509' registered
[    0.710167] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.710481] io scheduler mq-deadline registered
[    0.710496] io scheduler kyber registered
[    0.710572] io scheduler bfq registered
[    0.725330] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.737750] loop: module loaded
[    0.740956] usbcore: registered new interface driver usb-storage
[    0.741542] mousedev: PS/2 mouse device common for all mice
[    0.742544] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.742588] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:06 UTC (86406)
[    0.742989] i2c_dev: i2c /dev entries driver
[    0.743350] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    0.743841] i2c 0-0036: Fixed dependency cycle(s) with /soc/pinctrl@300b000
[    0.744920] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.746334] sdhci: Secure Digital Host Controller Interface driver
[    0.746358] sdhci: Copyright(c) Pierre Ossman
[    0.746394] Synopsys Designware Multimedia Card Interface Driver
[    0.747072] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.747945] ledtrig-cpu: registered to indicate activity on CPUs
[    0.748339] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[    0.748819] hid: raw HID events driver (C) Jiri Kosina
[    0.748919] usbcore: registered new interface driver usbhid
[    0.748933] usbhid: USB HID core driver
[    0.749946] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.760796] NET: Registered PF_INET6 protocol family
[    1.170559] Freeing initrd memory: 9724K
[    1.213241] Segment Routing with IPv6
[    1.213353] In-situ OAM (IOAM) with IPv6
[    1.213483] NET: Registered PF_PACKET protocol family
[    1.213597] 8021q: 802.1Q VLAN Support v1.8
[    1.213673] 9pnet: Installing 9P2000 support
[    1.213774] Key type dns_resolver registered
[    1.220843] registered taskstats version 1
[    1.221007] Loading compiled-in X.509 certificates
[    1.228426] zswap: loaded using pool zstd/z3fold
[    1.238429] Key type .fscrypt registered
[    1.238459] Key type fscrypt-provisioning registered
[    1.239842] Btrfs loaded, zoned=yes, fsverity=no
[    1.240038] Key type encrypted registered
[    1.240057] AppArmor: AppArmor sha1 policy hashing enabled
[    1.240090] ima: No TPM chip found, activating TPM-bypass!
[    1.240124] ima: Allocated hash algorithm: sha1
[    1.240163] ima: No architecture policies found
[    1.240240] evm: Initialising EVM extended attributes:
[    1.240252] evm: security.selinux
[    1.240262] evm: security.SMACK64
[    1.240271] evm: security.SMACK64EXEC
[    1.240280] evm: security.SMACK64TRANSMUTE
[    1.240289] evm: security.SMACK64MMAP
[    1.240298] evm: security.apparmor
[    1.240307] evm: security.ima
[    1.240315] evm: security.capability
[    1.240324] evm: HMAC attrs: 0x1
[    1.252121] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.260371] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    1.261389] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.261699] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    1.261966] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 224
[    1.261984] sun50i-h616-pinctrl 300b000.pinctrl: pin-224 (5000000.serial) status -517
[    1.262001] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 224 (PH0) from group PH0  on device 300b000.pinctrl
[    1.262021] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    1.262166] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 226
[    1.262182] sun50i-h616-pinctrl 300b000.pinctrl: pin-226 (5001400.serial) status -517
[    1.262200] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 226 (PH2) from group PH2  on device 300b000.pinctrl
[    1.262218] dw-apb-uart 5001400.serial: Error applying setting, reverse things back
[    1.262712] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
[    1.262758] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
[    1.278721] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080ecd188)
[    1.278930] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ed1ac0)
[    1.279242] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080ec9d88)
[    1.279307] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.279530] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY)
[    1.279921] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin
[    1.280026] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.280289] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff800080ecc248)
[    1.280753] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.280795] sun8i-dw-hdmi 6000000.hdmi: read_hpd result: 1
[    1.404139] Console: switching to colour frame buffer device 210x65
[    1.420914] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[    1.421609] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 64
[    1.421719] sun50i-h616-pinctrl 300b000.pinctrl: pin-64 (5010000.spi) status -517
[    1.421831] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 64 (PC0) from group PC0  on device 300b000.pinctrl
[    1.421988] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    1.423195] ehci-platform 5200000.usb: EHCI Host Controller
[    1.423302] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 1
[    1.423314] ehci-platform 5310000.usb: EHCI Host Controller
[    1.423512] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 2
[    1.423564] ehci-platform 5200000.usb: irq 288, io mem 0x05200000
[    1.423698] ehci-platform 5311000.usb: EHCI Host Controller
[    1.423724] ehci-platform 5310000.usb: irq 289, io mem 0x05310000
[    1.423807] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 3
[    1.424077] ehci-platform 5311000.usb: irq 290, io mem 0x05311000
[    1.424184] usb_phy_generic usb_phy_generic.3.auto: dummy supplies not allowed for exclusive requests
[    1.424839] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    1.424927] ohci-platform 5310400.usb: Generic Platform OHCI controller
[    1.424955] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 4
[    1.425016] ohci-platform 5311400.usb: Generic Platform OHCI controller
[    1.425033] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 5
[    1.425055] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 6
[    1.425148] ohci-platform 5311400.usb: irq 294, io mem 0x05311400
[    1.425210] ohci-platform 5200400.usb: irq 291, io mem 0x05200400
[    1.425310] ohci-platform 5310400.usb: irq 293, io mem 0x05310400
[    1.425755] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pa not found, using dummy regulator
[    1.426841] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[    1.428854] axp20x-i2c 0-0036: AXP20X driver loaded
[    1.431034] sun50i_cpufreq_nvmem: Using CPU speed bin speed0
[    1.431538] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 210
[    1.431650] sun50i-h616-pinctrl 300b000.pinctrl: pin-210 (300b000.pinctrl:210) status -517
[    1.433513] sunxi-mmc 4020000.mmc: Got CD GPIO
[    1.434089] printk: console [ttyS0] disabled
[    1.434483] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 306, base_baud = 1500000) is a 16550A
[    1.434657] printk: console [ttyS0] enabled
[    1.436458] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.441994] 5001400.serial: ttyS5 at MMIO 0x5001400 (irq = 307, base_baud = 1500000) is a 16550A
[    1.456465] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00
[    1.456673] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.456851] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.456861] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.456868] usb usb2: Product: EHCI Host Controller
[    1.456874] usb usb2: Manufacturer: Linux 6.6.44-current-sunxi64 ehci_hcd
[    1.456880] usb usb2: SerialNumber: 5310000.usb
[    1.457321] hub 2-0:1.0: USB hub found
[    1.457355] hub 2-0:1.0: 1 p
01:14:11: ort detected
[    1.459208] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.464751] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.467834] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.478344] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00
[    1.483291] usb usb1: Product: EHCI Host Controller
[    1.483298] usb usb1: Manufacturer: Linux 6.6.44-current-sunxi64 ehci_hcd
[    1.565146] spi-nor spi0.0: spi-nor-generic (16384 Kbytes)
[    1.569747] usb usb1: SerialNumber: 5200000.usb
[    1.582686] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.588117] hub 1-0:1.0: USB hub found
[    1.591919] of_cfs_init
[    1.592036] of_cfs_init: OK
[    1.592121] clk: Disabling unused clocks
[    1.596774] hub 1-0:1.0: 1 port detected
[    1.601317] ALSA device list:
[    1.601330] mmc0: new high speed SDXC card at address 59b4
[    1.602076] mmcblk0: mmc0:59b4 EC1S5 59.7 GiB
[    1.605810]  mmcblk0: p1
[    1.606414] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.606426] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.606433] usb usb5: Product: Generic Platform OHCI controller
[    1.606439] usb usb5: Manufacturer: Linux 6.6.44-current-sunxi64 ohci_hcd
[    1.606445] usb usb5: SerialNumber: 5311400.usb
[    1.606896] hub 5-0:1.0: USB hub found
[    1.606933] hub 5-0:1.0: 1 port detected
[    1.607040] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq
[    1.607469] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.607479] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.607486] usb usb3: Product: EHCI Host Controller
[    1.607491] usb usb3: Manufacturer: Linux 6.6.44-current-sunxi64 ehci_hcd
[    1.607497] usb usb3: SerialNumber: 5311000.usb
[    1.607902] hub 3-0:1.0: USB hub found
[    1.607938] hub 3-0:1.0: 1 port detected
[    1.608392] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.608402] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.608426] usb usb4: Product: Generic Platform OHCI controller
[    1.608432] usb usb4: Manufacturer: Linux 6.6.44-current-sunxi64 ohci_hcd
[    1.608438] usb usb4: SerialNumber: 5200400.usb
[    1.608812] hub 4-0:1.0: USB hub found
[    1.608843] hub 4-0:1.0: 1 port detected
[    1.609373] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.609383] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.609390] usb usb6: Product: Generic Platform OHCI controller
[    1.609395] usb usb6: Manufacturer: Linux 6.6.44-current-sunxi64 ohci_hcd
[    1.609401] usb usb6: SerialNumber: 5310400.usb
[    1.609768] hub 6-0:1.0: USB hub found
[    1.609803] hub 6-0:1.0: 1 port detected
[    1.610140]   No soundcards found.
[    1.836432] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    3.737754] Freeing unused kernel memory: 3072K
[    3.746666] Run /init as init process
[    3.753459] mmc1: new high speed SDIO card at address 8800
[    4.324783] gmac-power0: NULL
[    4.332029] gmac-power1: NULL
[    4.339186] gmac-power2: NULL
01:14:13: [    5.353682] EXT4-fs (mmcblk0p1): mounted filesystem 496fcc46-9616-459e-9f7f-377c6bb442a9 ro with ordered data mode. Quota mode: none.
[    6.141962] systemd[1]: System time before build time, advancing clock.
[    6.267896] systemd[1]: systemd 252.36-1~deb12u1 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)
[    6.309576] systemd[1]: Detected architecture arm64.
[    6.340009] systemd[1]: Hostname set to <DietPi>.
01:14:14: [    6.956205] systemd[1]: Queued start job for default target graphical.target.
[    6.992028] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    7.011156] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    7.030462] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    7.049792] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    7.071581] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    7.093470] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    7.117406] systemd[1]: Expecting device dev-ttyS0.device - /dev/ttyS0...
[    7.135625] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    7.154869] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    7.175635] systemd[1]: Reached target paths.target - Path Units.
[    7.193666] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[    7.212882] systemd[1]: Reached target slices.target - Slice Units.
[    7.231255] systemd[1]: Reached target swap.target - Swaps.
[    7.249051] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    7.270292] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    7.291742] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    7.314171] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    7.335944] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    7.358424] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    7.380254] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    7.402138] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    7.423717] systemd[1]: Reached target sockets.target - Socket Units.
[    7.464755] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[    7.490906] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    7.517559] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    7.540480] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    7.567871] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    7.595706] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    7.624281] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    7.653453] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    7.681280] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    7.709013] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    7.725349] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[    7.725923] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    7.772025] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    7.799650] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    7.815016] fuse: init (API version 7.39)
[    7.833890] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    7.864839] systemd[1]: Starting systemd-journald.service - Journal Service...
[    7.894102] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    7.922485] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    7.952656] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    7.984566] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[    8.007924] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    8.028797] EXT4-fs (mmcblk0p1): re-mounted 496fcc46-9616-459e-9f7f-377c6bb442a9 r/w. Quota mode: none.
[   
01:14:15:  8.051269] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    8.075396] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    8.100316] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[    8.124621] systemd[1]: Started systemd-journald.service - Journal Service.
01:14:19: [   11.460088] sunxi-gmac 5030000.ethernet eth0: No PHY found!
[   11.483840] sunxi-gmac 5030000.ethernet eth0: phy init again...
01:14:31: 

Debian GNU/Linux 12 DietPi ttyS0

DietPi login:

Hmm okay.

What I don’t understand is:

The Zero2W comes with an h616 and the zero 3 with h618.
So this combination of zero2w and h618 is impossible?
Can you check what fdfiles are present:

ls /boot/dtb/allwinner/
Спойлер

root@DietPi:~# ls /boot/dtb/allwinner/
overlay
sun50i-a100-allwinner-perf1.dtb
sun50i-a64-amarula-relic.dtb
sun50i-a64-bananapi-m64.dtb
sun50i-a64-nanopi-a64.dtb
sun50i-a64-oceanic-5205-5inmfd.dtb
sun50i-a64-olinuxino-1G.dtb
sun50i-a64-olinuxino-1Ge16GW.dtb
sun50i-a64-olinuxino-1Ge4GW.dtb
sun50i-a64-olinuxino-1Gs16M.dtb
sun50i-a64-olinuxino-2Ge8G.dtb
sun50i-a64-olinuxino-emmc.dtb
sun50i-a64-olinuxino.dtb
sun50i-a64-orangepi-win.dtb
sun50i-a64-pine64-lts.dtb
sun50i-a64-pine64-plus.dtb
sun50i-a64-pine64.dtb
sun50i-a64-pinebook.dtb
sun50i-a64-pinephone-1.0.dtb
sun50i-a64-pinephone-1.1.dtb
sun50i-a64-pinephone-1.2.dtb
sun50i-a64-pinephone-1.2b.dtb
sun50i-a64-pinetab-early-adopter.dtb
sun50i-a64-pinetab.dtb
sun50i-a64-sopine-baseboard.dtb
sun50i-a64-teres-i.dtb
sun50i-h313-x96q-lpddr3.dtb
sun50i-h5-bananapi-m2-plus-v1.2.dtb
sun50i-h5-bananapi-m2-plus.dtb
sun50i-h5-emlid-neutis-n5-devboard.dtb
sun50i-h5-libretech-all-h3-cc.dtb
sun50i-h5-libretech-all-h3-it.dtb
sun50i-h5-libretech-all-h5-cc.dtb
sun50i-h5-nanopi-k1-plus.dtb
sun50i-h5-nanopi-m1-plus2.dtb
sun50i-h5-nanopi-neo-core2.dtb
sun50i-h5-nanopi-neo-plus2.dtb
sun50i-h5-nanopi-neo2-v1.1.dtb
sun50i-h5-nanopi-neo2.dtb
sun50i-h5-nanopi-r1s-h5.dtb
sun50i-h5-orangepi-pc2.dtb
sun50i-h5-orangepi-prime.dtb
sun50i-h5-orangepi-zero-plus.dtb
sun50i-h5-orangepi-zero-plus2.dtb
sun50i-h6-beelink-gs1.dtb
sun50i-h6-inovato-quadra.dtb
sun50i-h6-orangepi-3-lts.dtb
sun50i-h6-orangepi-3.dtb
sun50i-h6-orangepi-lite2.dtb
sun50i-h6-orangepi-one-plus.dtb
sun50i-h6-pine-h64-model-b.dtb
sun50i-h6-pine-h64.dtb
sun50i-h6-tanix-tx6-mini.dtb
sun50i-h6-tanix-tx6.dtb
sun50i-h616-bigtreetech-cb1-emmc.dtb
sun50i-h616-bigtreetech-cb1-sd.dtb
sun50i-h616-orangepi-zero2.dtb
sun50i-h616-x96-mate.dtb
sun50i-h618-bananapi-m4-zero.dtb
sun50i-h618-cherryba-m1.dtb
sun50i-h618-orangepi-zero2w.dtb
sun50i-h618-orangepi-zero3.dtb

Both Orange Pi zero 2w and Orange Pi zero 3 have a h618 chip, but why it is set up to boot with h616, no idea. Closest I got to understanding this is that the zero 2w tree is sh**.

And we are all replacing the Dtb file to make things work.

We add sun50i-h618-orangepi-zero2w-essai.dtb from totof

1 Like

Ok so only the non-W has the H616.

Yea then there we have it, Orange Pi offers broken device trees?

This is the best AI could do, equally as bad :grin:

1 Like

Hello all

You must applied the dtbo file to the dtb file staticaly with the command line fdtoverlay to applied some change

If you have the dtbo for the uart5 and my dtb, it’s easy to test

Do like this with your file

Tell if it works