Realtek RTD1295 SoC and Zidoo X9S TV Box Patchsets for Initial Mainline Linux Support

Realtek RTD1295 is a quad core Cortex A53 processor with built-in Gigabit Ethernet, USB 3.0 and SATA found, and is found in some TV boxes such as Zidoo X9S or Eweat R9 Plus that run Android 6.0 and OpenWrt on top of Linux 4.1. Andreas Färber has been working on Mainline Linux support for the SoC using Zidoo X9S, and just submitted patchsets for enablement of RTD1295.

Andreas explains:

This mini-series adds initial support for the Realtek RTD1295 SoC and the Zidoo X9S TV box.

With these patches CPU0 can be booted with earlycon.

PSCI doesn’t work despite present in the vendor device tree; as enable-method it instead used a custom “rtk-spin-table” that I sadly have no source code of.

The UARTs use a custom interrupt controller that I again lack source code of; with interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH> it can boot into an initrd.

The boot process is slightly twisted: The files need to be loaded from a 32-bit U-Boot, then boot into 64-bit U-Boot where the kernel can be booted. Similar to my previous Amlogic S905 work, the TEXT_OFFSET poses a problem, so a uImage needs to be used (or the kernel patched) for load address 0x00280000. I haven’t succeeded loading an initrd via bootm/booti; but as quick workaround initrd=$rootfs_loadaddr,0x$filesize can manually be specified in $bootargs.

If you want to try it out on your own Realtek RTD1295 device, you can find how to access the UART console, and play with U-Boot on Zidoo X9S page on OpenSUSE website. More experimental patchsets can also be found on Github.

In other news, if you’re interested in mainline Linux on Amlogic S912, kernel developers are currently using Nexbox A1 TV box with the help of Amlogic, which according to an upcoming talk at the Embedded Linux Conference 2017, “has put a priority on supporting their chips in the mainline Linux kernel”.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
7 years ago

As far as Amlogic goes, most of mainline bringup of S912 will have Amlogic with their closed source Android SDK. I have official confirmation that they are not interested in licensing Mali T820 Linux userspace libraries with ARM so…

And since RTD1295 shares same GPU as S912 and fact that any part of their code can’t be found anywhere (to my knowledge) its little silly.

7 years ago

There is a VPU DRM driver for Amlogic meson talked of in Dec on , if it helps.

7 years ago

Thx for sharing but I was not talking about VPU but GPU. There’s no OpenGL ES support for T820 for linux.

7 years ago

Yes Arm point it out below

Otherwise stuck here gpl v2.0 20th jan 2017 and still need full source code of the Mali GPU DDK, which is provided under the standard ARM commercial licence to all Mali GPU customers.

Khadas VIM4 SBC