Home > Linux, Realtek RTD > Realtek RTD1295 SoC and Zidoo X9S TV Box Patchsets for Initial Mainline Linux Support

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

February 14th, 2017 Leave a comment Go to comments

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

  1. February 15th, 2017 at 00:03 | #1

    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.

  2. theguyuk
    February 15th, 2017 at 00:32 | #2

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

  3. February 15th, 2017 at 00:46 | #3

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

  4. theguyuk
    February 15th, 2017 at 00:48 | #4

    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.
    https://developer.arm.com/products/software/mali-drivers/midgard-kernel

  1. No trackbacks yet.