Jump to content

How to install armbian in h618?


alienxz77b

Recommended Posts

Hello, sorry for my very bad english.

 

I recently I bought a TV box with an h618 processor And I want to install Linux to make it a server but I only find images for the h616 processor, can I install one of these images on my TV box? It seems that the h616 processor and the h618 procesador are almost the same

 

 

 

Thanks :D

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Hi,   I also bought a cheap H618 TV Box.

Mine is branded "Transpeed Android TV Box", but I suspect all are similar.

 

I have not gotten it to boot linux, but have made some progress:

I noted that the Orange Pi zero 3 also uses the Allwinner H618, so tried some images for it.

 

I followed the boot procedure outlined here:

    http://mrbluecoat.blogspot.com/2021/07/install-linux-on-t95-mini.html

I tried an Armbian image and a Ubuntu image - both from the Orange Pi website -

with basically the same results.

 

The Good: I am getting u-boot messages on the serial console  with Armbian or Ubuntu in the text,

so the board _IS_ attempting to boot off the uSD !

There are obvious pins on the PCB for the serial port, but you do need to solder a connector.

 

The BAD: the boot process quickly errors out with:  "This DRAM setup is currently not supported"

for both images.   So, the issue is with uboot trying to set up DRAM.

 

The Orange Pi Zero 3 uses a single LPDDR4 dram chip - based on their documentation.

My TV Box has 8 DDR chips (4 top, 4 bottom).  I'm not 100% sure, but believe they are 4Gbit DDR3.

.. So that explains why setting up DRAM is a problem!

 

I realize these TV boxes aren't supported by anyone. 

Either an image supporting this DRAM setup is required, or someone familiar with uboot configuration to do some magic..

 

Maybe I wasted my US $23!

Link to comment
Share on other sites

Did anyone made any progress? I also bought a TVBox transpeed with H618 and I would like to install armbian to make my own server based in Linux.

Anyone tried with H616 image? By the way, is it possible to backup original ROM before I run some tests? Cause if it not works I would like to keep my TV Box working on.

 

Link to comment
Share on other sites

I haven't had much time to work on this, but simplistically, the problem is that the DRAM chips and how they are wired up on my Transpeed box are different from the Orange Pi image I attempted to use, so the AllWinner chip DRAM setup has to be different.

 

I'm far from an expert, but I believe U-Boot is responsible for setting up DRAM before it finds and starts the OS image on the uSD card.

The documentation I have found is very sparse for how to setup U-boot for different DRAM chip configurations.

 

Unless someone can find a U-Boot/image setup for an Allwinner  H616/H618 board with the same DRAM chip setup - 8 4G DDR3 chips, or alternatively figure out how to configure U-Boot for this DRAM, we are stuck.

 

BTW - My Transpeed box has no ROM (or flash) on board - I looked at the PCB.  It appears to be booting directly from the uSD Card.

Link to comment
Share on other sites

Well, that sounds bad.
I just bought this transpeed because it have 4GB... I would like use it as my own server.

 

I had an intensive search for the methods to boot in H618, most of them don't even mention this processor. When I was watching some videos I did get realized that some images gets trouble when booting by USB device and just work with USD Card booted with Balena Etcher, have you tried?

 

By the way, I don't know if its possible to make it work with Orange Pi image, as you said, the pinout its different. I wouldnt even know how to start. This process its not very well documented.

 

Though the documentation about H616 seems more popular and maybe could be more easy to make it boot with some of H616 images. I would like to do some tests but, well I'm still not with my transpeed, I bought in a black friday sale and didnt even Googled about the armbian compatibility. Now its too late, i'll have to wait it arrives and try some things. I could easily buy another TV Box but I couldnt see any device that has 4GB RAM and its also compatible with armbian.

 

I didn't understand when you said that the ROM is booted by the USD card? I mean, you did your tests, is your tv box still booting on factory android? I wouldn't like to brick my device.

Link to comment
Share on other sites

As far as I can tell, H616 and H618 are _almost_ identical - see https://linux-sunxi.org/H616

This leads me to believe (Hope?) that images for H616 will also work on H618 - but I am not 100% sure!

 

I have not tried Balena Etcher - I have just been using the Linux "dd" command to write images to USD card.

This has worked for me on other similar (supported!) boards, but Balena Etcher should work also.

 

My box has some EMMC flash on it.  I am not sure how the boot process goes.

- With no USD card, the EMMC boots into the built-in Android TV box software.

- With a USD card installed, an attempt is made to boot from that - either from built in CPU firmware or maybe the EMMC?

 

Yes, the biggest problem with these boards is that there is NO documentation at all.

I cracked my case open to look at what chips are on the board. (See below)

That is how I can see that the DDR DRAM chips are different than OrangePi.  (Which make sense with the serial port error message I see

when attempting to boot the OrangePi image - The DDR DRAM hardware is not compatible)

 

May someone fluent in Mandarin can search some Chinese forums.  There are multiple Chinese manufacturers of these boxes and

information on how to design the PCB's and configure the software must be out there somewhere.

 

Here is my box, with the PCB exposed, and my serial port attached.

 

 

image.png

Link to comment
Share on other sites

H618 is near 'bleeding edge' development as far as even kernels and even distributions is concerned.

 

Orange Pi Zero 3 is one of those development boards that runs on H618 and even that is not (yet) supported in Armbian.

There are developments at the 'bleeding edge' in 6.6 and above kernels as well as uboot in an attempt to support that board.

And that that has a bad ethernet phy chip (but that is just my own experience, others may vary).

A biggest touble is 'no 2 boards are configured in a similar way', e.g. just how a particular board boot is different between boards and even between different configuration on the same board.

e.g. booting from emmc vs sd card practically is different on the same board. And for every different board there is a different dts (device tree), that alone may cause enough problems using an image on a board. The nearly only way left is to *build from source* and do *further developments* a 'difficult' endeavour.

 

Edited by ag123
Link to comment
Share on other sites

I've been trying to find the DRAM setting for this board. I found a firmware update that might help. Got it from androidpctv.com/firmware-transpeed-h618/ . I used the firmware unpacker from xdaforums.com/t/tool-imgrepacker-livesuits-phoenixsuits-firmware-images-unpacker-packer.1753473/ .

I used the Windows version of imgRePacker.exe to extract the boot0_nand.fex. Then read the boot0_nand.fex in linux using command hexedit boot0_nand.fex. It looks very close to the boot0 Andre Przywara used to find the DRAM settings on his board. lore.kernel.org/linux-sunxi/2123971.irdbgypaU6@jernej-laptop/ . 

Quote

00000000   BE 02 00 EA  65 47 4F 4E  2E 42 54 30  33 63 03 06  00 F0 00 00  30 00 00 00  00 00 00 00  00 00 02 00  00 00 02 00  00 00 00 00  00 00 00 00  34 2E 30 00  ....eGON.BT03c......0.......................4.0.
00000030   00 00 00 00  03 00 00 00  88 02 00 00  03 00 00 00  03 03 03 03  0E 0E 0E 0E  12 1F 00 00  01 00 00 00  FB 30 00 00  00 00 00 00  40 08 00 00  04 00 00 00  .................................0......@.......
00000060   08 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................................................
00000090   02 10 00 C0  00 00 00 00  00 00 00 00  00 00 00 00  80 80 80 33  07 11 2F 00  CC CC DD DD  65 76 DC ED  40 00 00 00  00 00 00 00  00 00 00 00  08 00 02 01  ...................3../.....ev..@...............
000000C0   FF FF 00 00  08 01 02 01  FF FF 00 00  00 00 00 00  08 09 03 FF  FF FF 00 00  08 0A 03 FF  FF FF 00 00  08 0B 03 FF  FF FF 00 00  08 0C 03 FF  FF FF 00 00  ................................................
000000F0   00 52 41 57  C9 E9 00 00  00 00 02 01  02 00 00 00  00 01 02 01  02 00 00 00  00 02 02 01  02 00 00 00  00 03 02 01  02 00 00 00  00 04 02 01  02 00 00 00  .RAW............................................
00000120   00 05 02 01  02 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00

 

You can see 03 03 03 03  0E 0E 0E 0E in hexedit.   

 

CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 

CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e

 

Not sure if this will work with our board. But if we can try these settings or find another firmware for our board. We might get past the DRAM setup errors.

Edited by Nick A
Link to comment
Share on other sites

Quote

CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h616-x96-mate"
CONFIG_SPL=y
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_R_I2C_ENABLE=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL_I2C=y
CONFIG_SPL_SYS_I2C_LEGACY=y
CONFIG_SYS_I2C_MVTWSI=y
CONFIG_SYS_I2C_SLAVE=0x7f
CONFIG_SYS_I2C_SPEED=400000
CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_AXP313A_POWER=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
 

 

Using the x96_mate_defconfig in ~/u-boot/configs. I modified the DRAM setup with the new settings. I also changed  CONFIG_AXP313A_POWER=y because here it says we need it. https://linux-sunxi.org/Transpeed_8K618-T.

 

I compiled the latest linux-next tree. https://www.kernel.org/doc/man-pages/linux-next.html.

 

I used sun50i-h618-transpeed-8k618-t.dts in ~/linux/arch/arm64/boot/dts/allwinner.

 

This is the serial console output I got.

 

Quote


U-Boot SPL 2024.01-00747-g93d91e9485-dirty (Jan 10 2024 - 22:56:21 -0500)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.0    (debug):v2.10.0-147-g1c76dd2d6
NOTICE:  BL31: Built : 20:46:22, Jan  6 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a09d430, model: X96 Mate
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.


U-Boot 2024.01-00747-g93d91e9485-dirty (Jan 10 2024 - 22:56:21 -0500) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: X96 Mate
DRAM:  4 GiB
Core:  51 devices, 18 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:   No ethernet found.
starting USB...
Bus usb@5101000: USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5310000: USB EHCI 1.00
Bus usb@5310400: 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@5310000 for devices... 1 USB Device(s) found
scanning bus usb@5310400 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.
=> 

 

I don't have any rootfs installed yet. I only have /lib, boot.cmd, boot.scr

, Image and sun50i-h618-transpeed-8k618-t.dts in the boot partition.

Edited by Nick A
Link to comment
Share on other sites

Testing with orangepi_zero3_defconfig. Using these settings.

Quote

CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h618-orangepi-zero3"
CONFIG_SPL=y
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_USB1_VBUS_PIN="PC16"
CONFIG_R_I2C_ENABLE=y
CONFIG_SPL_SPI_SUNXI=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL_I2C=y
CONFIG_SPL_SYS_I2C_LEGACY=y
CONFIG_SYS_I2C_MVTWSI=y
CONFIG_SYS_I2C_SLAVE=0x7f
CONFIG_SYS_I2C_SPEED=400000
CONFIG_SPI_FLASH_ZBIT=y
CONFIG_PHY_MOTORCOMM=y
CONFIG_SUN8I_EMAC=y
CONFIG_AXP313_POWER=y
CONFIG_SPI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_MUSB_GADGET=y

 

Better results.

 

Quote


U-Boot SPL 2024.01-00778-g7a59d520ef-dirty (Jan 11 2024 - 14:03:17 -0500)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.0    (debug):v2.10.0-147-g1c76dd2d6
NOTICE:  BL31: Built : 20:46:22, Jan  6 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b38d8, model: OrangePi Zero3
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.


U-Boot 2024.01-00778-g7a59d520ef-dirty (Jan 11 2024 - 14:03:17 -0500) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  4 GiB
Core:  57 devices, 25 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
Allwinner mUSB OTG (Peripheral)
Net:   Could not get PHY for ethernet@5020000: addr 1
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
eth1: usb_ether
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 U-Boot script /boot.scr
294 bytes read in 2 ms (143.6 KiB/s)
## Executing script at 4fc00000
43637248 bytes read in 1816 ms (22.9 MiB/s)
Failed to load 'sun50i-h618-transpeed-8k618-t.dts.dtb'
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Loading Boot0000 'mmc 0:1' failed
Loading Boot0001 'mmc 0:2' failed
EFI boot manager: Cannot load any image

Device 0: unknown device
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
missing environment variable: pxeuuid
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/00000000
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/0000000
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/000000
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/00000
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/0000
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/000
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/00
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/0
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/default-arm-sunxi
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/default-arm
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Retrieving file: pxelinux.cfg/default
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
Config file not found
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
No ethernet found.
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
mdio_register: non unique device name 'ethernet@5020000'
Could not get PHY for ethernet@5020000: addr 1
=> 

 

Noticed I'm not using the correct file in the boot partition... should be DTB not DTS!!

Edited by Nick A
Link to comment
Share on other sites

Using the original sun50i-h618-orangepi-zero3.dtb and the modified orangepi_zero3_defconfig (posted above) with the new DRAM setup.

 

Quote

U-Boot SPL 2024.01-00795-g2ee7a8ec6f-dirty (Jan 12 2024 - 05:23:58 -0500)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.0    (debug):v2.10.0-147-g1c76dd2d6
NOTICE:  BL31: Built : 20:46:22, Jan  6 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b3c68, model: OrangePi Zero3
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.


U-Boot 2024.01-00795-g2ee7a8ec6f-dirty (Jan 12 2024 - 05:23:58 -0500) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  4 GiB
Core:  57 devices, 25 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
Allwinner mUSB OTG (Peripheral)
Net:   Could not get PHY for ethernet@5020000: addr 1
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
eth1: usb_ether
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 U-Boot script /boot.scr
287 bytes read in 2 ms (139.6 KiB/s)
## Executing script at 4fc00000
43637248 bytes read in 1815 ms (22.9 MiB/s)
19472 bytes read in 4 ms (4.6 MiB/s)
## Flattened Device Tree blob at 49000000
   Booting using the fdt blob at 0x49000000
Working FDT set to 49000000
   Loading Device Tree to 0000000049ff8000, end 0000000049fffc0f ... OK
Working FDT set to 49ff8000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.7.0-next-20240111 (nick@nick-Inspiron-5680) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Thu Jan 11 21:47:39 EST 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: OrangePi Zero3
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 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 0x13f7df9c0-0x13f7e1fff]
[    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-0x000000004003ffff]
[    0.000000]   node   0: [mem 0x0000000040040000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 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 22 pages/cpu s51368 r8192 d30552 u90112
[    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: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait panic=10
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    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 0x00000000fa000000-0x00000000fe000000] (64MB)
[    0.000000] Memory: 3971340K/4194304K available (16768K kernel code, 4662K rwdata, 11172K rodata, 9856K init, 614K bss, 190196K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]     Trampoline variant of Tasks RCU enabled.
[    0.000000]     Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=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.000811] Console: colour dummy device 80x25
[    0.000893] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000906] pid_max: default: 32768 minimum: 301
[    0.000983] LSM: initializing lsm=capability,integrity
[    0.001092] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001116] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002058] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.002822] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.002908] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.003140] rcu: Hierarchical SRCU implementation.
[    0.003144] rcu:     Max phase no-delay instances is 1000.
[    0.004559] EFI services will not be available.
[    0.004776] smp: Bringing up secondary CPUs ...
[    0.005268] Detected VIPT I-cache on CPU1
[    0.005344] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005879] Detected VIPT I-cache on CPU2
[    0.005925] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.006419] Detected VIPT I-cache on CPU3
[    0.006464] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.006536] smp: Brought up 1 node, 4 CPUs
[    0.006543] SMP: Total of 4 processors activated.
[    0.006547] CPU: All CPU(s) started at EL2
[    0.006571] CPU features: detected: 32-bit EL0 Support
[    0.006575] CPU features: detected: 32-bit EL1 Support
[    0.006580] CPU features: detected: CRC32 instructions
[    0.006619] alternatives: applying system-wide alternatives
[    0.009179] devtmpfs: initialized
[    0.014924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.014948] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.016168] pinctrl core: initialized pinctrl subsystem
[    0.017810] DMI not present or invalid.
[    0.018783] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.019700] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.019831] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.020019] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.020075] audit: initializing netlink subsys (disabled)
[    0.020206] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.021292] thermal_sys: Registered thermal governor 'step_wise'
[    0.021298] thermal_sys: Registered thermal governor 'power_allocator'
[    0.021352] cpuidle: using governor menu
[    0.021540] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.021628] ASID allocator initialised with 65536 entries
[    0.023871] Serial: AMBA PL011 UART driver
[    0.027240] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.032157] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.034482] Modules: 21952 pages in range for non-PLT usage
[    0.034488] Modules: 513472 pages in range for PLT usage
[    0.035169] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.035174] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.035180] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.035184] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.035190] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.035194] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.035199] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.035202] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.036757] ACPI: Interpreter disabled.
[    0.038941] iommu: Default domain type: Translated
[    0.038947] iommu: DMA domain TLB invalidation policy: strict mode
[    0.039335] SCSI subsystem initialized
[    0.039687] usbcore: registered new interface driver usbfs
[    0.039718] usbcore: registered new interface driver hub
[    0.039749] usbcore: registered new device driver usb
[    0.040409] pps_core: LinuxPPS API ver. 1 registered
[    0.040414] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.040429] PTP clock support registered
[    0.040533] EDAC MC: Ver: 3.0.0
[    0.040933] scmi_core: SCMI protocol bus registered
[    0.041646] FPGA manager framework
[    0.041735] Advanced Linux Sound Architecture Driver Initialized.
[    0.042713] vgaarb: loaded
[    0.043300] clocksource: Switched to clocksource arch_sys_counter
[    0.043523] VFS: Disk quotas dquot_6.6.0
[    0.043555] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.043739] pnp: PnP ACPI: disabled
[    0.050815] NET: Registered PF_INET protocol family
[    0.051059] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.054324] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.054372] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.054425] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.054678] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.055755] TCP: Hash tables configured (established 32768 bind 32768)
[    0.055870] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.055961] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.056148] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.056557] RPC: Registered named UNIX socket transport module.
[    0.056562] RPC: Registered udp transport module.
[    0.056566] RPC: Registered tcp transport module.
[    0.056569] RPC: Registered tcp-with-tls transport module.
[    0.056572] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.056587] PCI: CLS 0 bytes, default 64
[    0.057102] kvm [1]: IPA Size Limit: 40 bits
[    0.059631] kvm [1]: vgic interrupt IRQ9
[    0.059667] kvm [1]: Hyp mode initialized successfully
[    0.060917] Initialise system trusted keyrings
[    0.061057] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.061371] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.061594] NFS: Registering the id_resolver key type
[    0.061621] Key type id_resolver registered
[    0.061626] Key type id_legacy registered
[    0.061648] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.061654] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.061787] 9p: Installing v9fs 9p2000 file system support
[    0.124872] Key type asymmetric registered
[    0.124878] Asymmetric key parser 'x509' registered
[    0.124926] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.124933] io scheduler mq-deadline registered
[    0.124938] io scheduler kyber registered
[    0.124969] io scheduler bfq registered
[    0.135029] EINJ: ACPI disabled.
[    0.161033] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.164488] msm_serial: driver initialized
[    0.164782] SuperH (H)SCI(F) driver initialized
[    0.164916] STM32 USART driver initialized
[    0.172513] loop: module loaded
[    0.173514] megasas: 07.727.03.00-rc1
[    0.180050] tun: Universal TUN/TAP device driver, 1.6
[    0.180864] thunder_xcv, ver 1.0
[    0.180895] thunder_bgx, ver 1.0
[    0.180921] nicpf, ver 1.0
[    0.181998] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.182003] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.182042] hclge is initializing
[    0.182077] e1000: Intel(R) PRO/1000 Network Driver
[    0.182082] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.182110] e1000e: Intel(R) PRO/1000 Network Driver
[    0.182113] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.182139] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.182143] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.182171] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.182175] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.182459] sky2: driver version 1.30
[    0.183663] VFIO - User Level meta-driver version: 0.3
[    0.186186] usbcore: registered new interface driver usb-storage
[    0.189710] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.189734] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:08 UTC (86408)
[    0.190270] i2c_dev: i2c /dev entries driver
[    0.191001] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    0.191460] i2c 0-0036: Fixed dependency cycle(s) with /soc/pinctrl@300b000
[    0.198087] sdhci: Secure Digital Host Controller Interface driver
[    0.198092] sdhci: Copyright(c) Pierre Ossman
[    0.198741] Synopsys Designware Multimedia Card Interface Driver
[    0.199660] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.201502] ledtrig-cpu: registered to indicate activity on CPUs
[    0.202164] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[    0.203089] usbcore: registered new interface driver usbhid
[    0.203094] usbhid: USB HID core driver
[    0.206225] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.210744] NET: Registered PF_PACKET protocol family
[    0.210836] 9pnet: Installing 9P2000 support
[    0.210898] Key type dns_resolver registered
[    0.221854] registered taskstats version 1
[    0.221984] Loading compiled-in X.509 certificates
[    0.243889] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.252516] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    0.253643] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.253846] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    0.255351] sun50i-h616-pinctrl 300b000.pinctrl: pin-224 (5000000.serial) status -517
[    0.255361] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 224 (PH0) from group PH0  on device 300b000.pinctrl
[    0.255370] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.256889] sun50i-h616-pinctrl 300b000.pinctrl: pin-64 (5010000.spi) status -517
[    0.256899] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 64 (PC0) from group PC0  on device 300b000.pinctrl
[    0.256907] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.263367] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[    0.266453] axp20x-i2c 0-0036: AXP20X driver loaded
[    0.273175] sunxi-mmc 4020000.mmc: Got CD GPIO
[    0.277821] printk: legacy console [ttyS0] disabled
[    0.298452] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    0.298453] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 293, base_baud = 1500000) is a 16550A
[    0.298508] printk: legacy console [ttyS0] enabled
[    1.598571] sun6i-spi 5010000.spi: Failed to request TX DMA channel
[    1.604859] sun6i-spi 5010000.spi: Failed to request RX DMA channel
[    1.611901] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    1.632165] ehci-platform 5200000.usb: EHCI Host Controller
[    1.634590] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    1.634741] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[    1.636330] clk: Disabling unused clocks
[    1.636454] ALSA device list:
[    1.636461]   No soundcards found.
[    1.637800] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 1
[    1.644412] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 2
[    1.653721] ehci-platform 5200000.usb: irq 295, io mem 0x05200000
[    1.657598] ohci-platform 5200400.usb: irq 296, io mem 0x05200400
[    1.675307] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.698354] hub 1-0:1.0: USB hub found
[    1.702149] hub 1-0:1.0: 1 port detected
[    1.743896] hub 2-0:1.0: USB hub found
[    1.747687] hub 2-0:1.0: 1 port detected
[    1.752001] Waiting for root device /dev/mmcblk0p1...
 

 

Link to comment
Share on other sites

Created a new transpeed-8k618-t_defconfig in the u-boot/configs directory.

Quote

CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h618-transpeed-8k618-t"
CONFIG_SPL=y
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
CONFIG_R_I2C_ENABLE=y
CONFIG_SPL_I2C=y
CONFIG_SPL_SYS_I2C_LEGACY=y
CONFIG_SYS_I2C_MVTWSI=y
CONFIG_SYS_I2C_SLAVE=0x7f
CONFIG_SYS_I2C_SPEED=400000
CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_AXP313_POWER=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_AXP_DCDC3_VOLT=1360

 

Add the sun50i-h618-transpeed-8k618-t.dts from the linux kernel to u-boot/arch/arm/dts directory.

Quote

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (C) 2023 Arm Ltd.
 */

/dts-v1/;

#include "sun50i-h616.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
    model = "Transpeed 8K618-T";
    compatible = "transpeed,8k618-t", "allwinner,sun50i-h618";

    aliases {
        serial0 = &uart0;
    };

    chosen {
        stdout-path = "serial0:115200n8";
    };

    reg_vcc5v: vcc5v {
        /* board wide 5V supply directly from the DC input */
        compatible = "regulator-fixed";
        regulator-name = "vcc-5v";
        regulator-min-microvolt = <5000000>;
        regulator-max-microvolt = <5000000>;
        regulator-always-on;
    };

    reg_vcc3v3: vcc3v3 {
        /* discrete 3.3V regulator */
        compatible = "regulator-fixed";
        regulator-name = "vcc-3v3";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-always-on;
    };
};

&ehci0 {
    status = "okay";
};

&ehci1 {
    status = "okay";
};

&ir {
    status = "okay";
};

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

&mmc2 {
    vmmc-supply = <&reg_dldo1>;
    vqmmc-supply = <&reg_aldo1>;
    bus-width = <8>;
    non-removable;
    cap-mmc-hw-reset;
    mmc-ddr-1_8v;
    mmc-hs200-1_8v;
    status = "okay";
};

&ohci0 {
    status = "okay";
};

&ohci1 {
    status = "okay";
};

&r_i2c {
    status = "okay";

    axp313: pmic@36 {
        compatible = "x-powers,axp313a";
        reg = <0x36>;
        #interrupt-cells = <1>;
        interrupt-controller;

        vin1-supply = <&reg_vcc5v>;
        vin2-supply = <&reg_vcc5v>;
        vin3-supply = <&reg_vcc5v>;

        regulators {
            reg_aldo1: aldo1 {
                regulator-always-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-name = "vcc-1v8-pll";
            };

            reg_dldo1: dldo1 {
                regulator-always-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vcc-3v3-io-mmc";
            };

            reg_dcdc1: dcdc1 {
                regulator-always-on;
                regulator-min-microvolt = <810000>;
                regulator-max-microvolt = <990000>;
                regulator-name = "vdd-gpu-sys";
            };

            reg_dcdc2: dcdc2 {
                regulator-always-on;
                regulator-min-microvolt = <810000>;
                regulator-max-microvolt = <1100000>;
                regulator-name = "vdd-cpu";
            };

            reg_dcdc3: dcdc3 {
                regulator-always-on;
                regulator-min-microvolt = <1360000>;
                regulator-max-microvolt = <1360000>;
                regulator-name = "vdd-dram";
            };
        };
    };
};

&pio {
    vcc-pc-supply = <&reg_aldo1>;
    vcc-pg-supply = <&reg_dldo1>;
    vcc-ph-supply = <&reg_dldo1>;
    vcc-pi-supply = <&reg_dldo1>;
};

&uart0 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart0_ph_pins>;
    status = "okay";
};

&uart1 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
    uart-has-rtscts;
    status = "okay";
};

&usbotg {
    dr_mode = "host";    /* USB A type receptable */
    status = "okay";
};

&usbphy {
    status = "okay";
};

 

Edited the Makefile in u-boot/arch/arm/dts directory to build the new sun50i-h618-transpeed-8k618-t.dtb.

 

Quote

dtb-$(CONFIG_MACH_SUN50I_H616) += \
    sun50i-h616-orangepi-zero2.dtb \
    sun50i-h618-orangepi-zero3.dtb \
    sun50i-h618-transpeed-8k618-t.dtb \
    sun50i-h616-x96-mate.dtb

 

Now this box boots into Linux version 6.7.0-next-20240111. I used the Debian GNU/Linux 12 (bookworm) rootfs. Edited the /etc/fstab in the rootfs to include /dev/mmcblk0p2. 

 

Quote

U-Boot SPL 2024.01-00832-g697758e7c8-dirty (Jan 15 2024 - 12:59:36 -0500)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.0    (debug):v2.10.0-147-g1c76dd2d6
NOTICE:  BL31: Built : 20:46:22, Jan  6 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a09d478, 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.


U-Boot 2024.01-00832-g697758e7c8-dirty (Jan 15 2024 - 12:59:36 -0500) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: Transpeed 8K618-T
DRAM:  4 GiB
Core:  58 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0, mmc@4022000: 1
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@5101000: 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
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
259 bytes read in 1 ms (252.9 KiB/s)
## Executing script at 4fc00000
43637248 bytes read in 1809 ms (23 MiB/s)
## Flattened Device Tree blob at fbf28490
   Booting using the fdt blob at 0xfbf28490
Working FDT set to fbf28490
   Loading Device Tree to 0000000049ff8000, end 0000000049fff91c ... OK
Working FDT set to 49ff8000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.7.0-next-20240111 (nick@nick-Inspiron-5680) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Thu Jan 11 21:47:39 EST 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Transpeed 8K618-T
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] tf-a@40000000 (0x0000000040000000--0x0000000040040000) overlaps with secmon@40000000 (0x0000000040000000--0x0000000040040000)
[    0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable tf-a@40000000
[    0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable secmon@40000000
[    0.000000] earlycon: uart0 at MMIO32 0x0000000005000000 (options '115200n8')
[    0.000000] printk: legacy bootconsole [uart0] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x13f7e09c0-0x13f7e2fff]
[    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-0x000000004003ffff]
[    0.000000]   node   0: [mem 0x0000000040040000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 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 22 pages/cpu s51368 r8192 d30552 u90112
[    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: console=ttyS0,115200 earlycon root=/dev/mmcblk0p2 rootwait panic=10
[    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 0x00000000fa000000-0x00000000fe000000] (64MB)
[    0.000000] Memory: 3971344K/4194304K available (16768K kernel code, 4662K rwdata, 11172K rodata, 9856K init, 614K bss, 190192K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]     Trampoline variant of Tasks RCU enabled.
[    0.000000]     Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=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.009593] Console: colour dummy device 80x25
[    0.014542] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.024812] pid_max: default: 32768 minimum: 301
[    0.029946] LSM: initializing lsm=capability,integrity
[    0.035698] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.043838] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.053383] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.060845] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.068661] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.077190] rcu: Hierarchical SRCU implementation.
[    0.082454] rcu:     Max phase no-delay instances is 1000.
[    0.089494] EFI services will not be available.
[    0.094702] smp: Bringing up secondary CPUs ...
[    0.099745] Detected VIPT I-cache on CPU1
[    0.099823] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.100358] Detected VIPT I-cache on CPU2
[    0.100403] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.100893] Detected VIPT I-cache on CPU3
[    0.100938] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.101015] smp: Brought up 1 node, 4 CPUs
[    0.138614] SMP: Total of 4 processors activated.
[    0.143526] CPU: All CPU(s) started at EL2
[    0.147779] CPU features: detected: 32-bit EL0 Support
[    0.153353] CPU features: detected: 32-bit EL1 Support
[    0.159005] CPU features: detected: CRC32 instructions
[    0.164610] alternatives: applying system-wide alternatives
[    0.173220] devtmpfs: initialized
[    0.182456] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.192988] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.201367] pinctrl core: initialized pinctrl subsystem
[    0.208656] DMI not present or invalid.
[    0.213535] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.220617] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.228480] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.237111] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.245784] audit: initializing netlink subsys (disabled)
[    0.251792] audit: type=2000 audit(0.152:1): state=initialized audit_enabled=0 res=1
[    0.252860] thermal_sys: Registered thermal governor 'step_wise'
[    0.259946] thermal_sys: Registered thermal governor 'power_allocator'
[    0.266480] cpuidle: using governor menu
[    0.278086] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.285301] ASID allocator initialised with 65536 entries
[    0.292960] Serial: AMBA PL011 UART driver
[    0.300804] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.314632] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.324961] Modules: 21952 pages in range for non-PLT usage
[    0.324967] Modules: 513472 pages in range for PLT usage
[    0.331655] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.344634] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.351090] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.358487] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.365314] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.372754] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.379632] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.387029] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.395485] ACPI: Interpreter disabled.
[    0.401757] iommu: Default domain type: Translated
[    0.406969] iommu: DMA domain TLB invalidation policy: strict mode
[    0.414079] SCSI subsystem initialized
[    0.418189] usbcore: registered new interface driver usbfs
[    0.424190] usbcore: registered new interface driver hub
[    0.429709] usbcore: registered new device driver usb
[    0.435916] pps_core: LinuxPPS API ver. 1 registered
[    0.441073] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.451109] PTP clock support registered
[    0.455335] EDAC MC: Ver: 3.0.0
[    0.459139] scmi_core: SCMI protocol bus registered
[    0.465167] FPGA manager framework
[    0.468941] Advanced Linux Sound Architecture Driver Initialized.
[    0.476621] vgaarb: loaded
[    0.480179] clocksource: Switched to clocksource arch_sys_counter
[    0.487094] VFS: Disk quotas dquot_6.6.0
[    0.491432] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.499156] pnp: PnP ACPI: disabled
[    0.510235] NET: Registered PF_INET protocol family
[    0.515823] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.527181] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.535806] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.543570] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.552513] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.561739] TCP: Hash tables configured (established 32768 bind 32768)
[    0.569020] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.576468] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.584489] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.590568] RPC: Registered named UNIX socket transport module.
[    0.597067] RPC: Registered udp transport module.
[    0.601795] RPC: Registered tcp transport module.
[    0.606959] RPC: Registered tcp-with-tls transport module.
[    0.612980] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.620051] PCI: CLS 0 bytes, default 64
[    0.624727] kvm [1]: IPA Size Limit: 40 bits
[    0.631925] kvm [1]: vgic interrupt IRQ9
[    0.636252] kvm [1]: Hyp mode initialized successfully
[    0.643163] Initialise system trusted keyrings
[    0.648203] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.654974] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.661606] NFS: Registering the id_resolver key type
[    0.667163] Key type id_resolver registered
[    0.671378] Key type id_legacy registered
[    0.675799] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.683159] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.691410] 9p: Installing v9fs 9p2000 file system support
[    0.760570] Key type asymmetric registered
[    0.765069] Asymmetric key parser 'x509' registered
[    0.770019] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.778141] io scheduler mq-deadline registered
[    0.783117] io scheduler kyber registered
[    0.787544] io scheduler bfq registered
[    0.802315] EINJ: ACPI disabled.
[    0.832536] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.842905] msm_serial: driver initialized
[    0.847718] SuperH (H)SCI(F) driver initialized
[    0.852833] STM32 USART driver initialized
[    0.865068] loop: module loaded
[    0.869545] megasas: 07.727.03.00-rc1
[    0.880162] tun: Universal TUN/TAP device driver, 1.6
[    0.886558] thunder_xcv, ver 1.0
[    0.889996] thunder_bgx, ver 1.0
[    0.893563] nicpf, ver 1.0
[    0.897642] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.905573] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.911190] hclge is initializing
[    0.914849] e1000: Intel(R) PRO/1000 Network Driver
[    0.920202] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.926143] e1000e: Intel(R) PRO/1000 Network Driver
[    0.931591] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.938103] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.943850] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.949991] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.956827] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.963609] sky2: driver version 1.30
[    0.968857] VFIO - User Level meta-driver version: 0.3
[    0.977119] usbcore: registered new interface driver usb-storage
[    0.987312] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.992480] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:09 UTC (86409)
[    1.001734] i2c_dev: i2c /dev entries driver
[    1.007194] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    1.016070] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[    1.022904] axp20x-i2c 0-0036: AXP20X driver loaded
[    1.035152] sdhci: Secure Digital Host Controller Interface driver
[    1.041940] sdhci: Copyright(c) Pierre Ossman
[    1.047394] Synopsys Designware Multimedia Card Interface Driver
[    1.054935] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.063003] ledtrig-cpu: registered to indicate activity on CPUs
[    1.069705] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[    1.077830] usbcore: registered new interface driver usbhid
[    1.083949] usbhid: USB HID core driver
[    1.091060] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.104738] NET: Registered PF_PACKET protocol family
[    1.110191] 9pnet: Installing 9P2000 support
[    1.114754] Key type dns_resolver registered
[    1.130319] registered taskstats version 1
[    1.134942] Loading compiled-in X.509 certificates
[    1.160673] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.178472] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    1.187021] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.196218] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    1.206348] printk: legacy console [ttyS0] disabled
[    1.232431] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 284, base_baud = 1500000) is a 16550A
[    1.241790] printk: legacy console [ttyS0] enabled
[    1.241790] printk: legacy console [ttyS0] enabled
[    1.251842] printk: legacy bootconsole [uart0] disabled
[    1.251842] printk: legacy bootconsole [uart0] disabled
[    1.287151] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 285, base_baud = 1500000) is a 16550A
[    1.301696] ehci-platform 5101000.usb: EHCI Host Controller
[    1.304500] ehci-platform 5200000.usb: EHCI Host Controller
[    1.307373] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 1
[    1.308876] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[    1.312249] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    1.312278] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 2
[    1.312476] ohci-platform 5200400.usb: irq 289, io mem 0x05200400
[    1.312887] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 3
[    1.320709] ehci-platform 5101000.usb: irq 286, io mem 0x05101000
[    1.329915] ehci-platform 5200000.usb: irq 287, io mem 0x05200000
[    1.352186] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00
[    1.376879] hub 2-0:1.0: USB hub found
[    1.380191] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.380669] hub 2-0:1.0: 1 port detected
[    1.391409] hub 1-0:1.0: USB hub found
[    1.395186] hub 1-0:1.0: 1 port detected
[    1.399836] hub 3-0:1.0: USB hub found
[    1.403614] hub 3-0:1.0: 1 port detected
[    1.512230] ohci-platform 5101400.usb: Generic Platform OHCI controller
[    1.512376] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[    1.518863] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 4
[    1.524606] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 5
[    1.532402] ohci-platform 5101400.usb: irq 290, io mem 0x05101400
[    1.540632] hub 5-0:1.0: USB hub found
[    1.550021] hub 5-0:1.0: 1 port detected
[    1.562655] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.563238] clk: Disabling unused clocks
[    1.572109] sunxi-mmc 4020000.mmc: Got CD GPIO
[    1.575459] ALSA device list:
[    1.582746]   No soundcards found.
[    1.592199] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.604877] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.608837] hub 4-0:1.0: USB hub found
[    1.617619] hub 4-0:1.0: 1 port detected
[    1.621938] Waiting for root device /dev/mmcblk0p2...
[    1.655426] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.668293] mmc0: new high speed SDXC card at address aaaa
[    1.674405] mmcblk0: mmc0:aaaa SC64G 59.5 GiB
[    1.683780]  mmcblk0: p1 p2
[    1.693941] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.701262] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    1.761725] mmc1: new HS200 MMC card at address 0001
[    1.767542] mmcblk1: mmc1:0001 95D000 58.7 GiB
[    1.775099]  mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25
[    1.788653] mmcblk1boot0: mmc1:0001 95D000 4.00 MiB
[    1.794900] mmcblk1boot1: mmc1:0001 95D000 4.00 MiB
[    1.910872] EXT4-fs (mmcblk0p2): recovery complete
[    1.918648] EXT4-fs (mmcblk0p2): mounted filesystem 976e26ea-55a8-40e7-ab30-39db0d18822c ro with ordered data mode. Quota mode: none.
[    1.930707] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.942242] devtmpfs: mounted
[    1.949138] Freeing unused kernel memory: 9856K
[    1.953800] Run /sbin/init as init process
[    2.547026] systemd[1]: System time before build time, advancing clock.
[    2.586860] systemd[1]: systemd 252.19-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)
[    2.619518] systemd[1]: Detected architecture arm64.

Welcome to Debian GNU/Linux 12 (bookworm)!

[    2.654824] systemd[1]: Hostname set to <LXCNAME>.
[    3.249762] systemd[1]: Queued start job for default target graphical.target.
[    3.275595] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[    3.301608] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-modpr…lice - Slice /system/modprobe.
[    3.329498] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[  OK  ] Created slice system-seria… - Slice /system/serial-getty.
[    3.357228] systemd[1]: Created slice user.slice - User and Session Slice.
[  OK  ] Created slice user.slice - User and Session Slice.
[    3.380523] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-passwo…quests to Console Directory Watch.
[    3.408454] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Started systemd-ask-passwo… Requests to Wall Directory Watch.
[    3.436400] systemd[1]: proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
[    3.455834] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[  OK  ] Reached target cryptsetup.…get - Local Encrypted Volumes.
[    3.480351] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[  OK  ] Reached target integrityse…Local Integrity Protected Volumes.
[    3.508355] systemd[1]: Reached target paths.target - Path Units.
[  OK  ] Reached target paths.target - Path Units.
[    3.528313] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[    3.552294] systemd[1]: Reached target slices.target - Slice Units.
[  OK  ] Reached target slices.target - Slice Units.
[    3.572334] systemd[1]: Reached target swap.target - Swaps.
[  OK  ] Reached target swap.target - Swaps.
[    3.592321] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[  OK  ] Reached target veritysetup… - Local Verity Protected Volumes.
[    3.616750] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[  OK  ] Listening on systemd-fsckd…sck to fsckd communication Socket.
[    3.644486] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-initc… initctl Compatibility Named Pipe.
[    3.669211] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[  OK  ] Listening on systemd-journ…socket - Journal Audit Socket.
[    3.696709] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journ…t - Journal Socket (/dev/log).
[    3.724704] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[  OK  ] Listening on systemd-journald.socket - Journal Socket.
[    3.748908] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[  OK  ] Listening on systemd-netwo… - Network Service Netlink Socket.
[    3.776778] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd….socket - udev Control Socket.
[    3.800588] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[  OK  ] Listening on systemd-udevd…l.socket - udev Kernel Socket.
[    3.840454] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
         Mounting dev-hugepages.mount - Huge Pages File System...
[    3.868272] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
         Mounting dev-mqueue.mountPOSIX Message Queue File System...
[    3.912471] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Mounting sys-kernel-debug.… - Kernel Debug File System...
[    3.936766] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    3.951928] systemd[1]: kmod-static-nodes.service - Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.7.0-next-20240111/modules.devname).
[    3.974639] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@configfs…m - Load Kernel Module configfs...
[    4.004403] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
         Starting modprobe@dm_mod.s…[0m - Load Kernel Module dm_mod...
[    4.032460] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@drm.service - Load Kernel Module drm...
[    4.060478] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@efi_psto…- Load Kernel Module efi_pstore...
[    4.104715] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting modprobe@fuse.ser…e - Load Kernel Module fuse...
[    4.132445] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
         Starting modprobe@loop.ser…e - Load Kernel Module loop...
[    4.160164] systemd[1]: Starting systemd-fsck-root.service - File System Check on Root Device...
         Starting systemd-fsck-root…ile System Check on Root Device...
[    4.208840] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting systemd-journald.service - Journal Service...
[    4.230767] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-modules-l…rvice - Load Kernel Modules..[    4.244649] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
.
         Starting systemd-udev-trig…[0m - Coldplug All udev Devices...
[    4.262144] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[  OK      4.270639] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
0m] Mounted     4.279520] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
1;39mdev-hugepages.mount - H[    4.289236] systemd[1]: modprobe@configfs.service: Deactivated successfully.
uge Pages File S[    4.298329] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
ystem.
[  OK  ] Moun[    4.308972] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
ted dev[    4.317375] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
-mqueue.mountOSIX Messag[    4.327316] systemd[1]: modprobe@drm.service: Deactivated successfully.
e Queue File Sys[    4.335954] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
tem.
[  OK  ] Mounted sys-kernel-debug.m…nt - Kernel Debug File System.
[  OK  ] Finished modprobe@configfs…[0m - Load Kernel Module configfs.
[  OK  ] Finished modprobe@dm_mod.s…e - Load Kernel Module dm_mod.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[    4.393190] systemd[1]: Started systemd-journald.service - Journal Service.
[  OK  ] Started systemd-journald.service - Journal Service.
[  OK  ] Finished modprobe@efi_psto…m - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished modprobe@loop.service - Load Kernel Module loop.
[  OK  ] Finished systemd-fsck-root… File System Check on Root Device.
[  OK  ] Finished systemd-modules-l…service - Load Kernel Modules.
         Mounting sys-kernel-config…ernel Configuration File System...
[  OK  ] Started systemd-fsckd.serv…tem Check Daemon to report status.
         Starting systemd-remount-f…nt Root and Kernel File Systems...
         Starting systemd-sysctl.se…ce - Apply Kernel Variables...
[  OK  ] Mounted sys-kernel-config.… Kernel Configuration File System.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[    4.673243] EXT4-fs (mmcblk0p2): re-mounted 976e26ea-55a8-40e7-ab30-39db0d18822c r/w. Quota mode: none.
[  OK  ] Finished systemd-remount-f…ount Root and Kernel File Systems.
         Starting systemd-journal-f…h Journal to Persistent Storage...
         Starting systemd-random-se…ice - Load/Save Random Seed...
[    4.771955] systemd-journald[109]: Received client request to flush runtime journal.
         Starting systemd-sysusers.…rvice - Create System Users...
[    4.794163] systemd-journald[109]: File /var/log/journal/009b7e596af8477c9a9a1106bdad3d8f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished systemd-sysusers.service - Create System Users.
[  OK  ] Finished systemd-journal-f…ush Journal to Persistent Storage.
         Starting systemd-tmpfiles-…ate Static Device Nodes in /dev...
[  OK  ] Finished systemd-tmpfiles-…reate Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pr…reparation for Local File Systems.
[  OK  ] Reached target local-fs.target - Local File Systems.
         Starting systemd-tmpfiles-… Volatile Files and Directories...
         Starting systemd-udevd.ser…ger for Device Events and Files...
[  OK  ] Finished systemd-udev-trig…e - Coldplug All udev Devices.
[  OK  ] Finished systemd-tmpfiles-…te Volatile Files and Directories.
         Starting systemd-resolved.…e - Network Name Resolution...
         Starting systemd-update-ut…rd System Boot/Shutdown in UTMP...
[  OK  ] Finished systemd-update-ut…cord System Boot/Shutdown in UTMP.
[  OK  ] Started systemd-udevd.serv…nager for Device Events and Files.
[  OK  ] Found device dev-ttyS0.device - /dev/ttyS0.
[    6.424225] random: crng init done
[  OK  ] Finished systemd-random-se…rvice - Load/Save Random Seed.
[  OK  ] Started systemd-resolved.s…ice - Network Name Resolution.
[  OK  ] Reached target nss-lookup.…m - Host and Network Name Lookups.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.… apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timeretadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused blocks once a week.
[  OK  ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Listening on dbus.socket-Bus System Message Bus Socket.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
         Starting systemd-logind.se…ice - User Login Management...
         Starting systemd-user-sess…vice - Permit User Sessions...
[  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Started getty@tty1.service - Getty on tty1.
[  OK  ] Started serial-getty@ttyS0…rvice - Serial Getty on ttyS0.
[  OK  ] Reached target getty.target - Login Prompts.
[  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Reached target multi-user.target - Multi-User System.
[  OK  ] Reached target graphical.target - Graphical Interface.
         Starting systemd-update-ut… Record Runlevel Change in UTMP...
[  OK  ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.

Debian GNU/Linux 12 LXCNAME ttyS0

LXCNAME login: 
 

 

Patches have been submitted to the u-boot repo. Hopefully they will be accepted soon. 

 

Link to comment
Share on other sites

I was able to compile a custom Armbian image for the Transpeed 8k618-T TV Box.

 

I added a patch for HDMI and it seems to work ok.

 

Still working on WIFI.  The HK2735M wifi chip is compatible to the bcm4335. the Linux
driver is brcmfmac, controlled by kernel config CONFIG_BRCMFMAC_SDIO and
CONFIG_BRCMFMAC. The driver expects the firmware files under
/lib/firmware/brcm. 

 

If you want to build your own image or view the patches you can find it here.

https://github.com/NickAlilovic/build

 

I like to thank Andre Przywara. I would not of been able to get this far without his help.

Edited by Nick A
Link to comment
Share on other sites

I found the wifi firmware needed for this box. Download and rename the file to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Place it in /lib/firmware/brcm.

https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin

 

Also needs the brcmfmac4335-sdio.txt. No need to rename it just place it in /lib/firmware/brcm.

https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt

 

 

Edited by Nick A
Link to comment
Share on other sites

Hi Nick,

I just wanted to say thanks for all of your recent posts. Everything you've done has helped me get my TANIX TX68 H618 4GB DDR3 64GB eMMC Android TV up & running under Armbian. The main difference I can see is that my WiFi chip is running AllWinner's AW869A chip. Like you, my immediate need is to get the WiFi working and break out a monitor and see if HDMI is functional. Just a +1 that your GitHub repo was spot-on and I chose what I thought were all the right settings to get me started.

Vendor:         Armbian-unofficial
Revision:       24.2.0-trunk
Board:          Transpeed-8k618-t
Kernel:         Linux 6.7.2 (edge)
Build date:     28.01.2024

Link to comment
Share on other sites

Hi Mag911

Awesome, I was hoping my posts would help others with boxes based on the H618. Like ag123 pointed out. There are a lot of boxes that are similar but with different configurations. If I can post enough information and steps on how to setup these boxes we can get enough of them up and running. These boxes are now adding more RAM and larger eMMC's. I think it's a good time to support Armbian development on TV boxes. The original Android that came with this box was very basic. It wouldn't allow me to install most the apps I wanted. So I decided to hack it. 

Is HDMI and WIFI now working on your box?

Edited by Nick A
Link to comment
Share on other sites

Hi all,

 

I have been working on the Orange Pi Zero 2, Zero 2W, Zero 3, and Sipeed Longan Pi 3H (all from the H61X) family.

 

@Nick A just introduced me to this thread, I didn't realise this was even here.. but great to have more people looking at these SoCs.

Thanks for posting the image of the TV box open @rick0cm, I couldn't find many good photos of it online. It's a pretty interesting device for the price!

Link to comment
Share on other sites

Most of the patches were taken from orangepi zero3 with very minimal changes. Andre Przywara gave me his transpeed-8k618-t_defconfig. The DRAM settings were the same as mine. He knew more about the config options than I do. So I kept his defconfig. He also gave me the code in dts to get wifi working.

 

        wifi_pwrseq: wifi_pwrseq {
                compatible = "mmc-pwrseq-simple";
                clocks = <&rtc CLK_OSC32K_FANOUT>;
                clock-names = "ext_clock";
                pinctrl-0 = <&x32clk_fanout_pin>;
                pinctrl-names = "default";
                reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */
        };


&mmc1 {
        vmmc-supply = <&reg_dldo1>;
        vqmmc-supply = <&reg_aldo1>;
        mmc-pwrseq = <&wifi_pwrseq>;
        bus-width = <4>;
        non-removable;
        status = "okay";

        sdio_wifi: wifi@1 {
                reg = <1>;
        };
};

 

 This requires an addition to the h616.dtsi file, at the end of the
"pio: pinctrl@300b000" node, to introduce the CLK fanout pin:

                        x32clk_fanout_pin: x32clk-fanout-pin {
                                pins = "PG10";
                                function = "clock";
                        };     

 

Here's a irc chat log of Andre and Jernej talking about the transpeed wifi. A lot of good information in these chats. 

https://oftc.irclog.whitequark.org/linux-sunxi/2023-12-14

Link to comment
Share on other sites

3 hours ago, heiko910 said:

Hi Nick A,

I am not sure if I will be able to build my own Armbian that will work but would you be willing to share your built?

Thanks


Hi @heiko910, welcome to the forum!

I can generate a build off Nick A's branch and give you a link for testing, but it comes with no guarantees as it's a test image that is in active development :)


Always good to have more people willing to test :)

Link to comment
Share on other sites

I have posted two builds here from @Nick A's GitHub repo, make sure you mention what build you're using when testing so @Nick A can make effective use of the feedback.

https://armdev.pixeldrift.net/transpeed/8k618-t/
 

Nick A's repository in GitHub:
https://github.com/NickAlilovic/build


They are date/time stamped based on the last commit to the repo at build time, so you probably want the latest one (20240202) but I will let @Nick A comment on that :)

Link to comment
Share on other sites

After you flashed the image to your sdcard. Remember to rename the wifi firmware "brcmfmac4335-sdio.bin" to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Then copy both "brcmfmac4335-sdio.transpeed,8k618-t.bin" and "brcmfmac4335-sdio.txt" to /lib/firmware/brcm directory on your sdcard. I'll automate the process in future builds. 

 

https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin and https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt

Edited by Nick A
Link to comment
Share on other sites

So it appears the builds I have uploaded aren't booting according to @Nick A's testing, so let us figure out why that is before anyone tests these images.. I unfortunately don't have hardware for testing these images, unlike the Orange Pi boards.

Link to comment
Share on other sites

No they boot fine... I was building mostly Desktop images. But it would be great to have both Desktop and Server images. I prefer Desktop because I want to get the most out of this TV Box. Hopefully, after we are done we can have decent Hardware acceleration. Using the V4L2.  

Edited by Nick A
Link to comment
Share on other sites

Yes! That is what I was looking at right now. Thanks iun cuim. I was stuck on the 100mbps ethernet. But it seems Warpme got it working. So I'm going to focus on his patches and see if I can get Transpeed working on Armbian. I got this TV Box a month ago and I didn't know Warpme already did most of the hard work. 

Edited by Nick A
Link to comment
Share on other sites

I had a quick chat to @Nick A and confirmed the images work, but we needed a desktop image for others here to test.
 

I just built a Debian XFCE desktop image and it's now also available from here (a little bit bigger than the previous server images)
https://armdev.pixeldrift.net/transpeed/8k618-t/

If you are finding this post through a random Internet search, please register for the forum and get involved with some testing and feedback by letting us know if it worked for you :)

Link to comment
Share on other sites

Has anyone got information on this slightly different Transpeed variant (M98-8K)?
https://www.aliexpress.com/item/1005006078280236.html

Apparently it's also H618 based, but advertised as Android 13 with a different case without the clock on the front (but most other specs look the same). Would be interesting to see if this board is the same internally and would also work with the same images being built here.

 

If you have this TV box or have photos of the insides, please let us know!

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