Developer Community for Freescale i.MX6 HDMI Dongles

Last week, I explained how to build U-boot, the kernel, and Android for Freescale i.MX6 HDMI dongle reference platform. Since them, there has been a bit more activity, with Richtechie releasing source code to some ARMTvTech members. However, this source code is very similar to the one released by Freescale, and misses some part present in the kernel config on GK802 such as CONFIG_MACH_MX6Q_RICHTECHIE, and the company clearly does not comply with the GPL. Let’s forget that for now, as Jasbir (who is also behind the Hackberry board) has managed to build and boot the kernel on his mini PC. There’s still more work to do, but at least we have a based to work on. In the meantime, I’ve noticed rz2k, an other developer, was also giving it a try on #arm-netbook Freenode IRC channel, so we decided to setup a few things to facilitate development and communication between developers.

There are now 2 repositories on gihub rz2k account for HI802/GK802 software development:

Assuming, you’ve already installed Linaro toolchain in Ubuntu or another Linux distribution, here’s how to get and build the Linux kernel:


and U-boot:


For both repositories, the git checkout part is not really needed since imx-android-r13.4-ga-hdmidongle is the default branch, and there’s no default config for Hi802/GK802 yet, so “imx6_android_defconfig” and “mx6q_hdmidongle_android_config” are just taken as examples, but this should change soon.

We’ve also setup two communication channels for developers, and anybody is welcomed to join:

Freescale i.MX6 platform holds a lot of promise with GPU and VPU support in Linux, and hopefully, there will be enough traction in the community to make it a great Linux platform.

Share this:

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

ROCK 5 ITX Rockchip RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
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.
20 Comments
oldest
newest
m][sko
11 years ago

are you able to boot some debian/ubuntu on Hi802/GK802 ?
freescale provide working debian/ubuntu distro with working hw acceleration (from readme file)

wandboard
11 years ago

Ubuntu on the i.MX6 is booting on the Wandboard and demo images are available.

sky770
sky770
11 years ago


Yes.
And that is 101% confirmed for all platforms (/boards).
Also as the company released source code(s) have always been incomplete and now that Limar is taking fight back to the corporate f4g5..its about time.
Go Lima!

Jasbir
11 years ago
ASM
ASM
11 years ago

Small typo in post: the link to “linux-imx” is pointing to “uboot-imx”.

hroth
hroth
11 years ago

– I thought it was a little complex, thanks!

And – unfortunately with the ever-shifting sands – this git repository of rz2k (rzk) doesn’t seem to exist anymore. Is there another i.mx6 Android repository to use?

Thank you so much for helping me learn the ropes!

hroth
hroth
11 years ago

Thank you – as always!

I can compile but:

shell@android:/data/home # insmod hid-quanta.ko
insmod hid-quanta.ko
insmod: init_module ‘hid-quanta.ko’ failed (Exec format error)

where dmesg reads:

hid_quanta: no symbol version for module_layout

I wonder if I missed a step? This is for the 1.65.4 Richtechie Android kernel, so it seems like I’ve got the wrong symvers for this.

hroth
hroth
11 years ago

Right, thanks for your patience and help. I did read that earlier – unfortunately Android seems a little stunted (I can only find insmod in the toolbox, not modprobe) and it seems like the GK802 Android kernel cannot be re-built without Richtechie’s assistance which they’ve confirmed they will not release.

http://tabletrepublic.com/forum/freescale-i-mx6-quad-core/3234-%5Brom%5D-i-mx6-stock-rom-mod-57-print.html

A dead end, it seems. I did email Richtechie in case they had time to compile the kernel module.

I am sure it is a lot easier to compile the kernel natively in Ubuntu on the MX6Q. If only it could run Android APKs!

m][sko
11 years ago

I want to buy device with iMX.6
anybody can confirm if there is working hw accelerated video and audio decoding/encoding with working libs(gstreamer for example) on ubuntu ?
I saw some information about watermarking

hroth
hroth
11 years ago

@Jean-Luc Aufranc (CNXSoft) Finally, some success. I looked again at the Richtechie tarball release of source code and it included a Module.symvers. I preserved that and compiled the hid-quanta module… and it worked! For your interested readers: 1. Download the Richtechie tarball 2. Edit include/config/auto.conf (as if you were Richtechie) 3. make M=drivers/hid CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm and it seems everything is accepted in the 1.65.4 Android kernel. Only problem is that it doesn’t appear to work when the device is connected. (!!) But it may be useful for other Android readers. And maybe I can actually debug something. Here is the… Read more »

hroth
hroth
11 years ago

Yes, you’re right – although that patch doesn’t appear to be for the hid-quanta.c in the current tarball. I wonder if I will have to manually apply the patch.

Also – I’m embarrassed that I didn’t realize the quanta was only being recognized as a “generic-usb” instead of hid-quanta… I have to convince Android to use the hid-quanta driver still.

hroth
hroth
11 years ago

Which ends up being CONFIG_USB_HID which is already compiled in the kernel. It looks like recompiling the kernel is the only way to proceed. Unfortunately, that doesn’t sound possible with the Richtechie compile options.

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...