Jump to content

Recommended Posts

Posted

ATTENTION there is a counterfeit version of the X96Q TV box. Before sending it back I took a photo of the PCB. We are talking about SOC RK3229 and eMCP 1GB RAM/8GB ROM. By chance I wanted to try booting with the multitool and I understood the deception. the only linux release working on X96Q is the Miniarch project but let's go off topic

fake_x96q.jpg

Posted

The most absurd thing is that it says S905W on it and it's actually an RK3229. I think they have the same RK3229 1GB/8GB PCB that they wanted to pass off as S905W and now they try to make the fake X96Q with that PCB too

Posted

Hi guys, so actually I am the one who knows quite a lot about X96Q :p :

1. As Khadas said: there are counterfeits based on rk 3228A with a S905W (in fact "S" is not an actual "S") mark on the chip. It's performance is really poor, its 32bit CPU and its not worth working with

2. Market is full of other-kind-of-fake fake boxes - 1g RAM 8g ROM versions are being sold under 2g 16g tag, with very little tools for an average user to prove it's not an actual 2g16g version.


3. There are many different revisions of X96Q boards, with different types of RAM, differenct clock settings and its really hard to just get the image of an OS. Up to my knowledge, there is no other working OS than the one made by github user named warpme. Its an Arch Linux distro and its quite decent. It has some drawback though, and I am in constant touch with an author, working on some commercial solution that utilizes these boxes.  In the version available on github, there is no LAN support, eMMC installation and an AP  mode. Besides that, it works just fine 

Here You may try to find a release suitable for You:  https://github.com/warpme/miniarch  Please note, that 

 

Posted

Hi thanks @Jakub Adamik for your message.

 

I confirm that the current X96Q with pcb release 1.3 does not have working ethernet with the miniarch image.

 

I wrote two emails to Piotr aka warpme but I haven't received a response yet, surely in this period he will be very busy with work and I won't be able to dedicate time to the miniarch project. I await a response from him.

Posted

Since last week the official image for x96q 1.3 (and also for pcb 5.1) has been available.

 

Unfortunately, the hardware of the x96q TV box suffers from the classic problems of Chinese TV boxes, that is, there are many fakes around, i.e. PCBs with other hardware (even a different processor) and continuous revisions of the board based on what the manufacturer finds cheapest.

 

I remember that the Miniarch project is not linked to the armbian project and with this post I would like to close this thread so as not to go off topic. It is possible to open issues on github of our friend Piotr who develops the project alone.

Posted

I had never seen the PCB in version 4.0 thanks for sharing the photo.

 

From that working image if you do the updates will you have an equally fresh and updated system or do you have problems after the updates?

 

You should open an issue on the miniarch project's github and understand if the author has this specific hardware but I don't think otherwise you would have found it in the list of images, I see four different ones for h96q.

 

Ihave PCB version 1.3

Posted

Hello everyone I have a X96 clone named Z1 with 2 GB Ram and 16 GB Rom that I was able to boot and install

MiniArch with the image ( MiniArch-20240715-6.10.0-board-h313.x96_q_lpddr3-SD-Image.img ) this work Correctly with the box.

I went further and investigate the possibility to install Armbian  and I confirm that I was able to Install Armbian (with some hacks) 

I have used the bellow image Armbian_community_24.8.0-trunk.495_Orangepi3_noble_current_6.6.36_gnome_desktop.img.xz

Screenshot.jpg.aae4419ed306f44b693691e02a3dc43b.jpg


The box works nice but with 3  issues

1> HDMI image is broken on console and I have a  green image with pixels

2> No Ethernet Adapter Recognized and i used a USB to Ethernet adapter.

3> No CPU temp

Screenshot2.thumb.jpg.c92b5e184cabca4ef707e612f67f3707.jpg

 

Screenshot3.thumb.jpg.eef866e37e298dac906ec3ae3daa5b66.jpg

Posted (edited)

Continue ..

An other issue  With Z1 Tv Box  is that i tried to install  the image to eMMC via armbian-install. Installation succeeds but after system was not able to boot directly from eMMC. With  MiniArch-20240715-6.10.0-board-h313.x96_q_lpddr3-SD-Image.img eMMC boot is without problems.

This probably  has to do with U-boot because Miniarch uses extlinux to boot in a seperate fat partition .... I will try to manual partition the eMMC to see if this is resolved.

 

At this time The Box Operates with SD card with Armbian_community_24.8.0-trunk.495_Orangepi3_noble_current_6.6.36_gnome_desktop.img with ssh, apache, php, mariadb and firebird3  server installed

 

ALL works OK and stable (and relatively fast)  except the HDMI on console, Cpu Temp, and onboard Ethernet.

the Ethernet issue also exist in miniarch but with miniarch i had no HDMI issue. I suspect the panfrost driver in combination with the box DTB (sun50i-h313-x96-q-lpddr3.dtb) ..

 

I will investigate it further.

 

This my progress for now.

Edited by rafman
Posted

@rafman I try install miniarch or armbian to my device X96q based on h313 and memory chip samsung KMR82001M-B609.  I recorded the image on an SD card, inserted it into the device, pressed the button in the AV input and turned on the power. The X96q splash screen appeared, quickly disappeared and nothing else happens. If i dont press the button, box start with android. How can i start from sd card? 

Posted

@svsruof

you may have hardware incompatibilities, I will try to help you.

TV boxes is a pain story and you never know what you really have except if you investigate further your hardware.

You can try different miniarch images variants regarding your board (x96q) until one is booting, there are 5 different images for 5 different board variations of x96q (e.g lpddr3, v1.3, v5.1 ...) I don't know your hardware but keep in mind

that there are also FAKE boards with rk3228a or Rk3229 as x96q variants you have to investigate your Hardware first, rk322x boards are fake boards marked as H313 (on chip) and these are not compatible with Allwinner images (but you can still install Linux with other images for rk322x)

 

One safe method to verify  if you have Allwinner board is to set it to FEL mode (by pressing the internal button with a toothpick) connect a male to male USB and then read your USB devices with lsusb command.

you can find more information here : https://linux-sunxi.org/FEL

 

Another problem that you may face is locked u-boot loader and/or device secure boot enabled by the manufacturer in this case you need to analyze the original manufacturer firmware (if available) to see the unlock possibilities or to try

to unlock it via adb (if possible). Serial debugging is a must.

 

Unfortunately i can't post miniarch images links  here due to forum rules. however is very  easy to find it.

 

If you are able to boot a miniarch image or a LibreElec image then is easy to install Armbian as well with some modifications on extlinux.conf

 

Tip: place a detailed image of both sides of your board. Someone may have the same and may guide you regarding your problems

 

 

Posted

@rafman  Thank you so much for this.  I bought a RK3528 4gb/64gb box. The CPU is stenciled H313.  The eMMC chip is listed in datasheets a 1gb/8gb.  Based on your post, I downloaded a LibreELEC RK322x image, and it booted right up.  Remote control, wifi, everything works.

IMG_0496s.JPG

Posted

@WayneGibbous

 

I am glad to read that my post helped you.

The board you have posted is common fake Chinese H313 board sold by various sellers on Alliexpress and other online stores.  (i already have one)

They sell it as H313 X96Q (2GB Ram and 16gb Rom) for about $20 however Emmc is 1Gb Ram and 8gb Rom  the onboard CPU chip is marked with stencil as H313 but is Rk322x  (and not RK3528)

 

 

This board can host LibreElec and Armbian (with some hacks).

The good point of this board is that onboard Ethernet works without problems,  but is less powerful than H313

 

Note: When i installed Armbian to this board  i tried to upgrade the device firmware via armbian-config  (after the installation on emmc)

However I encounter problems with USB devices (keyboard and mouse)  after the upgrade.

Then I erased the emmc and I use this board with a fast 64GB SD card and it runs smoothly and with plenty of storage space.

 

 

Posted

@rafman This is the output from the UART, apparently this is an allwiner processor and I can enter FEL if I press the button before turning it on. Maybe you can somehow see the reason here, I couldn’t find anything yet

 

Скрытый текст


[315]HELLO! SBOOT is starting!
[318]sboot commit : 12a0e3cc
[321]set pll start
[323]periph0 has been enabled
[326]set pll end
[328]unknow PMU
[330]unknow PMU
[332]PMU: AXP1530
[334]dram return write ok
[336]board init ok
[338]try to probe rtc region
[341]DRAM BOOT DRIVE INFO: V0.651
[344]the chip id is 0x5c00
[346]chip id check OK
[350]DRAM_VCC set to 1200 mv
[353]DRAM CLK =600 MHZ
[355]DRAM Type =7 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[363]Actual DRAM SIZE =2048 M
[366]DRAM SIZE =2048 MBytes, para1 = 30eb, para2 = 8001000, dram_tpr13 = 6061
[375]DRAM simple test OK.
[378]rtc standby flag is 0x0, super standby flag is 0x0
[383][mmc]: mmc driver ver 2021-10-12 13:56
[387][mmc]: b mmc 2 bias 4
[395][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
[401][mmc]: ***Try MMC card 2***
[485][mmc]: RMCA OK!
[488][mmc]: MMC 5.0
[490][mmc]: HSSDR52/SDR25 8 bit
[493][mmc]: 50000000 Hz
[495][mmc]: 14910 MB
[498][mmc]: ***SD/MMC 2 init OK!!!***
[591]read toc1 from emmc 32800 sector
[594]OLD version: 0.0
[596]NEW version: 0.0
[673]load rotpk hash
[736]load monitor-key hash
[739]load monitor hash
[945]load boot-key hash
[948]load boot hash
[1014]load vbmeta-key hash
[1017]load vbmeta hash
[1085]load recovery-key hash
[1088]load recovery hash
[1091]monitor entry=0x48000000
[1094]uboot entry=0x4a000000
[1097]optee entry=0x48600000
[1100]tunning data addr:0x4a0003e8
[1105]run out of boot0
NOTICE:  BL3-1: v1.0(debug):05d6c57
NOTICE:  BL3-1: Built : 13:35:35, 2021-10-28
NOTICE:  BL3-1 commit: 8
NOTICE:  cpuidle init version V1.0
NOTICE:  secure os exist
MESSAGE: [0x0] TEE-CORE: OP-TEE version: 81ab7a47 #1 2020年 05月 06日 星期三 02:40:04 UTC arm
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
▒OTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05-g23fdfbb (Nov 27 2023 - 10:09:29 +0800) Allwinner Technology, Build: jenkins-H616-default-923

[01.206]CPU:   Allwinner Family
[01.209]Model: sun50iw9
I2C:   ready
[01.213]DRAM:  2 GiB
[01.216]Relocation Offset is: 75ebf000
[01.260]secure enable bit: 1
[01.263]pmu_axp152_probe pmic_bus_read fail
[01.267]PMU: AXP1530
[01.272]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[01.280]drv_disp_init
[01.310]__clk_enable: clk is null.
[01.316]drv_disp_init finish
[01.318]gic: sec monitor mode
[01.350]flash init start
[01.352]workmode = 0,storage type = 2
[01.355]MMC:     2
[01.357][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[01.363][mmc]: get sdc_type fail and use default host:tm4.
[01.374][mmc]: SUNXI SDMMC Controller Version:0x40502
[01.463][mmc]: Best spd md: 3-HS200/SDR104, freq: 4-150000000, Bus width: 8
[01.470]sunxi flash init ok
[01.473]Loading Environment from SUNXI_FLASH... OK
[01.482]Item0 (Map) magic is bad
[01.485]the secure storage item0 copy0 magic is bad
[01.490]Item0 (Map) magic is bad
[01.493]the secure storage item0 copy1 magic is bad
[01.497]Item0 (Map) magic is bad
secure storage read hdcpkey fail
[01.503]secure storage read hdcpkey fail with:-1
secure storage read widevine fail
[01.510]secure storage read widevine fail with:-1
[01.516]usb burn from boot
delay time 0
weak:otg_phy_config
[01.529]usb prepare ok
[02.332]overtime
[02.336]do_burn_from_boot usb : no usb exist
[02.340]boot_gui_init:start
FAT: Misaligned buffer address (bbe7b498)
32 bytes read in 4 ms (7.8 KiB/s)
tcon_de_attach:de=0,tcon=2[02.475]boot_gui_init:finish
[02.478]bmp_name=bootlogo.bmp
3686456 bytes read in 28 ms (125.6 MiB/s)
[02.520][mmc]: delete mmc-hs400-1_8v from dtb
[02.527]update dts
** Unable to read file ULI/factory/rootwait init.txt **
[02.541]load file(ULI/factory/rootwait init.txt) error.
** Unable to read file ULI/factory/snum.txt **
[02.558]load file(ULI/factory/snum.txt) error.
FAT: Misaligned buffer address (bbe7b3b8)
17 bytes read in 5 ms (2.9 KiB/s)
** Unable to read file ULI/factory/wifi_mac.txt **
[02.589]load file(ULI/factory/wifi_mac.txt) error.
** Unable to read file ULI/factory/bt_mac.txt **
[02.606]load file(ULI/factory/bt_mac.txt) error.
** Unable to read file ULI/factory/selinux.txt **
[02.622]load file(ULI/factory/selinux.txt) error.
** Unable to read file ULI/factory/specialstr.txt **
[02.639]load file(ULI/factory/specialstr.txt) error.
[02.651]update part info
[02.675]update bootcmd
[02.677]No ethernet found.
Hit any key to stop autoboot:  0
[02.925]not supported key
[02.927]actual n size:1000, e:10001
[02.931]exptect n size:800, e:10001
show hash of file
af a2 3e 38 ab b6 a3 78 26 43 d9 02 a7 48 fe 09
56 18 18 e9 d9 ee bd 2e 57 0e d6 3d cc 11 1c 07

image vbmeta hash valid
CACHE: Misaligned operation at range [44ffffe0, 462a5800]
[03.105]Starting kernel ...

[03.108][mmc]: mmc exit start
[03.194][mmc]: mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (jm@ubuntu) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #993 SMP PREEMPT Mon Nov 27 10:10:15 CST 2023
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.027915] BOOTEVENT:        27.897582: ON
[    0.260406] sunxi_i2c_probe()2209 - [i2c3] warning: failed to get regulator id
[    0.261543] sunxi_i2c_probe()2209 - [i2c5] warning: failed to get regulator id
[    0.262965] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[    0.263051] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22
[    0.298691] [ac200] get ave_regulator_name failed!
[    0.299221] [ac200] pwm enable
[    0.380602] failed to get standby led pin assign
[  [    0.387340] uart uart1: get regulator failed
[    0.424047] [NAND][NE] Not found valid nand node on dts
[    0.432682] sunxi-wlan soc@03000000:wlan: get gpio chip_en failed
[    0.439631] sunxi-wlan soc@03000000:wlan: get gpio power_en failed
[    0.572851] hci: request ohci1-controller gpio:232
[    0.764898] axp2101_pek: axp2101-pek can not register without irq
[    0.775552] sunxi_ir_startup: get ir protocol failed
[    0.784093] VE: get debugfs_mpp_root is NULL, please check mpp
[    0.784093]
[    0.792426] VE: sunxi ve debug register driver failed!
[    0.792426]
[    0.811136] mmc:failed to get gpios
[    0.893446] mmc:failed to get gpios
[    0.935584] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    0.942420] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    0.953547] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.960270] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.966999] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.973722] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    0.981824] failed get gpio-spdif gpio from dts,spdif_gpio:-2
[    0.992063] [audio-codec]dachpf_cfg configurations missing or invalid.
[    0.999451] 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.023731] sndhdmi sndhdmi: ASoC: CPU DAI (null) not registered
[    1.030536] sndhdmi sndhdmi: snd_soc_register_card() failed: -517
[    1.044406] sunxi-ahub-cpudai 5097000.cpudai3-controller: ahub cpudai id invalid
[    1.079363] ERROR: pinctrl_get for HDMI2.0 DDC fail
[    1.089472] tv_probe()1435 - of_property_read_string tv_power failed!
[    1.174948] cpu cpu1: opp_list_debug_create_link: Failed to create link
[    1.182423] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.190092] cpu cpu2: opp_list_debug_create_link: Failed to create link
[    1.197556] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.205179] cpu cpu3: opp_list_debug_create_link: Failed to create link
[    1.212635] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.719972] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1
[    1.719972]
[    1.736976] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:exported_system_prop:s0 tclass=property_service permissive=1
[    1.736976]
[    1.756028] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:dalvik_prop:s0 tclass=property_service permissive=1
[    1.756028]
[    2.638447] FAT-fs (mmcblk0p15): bogus number of reserved sectors
console:/ $ [    3.751865] apexd: Failed to walk /product/apex : Can't open /product/apex for reading : No such file or directory
Gatekeeper_TA_CreateEntryPoint
[   21.083922] ======== XRADIO WIFI OPEN ========
[   21.548189] [XRADIO] Driver Label:XR_V02.15.74   Apr 18 2023 17:03:12
[   21.558498] [XRADIO] Allocated hw_priv @ ffffffc0464a17a0
[   21.715130] [XRADIO] Detect SDIO card 1
[   21.769880] [SBUS] XRadio Device:sdio clk=50000000
[   21.780481] [XRADIO] XRADIO_HW_REV 1.0 detected.
[   21.982269] [XRADIO] Bootloader complete
[   22.159444] [XRADIO] Firmware completed.
[   22.165961] [WSM] Firmware Label:XR_C01.08.52.65 Jul 16 2019 11:09:57
[   22.174622] [XRADIO] Firmware Startup Done.
[   22.774666] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=f0:1f:42:7c:cc:d1
[   22.800344] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
[   23.047059] [STA] !!!xradio_vif_setup: id=2, type=10, p2p=0, addr=f0:1f:42:7c:cc:d2
[   31.796030] [STA_WRN] Freq 2462 (wsm ch: 11) prev: 3.
[   31.895407] [STA_WRN] Freq 2422 (wsm ch: 3) prev: 11.
[   31.910278] [STA_WRN] Freq 2462 (wsm ch: 11) prev: 3.
[   31.935799] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[   34.246909] audit: rate limit exceeded
[   37.221746] audit: rate limit exceeded
[   38.764285] audit: rate limit exceeded
[   38.831793] apexd: Can't open /product/apex for reading : No such file or directory
[   44.142970] audit: rate limit exceeded
[   57.135826] audit: rate limit exceeded
[   58.541768] audit: rate limit exceeded

 

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