Tuesday, July 10, 2012

MK802 image with armhf Linaro 12.06 and custom kernel

Just a quick update on my MK802 hacking..
I've created an easy-to-install image which is based on Linaro's 12.06 "internet appliance" base, and has then added my 3.0.36+ kernel (based on Amery's linux-allwinner repo), containing lots of extra drivers for things like bluetooth, USB drives, gamepads, webcams, and so forth.

You can download it here: linaro-alip-armhf.7z (204 M. kindly hosted by Miniand)

You'll need to use 7-zip to extract the image from the archive, then dd or imagewriter to splat the entire image onto an SD card. (eg. dd if=linaro-alip-armhf.img of=/dev/sdb conv=fsync)

This image should fit on a 4G card. If you have a larger card, splat it on, then eject and reinsert the disk, then resize the second partition and filesystem with parted, resize2fs, etc.

There's still no support for the Mali GPU, unfortunately; however see Compile X11 driver for A10 for info on where to start hacking..

22 comments:

  1. Thank you Mr. Corkindale!!

    I hope i can test it next week and see if finally I can sync a wiimote for emulators :)

    And i know one day we'll get the mali GPU to work.

    ReplyDelete
  2. hi Toby, thanks for linaro image. I tried it, but after 10 minutes freeze... do you help me?? thanks
    Andrea

    ReplyDelete
  3. Hi toby,
    great work, highly apprecited! Did you enable openvpn? (tun/tap devices don't seem to be present in the 'offical' miniand images.

    thanks a lot!
    chris

    ReplyDelete
  4. Hi Chris,
    it doesn't look like I did, sorry.
    One of my other recent blog posts contains a link to the kernel config and a little detail on rebuilding it, though, if you want.
    Otherwise I'll roll a new kernel (and SD image) soon with a few of the recent changes and suggestions from people.
    -Toby

    ReplyDelete
    Replies
    1. Hi Toby,

      thanks for the reply. I'm in no hurry, so I'd rather wait for your new image than getting my hands dirty ;-)

      The setting that needs to be flipped on is:
      Device Drivers -> Network device support -> Universal TUN/TAP device driver support

      Thanks again,
      Chris

      Delete
  5. I just noticed you published a new images w/tun-tap support. Awesome!

    Thanks a lot,
    Chris

    ReplyDelete
  6. Hi Toby, thanks for all the great work man!

    I have this wifi chip:
    REALTEK
    RTL 8188CTV
    C3G66P1
    GC12L TAIWAN

    Just wanted to ask if your kernel supports this particular device??
    If not, can I get a lead to getting it to work?

    Thanks much,

    ReplyDelete
  7. Would it be possible to include additional drivers for usb audio, like snd-usb-audio?

    Thanks, Tomas

    ReplyDelete
  8. Hi,
    I've created an updated SDcard image; this one has some more drivers and stuff enabled, and other optimisations. It also fixes some bugs that were stopping display working in the -t2 and -t3 editions.

    http://dl.miniand.com/toby_corkindale/linaro-alip-armhf-t4.7z

    -Toby

    ReplyDelete
    Replies
    1. How dear genius, are you getting these configured? Could you please post/ point us to some procedures and steps as to how you get the drivers enabled...
      For some, I guess its easy because they have the context due to experience. I really had a tough time getting a kernel to compile, etc...

      Thanks a lot. :)

      -JC

      Delete
    2. Have a look at: https://www.miniand.com/forums/forums/2/
      and for the kernel compilation, https://www.miniand.com/forums/forums/development/topics/tutorial-how-to-compile-a-linux-kernel-for-linaro-12-06

      Delete
    3. This comment has been removed by the author.

      Delete
    4. :D :D :D :D :D :D :D

      Latest linaro-arm-alip-t4 build worked like a charm!
      Thanks for the links too.. am reading, and reading!

      Made my day :)

      THANK YOU!!

      Delete
  9. when I try to log onto a wireless network it keeps asking me to Autheticate - what is the password?

    ReplyDelete
  10. Hello Mr. Corkindale.
    I did try the latest image. It worked like a charm. Wifi set up was a breeze. I noticed a few probably fixable flaws. Cheese and arduino have a few broken packages. I tried to get my creative webcam pro ex to work. But no go. If you could please list what webcam ware that works with your distribution. Once again good job on the fast lite image. It booted up on the mk802 in about 15 seconds.

    ReplyDelete
  11. Hi,

    Would be great if we can get Iptables and NetFilter compiled into the kernel to make a great, compact firewall?

    Cheers,


    RK

    ReplyDelete
    Replies
    1. +1, its exactly what I need... :(
      Mind throwing a iptables enabled kernel my way? :D

      Delete
  12. Hi guys,
    Firstly, have you tried the more recent builds I made?
    Secondly, there are a couple of guides on miniand.com about how to compile your own kernel for my images.
    Cheers,
    Toby

    ReplyDelete
    Replies
    1. Are there more recent ones than the ones on the blog here?

      Delete
    2. There are more recent blog posts, with a later version. You're commenting here, on the older one, so I'm not sure you've seen the later one or not.

      Delete
  13. It is really a very much explored content and superb wording. I got so occupied with this material that I was unable to hold on to peruse. I am dazzled with your work and expertise. Much appreciated. microsoft visio professional 2016

    ReplyDelete