First 'sort of working' version

308 views
Skip to first unread message

Dmitriy B.

unread,
Feb 15, 2013, 7:12:10 AM2/15/13
to imx6-...@googlegroups.com
Hi, lets open the discussion with good news: I've got it to boot fully on my hi802 with rev. 1.1 imx6q.
As jas-hacks told, I've tried to patch our stuff upon the 1.1.0 version of kernel (and removing unused stuff like ION by the way) and it worked.

Here is the log http://pastebin.com/vZeNSiGr

Now about how to build it:
Kernel:
$ cd linux-imx
$ git checkout imx_3.0.35_1.1.0-hdmidongle
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm imx6_android_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm -j<number_of_cores> uImage modules
$ cd ../

Now u-boot and flashing the sd card:
$ nano flash_sd.sh # CHANGE THE $NODE! NEXT COMMAND IS ON YOUR OWN RISK!
$ ./flash_sd.sh

Partition on SD card should be placed 32k sectors ahead due to possible overlap with u-boot/kernel.

Thats it.
Credits: jas-hacks for figuring out that we need to use 1.1.0 and not android branch, hste for flashing instructions.

Best Regards,
Dmitriy Beykun

Jean-Luc Aufranc

unread,
Feb 15, 2013, 8:05:29 AM2/15/13
to imx6-...@googlegroups.com
Great! Am I right to assume you are using Geekbuying Ubuntu image for testing?

Dmitriy B.

unread,
Feb 17, 2013, 5:09:22 PM2/17/13
to imx6-...@googlegroups.com
main branch is synced with Jasbir patches, USB OTG now initializes well, but still no signs of life when connecting the devices. Jasbir has rev. 1.2 gk802 and usb-otg works there...

If anyone up for testing, especially, with rev. 1.1 imx6q hi802, help is widely appreciated.

пятница, 15 февраля 2013 г., 16:12:10 UTC+4 пользователь Dmitriy B. написал:

Dmitriy B.

unread,
Feb 17, 2013, 5:10:27 PM2/17/13
to imx6-...@googlegroups.com
Dont know why, but my previous message got into spamfolder here. So here is a repost:

"No, self compiled kernel and patched u-boot from armvtech forums. This is only kernel brought up, no userspace yet.

Just now, I found that mmc doesnt work as expected, probably wrong iomux setup, Jasbir had it working, so I probably will wait for him. Tried to setup with default stuff in board-hdmidongle.h for revision A, but it didnt work (mmc driver cant setup any cards with all available frequencies)."

пятница, 15 февраля 2013 г., 17:05:29 UTC+4 пользователь Jean-Luc Aufranc написал:

Dmitriy B.

unread,
Feb 23, 2013, 1:14:43 PM2/23/13
to imx6-...@googlegroups.com

jas-hacks

unread,
Feb 24, 2013, 4:18:30 PM2/24/13
to imx6-...@googlegroups.com
Another piece of the jigsaw, to enable SD card 2 slot 

#define HDMIDONGLE_SD2_CD IMX_GPIO_NR(6, 11)

jas-hacks.
Reply all
Reply to author
Forward
0 new messages