u-boot and android

571 views
Skip to first unread message

stepha...@gmail.com

unread,
Apr 10, 2013, 6:19:36 PM4/10/13
to imx6-...@googlegroups.com
Hi there,

I have just begun to hack with a GK802 dongle.
For now I have built my own distro while using the u-boot which provided on github (https://github.com/imx6-dongle/uboot-imx6dongle)
So far, everything works fine...

Now, I would like to adopt the following way of working with my device :
- Have an android installation on the internal sdcard
- Have my own linux distro on the external sdcard (but other users may find useful to have an ubuntu image provided by Jasbir here)

My first sought was : "Not a big deal : Let's replace u-boot on the internal sdcard. This new u-boot will handle HDMI display, usb keyboard and let the user choose the boot device  and/or it will try to load a script or kernel image from the external  sdcard prior to the internal one (So I only have to insert/remove the external sdcard to choose which system is booted...)"
The provided u-boot I mentioned is already very capable but, as far I understand, it is not "android friendly" : I mean, it does not implement fastboot nor is it able to handle android image (booti command)

Can anyone confirm that only an "old" release of u-boot which is marked as deprecated (https://github.com/imx6-dongle/uboot-imx) is able to deal with android ?
Is there already a merge of android features (mainly fastboot driver + booti I guess) in the uptodate u-boot ?
If not, does it make sense to try to merge them in the newest u-boot ?

I thank you very much for any tips or answers
Best regards

Stephan

Dmitriy B.

unread,
Apr 15, 2013, 7:43:16 AM4/15/13
to imx6-...@googlegroups.com
The deprecated u-boot is one that is targeted for official HDMI-dongle from freescale. James Laird started a new repo for our dongle exclusively.
Also, afaik, our kernel doesnt have the android drivers because I imported the native linux bsp kernel from freescale, not the android bsp (it didnt work, was hanging all the time).

You can try making a patch from our commits and apply it to the android bsp, but I cant help if it will just hang randomly at kernel boot stage.

For dual-boot you can grab our u-boot and use the button provided on the device as the bootcmd changer.

четверг, 11 апреля 2013 г., 2:19:36 UTC+4 пользователь stepha...@gmail.com написал:

stepha...@gmail.com

unread,
Apr 15, 2013, 3:53:18 PM4/15/13
to imx6-...@googlegroups.com
Hi Dimitry,

Thank you very much for your answer and these pieces of information.

I am unsure I understand perfectly the last part of your message :
Of course I agree that I can use the button to run the uboot "recovery" scripts instead of the nominal ones, no problem about it...

But I would like to be able to boot an android image so I need the "booti" command I think, Don't I ?
Also I would like to be able to use fastboot mode : So I need additional drivers in uboot (not linux) to do it I fear ...

At the end I would like a single recent uboot which is able to boot a standard kernel image (OK, we already have it thanks to your great work)  and which is able to boot an android image and to enter fastboot mode...

Best regards
Stéphan
Message has been deleted

aquakg...@gmail.com

unread,
Jul 18, 2013, 3:23:00 AM7/18/13
to imx6-...@googlegroups.com
Hi there,
 
do you run an android on the gk802?
    if you have done this,is the android build by yourself?
    I want to build the android ,and run it on the gk802.does anyone know how to do?
    I get a link at github:
    how to use this?
 

Reply all
Reply to author
Forward
0 new messages