Re: [imx6-dongle] Abridged summary of imx6-dongle@googlegroups.com - 1 Message in 1 Topic

97 views
Skip to first unread message

Iker Echaniz

unread,
Sep 25, 2013, 4:42:23 AM9/25/13
to imx6-...@googlegroups.com
Android on the gk802: why the imx6-dongle kernel as is won't work but another might.
########################################

I said I would post my advances with Android on the hi802/gk802 so here I go:

The idea was to first test it with the oficial ROM, changing only the kernel.

I used abootimg to change te ramfs and repack the original kernel. it worked.
Then I tried with my kernel and failed. Then just to make sure that the problem was not
due to the packing or a rarefs I tried to pack the the rootfs inside the kernel itself.

I did two things:

1) Test the kernel using a gziped ramfs
########################################

I added those lines the config:

CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="/home/ikr/myandroid/kernel_imx/initramfs.cpio.gz"
CONFIG_RD_GZIP=y

/init loaded init.rc and I could type commands on the shell via the 3.3V serial ttymxc3 but it was rebooting itself
after several attempts at "init: untracked pid NUMBER exited"

2) Make sure I was using a kernel with android files.
########################################
It seems make just ignored my kernel .config lines about Android without any warning related to them.

#
# Android
#
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_RAM_CONSOLE=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
...

So I did a quick check and the kernel doesn't have android files on it
ls ~/myandroid/kernel_imx/mm/ashmem.c
ls ~/myandroid/kernel_imx/include/config/android

Now I realized two things:
########################################

1) abootimg works as intended.

2) The kernel at https://github.com/imx6-dongle doesn't include android kernel files on it.

to be continued... ;)

Best regards,

Iker De Echaniz


2013/9/20 <imx6-...@googlegroups.com>

Group: http://groups.google.com/group/imx6-dongle/topics

    iker.e...@enigmedia.es Sep 19 06:40AM -0700  

    Hi all,
     
    I was able to compile and boot imx6dongle/linux-imx and uboot-imx6dongle,
    :) thx.
     
    I also downloaded Richtechie's sources from Armtvtech.
     
    Now I want to boot Android 4.0.4 using ...more

    Back to top.


Reply all
Reply to author
Forward
0 new messages