Jump to content

How to install armbian in h618?


alienxz77b

Recommended Posts

Hi, Thanks, I've tried both working image on my h618 Transpeed tv-box. I have some newbie questions:

- On the miniarch image: I managed to upgrade + setup the wifi, and it works, but I cannot install any desktop environment. I've done every steps and tried a lot different desktop environment, but no luck, it won't start, remains in the text console. Is it possible to install a (simple, like xfce4) desktop environment? How?

- On the Armbian image: everithing works fine (I used an usb hub+usb wifi+bt, internal not working), and there is a working desktop environment, which is great! But I've tried to upgrade (apt update + apt upgrade) and the upgrade maybe messed up the boot somehow, the device won't boot since the upgrade. Is it possible to upgrade the Armbian image? How?

Thanks,

Sidha

 

Link to comment
Share on other sites

Posted (edited)

If there's a kernel or u-boot update then your box won't boot. The kernel and u-boot need patches from my repository for it to work on your box. There are no apt packages for this.

 

I guess you need to burn another sdcard and start from scratch.

Edited by Nick A
Link to comment
Share on other sites

11 minutes ago, Nick A said:

I guess you need to burn another sdcard and start from scratch.

Sure. As a beginner, I just won't update it. :)

Or trying to understand the MiniArch desktop-installing thing on another card, it had no problem with upgrade somehow, still works, but on command line only.

Link to comment
Share on other sites

On 6/3/2024 at 5:26 AM, Kajen said:

tx6s, look like it still problem with mmc and keyring updating, at least is no cripple after reboot, but pacman -Syu cannot work, and no hdmi

 

Pacman hangs because of mmc problems. Trying to resolve these, I believe the reason is:

[    1.315833] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator
[    1.330686] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pg not found, using dummy regulator
[    1.564426] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.565408] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator

 

pinctrl@300b000 have no regulators defined. Also, it seems miniarch has less kernel patches, then armbian.

@Nick A can you share, how you test DT changes?
I tried making overlays, but it seems dtc doesn't like path references inside values. With recompiled full tree, armbian doesn't boot -- it seems I need the source, not decompiled dtb.

Link to comment
Share on other sites

What a horrible forum engine. Tried to edit reply text -- and it won't let you!

Wanted to add:

- Vontar h618 miniarch image boots for me

- It has same problems as armbian: no hdmi output, no sound, no wifi, no bluetooth, but also mmc i/o problems

- difference between miniarch images is single line in `/boot/extlinux/extlinux.conf`:

FDT /dtbs/allwinner/sun50i-h618-vontar-h618.dtb

change it to use different DT.

Need to make a proper uart connector to debug further...

Link to comment
Share on other sites

Posted (edited)

I just got a X98H. It has the same problem.  

 

I was able to extract the Android dts.

 

I found the stock firmware for the box.

https://chinagadgetsreviews.com/download-android-12-stock-firmware-for-x98h-tv-box-2.html

 

Using Apritzel's sunxi firmware extraction tool.

https://github.com/apritzel/sunxi-fw

nick@nick-Inspiron-5680:~/sunxi-fw$ ./sunxi-fw info -v X98H-20221020-1143.img
@   0: wty: PhoenixSuite image file
	header v3.0, 45 images, 1898 MB
		wty:sys_config.fex      :      34908 bytes @ +0x0000b800
		wty:board.fex           :       1024 bytes @ +0x00014400
		wty:config.fex          :      53248 bytes @ +0x00014800
		wty:split_xxxx.fex      :        512 bytes @ +0x00021800
		wty:sys_partition.fex   :       5601 bytes @ +0x00021c00
		wty:sunxi.fex           :      71168 bytes @ +0x00023400
		wty:boot0_nand.fex      :      61440 bytes @ +0x00034c00
		wty:boot0_sdcard.fex    :      61440 bytes @ +0x00043c00
		wty:u-boot.fex          :     884736 bytes @ +0x00052c00
		wty:u-boot-crash.fex    :         37 bytes @ +0x0012ac00
		wty:toc1.fex            :          8 bytes @ +0x0012b000
		wty:toc0.fex            :          8 bytes @ +0x0012b400
		wty:fes1.fex            :      40160 bytes @ +0x0012b800
		wty:boot_package.fex    :    1261568 bytes @ +0x00135800
		wty:usbtool.fex         :     154112 bytes @ +0x00269800
		wty:usbtool_crash.fex   :     621056 bytes @ +0x0028f400
		wty:aultools.fex        :     166515 bytes @ +0x00327000
		wty:aultls32.fex        :     152069 bytes @ +0x0034fc00
		wty:cardtool.fex        :      73728 bytes @ +0x00375000
		wty:cardscript.fex      :       1899 bytes @ +0x00387000
		wty:sunxi_gpt.fex       :       8192 bytes @ +0x00387800
		wty:sunxi_mbr.fex       :      65536 bytes @ +0x00389800
		wty:dlinfo.fex          :      16384 bytes @ +0x00399800
		wty:arisc.fex           :          6 bytes @ +0x0039d800
		wty:vmlinux.fex         :   12619923 bytes @ +0x0039dc00
		wty:boot-resource.fex   :    7490560 bytes @ +0x00fa7000
		wty:Vboot-resource.fex  :          4 bytes @ +0x016cbc00
		wty:env.fex             :     131072 bytes @ +0x016cc000
		wty:Venv.fex            :          4 bytes @ +0x016ec000
		wty:boot.fex            :   67108864 bytes @ +0x016ec400
		wty:Vboot.fex           :          4 bytes @ +0x056ec400
		wty:vendor_boot.fex     :   33554432 bytes @ +0x056ec800
		wty:Vvendor_boot.fex    :          4 bytes @ +0x076ec800
		wty:super.fex           : 1847555340 bytes @ +0x076ecc00
		wty:Vsuper.fex          :          4 bytes @ +0x758e4400
		wty:misc.fex            :   16777216 bytes @ +0x758e4800
		wty:Vmisc.fex           :          4 bytes @ +0x768e4800
		wty:vbmeta.fex          :       8192 bytes @ +0x768e4c00
		wty:Vvbmeta.fex         :          4 bytes @ +0x768e6c00
		wty:vbmeta_system.fex   :       4096 bytes @ +0x768e7000
		wty:Vvbmeta_system.fex  :          4 bytes @ +0x768e8000
		wty:vbmeta_vendor.fex   :       4096 bytes @ +0x768e8400
		wty:Vvbmeta_vendor.fex  :          4 bytes @ +0x768e9400
		wty:dtbo.fex            :    2097152 bytes @ +0x768e9800
		wty:Vdtbo.fex           :          4 bytes @ +0x76ae9800
@ 542: boot0: Allwinner boot0
	size: 61440 bytes
	eGON checksum matches: 0xbf64ad3a
	DRAM parameters:	A64		H616
		DRAM clock  :       0x288       0x288           -
		DRAM type   :         0x3         0x3           -
		ZQ value    :   0x3030303           -           -
		ODT enabled :   0xe0e0e0e         0x1           -
		DX ODT      :           -   0x3030303           -
		DX DRI      :           -   0xe0e0e0e           -
		CA DRI      :           -      0x1f12           -
		PARA1       :      0x1f12      0x30fb           -
		PARA2       :         0x1           0           -
		MR0         :      0x30fb       0x840           -
		MR1         :           0         0x4           -
		MR2         :       0x840         0x8           -
		MR3         :         0x4           0           -
		TPR0        :         0x8  0xc0001002           -
		TPR6        :           0  0x33808080           -
		TRP10       :           0    0x2f1107           -
		TRP11       :           0  0xddddcccc           -
		TRP12       :  0xc0001002  0xeddc7665           -
		TRP13       :           0        0x40           -

 

The Dram settings where the same so I didn't have to edit the U-boot patch.

https://github.com/NickAlilovic/build/blob/main/patch/u-boot/u-boot-sunxi/configs-Transpeed-8K618-T-Add-Transpeed-8K618-T-board-support.patch

+CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303
+CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e
+CONFIG_DRAM_SUN50I_H616_CA_DRI=0x1f12
+CONFIG_DRAM_SUN50I_H616_TPR0=0xc0001002
+CONFIG_DRAM_SUN50I_H616_TPR10=0x2f1107
+CONFIG_DRAM_SUN50I_H616_TPR11=0xddddcccc
+CONFIG_DRAM_SUN50I_H616_TPR12=0xeddc7665
+CONFIG_MACH_SUN50I_H616=y
+CONFIG_SUNXI_DRAM_H616_DDR3_1333=y
+CONFIG_DRAM_CLK=648

 

My 8K618-T image won't work because these values were different. MMC errors means your box won't boot past U-boot and load a kernel. So you won't get hdmi output, no sound, no wifi, no bluetooth. This is why it's important to have uart installed.

 

X98H mmc:

Android dts

cd-gpios = <0x23 0x05 0x06 0x11>;

 

Armbian dts

cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;    /* PF6 */ 

 

 

8K618-T mmc:

Android dts

cd-gpios = <0x23 0x08 0x10 0x11>;

 

Armbian dts

cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>;    /* PI16 */

 

U-Boot SPL 2024.01-armbian (May 09 2024 - 19:55:37 -0400)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.2(debug):armbian
NOTICE:  BL31: Built : 19:53:26, May  9 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0a0648, model: Transpeed 8K618-T
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.01-armbian (May 09 2024 - 19:55:37 -0400) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: Transpeed 8K618-T
DRAM:  2 GiB
Core:  61 devices, 22 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... MMC: no card present
** Bad device specification mmc 0 **
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   apply fix for AC300 ephy bb version bug ...
using AC300 emac1 ephy fixed config ...
eth0: ethernet@5030000
starting USB...
Bus usb@5101000: sun4i_usb_phy phy@5100400: External vbus detected, not enabling our own vbus
USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5101000 for devices... 1 USB Device(s) found
scanning bus usb@5101400 for devices... 1 USB Device(s) found
scanning bus usb@5200000 for devices... 1 USB Device(s) found
scanning bus usb@5200400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
MMC: no card present
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
MMC: no card present
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image

Device 0: unknown device
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-02-00-70-41-af-ea
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/00000000
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/0000000
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/000000
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/00000
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/0000
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/000
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/00
ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !

 

A quick and easy way to fix this is to edit the one line in my patch. (Or whatever device dts patch that worked for you)

https://github.com/NickAlilovic/build/blob/main/patch/kernel/archive/sunxi-6.7/patches.armbian/arm64-dts-allwinner-h618-add-Transpeed-8K618-T-TV-box.patch

 

+&mmc0 {
+	vmmc-supply = <&reg_dldo1>;
+	cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>;	/* PI16 */
+	bus-width = <4>;
+	status = "okay";
+};

 

If you need to add more lines then you would have follow my instructions at the bottom of page 2. (Note: the branch names may of changed "linux-6.7.y" and "v2024.01" for the format-patch command. Use "git branch --show-current" for the new branch name.)

 

You can't just add an Android DTS and hope it works. There's been a lot of changes to the linux kernel since than. You need to port the values to the latest Mainline kernel code. 

You can find examples here. (Look for DTS in patch file name. 0647-arm64-dts-allwinner-h618-add-vontar-h618-TVbox.patch)

 

 https://github.com/torvalds/linux/tree/master/arch/arm64/boot/dts/allwinner

https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-6.9/files

https://github.com/NickAlilovic/build/tree/main/patch/kernel/archive/sunxi-6.7/patches.armbian

Edited by Nick A
Link to comment
Share on other sites

On 5/25/2024 at 1:12 PM, Nick A said:

Sorry Kil, I don't have your box and time to do this for you. I can only provide information. Without console output there's nothing I can do. Are you using baud rate 115200?

 

@Nick A Yes, I used 115200, and validated with android boot process, that the console is working. I can also confirm, I tried different images (including miniarch), none of them gave any console output.

 

I also studied the boot process and the the power distribution. My deduction is that at booting phase the SD card correctly gets the 3.3V power, and few of the AXP305 DCDC converters are initialized in a way, that H616 is able to start its booting proces, just pressing the "UBOOT" button finally ends in FEL mode.

 

E.g. command "lsusb" gives back, if the tv box is connected to the host PC to the correct USB port (thus powered only from the same USB):

 

Bus 001 Device 005: ID 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode

 

Downloading sunxi-tools (either compiling it starting from "git clone https://github.com/linux-sunxi/sunxi-tools" or installing  it with "sudo apt install sunxi-tools"), that is able to work with it, like command "sunxi-fel ver" echoes back message:

 

AWUSBFEX soc=00001823(H616) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000

 

Building the tool from source gives the benefit, that it provides some other SPL test images too, like "uart0-helloworld-sdboot.sunxi" (attached).  And command "sunxi-fel spl uart0-helloworld-sdboot.sunxi"  adds the following message on the console (!):

 

Hello from Allwinner H616!
Returning back to FEL.

 

This uart test image shows correctly the "eGON" footprint in the header, and it is assumed, it can be put to the SPL position to an SD card, and booting from SD should also give then the above "Hello" message to the console output, but that does not happen in my case. I have learned that in case of H616 SoC, the SD card should contain the SPL code at 8K offset (this is valid also for the armbian or miniarch images), so I prepared my SD with the following two commands :

 

dd if=/dev/zero of=/dev/sdb bs=1024 count=1024
dd if=uart0-helloworld-sdboot.sunxi of=/dev/sdb bs=1024 seek=8

 

First command is optional, it only clears the beginning of SD card, including the partition table, second is doing the actual SPL patching to the SD, which was /dev/sdb in my case). I tried to put the "Hello" SPL test program to an existing distribution, but that did not help either.

 

After all I have a suspicion, that SD Card boot process may be disabled in T95H, and the "U-Boot" button is usable to put the device into FEL mode... 

 

Could someone test - who has uart console output and surely working SD booting, that putting the "uart0-helloworld-sdboot.sunxi" to SD gives "Hello" message on the console output? Theoretically the sample application works with many types of Allwinner SoCs (including [A10/A20/H3]/H6/H616/H618 etc, you can see it from the sample image, but of course, the attached one is compiled to 64bit ARM architecture only, thus 32bit version needs to be recompiled from source.) This would justify my suspicion...

 

Or did I do something in a wrong way?

 

uart0-helloworld-sdboot.sunxi

Edited by kil
Link to comment
Share on other sites

hi @jernej, can you help me?

 

I want to have HDMI output, but I got error on "sun4i-drm display-engine: [drm] Cannot find any crtc or sizes", so I forced hdmi output with video=HDMI-A-1:1920x1080@60e on armbianEnv.txt, but now I have "sun8i-dw-hdmi 6000000.hdmi: PHY PLL failed to lock"

 

here is the dmesg, I also added some log

Spoiler
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.7.12-edge-sunxi64 (armbian@next) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #20 SMP Wed Apr  3 13:11:59 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Transpeed T98 616
[    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-0x00000000bfffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbfbc6040-0xbfbc7fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    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-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] cma: Reserved 128 MiB at 0x00000000b5a00000 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 s42600 r8192 d31128 u81920
[    0.000000] pcpu-alloc: s42600 r8192 d31128 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    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=4001fee3-223d-43d1-bc10-1318e6c6750e rootwait rootfstype=ext4 splash plymouth.ignore-serial-consoles console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart=74752092-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u video=HDMI-A-1:1920x1080@60e  cgroup_enable=memory swapaccount=1
[    0.000000] Unknown kernel command line parameters "splash ubootpart=74752092-01 cgroup_enable=memory", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000b5600000-0x00000000b5800000] (2MB)
[    0.000000] Memory: 1881440K/2097152K available (14208K kernel code, 1450K rwdata, 4148K rodata, 3072K init, 520K bss, 84640K 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 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.000561] Console: colour dummy device 80x25
[    0.000576] printk: legacy console [tty1] enabled
[    0.000698] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000713] pid_max: default: 32768 minimum: 301
[    0.000803] LSM: initializing lsm=capability,yama,apparmor,integrity
[    0.000835] Yama: becoming mindful.
[    0.000924] AppArmor: AppArmor initialized
[    0.001033] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001052] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.002143] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.003030] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.003262] rcu: Hierarchical SRCU implementation.
[    0.003269] rcu: 	Max phase no-delay instances is 1000.
[    0.004614] smp: Bringing up secondary CPUs ...
[    0.005182] Detected VIPT I-cache on CPU1
[    0.005296] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005980] Detected VIPT I-cache on CPU2
[    0.006086] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.006735] Detected VIPT I-cache on CPU3
[    0.006833] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.006945] smp: Brought up 1 node, 4 CPUs
[    0.006961] SMP: Total of 4 processors activated.
[    0.006968] CPU features: detected: 32-bit EL0 Support
[    0.006974] CPU features: detected: CRC32 instructions
[    0.007029] CPU: All CPU(s) started at EL2
[    0.007034] alternatives: applying system-wide alternatives
[    0.009087] devtmpfs: initialized
[    0.014971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.015008] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.018797] pinctrl core: initialized pinctrl subsystem
[    0.020235] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021492] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.021689] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.021914] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.022094] audit: initializing netlink subsys (disabled)
[    0.022382] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.022835] thermal_sys: Registered thermal governor 'fair_share'
[    0.022843] thermal_sys: Registered thermal governor 'bang_bang'
[    0.022849] thermal_sys: Registered thermal governor 'step_wise'
[    0.022854] thermal_sys: Registered thermal governor 'user_space'
[    0.022920] cpuidle: using governor menu
[    0.023233] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.023348] ASID allocator initialised with 65536 entries
[    0.023619] Serial: AMBA PL011 UART driver
[    0.029017] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.032747] platform 6000000.hdmi: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[    0.033113] platform 6000000.hdmi: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[    0.033221] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/hdmi@6000000
[    0.033278] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/lcd-controller@6515000
[    0.033295] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/bus@1000000/mixer@100000
[    0.033463] platform 6510000.tcon-top: Fixed dependency cycle(s) with /soc/lcd-controller@6515000
[    0.033527] platform 6515000.lcd-controller: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[    0.033771] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.033871] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.033974] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.035114] platform 6000000.hdmi: Fixed dependency cycle(s) with /connector
[    0.035191] platform connector: Fixed dependency cycle(s) with /soc/hdmi@6000000
[    0.036527] Modules: 26864 pages in range for non-PLT usage
[    0.036539] Modules: 518384 pages in range for PLT usage
[    0.037398] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.037419] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.037427] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.037432] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.037439] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.037444] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.037450] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.037455] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.038382] cryptd: max_cpu_qlen set to 1000
[    0.104341] raid6: neonx8   gen()  1805 MB/s
[    0.172393] raid6: neonx4   gen()  1848 MB/s
[    0.240440] raid6: neonx2   gen()  1755 MB/s
[    0.308488] raid6: neonx1   gen()  1507 MB/s
[    0.376538] raid6: int64x8  gen()  1147 MB/s
[    0.444601] raid6: int64x4  gen()  1345 MB/s
[    0.512648] raid6: int64x2  gen()  1174 MB/s
[    0.580694] raid6: int64x1  gen()   870 MB/s
[    0.580700] raid6: using algorithm neonx4 gen() 1848 MB/s
[    0.648746] raid6: .... xor() 1317 MB/s, rmw enabled
[    0.648752] raid6: using neon recovery algorithm
[    0.649510] iommu: Default domain type: Translated
[    0.649533] iommu: DMA domain TLB invalidation policy: strict mode
[    0.649840] SCSI subsystem initialized
[    0.650071] usbcore: registered new interface driver usbfs
[    0.650103] usbcore: registered new interface driver hub
[    0.650143] usbcore: registered new device driver usb
[    0.650526] pps_core: LinuxPPS API ver. 1 registered
[    0.650533] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.650549] PTP clock support registered
[    0.651175] ARM FF-A: FFA_VERSION returned not supported
[    0.651243] scmi_core: SCMI protocol bus registered
[    0.651527] Advanced Linux Sound Architecture Driver Initialized.
[    0.652356] NetLabel: Initializing
[    0.652365] NetLabel:  domain hash size = 128
[    0.652371] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.652436] NetLabel:  unlabeled traffic allowed by default
[    0.652442] mctp: management component transport protocol core
[    0.652448] NET: Registered PF_MCTP protocol family
[    0.653063] clocksource: Switched to clocksource arch_sys_counter
[    0.653394] VFS: Disk quotas dquot_6.6.0
[    0.653440] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.654153] AppArmor: AppArmor Filesystem Enabled
[    0.661513] NET: Registered PF_INET protocol family
[    0.661755] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.663729] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.663771] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.663788] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.663924] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.664408] TCP: Hash tables configured (established 16384 bind 16384)
[    0.664575] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.664654] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.664939] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.665269] Trying to unpack rootfs image as initramfs...
[    0.667375] Initialise system trusted keyrings
[    0.667458] Key type blacklist registered
[    0.667738] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.667798] zbud: loaded
[    0.668424] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.670334] integrity: Platform Keyring initialized
[    0.733286] xor: automatically using best checksumming function   32regs    
[    0.733313] async_tx: api initialized (async)
[    0.733326] Key type asymmetric registered
[    0.733332] Asymmetric key parser 'x509' registered
[    0.733452] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.733780] io scheduler mq-deadline registered
[    0.733800] io scheduler kyber registered
[    0.733866] io scheduler bfq registered
[    0.747937] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.763200] loop: module loaded
[    0.767110] usbcore: registered new interface driver usb-storage
[    0.767794] mousedev: PS/2 mouse device common for all mice
[    0.769293] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.769339] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T02:15:25 UTC (94525)
[    0.769801] i2c_dev: i2c /dev entries driver
[    0.770191] mv64xxx_i2c 5002c00.i2c: can't get pinctrl, bus recovery not supported
[    0.771935] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.774056] sdhci: Secure Digital Host Controller Interface driver
[    0.774078] sdhci: Copyright(c) Pierre Ossman
[    0.774114] Synopsys Designware Multimedia Card Interface Driver
[    0.774831] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.777325] ledtrig-cpu: registered to indicate activity on CPUs
[    0.777930] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000000
[    0.778391] hid: raw HID events driver (C) Jiri Kosina
[    0.778512] usbcore: registered new interface driver usbhid
[    0.778523] usbhid: USB HID core driver
[    0.779712] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.790795] NET: Registered PF_INET6 protocol family
[    1.609266] Freeing initrd memory: 17912K
[    1.655785] Segment Routing with IPv6
[    1.655877] In-situ OAM (IOAM) with IPv6
[    1.656008] NET: Registered PF_PACKET protocol family
[    1.656193] 8021q: 802.1Q VLAN Support v1.8
[    1.656267] 9pnet: Installing 9P2000 support
[    1.656380] Key type dns_resolver registered
[    1.663458] registered taskstats version 1
[    1.663644] Loading compiled-in X.509 certificates
[    1.671658] zswap: loaded using pool zstd/z3fold
[    1.681628] Key type .fscrypt registered
[    1.681650] Key type fscrypt-provisioning registered
[    1.683212] Btrfs loaded, zoned=yes, fsverity=no
[    1.683417] Key type encrypted registered
[    1.683430] AppArmor: AppArmor sha1 policy hashing enabled
[    1.683486] ima: No TPM chip found, activating TPM-bypass!
[    1.683521] ima: Allocated hash algorithm: sha1
[    1.683553] ima: No architecture policies found
[    1.683600] evm: Initialising EVM extended attributes:
[    1.683605] evm: security.selinux
[    1.683610] evm: security.SMACK64
[    1.683615] evm: security.SMACK64EXEC
[    1.683620] evm: security.SMACK64TRANSMUTE
[    1.683624] evm: security.SMACK64MMAP
[    1.683629] evm: security.apparmor
[    1.683633] evm: security.ima
[    1.683637] evm: security.capability
[    1.683642] evm: HMAC attrs: 0x1
[    1.694945] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.695280] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    1.712596] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    1.712841] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    1.713320] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    1.713414] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    1.713457] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.714264] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    1.714334] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    1.714344] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    1.720089] sun50i_cpufreq_nvmem: Using CPU speed bin speed0
[    1.722505] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator
[    1.722976] sunxi-rsb 7083000.rsb: RSB running at 3000000 Hz
[    1.723337] axp20x-rsb sunxi-rsb-745: AXP20x variant AXP806 found
[    1.723688] axp20x-rsb sunxi-rsb-745: AXP20X driver loaded
[    1.723932] axp20x-regulator axp20x-regulator.1: Failed to register dcdca
[    1.725355] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.733587] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    1.734265] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 224 (PH0) from group PH0  on device 300b000.pinctrl
[    1.734286] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    1.734478] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
[    1.734489] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
[    1.735451] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    1.735673] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    1.735956] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    1.736037] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    1.736074] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.736846] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    1.736921] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    1.736931] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    1.740527] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 202 (PG10) from group PG10  on device 300b000.pinctrl
[    1.740553] pwrseq_simple wifi_pwrseq: Error applying setting, reverse things back
[    1.741558] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 160 (PF0) from group PF0  on device 300b000.pinctrl
[    1.741585] sunxi-mmc 4020000.mmc: Error applying setting, reverse things back
[    1.741991] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
[    1.742011] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
[    1.742312] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 64 (PC0) from group PC0  on device 300b000.pinctrl
[    1.742331] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    1.742617] axp20x-regulator axp20x-regulator.1: Failed to register dcdca
[    1.742644] sunxi-rsb 7083000.rsb: Failed to create device link (0x180) with vcc5v
[    1.742902] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 224 (PH0) from group PH0  on device 300b000.pinctrl
[    1.742922] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    1.743154] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
[    1.743166] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
[    1.744136] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    1.744364] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    1.744638] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    1.744716] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    1.744754] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.745686] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    1.745767] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    1.745776] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    1.749291] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 202 (PG10) from group PG10  on device 300b000.pinctrl
[    1.749317] pwrseq_simple wifi_pwrseq: Error applying setting, reverse things back
[    1.750280] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 160 (PF0) from group PF0  on device 300b000.pinctrl
[    1.750301] sunxi-mmc 4020000.mmc: Error applying setting, reverse things back
[    1.750736] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
[    1.750757] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
[    1.751054] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 64 (PC0) from group PC0  on device 300b000.pinctrl
[    1.751073] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    1.751484] of_cfs_init
[    1.751627] of_cfs_init: OK
[    1.751732] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 224 (PH0) from group PH0  on device 300b000.pinctrl
[    1.751740] clk: Disabling unused clocks
[    1.751747] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    1.751895] ALSA device list:
[    1.751906]   No soundcards found.
[    1.752051] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
[    1.752065] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
[    1.753204] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    1.753502] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    1.753868] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    1.753967] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    1.754016] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.754821] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    1.754904] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    1.754913] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    1.758778] Freeing unused kernel memory: 3072K
[    1.758880] Run /init as init process
[    1.758887]   with arguments:
[    1.758893]     /init
[    1.758899]     splash
[    1.758904]   with environment:
[    1.758909]     HOME=/
[    1.758914]     TERM=linux
[    1.758919]     ubootpart=74752092-01
[    1.758924]     cgroup_enable=memory
[    1.763456] sunxi-mmc 4020000.mmc: Got CD GPIO
[    1.763486] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq
[    1.765187] printk: legacy console [ttyS0] disabled
[    1.765786] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 291, base_baud = 1500000) is a 16550A
[    1.765861] printk: legacy console [ttyS0] enabled
[    1.768080] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 293, base_baud = 1500000) is a 16550A
[    1.768455] serial serial0: tty port ttyS1 registered
[    1.769972] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    1.770263] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    1.770657] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    1.770772] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    1.770846] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.771756] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    1.771848] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    1.771858] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    1.773845] phy phy-5100400.phy.0: Changing dr_mode to 1
[    1.773877] ehci-platform 5101000.usb: EHCI Host Controller
[    1.773904] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 1
[    1.774056] ehci-platform 5101000.usb: irq 294, io mem 0x05101000
[    1.774731] ehci-platform 5200000.usb: EHCI Host Controller
[    1.774773] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 2
[    1.774923] ehci-platform 5200000.usb: irq 295, io mem 0x05200000
[    1.775483] ehci-platform 5310000.usb: EHCI Host Controller
[    1.775523] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 3
[    1.775672] ehci-platform 5310000.usb: irq 296, io mem 0x05310000
[    1.775833] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[    1.788898] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.789144] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.790038] ehci-platform 5311000.usb: EHCI Host Controller
[    1.790081] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 4
[    1.790222] ehci-platform 5311000.usb: irq 299, io mem 0x05311000
[    1.790340] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00
[    1.790705] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    1.790732] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.790742] usb usb1: Product: EHCI Host Controller
[    1.790750] usb usb1: Manufacturer: Linux 6.7.12-edge-sunxi64 ehci_hcd
[    1.790758] usb usb1: SerialNumber: 5101000.usb
[    1.791573] hub 1-0:1.0: USB hub found
[    1.791672] hub 1-0:1.0: 1 port detected
[    1.805132] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.805452] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    1.805473] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.805483] usb usb2: Product: EHCI Host Controller
[    1.805491] usb usb2: Manufacturer: Linux 6.7.12-edge-sunxi64 ehci_hcd
[    1.805499] usb usb2: SerialNumber: 5200000.usb
[    1.806215] hub 2-0:1.0: USB hub found
[    1.806328] hub 2-0:1.0: 1 port detected
[    1.821178] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00
[    1.821552] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    1.821578] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.821588] usb usb3: Product: EHCI Host Controller
[    1.821597] usb usb3: Manufacturer: Linux 6.7.12-edge-sunxi64 ehci_hcd
[    1.821605] usb usb3: SerialNumber: 5310000.usb
[    1.822276] hub 3-0:1.0: USB hub found
[    1.822344] hub 3-0:1.0: 1 port detected
[    1.824883] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.826898] mmc0: new high speed SDHC card at address 1234
[    1.827862] mmcblk0: mmc0:1234 SA08G 7.29 GiB
[    1.831340]  mmcblk0: p1
[    1.837141] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00
[    1.837524] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    1.837557] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.837567] usb usb4: Product: EHCI Host Controller
[    1.837575] usb usb4: Manufacturer: Linux 6.7.12-edge-sunxi64 ehci_hcd
[    1.837583] usb usb4: SerialNumber: 5311000.usb
[    1.838417] hub 4-0:1.0: USB hub found
[    1.838536] hub 4-0:1.0: 1 port detected
[    1.893114] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.984280] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    1.984397] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 5
[    1.984614] ohci-platform 5200400.usb: irq 300, io mem 0x05200400
[    1.984761] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    1.985207] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    1.985553] ohci-platform 5101400.usb: Generic Platform OHCI controller
[    1.985623] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 6
[    1.985826] ohci-platform 5101400.usb: irq 298, io mem 0x05101400
[    1.986912] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    1.987016] ohci-platform 5310400.usb: Generic Platform OHCI controller
[    1.987041] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    1.987050] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 7
[    1.987131] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    1.987234] ohci-platform 5310400.usb: irq 301, io mem 0x05310400
[    1.988243] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    1.988338] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    1.988349] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    1.988747] ohci-platform 5311400.usb: Generic Platform OHCI controller
[    1.988800] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 8
[    1.988981] ohci-platform 5311400.usb: irq 302, io mem 0x05311400
[    2.025408] mmc2: new DDR MMC card at address 0001
[    2.026476] mmcblk2: mmc2:0001 MBG4GC 29.1 GiB
[    2.030436]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[    2.033967] mmcblk2boot0: mmc2:0001 MBG4GC 4.00 MiB
[    2.036390] mmcblk2boot1: mmc2:0001 MBG4GC 4.00 MiB
[    2.039534] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.039915] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.040408] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.040543] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.040623] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.042735] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.042821] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.042832] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.045549] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[    2.045580] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.045590] usb usb5: Product: Generic Platform OHCI controller
[    2.045599] usb usb5: Manufacturer: Linux 6.7.12-edge-sunxi64 ohci_hcd
[    2.045607] usb usb5: SerialNumber: 5200400.usb
[    2.050037] hub 5-0:1.0: USB hub found
[    2.050137] hub 5-0:1.0: 1 port detected
[    2.051138] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[    2.051172] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.051182] usb usb8: Product: Generic Platform OHCI controller
[    2.051191] usb usb8: Manufacturer: Linux 6.7.12-edge-sunxi64 ohci_hcd
[    2.051199] usb usb8: SerialNumber: 5311400.usb
[    2.052174] hub 8-0:1.0: USB hub found
[    2.052231] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.052266] hub 8-0:1.0: 1 port detected
[    2.052746] mmc3: new ultra high speed SDR50 SDIO card at address 0001
[    2.052775] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.053210] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.053325] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.053407] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.061968] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.062068] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.062080] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.065708] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.066065] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.066524] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.066655] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.066767] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.067102] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[    2.067139] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.067149] usb usb6: Product: Generic Platform OHCI controller
[    2.067157] usb usb6: Manufacturer: Linux 6.7.12-edge-sunxi64 ohci_hcd
[    2.067166] usb usb6: SerialNumber: 5101400.usb
[    2.068756] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.068857] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.068869] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.071204] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.071546] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.071961] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.072086] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.072167] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.073711] hub 6-0:1.0: USB hub found
[    2.073860] hub 6-0:1.0: 1 port detected
[    2.077546] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.077650] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.077661] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.080230] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.080561] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.081009] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.081202] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.081297] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.081756] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[    2.081788] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.081799] usb usb7: Product: Generic Platform OHCI controller
[    2.081807] usb usb7: Manufacturer: Linux 6.7.12-edge-sunxi64 ohci_hcd
[    2.081816] usb usb7: SerialNumber: 5310400.usb
[    2.086075] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.086161] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.086172] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.087651] hub 7-0:1.0: USB hub found
[    2.087768] hub 7-0:1.0: 1 port detected
[    2.089732] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.090110] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.090522] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.090635] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.090718] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.094023] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.094121] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.094133] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.095812] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.096166] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.096632] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.096761] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.096853] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.100460] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.100554] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.100567] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.102309] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.102631] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.103051] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.103167] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.103241] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.105911] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling drm_mode_config_cleanup
[    2.106001] sun4i-drm display-engine: sun4i_drv_bind: cleanup_mode_config: Calling of_reserved_mem_device_release
[    2.106011] sun4i-drm display-engine: sun4i_drv_bind: free_drm: Calling drm_dev_put
[    2.297663] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080edd748)
[    2.298008] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee23d8)
[    2.298459] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080eda570)
[    2.298599] sun8i-dw-hdmi 6000000.hdmi: Possible crtcs found
[    2.298687] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator
[    2.299516] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY)
[    2.308828] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.309419] [drm] forcing HDMI-A-1 connector on
[    2.309474] sun8i-dw-hdmi 6000000.hdmi: All good
[    2.309491] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff800080edc730)
[    2.311859] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    2.312320] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    2.312438] ------------[ cut here ]------------
[    2.312450] WARNING: CPU: 0 PID: 148 at drivers/gpu/drm/drm_atomic.c:1675 __drm_atomic_helper_set_config+0x238/0x328
[    2.312485] Modules linked in: display_connector
[    2.312504] CPU: 0 PID: 148 Comm: kworker/u8:4 Not tainted 6.7.12-edge-sunxi64 #20
[    2.312515] Hardware name: Transpeed T98 616 (DT)
[    2.312524] Workqueue: events_unbound deferred_probe_work_func
[    2.312541] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    2.312552] pc : __drm_atomic_helper_set_config+0x238/0x328
[    2.312564] lr : __drm_atomic_helper_set_config+0x60/0x328
[    2.312575] sp : ffff800082373810
[    2.312581] x29: ffff800082373810 x28: ffff0000081068a0 x27: 0000000000000000
[    2.312598] x26: ffff000001fd3a00 x25: 0000000000000038 x24: ffff00000380d880
[    2.312616] x23: ffff000001fd4200 x22: ffff00000775a0c0 x21: ffff000007757780
[    2.312633] x20: 000000000775a0c0 x19: ffff0000081068a0 x18: ffffffffffffffff
[    2.312650] x17: 6e6f20656e69676e x16: 652d79616c707369 x15: 0000000000000000
[    2.312667] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[    2.312683] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
[    2.312699] x8 : ffff8000816e2000 x7 : ffff000007757780 x6 : ffff000001fd4200
[    2.312716] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000810f7008
[    2.312732] x2 : ffff000007757700 x1 : ffff000007757800 x0 : 0000000000000000
[    2.312750] Call trace:
[    2.312757]  __drm_atomic_helper_set_config+0x238/0x328
[    2.312773]  drm_client_modeset_commit_atomic+0x148/0x264
[    2.312788]  drm_client_modeset_commit_locked+0x5c/0x198
[    2.312797]  drm_client_modeset_commit+0x30/0x58
[    2.312806]  __drm_fb_helper_initial_config_and_unlock+0x20c/0x214
[    2.312820]  drm_fb_helper_initial_config+0x44/0x54
[    2.312831]  drm_fbdev_dma_client_hotplug+0x84/0xcc
[    2.312842]  drm_client_register+0x58/0x9c
[    2.312855]  drm_fbdev_dma_setup+0x8c/0x134
[    2.312864]  sun4i_drv_bind+0x124/0x3b4
[    2.312878]  try_to_bring_up_aggregate_device+0x1f0/0x2f8
[    2.312892]  __component_add+0xa4/0x190
[    2.312903]  component_add+0x14/0x20
[    2.312913]  sun8i_dw_hdmi_probe+0x1c/0x28
[    2.312928]  platform_probe+0x68/0xdc
[    2.312942]  really_probe+0x184/0x3c8
[    2.312953]  __driver_probe_device+0x7c/0x16c
[    2.312963]  driver_probe_device+0x40/0x110
[    2.312974]  __device_attach_driver+0xbc/0x158
[    2.312985]  bus_for_each_drv+0x80/0xdc
[    2.312995]  __device_attach+0xa8/0x1d4
[    2.313005]  device_initial_probe+0x14/0x20
[    2.313016]  bus_probe_device+0xac/0xb0
[    2.313025]  deferred_probe_work_func+0x9c/0xec
[    2.313036]  process_one_work+0x16c/0x2e0
[    2.313048]  worker_thread+0x2ac/0x4c8
[    2.313057]  kthread+0xe4/0xe8
[    2.313071]  ret_from_fork+0x10/0x20
[    2.313086] ---[ end trace 0000000000000000 ]---
[    2.313958] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    2.744453] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pa not found, using dummy regulator
[    2.745559] dwmac-sun8i 5030000.ethernet: IRQ eth_wake_irq not found
[    2.745591] dwmac-sun8i 5030000.ethernet: IRQ eth_lpi not found
[    2.754646] dwmac-sun8i 5030000.ethernet: supply phy-io not found, using dummy regulator
[    2.755003] dwmac-sun8i 5030000.ethernet: PTP uses main clock
[    2.755060] dwmac-sun8i 5030000.ethernet: Current syscon value is not the default 53fe1 (expect 50000)
[    2.755532] dwmac-sun8i 5030000.ethernet: No HW DMA feature register supported
[    2.755564] dwmac-sun8i 5030000.ethernet: RX Checksum Offload Engine supported
[    2.755572] dwmac-sun8i 5030000.ethernet: COE Type 2
[    2.755580] dwmac-sun8i 5030000.ethernet: TX Checksum insertion supported
[    2.755589] dwmac-sun8i 5030000.ethernet: Normal descriptors
[    2.755597] dwmac-sun8i 5030000.ethernet: Chain mode enabled
[    2.797333] dwmac-sun8i 5030000.ethernet end0: renamed from eth0
[    3.525087] sun8i-dw-hdmi 6000000.hdmi: PHY PLL failed to lock
[    4.829477] EXT4-fs (mmcblk0p1): mounted filesystem 4001fee3-223d-43d1-bc10-1318e6c6750e ro with writeback data mode. Quota mode: none.
[    8.004461] systemd[1]: System time before build time, advancing clock.
[    8.124573] systemd[1]: systemd 252.22-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)
[    8.124617] systemd[1]: Detected architecture arm64.
[    8.145409] systemd[1]: Hostname set to <t98-616beta>.
[   10.526372] systemd[1]: /lib/systemd/system/aw859a-wifi.service:9: Support for option SysVStartPriority= has been removed and it is ignored
[   10.806642] systemd[1]: Queued start job for default target graphical.target.
[   10.834515] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[   10.837525] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[   10.840201] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[   10.842192] systemd[1]: Created slice user.slice - User and Session Slice.
[   10.842932] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[   10.844228] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[   10.844616] systemd[1]: Expecting device dev-ttyS0.device - /dev/ttyS0...
[   10.844972] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[   10.845589] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups.
[   10.846022] systemd[1]: Reached target slices.target - Slice Units.
[   10.846328] systemd[1]: Reached target swap.target - Swaps.
[   10.846597] systemd[1]: Reached target time-set.target - System Time Set.
[   10.847046] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[   10.879118] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[   10.880388] systemd[1]: Listening on syslog.socket - Syslog Socket.
[   10.881592] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[   10.882392] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[   10.884195] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[   10.885444] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[   10.886765] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[   10.891758] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[   10.892753] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[   10.898297] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[   10.904210] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[   10.910288] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[   10.911357] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[   10.912210] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[   10.921685] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[   10.928453] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[   10.939558] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[   10.947606] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[   10.955967] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[   10.964205] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[   10.972580] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[   10.982137] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[   10.990302] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[   10.991935] 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).
[   11.065947] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[   11.072621] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[   11.079455] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   11.088699] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[   11.090501] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[   11.092173] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[   11.094588] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[   11.097790] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   11.098687] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[   11.100691] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   11.101697] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[   11.103805] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   11.104684] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[   11.107184] systemd[1]: modprobe@loop.service: Deactivated successfully.
[   11.108077] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[   11.145561] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[   11.158171] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[   11.240691] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[   11.318109] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[   11.318655] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[   11.321918] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[   11.322848] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[   11.323997] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[   11.485097] EXT4-fs (mmcblk0p1): re-mounted 4001fee3-223d-43d1-bc10-1318e6c6750e r/w. Quota mode: none.
[   11.490768] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   11.492583] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   11.514051] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[   11.520856] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[   11.559608] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[   11.583486] fuse: init (API version 7.39)
[   11.590240] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[   11.593357] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   11.594566] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[   11.608885] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[   11.622613] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[   12.134191] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[   12.777557] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[   12.808938] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[   12.858088] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[   12.985408] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
[   12.986993] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems.
[   13.009542] systemd[1]: Mounting tmp.mount - /tmp...
[   13.022195] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files...
[   13.030320] systemd[1]: Mounted tmp.mount - /tmp.
[   13.032197] systemd[1]: Reached target local-fs.target - Local File Systems.
[   13.041653] systemd[1]: Starting armbian-zram-config.service - Armbian ZRAM config...
[   13.051722] systemd[1]: Starting console-setup.service - Set console font and keymap...
[   13.062861] systemd[1]: Starting plymouth-read-write.service - Tell Plymouth To Write Out Runtime Data...
[   13.142128] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats...
[   13.145859] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[   13.149207] systemd[1]: Finished console-setup.service - Set console font and keymap.
[   13.194797] systemd[1]: Starting ifupdown-pre.service - Helper to synchronize boot up for ifupdown...
[   13.204694] systemd[1]: Starting systemd-udev-settle.service - Wait for udev To Complete Device Initialization...
[   13.206452] systemd[1]: Received SIGRTMIN+20 from PID 219 (plymouthd).
[   13.249981] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 326 (systemd-binfmt)
[   13.277550] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System...
[   13.314588] systemd[1]: Finished plymouth-read-write.service - Tell Plymouth To Write Out Runtime Data.
[   13.403306] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
[   13.431922] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[   13.458411] systemd[1]: Finished ifupdown-pre.service - Helper to synchronize boot up for ifupdown.
[   13.498078] systemd[1]: Starting networking.service - Raise network interfaces...
[   14.253081] random: crng init done
[   15.181695] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed.
[   15.183700] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[   15.184023] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id).
[   15.426079] zram: Added device: zram0
[   15.426789] zram: Added device: zram1
[   15.427573] zram: Added device: zram2
[   15.458256] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files.
[   15.497396] systemd[1]: Starting plymouth-start.service - Show Plymouth Boot Screen...
[   15.730221] systemd[1]: Found device dev-ttyS0.device - /dev/ttyS0.
[   16.340856] systemd[1]: Started plymouth-start.service - Show Plymouth Boot Screen.
[   16.350748] core: _opp_supported_by_regulators: OPP minuV: 820000 maxuV: 1100000, not supported by regulator
[   16.350780] cpu cpu0: _opp_add: OPP not supported by regulators (480000000)
[   16.350932] core: _opp_supported_by_regulators: OPP minuV: 820000 maxuV: 1100000, not supported by regulator
[   16.350945] cpu cpu0: _opp_add: OPP not supported by regulators (600000000)
[   16.351067] core: _opp_supported_by_regulators: OPP minuV: 860000 maxuV: 1100000, not supported by regulator
[   16.351079] cpu cpu0: _opp_add: OPP not supported by regulators (792000000)
[   16.351184] core: _opp_supported_by_regulators: OPP minuV: 900000 maxuV: 1100000, not supported by regulator
[   16.351197] cpu cpu0: _opp_add: OPP not supported by regulators (1008000000)
[   16.351335] core: _opp_supported_by_regulators: OPP minuV: 960000 maxuV: 1100000, not supported by regulator
[   16.351350] cpu cpu0: _opp_add: OPP not supported by regulators (1200000000)
[   16.351459] core: _opp_supported_by_regulators: OPP minuV: 1100000 maxuV: 1100000, not supported by regulator
[   16.351470] cpu cpu0: _opp_add: OPP not supported by regulators (1512000000)
[   16.351489] cpu cpu0: OPP table can't be empty
[   17.320634] zram0: detected capacity change from 0 to 2033496
[   17.376083] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of an unmet condition check (ConditionPathExists=!/run/plymouth/pid).
[   17.376794] systemd[1]: Started systemd-ask-password-plymouth.path - Forward Password Requests to Plymouth Directory Watch.
[   17.377293] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[   17.377761] systemd[1]: Reached target usb-gadget.target - Hardware activated USB gadget.
[   17.693705] Adding 1016744k swap on /dev/zram0.  Priority:5 extents:1 across:1016744k SS
[   17.756214] panfrost 1800000.gpu: clock rate = 432000000
[   17.756265] panfrost 1800000.gpu: bus_clock rate = 200000000
[   17.760820] panfrost 1800000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0
[   17.760858] panfrost 1800000.gpu: features: 00000000,000027f7, issues: 00000000,00000400
[   17.760871] panfrost 1800000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[   17.760884] panfrost 1800000.gpu: shader_present=0x1 l2_present=0x1
[   17.772819] systemd[1]: Finished networking.service - Raise network interfaces.
[   17.774311] mc: Linux media interface: v0.10
[   17.777454] [drm] Initialized panfrost 1.2.0 20180908 for 1800000.gpu on minor 1
[   18.061862] Registered IR keymap rc-beelink-gs1
[   18.153195] videodev: Linux video capture interface: v2.00
[   18.157356] IR NEC protocol handler initialized
[   18.187064] rc rc0: sunxi-ir as /devices/platform/soc/7040000.ir/rc/rc0
[   18.188929] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[   18.189303] input: sunxi-ir as /devices/platform/soc/7040000.ir/rc/rc0/input0
[   18.217761] sunxi-ir 7040000.ir: initialized sunXi IR driver
[   18.360059] Bluetooth: Core ver 2.22
[   18.360254] NET: Registered PF_BLUETOOTH protocol family
[   18.360274] Bluetooth: HCI device and connection manager initialized
[   18.360313] Bluetooth: HCI socket layer initialized
[   18.360325] Bluetooth: L2CAP socket layer initialized
[   18.360369] Bluetooth: SCO socket layer initialized
[   18.445551] systemd[1]: Listening on systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   19.442944] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   19.444600] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   19.445770] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   19.595215] zram1: detected capacity change from 0 to 102400
[   19.613095] Bluetooth: HCI UART driver ver 2.3
[   19.613129] Bluetooth: HCI UART protocol H4 registered
[   19.613136] Bluetooth: HCI UART protocol BCSP registered
[   19.613265] Bluetooth: HCI UART protocol LL registered
[   19.613273] Bluetooth: HCI UART protocol ATH3K registered
[   19.613316] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   19.613507] Bluetooth: HCI UART protocol Intel registered
[   19.613676] Bluetooth: HCI UART protocol Broadcom registered
[   19.613756] Bluetooth: HCI UART protocol QCA registered
[   19.613767] Bluetooth: HCI UART protocol AG6XX registered
[   19.613811] Bluetooth: HCI UART protocol Marvell registered
[   19.654910] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[   19.663646] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[   19.666067] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[   19.709958] brcmfmac: brcmf_of_probe: interrupt could not be mapped
[   19.710313] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43342-sdio for chip BCM43342/1
[   19.725879] brcmfmac mmc3:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.transpeed,t98-616.bin failed with error -2
[   19.809941] brcmfmac mmc3:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.clm_blob failed with error -2
[   19.896387] Bluetooth: hci0: Frame reassembly failed (-84)
[   19.906092] systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
[   19.958662] systemd[1]: Finished systemd-udev-settle.service - Wait for udev To Complete Device Initialization.
[   19.960283] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of an unmet condition check (ConditionPathExists=!/run/plymouth/pid).
[   19.960989] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[   19.989930] systemd[1]: Starting brltty.service - Braille Device Support...
[   19.998158] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   19.998188] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[   19.998786] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43342/1 wl0: Oct 18 2016 17:43:42 version 6.25.134.25 (r662387) FWID 01-281dd9d9
[   20.000614] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[   20.012998] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[   20.024745] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[   20.025908] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id).
[   20.030335] systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
[   20.035582] systemd[1]: Finished armbian-zram-config.service - Armbian ZRAM config.
[   20.047385] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[   20.049130] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[   20.052530] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   20.054125] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[   20.057828] systemd[1]: modprobe@loop.service: Deactivated successfully.
[   20.059351] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[   20.098078] systemd[1]: Starting armbian-ramlog.service - Armbian memory supported logging...
[   20.098697] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   20.099110] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[   20.431654] EXT4-fs (zram1): mounted filesystem 224a7874-a3d6-4a8f-a2a7-01cbe53f978f r/w without journal. Quota mode: none.
[   21.885085] Bluetooth: hci0: command 0x0c03 tx timeout
[   21.885155] Bluetooth: hci0: BCM: Reset failed (-110)
[   24.140372] systemd[1]: Started brltty.service - Braille Device Support.
[   24.346791] input: BRLTTY 6.5 Linux Screen Driver Keyboard as /devices/virtual/input/input1
[   25.055607] systemd[1]: systemd-rfkill.service: Deactivated successfully.
[   28.851926] systemd[1]: Finished armbian-ramlog.service - Armbian memory supported logging.
[   28.885918] systemd[1]: Starting systemd-journald.service - Journal Service...
[   29.305566] systemd[1]: Started systemd-journald.service - Journal Service.
[   30.030363] systemd-journald[580]: Received client request to flush runtime journal.
[   30.036511] systemd-journald[580]: File /var/log/journal/c004dd109d8c40da94ba6fb43e6b261f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   45.571427] RPC: Registered named UNIX socket transport module.
[   45.571453] RPC: Registered udp transport module.
[   45.571459] RPC: Registered tcp transport module.
[   45.571464] RPC: Registered tcp-with-tls transport module.
[   45.571470] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   71.688648] systemd-journald[580]: Received client request to relinquish /var/log/journal/c004dd109d8c40da94ba6fb43e6b261f access.
[   93.269453] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   93.269485] Bluetooth: BNEP filters: protocol multicast
[   93.269507] Bluetooth: BNEP socket layer initialized
[  115.013895] dwmac-sun8i 5030000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  115.080069] dwmac-sun8i 5030000.ethernet end0: PHY [stmmac-0:01] driver [Allwinner AC200 EPHY] (irq=POLL)
[  115.080120] dwmac-sun8i 5030000.ethernet end0: No Safety Features support found
[  115.080134] dwmac-sun8i 5030000.ethernet end0: No MAC Management Counters available
[  115.080145] dwmac-sun8i 5030000.ethernet end0: PTP not supported by HW
[  115.080728] dwmac-sun8i 5030000.ethernet end0: configuring for phy/rmii link mode
[  119.165594] dwmac-sun8i 5030000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx
[  146.134161] sun8i-dw-hdmi 6000000.hdmi: PHY PLL failed to lock

 

 

0001-add-dts-t98-616.patch uboot.patch

Link to comment
Share on other sites

On 6/14/2024 at 11:34 PM, Nick A said:

I think your problem has to do with boot rom security.

 

@Nick A You were right. Finally I needed to change u-boot ARM option to "SPL Image Type (TOC0 (secure))" from "eGON", and to generate a pem key for the u-boot image build process. I also added a T95H specific DTB for powering up the DRAM and I try to play with u-boot patched orange pi zero2 sd card. At least I have the first signs of sd-card boot process on serial console already!

 

U-Boot SPL 2024.04 (Jun 19 2024 - 10:00:07 +0000)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.11.0(debug):v2.11.0-156-gef5181975
NOTICE:  BL31: Built : 09:54:52, Jun 19 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a09c6c8, model: T95H
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
INFO:    PMIC: aldo1 voltage: 3.300V
INFO:    PMIC: aldo2 voltage: 3.300V
INFO:    PMIC: aldo3 voltage: 3.300V
INFO:    PMIC: bldo1 voltage: 1.800V
INFO:    PMIC: dcdcd voltage: 1.500V
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.

 

This "Changed devicetree" is the last message, and further booting is not showing up. Is this last message is coming already after the 64bit execution switch? Or is it still some DTB or other issue?

Link to comment
Share on other sites

@Nick A Oh, with a fresh rebuild of u-boot image, SPL can start the next u-boot part, but there are other errors (MMC is not seen, and 2G RAM exists instead of 4G).

 

U-Boot 2024.04 (Jun 19 2024 - 15:16:15 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: T95H
DRAM:  2 GiB
Core:  48 devices, 18 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0
Loading Environment from FAT... MMC: no card present
** Bad device specification mmc 0 **
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200000 for devices... 1 USB Device(s) found
scanning bus usb@5200400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
MMC: no card present

Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
=>

 

Link to comment
Share on other sites

@Nick A And even more... noticing, that USB tree is detected, I added an extra USB stick with MiniArch image, changing root partition from /dev/mmcblk0p2 to /dev/sda2, and MiniArch has been booted:

U-Boot 2024.04 (Jun 19 2024 - 15:16:15 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: T95H
DRAM:  2 GiB
Core:  48 devices, 18 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0
Loading Environment from FAT... MMC: no card present
** Bad device specification mmc 0 **
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200000 for devices... 2 USB Device(s) found
scanning bus usb@5200400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0
MMC: no card present

Device 0: Vendor: Mass     Rev: 1.00 Prod: Storage Device
            Type: Removable Hard Disk
            Capacity: 1886.0 MB = 1.8 GB (3862528 x 512)
... is now current device
Scanning usb 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      MiniMyth2
Retrieving file: /Image
append: root=/dev/sda2 rw rootwait earlycon console=ttyS0,115200n8 loglevel=6 consoleblank=0 fsck.mode=auto fsck.repair=yes
Retrieving file: /dtbs/allwinner/sun50i-h616-t95h.dtb
Moving Image from 0x40080000 to 0x40200000, end=42430000
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
   Loading Device Tree to 0000000049ff8000, end 0000000049fffd1f ... OK
Working FDT set to 49ff8000

Starting kernel ...

[    0.000000] Linux version 6.9.3 (piotro@minimyth2-aarch64) (aarch64-minimyth-linux-gnu-gcc (GCC) 14.1.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT Sat Jun  1 18:06:41 CEST 2024
[    0.000000] Kernel command line: root=/dev/sda2 rw rootwait earlycon console=ttyS0,115200n8 loglevel=6 consoleblank=0 fsck.mode=auto fsck.repair=yes
[    0.001796] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.034222] audit: type=2000 audit(0.026:1): state=initialized audit_enabled=0 res=1
[    0.058004] SCSI subsystem initialized
...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started User Login Management.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.

Arch Linux 6.9.3 (ttyS0)

alarm login:

 

I think I need to find/make a good dtb, and MMC boot will also work...

 

So linux can work on T95H!!!

Link to comment
Share on other sites

Looking at your Android DTS for sdc0.           

cd-gpios = <0x00000053 0x00000008 0x00000010 0x00000006 0x00000001 0x00000003 0xffffffff>;

 

I'm pretty sure your Linux DTS for mmc0 should be.

cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>;    /* PI16 */

 

 

Not sure why there's so many hex numbers. But looking at Pine64 Android DTS for sdc0. 

https://github.com/ayufan-pine64/device-pine64-common/blob/master/bootloader/pine64/sun50i-a64-pine64-plus.dts

cd-gpios = <0x00000030 0x00000005 0x00000006 0x00000000 0x00000001 0x00000002 0xffffffff>;

 

Linux DTS for mmc0 shows.

https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;

 

Remember to add these changes to both your u-boot and linux DTS.

Edited by Nick A
Link to comment
Share on other sites

7 hours ago, Nick A said:

I'm pretty sure your Linux DTS for mmc0 should be.

cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>;    /* PI16 */

 

@Nick A Thank you! It was in the way, you wrote! Changing cd-gpios from "5 6" to "8 16" solved the MMC booting issue!

 

U-Boot 2024.04 (Jun 20 2024 - 07:34:25 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: T95H
DRAM:  2 GiB
Core:  48 devices, 18 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200000 for devices... 1 USB Device(s) found
scanning bus usb@5200400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf

 

Next step is to have the total 4 GiB RAM and working network! I wish I understood better the DTS/DTB world!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines