x

#{title}

#{text}

Forums » MK802 » Development » Linaro 12.06 armhf build

Reply
Pages:

Current version

The currently Ubuntu builds here are build using "armel", however the A10 supports armhf, which is said to be significantly faster.

If you want to try it, I have uploaded a full-sd-card image for Linaro ALIP, armhf, with my kernel, and some extra tweaks for the MK802. The current version is: linaro-alip-armhf-t4.7z (md5: 61f451921f3347a72..) After extracting the archive with 7zip, follow the instructions in the README file. The image is suitable for any SD cards of 4G or larger.

Preview versions

linaro-alip-armhf-t3.7z (md5: 37574d69fb529d1f24c8aa0e29bcbbc4) linaro-alip-armhf-t2.7z (md5: 59cec214d6ffc92bd8bc5bd1a16f7b2b) linaro-alip-armhf.7z (md5: 3ac29e6f87550c3c5d28ed85565844bd)

You can set that up simply by extract the image from the archive, then using dd to copy it right over the entire SD card. Simple.

Please note: This image is intentionally set to be around 3.7G, so it'll fit on all 4+ G cards. After you write the image to the disk, use a partition resizer to increase the second partition on the SD card up to its maximum.

Creation details:

If you're interested in how I set that up, read on:

  • Blank the card: dd if=/dev/zero of=/dev/sdb bs=1M count=16
  • Use fdisk to set up two primary partitions, both with type 83. The first partition should start at sector 2048 and be 16M long. The second starts immediately after the first, and goes until the end of your SD card.
  • Format the first partition as: mkfs.msdos /dev/sdb1
  • Format second as: mkfs.ext4 -E resize=16G /dev/sdb2
  • Download Suzuke's modified spl+uboot, and then do dd if=u-boot.bin of=/deb/sdb bs=1024 seek=8
  • Mount /dev/sdb1 somewhere, then:
  • Download my modified evb.bin and copy it onto that first msdos partition.
  • Download my kernel_3.0.36_hf.tar.gz and extract it somewhere.
  • Copy the uImage into the sdb1 dos partition.
  • Download one of the Linaro base filesystem tarballs (eg linaro-precise-ubuntu-desktop-20120626-247.tar.gz or similar) and extract it somewhere, preserving numeric uids.
  • rsync binary/boot/filesystem.dir from there, into the root of the ext4 sdb2 partition. Remember to preserve numeric uids, etc.
  • Now rsync the lib directory from my kernel package above into /lib as well.
  • edit the etc/rc.local file and prior to the exit 0 line, add depmod -a above it.
  • umount everything, run sync, then eject the SD card.
  • insert SD card into MK802, cross fingers, and boot it up.

Note that although armhf is said to be faster (and it has seemed quick when I've used it headless on BeagleBone), in this case the Linaro build fires up a full Ubuntu instance, which is a lot heavier than the Lubuntu XFCE-based images I was running on the MK802 before.

Need to switch over to the xfce desktop and see how it feels then..

Avatar
Miniand Admin

Great work! I'll have a play around with it tonight and try to get lubuntu-desktop going as a replacement for ubuntu-desktop.

Edit: looks like your missing part of the download path for the kernel download.

In reply to Toby Corkindale

Wow Toby! Thanks for this. :) My next question was about HF and had anyone compiled an edition for the MK802.

Are you able to release an IMG or is it better to compile on my own system and then transport over to a card? Does this incorporate all the fixes such as 1080p etc?

Mathew

Nice work! Thank you for doing this. But I am not sure the modified spl+u-boot whether work fine with the new kernel, I think there maybe have some problem. I am still working on it.

In reply to Toby Corkindale

damn i should have a diferent fdisk versión or something...

If you discover that your screen keeps going blank until you wiggle the mouse, do this:

echo 0 > /sys/class/graphics/fb0/blank

I added it to /etc/rc.local myself..

i cant download the kernel... forbiden.

still forbiden.

EDIT: got it.

Well no idea of what i did wrong, probably something with rsync,the linaro bootup, but no sound, wifi... etc USB pendrives arent working for me either. depmod gives no errors, and i cant modprobe anything, and the modules are there.

And i can only log in with the linaro user, with another user it does not log in...

Avatar
Miniand Admin

I hope you don't mind Toby, I've updated the url in your original post.

In reply to shivansps

Thanks for updating my post as well :)

In reply to Miniand

Well no idea of what i did wrong, probably something with rsync,the linaro bootup, but no sound, wifi... etc USB pendrives arent working for me either. depmod gives no errors, and i cant modprobe anything, and the modules are there.

And i can only log in with the linaro user, with another user it does not log in...

I'm not sure what you've done, but it sounds like a mismatch between the kernel uImage and the modules.

Have you definitely grabbed the armhf kernel tarball? You haven't kept some parts of the non-hf one hanging around by accident, maybe in your boot partition or in /lib/modules?

In reply to shivansps

I downloaded the one you posted, both the kernel and modules are correct.

I think is related to rsync and symlinks, that the only thing i suspect, because i have no idea of what going on... i gona wipe the second partition and try again.

btw, what arguments did you use with rsync? im using -arv

This is what it says depmod -a -v

/lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcaux.ko needs "usb_serial_deregister": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_write": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_suspend": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_close": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_release": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_serial_disconnect": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_chars_in_buffer": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_serial_suspend": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_write_room": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_disconnect": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_startup": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_resume": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_wwan_open": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usb_wwan.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_serial_probe": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_serial_register": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_serial_deregister": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/qcserial.ko needs "usb_serial_resume": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/safe_serial.ko needs "usb_serial_disconnect": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/safe_serial.ko needs "usb_serial_probe": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/safe_serial.ko needs "usb_serial_register": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/safe_serial.ko needs "usb_serial_deregister": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/siemens_mpi.ko needs "usb_serial_disconnect": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/siemens_mpi.ko needs "usb_serial_probe": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/siemens_mpi.ko needs "usb_serial_register": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/siemens_mpi.ko needs "usb_serial_deregister": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_port_softint": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_disconnect": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_suspend": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_probe": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_register": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_deregister": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/sierra.ko needs "usb_serial_resume": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/spcp8x5.ko needs "usb_serial_disconnect": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/spcp8x5.ko needs "usb_serial_generic_open": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/spcp8x5.ko needs "usb_serial_handle_dcd_change": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/spcp8x5.ko needs "usb_serial_probe": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/spcp8x5.ko needs "usb_serial_register": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/spcp8x5.ko needs "usb_serial_deregister": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/ssu100.ko needs "usb_serial_handle_sysrq_char": /lib/modules/3.0.36-t1+/kernel/drivers/usb/serial/usbserial.ko

In reply to Toby Corkindale

New here and am interested in Linaro.

Please provide the links for the following two items.

Download Suzuke's modified spl+uboot, Download my modified evb.bin

Also, why did you choose the full ubuntu desktop and not ALIP which is much lighter?

Would it be possible to create an mk802 hwpack ala Linaro. That way it would be much easier to deploy across various sized SD cards. I was going to attempt such when I became frustrated trying to guess the url of the dl.miniand site or are then on the github site or are they attachments somewhere in these forums?

In reply to Toby Corkindale

Ok i give up,i builded my own kernel and modules, it only sends signal to HDMI when i builded in HDMI, disp,ump and lcd modules, but if i built in 8182cu driver it not longer boot up, it get stuck at loading kernel.

So yeah, i have no idea of what the problem is... ill wait for a working armhf image...

New here and am interested in Linaro.

Please provide the links for the following two items.

Download Suzuke's modified spl+uboot, Download my modified evb.bin

Also, why did you choose the full ubuntu desktop and not ALIP which is much lighter? Would it be possible to create an mk802 hwpack ala Linaro. That way it would be much easier to deploy across various sized SD cards.

I'm playing around with the system and trying to develop features, such as GPU support; for my purposes, it's easier to start with a full-blown system and work back. I assume that other people can make their own choices about what is most appropriate for them. I note that this is the development forum -- I hope others will take things like my complicated steps and tarballs and produce easier-to-use SD card images and such, and put them in the end users forum.

In reply to ishi

Ok i give up,i builded my own kernel and modules, it only sends signal to HDMI when i builded in HDMI, disp,ump and lcd modules, but if i built in 8182cu driver it not longer boot up, it get stuck at loading kernel.

I think you said you're using an Aurora tablet, not an MK802? I guess there must be some kind of difference? I've been using my Linaro/armhf setup daily.

It really sounds like you're having some kind of problem with the modules being loaded, as if they're being put into the wrong location.

In reply to shivansps

A (maybe stupid) question: is armhf kernel compatiable with armel user-space programs? If not, is linaro site hosting an ubuntu repository for pre-compiled armhf packages?

In reply to Toby Corkindale

A (maybe stupid) question: is armhf kernel compatiable with armel user-space programs? If not, is linaro site hosting an ubuntu repository for pre-compiled armhf packages?

armhf is NOT compatible with armel. However, the Linaro (or ubuntu core) armhf images are configured to talk to ubuntu repositories compiled for armhf too. There's all the usual stuff on there.

In reply to quark
Pages: