Jump to content

Recommended Posts

Posted (edited)

Hi @Nick A, good afternoon!
Yes, I tested them — I tried all three ISOs you shared. I'm sending you the UART logs from two of them: the one you specifically asked me to test and the MiniArch one.

The one you asked me to try throws a DRAM error, while the MiniArch image actually boots — maybe because it’s configured for eMCP.

log_miniarch.txt log_armbian_unofficial.txt

Edited by Aleqssandro Farias
Posted

Hi @Nick A,

This ISO you sent has the same UART log error as the previous one. Here's the log:

"

U-Boot SPL 2025.01-armbian-2025.01-S6d41-P7151-H8869-V98f7-Bb703-R448a-dirty (Apr 02 2025 - 21:19:05 -0400)
DRAM: testing 32-bit width, rank = 2
read calibration failed!
testing 32-bit width, rank = 1
read calibration failed!
testing 16-bit width, rank = 2
read calibration failed!
testing 16-bit width, rank = 1
read calibration failed!
This DRAM setup is currently not supported.

resetting ...

"

Right now, the only image that boots properly is the MiniArch one.

Posted (edited)

Good afternoon @Nick A

 

I managed to make some progress with the ISO you envy. I extracted the DTB used in MiniArch (which worked on the IK316 TV box) and replaced the DTB in its ISO. However, I noticed that the same error persisted.

So, I decided to change the bootloader using the following commands:

Extracted the working bootloader:


$ dd if=MiniArch-20240715-6.14.0-board-h616.tanix_tx6s_axp313-SD-Image.img of=u-boot-sunxi-with-spl.bin bs=1024 skip=8 count=1016

 

So I injected it into the ISO that you envied me:

 

$ dd if=u-boot-sunxi-with-spl.bin of=Armbian-unofficial_25.05.0-trunk_Tanix-tx6s-axp313_bookworm_edge_6.12.11.img bs=1024 seek=8 conv=notrunc

 

After that, I got a new log and the TV Box booted, but I believe Armbian didn't start properly — it seems to take me to the U-Boot console. Here's the full log:

 

"

U-Boot SPL 2025.01 (24 de março de 2025 - 21:02:39 +0100)
DRAM: 1024 MiB
Tentando inicializar a partir do MMC1
AVISO: BL31: v2.10.0 (depuração):v14.0.0-98-gde86a8ab6
AVISO: BL31: Compilado: 01:02:27, 19 de março de 2025
AVISO: BL31: SoC Allwinner H61 detectado (1823)
AVISO: BL31: DTB U-Boot encontrado em 0x4a0b0f80, modelo: Tanix TX6s (axp313)
INFO: Driver ARM GICv2 inicializado
INFO: Configurando o driver SPC
INFO: PMIC: Sondando AXP305 sem RSB
ERRO: RSB: tempo de execução definido endereço: 0x10003
INFO: Não foi possível inicializar RSB: -65539
INFO: BL31: Configuração da plataforma concluída
INFO: BL31: Inicializando serviços de tempo de execução
INFO: BL31: cortex_a53: Solução alternativa da CPU para a errata 855873 foi aplicada
INFO: BL31: cortex_a53: solução alternativa da CPU para a errata 1530924 foi aplicada
INFO: PSCI: Suspender não está disponível
INFO: BL31: Preparando para saída EL3 para o mundo normal
INFO: Endereço do ponto de entrada = 0x4a000000
INFO: SPSR = 0x3c9
INFO: Árvore de dispositivos alterados.


U-Boot 2025.01 (24 de março de 2025 - 21:02:39 +0100) Tecnologia Allwinner

CPU: Allwinner H616 (SUN50I)
Modelo: Tanix TX6s (axp313)
DRAM: 1 GiB
Núcleo: 58 dispositivos, 20 uclasses, devicetree: separado
WDT: Não iniciando watchdog@30090a0
MMC: mmc@4020000: 0, mmc@4021000: 3, mmc@4022000: 1
Carregando ambiente do FAT... Não é possível usar mmc 0:1...
Entrada: serial@5000000
Saída: serial@5000000
Erro: serial@5000000
Nenhum dispositivo USB encontrado
Rede: Não foi possível obter PHY para ethernet@5030000: endereço 16
Nenhuma ethernet encontrada.

iniciando USB...
Nenhum driver USB encontrado
Pressione qualquer tecla para parar a inicialização automática: 0
alternativa para partições #0, OK
mmc0 é o dispositivo atual
Verificando mmc 0:1...
Encontrado /boot/extlinux/extlinux.conf
Recuperando arquivo: /boot/extlinux/extlinux.conf
1: MiniArch
Recuperando arquivo: /boot/Image
Recuperando arquivo: /boot/initrd.img
append: root=/dev/mmcblk0p1 rootwait console=ttyS0,115200 panic=10
Recuperando arquivo: /boot/dtbs/allwinner/sun50i-h616-tanix-tx6s-axp313. dtb
Movendo imagem de 0x40080000 para 0x40200000, end=0x420b0000
## Blob da árvore de dispositivos achatada em 4fa00000
   Inicializando usando o blob fdt em 0x4fa00000
FDT de trabalho definido como 4fa00000
   Carregando Ramdisk para 49853000, fim 49fffc5e ... OK
   Carregando Árvore de Dispositivos para 0000000049848000, fim 00000000498524af ... OK
FDT de trabalho definido como 49848000

Iniciando o kernel...

:: Executando o gancho inicial [udev]
Iniciando o systemd-udevd versão 253-1-arch
:: Executando o gancho [udev]
:: Disparando uevents...
:: Executando o gancho [mapa de teclas]
:: Carregando o mapa de teclas...kbd_mode: KDSKBMODE: ioctl inadequado para o dispositivo
completo.
:: montando '/dev/mmcblk0p1' na raiz real
: executando o gancho de limpeza [udev]
ERRO: Dispositivo raiz montado com sucesso, mas /sbin/init não existe.
Saindo do controle, você está por conta própria. Boa sorte.

sh: não é possível acessar tty; controle de tarefas desativado
[rootfs]#


"

 

It looks like the root device was mounted correctly, but it couldn't find /sbin/init, so the system couldn't continue booting.

Let me know if you have any suggestions or if you want me to try something else.

Edited by Aleqssandro Farias
Posted

@Nick A I’m using the MiniArch image that was shared here on the forum. From it, I extracted the DTBs, Image, and other boot files, and replaced them in the Armbian image.

I also took the bootloader from the MiniArch image and replaced the one in Armbian.

With that, I managed to boot into Armbian, but unfortunately, no network adapters were detected.

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