X96Q

From linux-sunxi.org
Jump to navigation Jump to search
X96Q
UnknownVendor-X96Q-TopSide.jpg
Manufacturer Unknown
Dimensions 88mm x 88mm x 19mm
Release Date Month 2020
Website Device Product Page
Specifications
SoC H313 @ 1.344Ghz
DRAM 2GiB DDR3 @ 600MHz
NAND 16GB
Power DC 5V @ 2A, Jack
Features
LCD None
Touchscreen None
Video HDMI (Type A - full), VGA
Audio 3.5mm AV plug, HDMI
Network WiFi 802.11 b/g/n (Manufacturer device), 10/100Mbps Ethernet (Manufacturer device)
Storage µSD
USB 1 x USB2.0 Host, 1 x USB2.0 OTG
Other Bluetooth 4+

This page needs to be properly filled according to the New Device Howto and the New Device Page guide.

If a device is special, then feel free to provide a terse description of what makes this device so special. But terse, no novels, no marketing blurb.

Identification

This section explains how to most easily identify your device. For a development board, explain the name(s) printed on the board. For an android device, find out the strings as reported under settings.

On the back of the device, the following is printed:

TT TV BOX
MODEL: X96Q
DC IN: 5V - 2.0A
RAM: 2G
ROM: 16G
CE, FCC, RoHS, Made in China

The PCB has the following silkscreened on it:

BA301-141 V3.0 20162

In android, under Settings->About Tablet, you will find:

  • Model Number: X96Q
  • Build Number: X96Q_20200721-1536

Sunxi support

Current status

Give a brief overview of the current status of support under sunxi here.

Images

Optional. Add MANUFACTURER DEVICE specific sunxi ROM images here. E.g. a livesuit image or some other linux image which uses linux-sunxi code. Do not put non-sunxi images here, they should live under See also. If no sunxi based images are available, this section can be removed.

HW-Pack

Optional. Add MANUFACTURER DEVICE sunxi HW-pack specifics here. When empty, this section can be removed.

BSP

Optional. Add MANUFACTURER DEVICE sunxi BSP specifics here. When empty, this section can be removed.

Manual build

You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.

U-Boot

Sunxi/Legacy U-Boot

Use the MANUFACTURER_DEVICE build target.

Mainline U-Boot

Use the MANUFACTURER_DEVICE build target.

Linux Kernel

Sunxi/Legacy Kernel

Use the MANUFACTURER_DEVICE.fex file.

Mainline kernel

Use the FAMILY-CHIP-DEVICE.dtb device-tree binary.

Tips, Tricks, Caveats

Add MANUFACTURER DEVICE specific tips, tricks, Caveats and nice to have changes here.

FEL mode

The something button triggers FEL mode.

Device specific topic

If there are no further device specific topics to add, remove these sections.

...

Adding a serial port (voids warranty)

X96Q UART pads

This section explains how to attach a serial port to the device. Make sure it refers to our UART howto. For a development board, you can just mention how to find the header with the pins and include a picture, and you can remove the warranty voiding warning.

Device disassembly

There are not screws securing the lid. Pry the bottom lid with a plastic tool. There are 2 locks on each of the sides. Inside there are 3 screws holding the PCB on the top side of the box.

Locating the UART

RX,TX,GND signals are easy to locate as they are marked at the bottom of the board. The pin pitch is unfortunately 2.0mm, so 2.54mm header cannot be used. The device communicates on 115200baud, The logic signals uses 3.3V level.
For general information about serial communication see the UART howto.

Boot with factory firmware

[65]HELLO! BOOT0 is starting May 13 2020 14:05:42!
[70]BOOT0 commit : 593cf83
[72]set pll start
[75]periph0 has been enabled
[78]set pll end
[80]unknow PMU
[81]PMU: AXP806
[88]vaild para:8  select dram para0
[92]board init ok
[93]DRAM BOOT DRIVE INFO: V0.52
[97]the chip id is 0x5c00
[99]chip id check OK
[101]DRAM_VCC set to 1500 mv
[105]read_calibration error
[109]read_calibration error
[113]read_calibration error
[117]read_calibration error
[121]read_calibration error
[125]read_calibration error
[129]read_calibration error
[133]read_calibration error
[137]read_calibration error
[141]read_calibration error
[144]retraining final error
[151][AUTO DEBUG]32bit,1 ranks training success!
[158]DRAM CLK =600 MHZ
[160]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[167]Actual DRAM SIZE =2048 M
[169]DRAM SIZE =2048 MBytes, para1 = 30fb, para2 = 8000000, dram_tpr13 = 6041
[183]DRAM simple test OK.
[185]rtc standby flag is 0x0, super standby flag is 0x0
[191]dram size =2048
[193]*****dram handle ok****
[196]card no is 2
[198]sdcard 2 line count 8
[201][mmc]: mmc driver ver 2019-12-19 10:41
[205][mmc]: set f_max to 50M, set f_max_ddr to 50M
[210][mmc]: mmc 2 bias 4
[218][mmc]: ***Try MMC card 2***
[257][mmc]: MMC 5.0
[259][mmc]: HSDDR52/DDR50 8 bit
[262][mmc]: 50000000 Hz
[264][mmc]: 15028 MB
[267][mmc]: ***SD/MMC 2 init OK!!!***
[332]Loading boot-pkg Succeed(index=0).
[336]Entry_name        = u-boot
[345]Entry_name        = monitor
[349]Entry_name        = dtb
[353]tunning data addr:0x4a0003e8
[356]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):9fecd83
NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
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-00003-gb6e8ff6-dirty (Jul 21 2020 - 10:23:22 +0800) Allwinner Technology

[00.436]CPU:   Allwinner Family
[00.439]Model: sun50iw9
I2C:   ready
[00.443]DRAM:  2 GiB
[00.446]Relocation Offset is: 75ec5000
[00.488]secure enable bit: 0
[00.490]pmu_axp152_probe pmic_bus_read fail
[00.494]PMU: AXP806
[00.498]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.507]drv_disp_init
[00.537]__clk_enable: clk is null.
[00.543]drv_disp_init finish
[00.545]gic: sec monitor mode
[00.573]flash init start
[00.576]workmode = 0,storage type = 2
[00.579]MMC:     2
[00.580]get mem for descripter OK !
[00.590]get sdc2 sdc_boot0_sup_1v8 fail.
[00.594]io is 1.8V

[00.646]already at HSSDR52_SDR25 mode
[00.649]sunxi flash init ok
[00.652]Loading Environment from SUNXI_FLASH... OK
[00.662]usb burn from boot
delay time 0
weak:otg_phy_config
[00.675]usb prepare ok
[01.478]overtime
[01.482]do_burn_from_boot usb : no usb exist
[01.486]boot_gui_init:start
FAT: Misaligned buffer address (bbe839d8)
32 bytes read in 4 ms (7.8 KiB/s)
[01.766]boot_gui_init:finish
[01.770]bmp_name=bootlogo.bmp
3686456 bytes read in 22 ms (159.8 MiB/s)
[01.805]hsddr 2-50000000
[01.807]hs200 5-200000000
[01.809]hs400 4-150000000
[01.812]get max-frequency ok 100000000 Hz
[01.815]0 0 0: 0 0 0
[01.820]update dts
** Unrecognized filesystem type **
[01.830]load file(ULI/factory/rootwait init.txt) error.
** Unrecognized filesystem type **
[01.842]load file(ULI/factory/snum.txt) error.
[01.846]name in map mac
** Unrecognized filesystem type **
[01.856]load file(ULI/factory/wifi_mac.txt) error.
** Unrecognized filesystem type **
[01.868]load file(ULI/factory/bt_mac.txt) error.
** Unrecognized filesystem type **
[01.880]load file(ULI/factory/selinux.txt) error.
** Unrecognized filesystem type **
[01.892]load file(ULI/factory/specialstr.txt) error.
[01.902]update part info
[01.920]update bootcmd
[01.922]No ethernet found.
Hit any key to stop autoboot:  0
[02.104]Starting kernel ...

[02.107]mmc exit start
[02.154]mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (yxt-rd01@yxtrd01-Super-Server) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 SMP PREEMPT Tue Jul 21 11:04:46 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.027901] BOOTEVENT:        27.884165: ON
[    0.262662] sunxi_i2c_probe()2209 - [i2c3] warning: failed to get regulator id
[    0.263759] sunxi_i2c_probe()2209 - [i2c5] warning: failed to get regulator id
[    0.319298] sunxi_i2c_do_xfer()1935 - [i2c3] incomplete xfer (status: 0x20, dev addr: 0x10)
[    0.319586] sunxi_i2c_do_xfer()1935 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x10)
[    0.320052] [ac200] get ave_regulator_name failed!
[    0.320703] [ac200] pwm enable
[    0.409254] failed to get standby led pin assign
[    0.414852] uart uart1: get regulator failed
[    0.448843] [NAND][NE] Not found valid nand node on dts
[    0.457487] sunxi-wlan soc@03000000:wlan: get gpio chip_en failed
[    0.464443] sunxi-wlan soc@03000000:wlan: get gpio power_en failed
[    0.598345] hci: request ohci1-controller gpio:232
[    0.789733] axp2101_pek: axp2101-pek can not register without irq
[    0.800187] sunxi_ir_startup: get ir protocol failed
[    0.808661] VE: get debugfs_mpp_root is NULL, please check mpp
[    0.808661]
[    0.817033] VE: sunxi ve debug register driver failed!
[    0.817033]
[    0.833096] mmc:failed to get gpios
[    0.910947] mmc:failed to get gpios
[    0.946610] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    0.953483] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    0.960358] [sunxi_internal_codec_probe]:get audio vcc3v3-audio failed
[    0.964422] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.965245] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.966065] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.966888] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.992373] [audio-codec]dachpf_cfg configurations missing or invalid.
[    0.999743] lineout_vol:26, linein_gain:3, fmin_gain:3, digital_vol:0, adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf_cfg:0, ramp_func_used:1, pa_msleep_time:160, pa_ctl_level:0, gpio-spk:0
[    1.024508] sndhdmi sndhdmi: ASoC: CPU DAI (null) not registered
[    1.031312] sndhdmi sndhdmi: snd_soc_register_card() failed: -517
[    1.040865] sunxi-ahub-cpudai 5097000.cpudai3-controller: ahub cpudai id invalid
[    1.076243] ERROR: pinctrl_get for HDMI2.0 DDC fail
[    1.086610] tv_probe()1435 - of_property_read_string tv_power failed!
[    1.173836] cpu cpu1: opp_list_debug_create_link: Failed to create link
[    1.181366] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.188984] cpu cpu2: opp_list_debug_create_link: Failed to create link
[    1.196450] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.204051] cpu cpu3: opp_list_debug_create_link: Failed to create link
[    1.211503] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.683210] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1
[    1.683210]
[    1.701337] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:dalvik_prop:s0 tclass=property_service permissive=1
[    1.701337]
[    2.553885] FAT-fs (mmcblk0p15): bogus number of reserved sectors
console:/ $ [    3.470941] apexd: Failed to walk /product/apex : Can't open /product/apex for reading : No such file or directory
[   18.194097] sunxi-gmac gmac1 eth0: Initialize hardware error
[   32.214046] apexd: Can't open /product/apex for reading : No such file or directory

Power-on with Reset button pressed

[91]HELLO! BOOT0 is starting May 13 2020 14:05:42!
[95]BOOT0 commit : 593cf83
[98]set pll start
[101]periph0 has been enabled
[104]set pll end
[106]unknow PMU
[107]PMU: AXP806
[114]vaild para:8  select dram para0
[118]board init ok
[120]DRAM BOOT DRIVE INFO: V0.52
[123]the chip id is 0x5c00
[126]chip id check OK
[128]DRAM_VCC set to 1500 mv
[132]read_calibration error
[136]read_calibration error
[140]read_calibration error
[144]read_calibration error
[148]read_calibration error
[152]read_calibration error
[156]read_calibration error
[160]read_calibration error
[164]read_calibration error
[168]read_calibration error
[171]retraining final error
[178][AUTO DEBUG]32bit,1 ranks training success!
[185]DRAM CLK =600 MHZ
[187]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[193]Actual DRAM SIZE =2048 M
[196]DRAM SIZE =2048 MBytes, para1 = 30fb, para2 = 8000000, dram_tpr13 = 6041
[209]DRAM simple test OK.
[212]rtc standby flag is 0x0, super standby flag is 0x0
[217]dram size =2048
[219]*****dram handle ok****
[223]card no is 2
[225]sdcard 2 line count 8
[228][mmc]: mmc driver ver 2019-12-19 10:41
[232][mmc]: set f_max to 50M, set f_max_ddr to 50M
[237][mmc]: mmc 2 bias 4
[245][mmc]: ***Try MMC card 2***
[275][mmc]: MMC 5.0
[277][mmc]: HSDDR52/DDR50 8 bit
[280][mmc]: 50000000 Hz
[282][mmc]: 15028 MB
[284][mmc]: ***SD/MMC 2 init OK!!!***
[349]Loading boot-pkg Succeed(index=0).
[353]Entry_name        = u-boot
[363]Entry_name        = monitor
[367]Entry_name        = dtb
[370]tunning data addr:0x4a0003e8
[374]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):9fecd83
NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
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-00003-gb6e8ff6-dirty (Jul 21 2020 - 10:23:22 +0800) Allwinner Technology

[00.453]CPU:   Allwinner Family
[00.456]Model: sun50iw9
I2C:   ready
[00.460]DRAM:  2 GiB
[00.463]Relocation Offset is: 75ec5000
[00.505]secure enable bit: 0
[00.508]pmu_axp152_probe pmic_bus_read fail
[00.512]PMU: AXP806
[00.516]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.524]drv_disp_init
[00.555]__clk_enable: clk is null.
[00.561]drv_disp_init finish
[00.563]gic: sec monitor mode
[00.594]flash init start
[00.596]workmode = 0,storage type = 2
[00.599]MMC:     2
[00.601]get mem for descripter OK !
[00.610]get sdc2 sdc_boot0_sup_1v8 fail.
[00.614]io is 1.8V

[00.657]already at HSSDR52_SDR25 mode
[00.660]sunxi flash init ok
[00.664]Loading Environment from SUNXI_FLASH... OK
[00.673]usb burn from boot
delay time 0
weak:otg_phy_config
[00.686]usb prepare ok
[01.489]overtime
[01.493]do_burn_from_boot usb : no usb exist
[01.497]boot_gui_init:start
FAT: Misaligned buffer address (bbe839d8)
32 bytes read in 4 ms (7.8 KiB/s)
[01.777]boot_gui_init:finish
[01.781]bmp_name=bootlogo.bmp
3686456 bytes read in 22 ms (159.8 MiB/s)
[01.816]hsddr 2-50000000
[01.818]hs200 5-200000000
[01.820]hs400 4-150000000
[01.823]get max-frequency ok 100000000 Hz
[01.826]0 0 0: 0 0 0
[01.831]update dts
** Unrecognized filesystem type **
[01.841]load file(ULI/factory/rootwait init.txt) error.
** Unrecognized filesystem type **
[01.853]load file(ULI/factory/snum.txt) error.
[01.857]name in map mac
** Unrecognized filesystem type **
[01.867]load file(ULI/factory/wifi_mac.txt) error.
** Unrecognized filesystem type **
[01.879]load file(ULI/factory/bt_mac.txt) error.
** Unrecognized filesystem type **
[01.891]load file(ULI/factory/selinux.txt) error.
** Unrecognized filesystem type **
[01.903]load file(ULI/factory/specialstr.txt) error.
[01.914]update part info
[boot efex] set misc : boot efex
[01.966]mmc exit start
[02.007]mmc 2 exit ok
[61]HELLO! BOOT0 is starting May 13 2020 14:05:42!
[66]BOOT0 commit : 593cf83
[69]set pll start
[71]periph0 has been enabled
[74]set pll end
[76]unknow PMU
[78]PMU: AXP806
[85]vaild para:8  select dram para0
[88]board init ok
[90]rtc[2] value = 0x5aa5a55a
[93]eraly jump fel

Pictures

Take some pictures of your device, upload them, and add them here. DO NOT UPLOAD PICTURES WHICH YOU PLUCKED OFF THE INTERNET.

Also known as

List rebadged devices here.

See also

Add some nice to have links here. This includes related devices, and external links.

Manufacturer images

Optional. Add non-sunxi images in this section.