Sunday, 5 May 2013

I.MX6 GK802 Xubuntu 12.04

This is an attempt at producing at fast and lightweight desktop release based upon xfce. Given that the majority of the Debian based ARM desktop distros still rely on Open GL Window Managers, the desktop makes use of the Open GL Vivante library where possible. However as the Vivante libraries don't seem to support all the mesa-gl api's this works with limited success.

Ideally the next step would be to rework/recompile some of the applications to use GLES instead of Open GL or find desktop with GLES support.

Given this is a rootfs, it can be tested on other imx6 devices but no guarantees.

What is working:

1. GPU acceleration
2. Video playback using totem
3. Chromium (with GPU acceleration, webgl does not work)
4. Numerous desktop applications
5. Wifi

As per the previous ubuntu 12.04 image, to deploy:

1. Download roofs.

2. Extract rootfs onto your sdcard.


There is a bug in ubuntu with dbus disabling wifi (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659953). After booting execute the following and reboot to configure wifi from within xfce:

chgrp messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chmod +s /usr/lib/dbus-1.0/dbus-daemon-launch-helper 



You can also download the Vivante GPU demos, these demonstrate the performance of the GC2000 core. Extract the tar file and the samples are in located in "viv_samples/vdk", there are number  tutorial files that you can run eg "tutorial1, tutorial1_es20".

89 comments:

  1. Thanks for your hard work! I always adore people with such commitment.

    ReplyDelete
  2. Great work Jas! We finally have an usable system!!

    1-WIFI work (with hack)
    2-GPU/VPU acceleration work
    3-Resolution fixed on 640x480 default
    4-system very fast on working with xfce
    5-read/write on ntfs partition seems not work... (module ntfs-3g is in kernel?)
    6-why I see video very slow? BTW perfetcly, but "in slow motion" what is the problem?
    7-Internal bluetooth not working but external one YESS..

    ReplyDelete
    Replies
    1. I have not installed yet, but on the older Wifi was not working by default, what do you mean by hack?

      Delete
    2. Resolution should be picked up using EDID, so not sure why it is not working for you. I think default should be higher. Resolution can be passed through uboot to kernel. If you need help, try iirc channel imx6-dongle.

      You should be able to configure wifi through xfce (setting).

      Delete
    3. I too have not been able to get EDID working at all, which u-boot.imx and uImage should we be using?

      Delete
    4. Updated blog with wifi fix, so that it can setting from within xfce.

      Delete
  3. Open up terminal

    sudo chmod 0600 /etc/network/interfaces (Optional – this is to stop the PSK from being exposed)
    [Enter your password. The default password is “linaro”]

    gksu gedit /etc/network/interfaces
    [Enter your password]

    Add the following text to the end of your interfaces file

    auto wlan1
    iface wlan1 inet dhcp
    [tab indented] wpa-ssid yournetworkssid
    [tab indented] wpa-psk yourpassword

    I think you can run the following to get a list of available networks if you can’t remember the exact SSID,

    sudo iwlist wlan1 scan (Optional)

    Now save the file and quit gedit. The “auto” should make the system connect automatically on startup, I don’t have access now to the GK802 to check.

    Now we have to restart the wlan1 interface.

    sudo ifdown wlan1

    sudo ifup wlan1 (I got an error here, just ignore it)

    Open your web browser, hopefully you will be connected to the internet..

    Posted by TanaKA thread ago..

    You may use wicd instead nwtworkmanager also...

    ReplyDelete
    Replies
    1. I've followed the steps and after sudo ifdown wlan1 I'm getting
      ifdown: interface wlan1 not configured

      also if I do ls /sys/class/net/ I get following:
      lo

      Any idea?

      Delete
    2. No idea, but I seem to have a similar problem. Using Ben's image on the external SD and Jas' multiboot uboot on the internal. The OS works flawlessly in general, but there is no network interface besides lo. I did apply the dbus fix.

      Checked dmesg, but didn't see anything with regards to wifi. I'm a noob, so I'm a bit lost on options now. I installed lshw, but it crashes saying "Bus error (core dumped)" when I run it as root. lsmod is empty, and modprobe runs into an error saying it can't open the directory /lib/modules/3.0.35-02708-g899792c-dirty - maybe that's the root of the problem or all that is expected, I have no idea and need some help.

      My workaround is to connect my phone and activate USB tethering, that works.

      Delete
  4. Hi Jas,

    Excellent work!

    What about Enlightenment GUI ? It can support OpenGL ES, I think.
    http://www.enlightenment.org/p.php?p=about&l=en

    Do you think it may be any help ?

    Tom

    ReplyDelete
    Replies
    1. That looks interesting will have a look at it.

      Delete
    2. Have to try " Enlightenment", great peace of software. Highly configurable, eye candy and have small resource footprint. Great for ARM based devices.
      Can I help in some way?
      Have allready installed multiboot, rootfs using information published here + SLiM login manager and e17 from repos.

      Apologize for my English, not native.
      My best wishes!

      Delete
    3. were you able to install e17 on the gk802?

      Delete
  5. Does this release support Video decoding and video acceleration on Chromium ? I looked into it but i couldn't get the GPU working in Chromium.

    Nice work by the way! :)

    ReplyDelete
  6. Thank you for your hard work, i just buyed the GK802 just for this

    thanks a lot

    ReplyDelete
  7. Could you please list the steps you took to build this rootfs and the ubuntu ones earlier (source, build environment)? I'd like to port this to the sabrelite board (http://boundarydevices.com/products/sabre-lite-imx6-sbc/) which also runs the imx6Q. Thanks

    ReplyDelete
    Replies
    1. Hi, in theory to port this you be able to untar the rootfs and just apply the correct kernel and uboot for the sabre-lite. That should be enought. The rootfs should be clean enough to be applied to any imx6 device.

      BTW how good is the SATA interface on the sabre-lite?

      Delete
    2. I just tested your image on the Sabrelite board and booted it from SATA. No Problems there - tested with 320GB Western Digital HD and with a SSD.
      You did really nice work here! I would also be very interested to know the steps you've taken to get this done.

      Delete
    3. Hi Thomas, many thanks for testing on a Sabrelite board.

      Can you share any metrics on realworld SATA throughput for imx6?

      Delete
    4. Yes sure - can you recommend me a program for that. And what data you would like to have?
      A few weeks ago we let Android boot from the SSD and it started within 17 seconds.

      Delete
    5. Hi Thomas, sorry for the late response, could you 'dd' a large file to HD and report the throughput.

      Delete
    6. Just did a dd from SATA SSD back to SSD:
      741859936 bytes copied, 28.3656 s, 26.2 MB/s

      Doesn't seem noticeably faster than conventional HD, but certainly much better than SD!

      May have to do with performance mode option since ethernet is getting throttled back to 10M? Processor is certainly much, much cooler to the touch than when running Oneiric provided by Freescale/Linaro...

      Delete
  8. I checked the /boot/linux.config, it seems CONFIG_FUSE_FS is not set which causes the PCfmMan fails to mount FAT/NTFS partition in external storages.
    Could you please provide a pre-compiled FUSE module,so it can be modprobed?

    ReplyDelete
    Replies
    1. Hi, you can try with this module http://stende.no-ip.info/jas/fuse.ko.

      Delete
  9. Good Day I followed your instructions contained here: http://jas-hacks.blogspot.com/2013/03/gk802-ubuntu-oneiric-preview-image_10.html to try and get a kernel with a working sound. However I was unsuccessful following your directions to a T. The device boots up and everything is fine but sound. Any help on getting a kernel with working sound would be appreciated, I would also be happy to pay you for your time.

    ReplyDelete
  10. ...
    usbcore: registered new interface driver snd-usb-audio
    mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
    asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
    ALSA device list:
    #0: imx-hdmi-soc
    ...
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0
    ERROR: HDMI is not ready!
    asoc: can't open platform imx-hdmi-soc-audio.0

    ReplyDelete
  11. I think the issue with the sound is even though I downloaded and dd the latest kernel that you have hosted on the site, the device has not switched over to the latest kernel. What kernel version should the device be using? ie what dirty path, there are several in here.

    ReplyDelete
  12. I created an image. I hope this steps will make someone's life a little easier, please confirm that the image is working. and also please correct me if I am wrong.

    1 - download the compressed file
    xubuntu_12_04_image.tar.gz (1.07 GB)
    https://mega.co.nz/#!oNckCQpK!OLADESBScE6n_lO7UwVtgBXrncAevGpryg7kQSD-M7Q

    2 - go to your Downloads folder
    cd Downloads

    3 - decompress file
    sudo tar xvf xubuntu_12_04_image.tar.gz

    4 - dd - convert and copy the iso file to your SD card
    sudo dd if=xubuntu_12_04_image.iso of=/dev/

    Notes: This image should work on 4GB and 8GB cards.

    ReplyDelete
    Replies
    1. This image work perfectly.
      But what is the root password?

      Delete
    2. To get root access you do 'sudo su' and password is linaro

      Delete
    3. Perfect, wireless works with the workaround but sound =\

      Delete
  13. Does that image contain a working sound kernel?

    ReplyDelete
    Replies
    1. Hi, sound is working if the resolution is set to 1080 or 720p.

      Delete
    2. Hello Jasbir thank you for the reply.. unfortunately I am still using the 3.0.35-02695 kernel that is not supporting sound, I see your latest kernel that was supposed to fix this being version 27XX etc.. even though I downloaded the latest uboot and dd it to my drive I am still using the 02695 kernel. How do I get this to use the latest kernel contained in the modules folder? I don't see a grub option, I do see where it says "bootable_kernel" do I copy over the kernel in the 027XX folder and call it this or just create a sym link to it?

      Delete
    3. Hi, the kernel is located in /boot and is named uImage.

      Delete
    4. Thanks for the reply Jas.. if you do a uname -a what kernel is the version I am supposed to be running on? I still am experiencing no sound and with 720p resolution. My uname -a shows:
      3.0.35-02695-ga09806b-dirty #54 SMP PREEMPT Mon Apr 8 09:51:34 BST 2013.
      I have downloaded your latest uImage_nofreq file and installed using dd. Is their a direct download just to download the knerl file of uImage and install it that way if I am on the wrong kernel?

      Delete
    5. Hi, there was a problem if the uboot was configured with a resolution (ie 1280x720) then no sound. This can be overcome by not setting the resolution in uboot.scr file. See my next post about uboot. There is also a kernel patch to overcome this if you are happy to compile a kernel, see https://github.com/wolfgar/linux-imx/commit/4cb436dabaff24523a49f283a2fe4f07bf90067d

      Delete
    6. Hello Jasbir, I downloaded your new uboot and the compiled internal uboot.scr file that does not have the resolution set my issue now is that my resolution is at 640 by default with no way of changing it. I had tried modifying the xorg.conf file with no luck on adding new modes, I would love to compile a kernel but I have yet to perform such an action the documentation I have found points to various Ubuntu flavors etc. If I could just send you a paypal payment of say $150.00 (or if more is needed just let me know) for a kernel that has this patch and has the necessary fixes for NTFS mounting that would be very worth it for me. Allowing the selection of resolutions other then the forced resolution would be icing on the cake.

      Additionally I would like to hire you for a need I have for this build please email rstamper print2cloud247 com I can make it worth your time.

      Delete
  14. 6-why I see video very slow? BTW perfectly, but "in slow motion" what is the problem?

    Any answer for this ? Seem like it doesn't support hardware acceleration .

    ReplyDelete
  15. Hi, thanks for this! Is it possible to have a kernel with tun/tap enabled for openvpn?

    ReplyDelete
  16. Somebody has it success to install xbmc.
    I have an error:
    xbmc-bin (>= 3:12.2-1-ppa1-precide) but it is not installable

    ReplyDelete
    Replies
    1. Wolfgar has made excellent progress on xbmc, his default image is based on Yocto. http://forum.xbmc.org/showthread.php?tid=161793

      I've just started testing his build for my xubuntu which still work in progress.

      Delete
  17. Be so kind as, prompt, somehow it is possible to Russify xubuntu 12.04?

    ReplyDelete
    Replies
    1. You should be able to install the russian language pack. See here https://launchpad.net/ubuntu/precise/armel/language-pack-ru-base.

      Delete
  18. And the sound somehow can be included in this version? There is no sound and all.

    ReplyDelete
    Replies
    1. With transfer dealt thanks. With transfer dealt thanks. And still the question how to expand the system section, gives out to Gparted a mistake.

      Delete
    2. Sound should be working, see my uboot post http://jas-hacks.blogspot.co.uk/2013/05/imx6-gk802-uboot-multi-boot.html. It covers issues with sound and setting screen resolution.

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

      Delete
    4. And what file to edit (to include audio), please tell me. Be kind, and that without a sound as something bad. Thanks in advance.

      Delete
    5. I've tried everything, still cannot get sound to work. Tried different uboot settings. Tried different monitors and tvs Still either defaults to 640x480 or 1280x1020 with no sound. Can someone compile a kernel with wolfgar's patch that works with xubuntu? I'm going to give it a try myself as I've tried everything else without success. I'm just not familiar with all this github stuff.

      Delete
    6. That is it is necessary to rebuild a kernel in order that earned a sound?

      Delete
    7. Yes apparently wolfgar's kernel patch is a workaround when edid doesn't work. I haven't been able to get edid to work so sound doesnt get sent over hdmi.

      Delete
    8. Updated the uboot blog with a precompiled kernel and modules containing the patch. Could you test it?

      Delete
    9. Thanks for the prompt response. It boots into VGA (640x480)when I have not set video in the boot.scr but when I try and set the video it fails to boot. Here is my boot.cmd without setting the video;

      setenv root '/dev/mmcblk1p1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv video ''
      setenv extra ''
      setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 1; ext2load mmc 1:1 0x10800000 /boot/uImage; bootm'

      When I try and set the video I just copied the video line from one of the other files;

      setenv root '/dev/mmcblk1p1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv video 'mxcfb0:dev=hdmi,1280x960M@60,if=RGB24'
      setenv extra ''
      setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 1; ext2load mmc 1:1 0x10800000 /boot/uImage; bootm'

      Do I need to change any other parameters? I'm going to try it on the internal SD card now with the updated kernel and modules to see what happens.

      Delete
    10. Hi Jas. Boots into 720p when using internal SD but still no sound. uname -a returns
      Linux linaro-ubuntu-desktop 3.0.35-02695-ga09806b-dirty #54 SMP PREEMPT Mon Apr 8 09:51:34 BST 2013 armv7l armv7l armv7l GNU/Linux

      which is an old kernel isnt it? I even tried downloading your new kernel again and copying it to /boot but no change.

      Delete
    11. Hi, in your uboot, video should be:

      'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'

      and the uboot file in your example trying to locate a kernel on the external SD NOT the internal one, which is may be why it is loading the old kernel.

      Delete
    12. Success! Thank you sound is now working with external SD. I didn't even pick up the 1280x960 just copied it from your 'external sd' boot.cmd example in the uboot post. Thanks again, my GK802 is now usable and not an expensive paperweight! uname -a now returns

      Linux linaro-ubuntu-desktop 3.0.35-02708-g899792c-dirty #114 SMP PREEMPT Sun Jun 23 11:37:27 BST 2013 armv7l armv7l armv7l GNU/Linux

      Delete
    13. Ben Jones
      Good afternoon!!! Be so kind as prompt please sequence of actions what to include a sound. My image of Xubuntu 12.04 is written down on SDcard and inserted into the internal slot (that is it at me as internal memory). What files need to be copied on it and in what place (For example. : in the Boot folder or in SDcard root)? And that has to be stated in these files.

      Delete
    14. Or it is necessary that Xubuntu would be on internal SDcard, and the boot.scr file on external SDcard? But what then still has to be on external SDcard except boot.scr? Or Xubuntu need to be written down on on external SDcard? I already got confused absolutely.
      Sequence of actions mine:
      1) To insert SDcard in cards the reader of the laptop.
      2) To write down an image of Xubuntu 12.04 from Linaro.
      3) Team---sudo dd if=u-boot_multi_boot.imx bs=1k seek=1 of =/dev/sdb & & sync---to copy u-boot_multi_boot.imx on SDcard.
      4) To create boot.cmd the file with contents
      (setenv root '/dev/mmcblk1p1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv video"
      setenv extra''
      setenv boot_normal '$ setenv bootargs console= { $ console } root= { $ root } rootfstype= { rootfstype } video= of $ {video} of $ {extra}; mmc dev 1; e\
      xt2load mmc 1:1 0x10800000/boot/uImage; bootm')
      5) Team---mkimage - A arm - O linux - T script - n "boot" - d boot.cmd boot.scr---to create boot.scr (And now a question: where to me to copy it, in SDcard root? )
      6) To take SDcard from the laptop, to insert into GK802 and to include.

      Whether correctly I made everything?

      Delete
    15. The way I have mine set up is to have a small (1gb) sdcard in the internal slot with the multi uboot dd'd to it as per the instructions in the multi uboot blog. I cleaned all the partitions off it using gparted and dd's the multi boot to it once it was cleaned and reinserted into the pc.

      In the external slot I have my ubuntu rootfs with the new kernel in the /boot directory and the modules untarred in /lib/modules and compiled a boot.scr from this ;

      setenv console 'ttymxc3,115200'
      setenv root '/dev/sda1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv extra ''
      setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
      setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; usb dev 0; ext2load usb 0:1 0x10800000 /boot/uImage; bootm'

      Use the command as you mentioned mkimage - A arm - O linux - T script - n "boot" - d boot.cmd boot.scr

      The boot.scr file then gets copied to your external sdcard in the root directory. I hope this helps.

      Delete
    16. Ben Jones!!!
      That is it is necessary for me:
      1) to take SDcard on 2gb, to format it in ext4.
      2) team (sudo dd if=u-boot_multi_boot.imx bs=1k seek=1 of =/dev / && sync) to copy u-boot_multi_boot.imx in a card root
      3) to take SDcard from PC and insert in internal memory of GK802.

      More on it has to be nothing except the u-boot_multi_boot.imx file in SDcard root.

      Then on other SDcard (8Gb)
      1) to write down an image of Xubuntu 12.04 (from Linaro).
      2) to copy in folder/boot precompiled kernel, and впапку / lib/modules modules with the patch from the blog I.MX6 GK802 - Uboot multi-boot.
      3) to create the boot.scr file here with such contents
      setenv console 'ttymxc3,115200'
      setenv root '/dev/sda1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv extra''
      setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
      setenv boot_normal '$ setenv bootargs console= { $ console } root= { $ root } rootfstype= { rootfstype } video= of $ {video} of $ {extra}; usb dev 0; ext2load usb 0:1 0x10800000/boot/uImage; bootm'
      and to copy boot.scr in a root of the same SDcard

      As a result at us two SDcard turned out. On the first SDcard (2GB) at us in a root the u-boot_multi_boot.imx file lies only. And on the second SDcard (8GB) at us an image of Xubuntu 12.04 with the files copied in it in folder/boot a kernel, in folder/lib/modules modules and in a root the boot.scr file.
      Then we insert SDcard (2GB) into internal memory, and SDcard (8GB) in the external slot for memory cards and we start GK802.
      Correctly I understood ?

      Delete
    17. That looks good except;

      1. when you issue the command sudo dd if=u-boot_multi_boot.imx bs=1k seek=1 of =/dev / && sync it should be of=/dev/xxx where xxx is the location of the sdcard (look at dmesg or gparted to determine the correct location)

      2. use this as boot.cmd
      setenv root '/dev/mmcblk1p1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
      setenv extra ''
      setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 1; ext2load mmc 1:1 0x10800000 /boot/uImage; bootm'

      If you are using the external sdcard slot on the GK802 setenv root needs to be '/dev/mmcblk1p1 rootwait' not /dev/sda1

      Make sure the boot.cmd does not have word wrap or carriage returns or line feeds in the last line - all one line only.

      Delete
    18. Ben Jones!!!
      With this of =/dev/xxx clearly at me at connection to the personal computer it is called / as dev/sdb
      This point correctly (Two SD card have to be)?
      As a result at us two SDcard turned out. On the first SDcard (2GB) at us in a root the u-boot_multi_boot.imx file lies only. And on the second SDcard (8GB) at us an image of Xubuntu 12.04 with the files copied in it in folder/boot a kernel, in folder/lib/modules modules and in a root the boot.scr file.
      Then we insert SDcard (2GB) into internal memory, and SDcard (8GB) in the external slot for memory cards and we start GK802.

      Delete
    19. Ok that is what I did and my sound worked.

      Delete
    20. Something isn't started anything. Precisely has to be so: in internal memory of sdcard (2gb) with only one u_boot_multi_uboot.imx file, and on external memory of sdcard (8gb) an image of xubuntu with a new kernel and modules from the blog u_boot_multi_uboot.imx and the boot.scr file.

      Delete
    21. Try using gparted to completely clear off the 2gb card, delete all partitions. Then dd the multi boot image to it with no partitions. I'll try and zip up an image of the rootfs xubuntu card today to make it easier as well.

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

      Delete
    23. Роман Михеев the same happening to me... I do everything and it doens`t boot.

      Then I downloaded Marco D ISO and DD to my SDCARD. It work's fine, but no sound. Wireless working with the workaround...

      After doing this, I tried a lot times to boot the new kernel... Definitely I was doing something wrong...

      Then I`d DD Marco's ISO again to SDCARD, then copied the new compile kernel and modules file, and then DD the new u-boot (multi-boot)...

      So great, It working now with sound... but no wireless (even trying the workaround).

      Now I'm DD(ing) Marco's ISO again to SDCARD... After that I will load on gk802 and try the workaround for wireless... once I've wireless working, I gonna put the new kernel and multi-boot again hoping it will works fine (sound and wireless)...

      Well, my boot.cmd:
      setenv root '/dev/mmcblk0p1 rootwait'
      setenv rootfstype 'ext4'
      setenv kernel 'uImage'
      setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
      setenv extra ''
      setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 0; ext2load mmc 0:1 0x10800000 /boot/uImage; bootm'

      I was forgetting to say: I'm using only one sdcard. This boot.cmd is to load rootfs in internal sdcard

      Delete
    24. Great! Now it's working perfectly!
      Sound OK, WiFi OK!

      I gonna try to create an ISO.

      Thanks a lot Jasber!

      Delete
  19. Many thanks. This is running on my WBQUAD wandboard. No wifi yet, but I suspect that was the kernel I built.

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. OK I've made an image with working sound and a boot.scr setup for booting from the external SDCARD slot. You must have a card containing the uboot multi boot file dd'd to it according to the instructions in the multi boot blog in the internal sdcard slot. Once this is prepared then prepare the external sdcard containing the rootfs and boot.scr file.

    Download this file

    xubuntu_sound.img.7z (767.9 MB)
    https://mega.co.nz/#!xg1AhRQR!PUWmnBixdDxXMtprL_t3KTxEsa9YnX6vX-usOEXxGXI

    install 7zip if you don't already have it;
    sudo apt-get install p7zip-full

    decompress the image file;
    7z e xubuntu_sound.img.7z

    dd the image to your sdcard (8GB);
    dd if=xubuntu_sound.img of=/dev/ bs=1M

    Put the sdcard into the external slot and it should boot with working sound at 1280x720!

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. All, thanks for the image of the disk, but it turned itself off already, but there were some issues. If you set the screen resolution of 1920x1080, the system begins to slow down. So it should be? And how to install flash player for chromium, but it does not play youtube?

      Delete
    3. Install lightspark. It plays youtube but it's a bit laggy. Not sure if its because WebGL is not working in chromium yet?

      I have just installed Enlightenment (E17) and it seems to run nice. Never tried 1920x1080.

      Delete
    4. Please tell me how you are installing the Enlightenment (E17). Works without bugs? Russian locale is in it? Thanks in advance.

      Delete
    5. Ben Jones
      Established E17 and how now to start it? It is necessary to remove in the beginning probably XFCE4 and at reset it to be started by default?

      Delete
  22. I also installed GDM to replace lightdm then you can choose which session type you want to run (including enlightenment). For some reason I was unable to configure lightdm to work properly with enlightenment and I couldnt bring up a chooser window to log in to different user. It would only allow me to log into 'linaro' automatically or not start xwindows.

    ReplyDelete
  23. Setup:
    -2gb internal sd: u-boot_multi dd'ed to SD card.
    -8gb external sd: dd'ed xubuntu-sound.img from Ben.

    Build boot.scr
    with
    '-' setenv root '/dev/mmcblk1p1 rootwait'
    '+' setenv root '/dev/mmcblk0p1 rootwait'

    rest is the same as Ben suggested (or like in the blog post above).

    I get a kernal panic like:
    http://pastebin.com/9r9JehxP

    NOTE: I change the rootfstype in boot.cmd/scr to EXT3 because on the 4th try I used windows Win32DiskImager to "dd" the image to the SD card. EXT4 was not an option to format it with my current windows tools.

    Anyways. Anyhow I try to dd or copy, no matter which image/tar I use I always get the same kernel panic.

    ReplyDelete
    Replies
    1. If you look at your trace file,

      noinitrd console=ttymxc3,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 ip=off


      the kernel args passed inidicate it is trying to boot from /dev/mtdblock. This means that the kernel wasn't passed any arguments and uses default. It would indicate that it is not finding the boot.scr on the external SD card. Did you copy boot.scr to the external SD card?

      Delete
    2. Yeah, as far as I can remember I did. But reformating and retrying gave me some other errors. E.g. not even finding the kernel at said position. I guess this comes just as I am trying too hard and I am missing the forest for the trees. Will report back.

      Delete
    3. Okay so I am starting off with an blank SD card. It is formated to ext4 with gparted. It shows it is used by 3% after formating. Is this correct ? BEcause the kernel should be some fixed position I thought.

      the of=/dev/ , should it be /dev/sdb or /dev/sdb1 ?? Partition or device ?

      Delete
    4. After formatting the external SD it should have little space in use. On the external SD card, the kernel image (uImage) should be copied to the /boot directory after extracting the rootfs, if it is not already there. The boot.scr should be copied to /. There is NO fixed position for the kernel with is uboot.

      For the internal SD card, when formatting ensure you leave some free space before the partition (eg 15MB) for uboot. Then 'dd' the uboot to it. Nothing else should be copied to the internal SD.

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

      Delete
    6. Okay finally got it working.

      1.) Had word wraping and line spacing issues.
      2.) Removing the SD card without umount wiped the boot.scr from the SD... strange.
      3.) the code snippet from multi-boot-blog-post had an "e\xt2load" option which, of course is not an option but a syntax mistake by me....

      Thanks !

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

    ReplyDelete
  25. Hi Jasbir,

    Recently Wolfgar has released new armhf XBMC build for Vandboard.
    Can u make Xubuntu image with 4.0.0 kernel and Wolfgar's rootfs for GK802?

    ReplyDelete