Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

x96q h313

Featured Replies

The second box. I received both with a non-working native Android. Under armbian built-in mmc is read only, I could not mount "boot" partition (unknown fs type?), so I did not manage to extract original android dts. What am I doing wrong?

20250423_131742.jpg

Goodmorning, I have a Q plus TV Box with the chip Allwinner H616 v2.0 in configuration RAM: 4GB eMMC: 64GB . This is what is written on the box, but not completely trusted because was said also H6, instead of H616 that's actually is. These are some images of the pcb. I have tried to flash some random armbian, but nothing seems to work. From ttl serial this is a part of log, and I don't know why is found only 1GB of DRAM.

https://i.ibb.co/1GSbZdRg/20250813-083105.jpg

https://i.ibb.co/rG4zZ0s6/20250813-083122.jpg
 

 

Which armbian you suggest to try out? If I start with pressing "UBOOT" button nothing appears on Serial console.

Thanks in advance to all who could help me ;)

 

[344]DRAM BOOT DRIVE INFO: V0.645
[347]the chip id is 0x5000
[350]chip id check OK
[354]DRAM_VCC set to 1500 mv
[357]DRAM CLK =648 MHZ
[359]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[366]Actual DRAM SIZE =1024 M
[369]DRAM SIZE =1024 MBytes, para1 = 30eb, para2 = 4000000, dram_tpr13 = 6041
[378]DRAM simple test OK.
[380]rtc standby flag is 0x0, super standby flag is 0x0
[386]boot0 Nand0 clk: 10MHz,PERI=600,N=4,M=15,T=10
[391]boot0 Nand Ecc clk: 20MHz,PERI=600,N=2,M=15,T=20
[396]NB0 : nand phy init ok
[399]block from 4 to 11
[658]Check is correct.
[660]OLD version: 0.0
[663]NEW version: 0.0
[738]load rotpk hash
[801]load monitor-key hash
[803]load monitor hash
[1007]load boot-key hash
[1009]load boot hash
[1075]load vbmeta-key hash
[1077]load vbmeta hash
[1144]load recovery-key hash
[1147]load recovery hash
[1151]monitor entry=0x48000000
[1153]uboot entry=0x4a000000
[1156]optee entry=0x48600000
[1161]run out of boot0
NOTICE:  BL3-1: v1.0(debug):be96482
NOTICE:  BL3-1: Built : 18:32:32, 2021-04-21
NOTICE:  BL3-1 commit: 8
NOTICE:  cpuidle init version V1.0
NOTICE:  secure os exist
MESSAGE: [0x0] TEE-CORE: OP-TEE version: 5c40397e #1 Tue Feb  2 07:45:37 UTC 2021 arm
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
NOTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05 (Oct 25 2021 - 08:42:07 +0800) Allwinner Technology

[01.251]CPU:   Allwinner Family
[01.253]Model: sun50iw9
I2C:   ready
[01.258]DRAM:  1 GiB
[01.261]Relocation Offset is: 35ec5000
[01.296]secure enable bit: 1
[01.299]pmu_axp152_probe pmic_bus_read fail
[01.303]PMU: AXP1530
[01.309]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz

 

11 minutes ago, Nick A said:

try the transpeed or x98h image

Thank you, will try asap.

 

11 minutes ago, Nick A said:

You might need to enable secure boot.

How can I do? 

Do you think is useful also 01_dtbdump_,sun50iw9.dtb that I have extracted through adb shell?

Edited by mdidis

https://github.com/NickAlilovic/build/releases/

[01.296]secure enable bit: 1

I see this in your android log so I believe you have to enable secure boot.


If the images don’t boot. These are the steps to enable secure boot for tanix_tx6s_axp313. (Link below)

[01.303]PMU: AXP1530

You have a axp313a so transpeed, x98h and tanix might work for you.

 

[359]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
Transpeed, x98h and tanix use ddr3

 

If emmc or wifi do not work. You can use your android dts to find the gpio numbers. You might also need to take a picture of your wifi chip.

 

 

Edited by Nick A

20 hours ago, Nick A said:

If the images don’t boot. These are the steps to enable secure boot for tanix_tx6s_axp313. (Link below)

Thanks. I have tried and compiled image, but when I boot with SD card nothing appears, and Serial interface seems that disconnects. I have tried both with "uboot" button pressed and not.

 

These are, I think, the gpio you asked

		gpio_encrypt {
			compatible = "allwinner,gpio_encrypt";
			gpio_number_sun = <0x05>;
			gpio1_value = <0x00>;
			gpio2_value = <0x01>;
			gpio3_value = <0x01>;
			gpio4_value = <0x01>;
			gpio5_value = <0x01>;
			gpio1_pin = <0x53 0x08 0x0d 0x01 0xffffffff 0xffffffff 0x00>;
			gpio2_pin = <0x53 0x08 0x09 0x01 0xffffffff 0xffffffff 0x00>;
			gpio3_pin = <0x53 0x08 0x01 0x01 0xffffffff 0xffffffff 0x00>;
			gpio4_pin = <0x53 0x07 0x06 0x01 0xffffffff 0xffffffff 0x00>;
			gpio5_pin = <0x53 0x07 0x07 0x01 0xffffffff 0xffffffff 0x00>;
			status = "okay";
			linux,phandle = <0x17d>;
			phandle = <0x17d>;
		};  

or these ones?
 

		boot_init_gpio {
			device_type = "boot_init_gpio";
			status = "okay";
			gpio0 = <0x53 0x08 0x0b 0x01 0xffffffff 0xffffffff 0x00>;
			gpio1 = <0x53 0x08 0x0c 0x01 0xffffffff 0xffffffff 0x01>;
			gpio2 = <0x53 0x08 0x0e 0x01 0xffffffff 0xffffffff 0x00>;
		};

 

@mdidisDid you compile with the secure boot patch? Because it sounds like that’s your issue. If secure boot is not enabled you won’t get any output from your serial interface.

 

post your dts. I’ll tell you the correct gpio for wifi and emmc.

 

 

Hello friends, in general, a friend gave me an x96q TV set-top box, I want to install armbian on it and then install klipper and use it on my 3d printer, I'm not good at this, maybe someone can help

IMG_20260210_175311.jpg

Hello!

I had motherboard BA839_141 V2.0 21021 with this type hardware on the photos.

Allwinner H313, 8x D9PSC, Toshiba THGBM5G7A2JBAIR

 

And i want use it only with non graphical linux, can someone help me, because i don't see anywhere images for this one, and the other ones only give me black screen. Device won't start with microSD card.IMG_20260315_221722682_MFNR.thumb.jpg.9109831ff828cd77bd03554eac702161.jpg

I have 3 Aceline AG-216 consoles. Help me find the right image for her. QHZIW_H313_A3_2LP4.  V2.0   20240603

 

EA6521QF 2+16G

 

Edited by YouMorist

Has anybody armbian image for X96Q v5.1 with Secure Boot? 

Edited by drik

@Nick A I followed your instruction 
>

CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y

 

To generate a TOC0 image from a binary, you will need an RSA key (pair) file. As most secure-boot enabled devices do not burn the VENDOR_ID eFUSE, you can use any RSA key, so just generate one, for instance with the openssl tool (would only need to be done once):

openssl genrsa -out root_key.pem

 

Your root_key.pem needs to be in the u-boot root directory. 


and compiled uboot and ran it through sunxi-fel tool.

 

I am getting this error

> "SPL: eGON header is not found"

 

Do you have any idea?

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.