New XBMC yocto image

Introduction

I am pleased to announce that a new yocto based image (v0.0.3) with my newest XBMC for iMX6 is now available.
This is a Yocto image based upon the dora version (V1.5).
This image takes advantage of the great work from freescale community while adding my own layer for most XBMC related stuff.
Today this release is available for the following devices :

  • Wandboard Dual and Quad
  • Utilite : I have a pro model but it may work on other variants (untested for now)

What’s in it

Basically, this image packages XBMC Gotham Alpha 9 with :

  • iMX6 hw accelerated decoding (VPU) for most standard formats
  • iMX CEC support (for utilite only as wandboards are not properly wired)
  • WIFI configuration thanks to network manager addon
  • Support for HDMI/SPDIF/Analog sound outputs (including passthrough for HDMI and SPDIF)
  • SMB/NFS/uPNP network shares and other standard XBMC features

It is a ARMHF build with 3.0.35_4.1.0 kernel.

Compared to my previous images, it tries to provide better support for developers :

  • Native compilation (gcc and standard dev libraries already installed)
  • Cross compilation (Full SDK provided)
  • Straightforward way to fully rebuild the yocto distro

It also solves some bugs found in the previous images :

  • The transiant black screens are gone
  • The Jump backward and Fast Backward Fast Forward are now OK
  • Many videos are now perfectly smooth and no frame drop occurs (except when the GUI is being opened)
  • Some bugs related to the main XBMC Gotham alpha are fixed in this updated alpha 9 version

Resources

The following sdcard images are available :

  • Wandboard Quad (md5sum f913b2d586e96f8ddaa0d1014720abba)
  • Wandboard Dual (md5sum cc39390ee87de8b8ef806604a79c410a)
  • utilite (md5sum 6a3dae479cccedeae63d692f32cdaba2) (Was updated on 11/20 to solve boot issue some users were faced with)

You can also download :

  • the wandoard Quad RFS alone (md5sum 6494d166591044beba3b27d4d6e889b6)
  • the SDK for x86_64 linux host (md5sum c6ec065ba02add6005f8f4b82b5aa0a9)

Installation

The provided images target 2GiB sdcards.

  • Download the relevant image for you device
  • Extract it by using the xz utility :
xz -dv image_name.bin.xz
  • Burn it on a sdcard by using
dd if=image_name.bin of=/dev/sdx bs=4M

With /dev/sdx being the sdcard device (for instance /dev/sdd)

Optionally, you can use gparted to resize the second partition/FS and benefit from all the available space on your card.

Note that installation on internal SSD for utilite pro is perfectly doable. I will publish the way to do it when the recovery tool from Compulab will be available.

How to use

At startup, XBMC is automatically launched, just have fun…
Be aware that :

  • login is root and password is empty
  • You have a shell on the serial line interface (115200n8)
  • A ssh/scp server is up and running
  • Your wired Ethernet will be configured by DHCP and you can setup wifi thanks to the XBMC nm addon

Known issues

  • Sound saturation still occurs on analog output : Refer to this ticket
  • HDMI passthrough for HD audio is not yet validated
  • live TV support is being worked on but not yet available

Moreover, the Smart packages updater has a few issues in this release :
If the update command

smart update

does not work in spite of working internet connection, then, issue the following commands :

rm -rf /var/lib/smart/
smart channel --add wolf_repo type=rpm-md baseurl=http://www.stephan-rafin.net/rpmhf2

For obscure reasons, smart is fooled in thinking that some basics packages are not installed (while they are ) and fails when it tries to reinstall them…
As a workaround, when you install a package, use the stepped option :

smart install --stepped your_package

and refuse installation of already installed packages…

Bugs Report

This image is still work in progress.
If you experience instabilities, crashes or bugs, please report them to me without being too rude ๐Ÿ˜‰
Known bugs are tracked here
Please when you report a bug :

  • Try to be as precise as possible regarding the context.
  • When it occurs, try to download the 2 files :
    • /tmp/temp/xbmc.log
    • /var/log/messages
  • Try to reproduce it

For now, report these bugs on this blog, then we will move to a forum thread may it be the XBMC one or another one if required.
I will create tickets in trac by myself as I have disabled the ability to create tickets for anonymous because of spams.

If you need to send files, I will give you a direct link to upload on my server by mail.
In case I ask you to create a core dump dump here is the way to do it :

  • Stop XBMC
  • login on the board and issue the commands :
echo "/tmp/core.%e.%p" > /proc/sys/kernel/core_pattern
ulimit -c unlimited
/imx6/xbmc/lib/xbmc/xbmc.bin &

Then if XBMC crashes, a file core.* will be created in /tmp folder

Rebuild your own distro

Just issue the following commands on a Linux host to rebuild from scratch the whole distro :

#Install repo
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

#Create BSP folder
PATH=${PATH}:~/bin
mkdir xbmc-bsp
cd xbmc-bsp

#Download layers
repo init -u https://github.com/wolfgar/fsl-community-bsp-platform -b dora
repo sync

#Initialize build environement
#Valid MACHINE values are wandboard-quad wandboard-dual and utilite
TEMPLATECONF=`pwd`/sources/meta-stef/conf MACHINE=wandboard-quad source setup-environment build

#Let's build the whole thing
bitbake xbmc-image

At the end you will find the image in build/tmp/deploy/images/$MACHINE folder.

Conclusion

That’s all for now, I will focus on liveTV (including hw deinterlacing) and I will investigate the analog sound output issue during the next days.
If you design a iMX6 board/device (Dual ultra or Quad) and would like that I add support to it, please mail me.
At last, if you appreciate my work and want to encourage it, you can consider to click the following button.
Donate Button

193 thoughts on “New XBMC yocto image

  1. Hi Stephan,
    is CEC left out of the wandboard quad image? Hope not.
    Or does it just not work on not “modified” wandboards?
    Have you found something regarding sending the board into standby/sleep and waking it up via cec when tv is switched on?
    regards
    Chris

    • Hi Chris,
      Of course I have not voluntary disabled CEC on wandboard : You have my modified libCEC in the RFS !
      Yet I have to underline that I have not pushed the required changes in wandboard kernel : no good board no good kernel. After all, recompiling a kernel is easier than soldering SMD board, isn’t it ? Just joking, I could easily package a new wandboard kernel with the required changes. I will anyway provide a new kernel soon with a hack to add a very cheap IR receiver on wandboard that a user sent to me a few days ago.

      Regarding standby/sleep I have not yet investigated the issue. There is provision for it in CEC but is everything available to implement it on our imx6 boards is another (good) question…
      On my todo list but with medium priority
      Regards

    • Thanks a lot for the bad path report : I have updated the post accordingly.

      Building from scratch native tools and whole distro requires some time yes : About 2 hours on my server but it is a powerful quad core with fast internet connection…
      Note that yocto is not the culprit here : On the contrary it is more efficient than other build systems because it is able to parallelize build (-j make option) AND tasks (thanks to bitbake)

  2. Are you still working towards a build for the CuBox-i range (assuming you’ve got your CarrierOne board now)?
    I know from your previous posts that you like the Utilite board but with the new CuBox-i range starting at $45 I’m sure it’s going to be a popular XBMC box, so I’d love to read an update on your work with that board?
    Cheers

    • Hi Billy,

      Good question !

      I indeed received a CarrierOne (based on iMX6 solo)
      I already spent a lot of time to setup this board and try to make XBMC run perfectly on it. Unfortunately, for now the result is not perfect.
      Basically it is all good @720p but I does not work properly @1080p.
      The main issue here is not not pure CPU power, it is memory bandwidth : we have a 32bit bus @ 800Mbps whereas on the other boards I support we have a 64bits bus @1066 : It makes a big difference : 2.5 factor …
      I already improved significantly the behavior but not enough (I am almost sure that the variants ultra and pro would just work “out of the box”)
      I have a few ideas that would enable to settle the remaining issues but it is all about time , availability and priority of course…
      Frankly at a personal level I am not so excited by such a single core board but I understand that there are many customers who believe it is a pretty attractive product given its price.

      Best regards

      • Hi, thanks for update. Tbh, I suspect most people will opt for the dual or quad core despite being in the ยฃ100 as it would still be very aggressively priced compared to other XBMC capable boxes.

        Do you think those models, with better GC2000 GPU etc will have enough specs to overcome the issues you’ve discovered?

        Cheers

    • Where can you read that gk802 is supported ? Obviously you cannot use wandboard image as it. Yet you can use the RFS and hste script to build a working image…

      • Moreover, the Smart packages updater has a few issues in this release :
        If the update command
        smart update

        does not work in spite of working internet connection, then, issue the following commands :
        rm -rf /var/lib/smart/
        smart channel –add wolf_repo type=rpm-md baseurl=http://www.stephan-rafin.net/rpmhf2

        For obscure reasons, smart is fooled in thinking that some basics packages are not installed (while they are ) and fails when it tries to reinstall themโ€ฆ
        As a workaround, when you install a package, use the stepped option :
        smart install –stepped your_package

        what does your_package mean in the above line.

        Thanks
        Jim

        • It is the name of the package you want to install
          for instance :
          smart install –stepped tzdata
          will install TZ revelant data in the RFS.
          You can search for packages with the
          smart search
          command
          regards

          • Stephan,

            I must be a real dumb ass, when I use smart search nothing comes up. I used smart channel from above, it says there are 4573 new packages. When I do smart search, it gives me an error search expression not specified, is there something I have to put after the smart search command.

            Thanks
            Jim

            • Jim,
              I was too fast and have not explained correctly : you need to specify an argument to “smart search” command.
              For instance, if you want to know if the rsync utility is available : “smart search rsync”.
              If you want all the packages : “smart search *” will do the trick…
              Regards

              • Stephan,

                Am I doing something wrong. I installed the above new xbmx Yocto image and tried to run it, but it doesn’t run right, the picture keeps jittering. I then tried using PuTTy and issued the following commands :
                rm -rf /var/lib/smart/
                smart channel โ€“add wolf_repo type=rpm-md baseurl=http://www.stephan-rafin.net/rpmhf2The above new and it tells me the packages are installed. Any help would be appreciated.

                Thanks
                Jim

    • I have updated the script for building xbmc with stephans latest version: http://stende.no-ip.info/files/xbmc/mkxbmc.sh
      You should probably make a file:
      /etc/modprobe.d/blacklist.conf with
      blacklist rtl8192cu
      blacklist rtlwifi
      blacklist rtl8192c_common

      and a file for using the 8192cu module instead
      /etc/modprobe.d/8192cu.conf with
      options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

      If you use a ethernet dongle instead you should probably add
      blacklist 8192cu to the blacklist.conf instead of 8192cu.conf

  3. Hi Stephan
    I found in another mail-groupd that someone got better perfomance network performance with balancing the irq. When I did a cat /proc/interrupts I saw all of them was on cpu0 so I moved the once that used most interrupts to different cores. I added thi to my /etc/rc.local:
    echo 2 >/proc/irq/75/smp_affinity #usb_wakeup, fsl-usb2-otg, fsl ehci pre….
    echo 4 >/proc/irq/87/smp_affinity #i.MX Timer Tick
    echo 8 >/proc/irq/147/smp_affinity #mxc_hdmi, hdmi dma

    You can close the bugs for timezone and language after adding the tzdata
    Btw I didn’t need to do rm -rf /var/lib/smart/. Just adding the repo was enough for me.

    hste

    • Thanks for this hste !
      Regarding IRQ balancing , tweaking them easily turns into black magic. At least binding the timer to a different core may not harm you are right (as this timer will be responsible for wakeups to submit new frame both at xbmc and IPU tasks level..)
      I added tzdata in the packages yesterday after your post. So it is already available… I have to update many tickets including this one, you are right !
      For smart, it should even work directly (because there is the configuration file with my repo entry in the image ) but I have experienced strange behavior where I had to remove everything and add the repo again, that’s why I have posted the way to rebuild a fresh configuration even if it is indeed overkill in many cases…

      Stephan

    • Hi.

      How did you solve the problem with the timezone? I have the problem that I am not be to change the TZ because it’s in XBMC disabled. Also I am not be able to install the package tzdata via “smart install tzdata”. I am getting everytime the message “error: ‘tzdata’ matches no packages” . ๐Ÿ™
      But also I have to say I don’t know yocto and may be I missed something. ๐Ÿ˜‰

      On the Wandboard XBMC is running likes a charme. ๐Ÿ˜‰ Thanks for the work?

      I anywhere a forum with tutorials or to reportung bugs etc?

      Best regards
      Tame

  4. Hi!
    Great work, it’s working good so far! ๐Ÿ™‚

    But i think i’m doing something wrong, maybe you can help me:
    *when i try to mount a ntfs partition, is get:
    modprobe: FATAL: Module fuse not found.
    ntfs-3g-mount: fuse device is missing, try ‘modprobe fuse’ as root

    *is it possible (because of non libcec support on wandboard) to load mceusb?

    thx & greeting

  5. Hello
    to install the latest version of XBMC alpha, you have to wait for a new version of yourself or you can somehow install the nigthly daily

    thanks

    very nice work

    • Hi
      For now, my code is still out of main xbmc tree so you have to wait for my version.
      I still have to solve live TV and to clean the code then I will try to upstream my code…
      Regards
      Stephan

        • Hi menno
          Yes it works (but not with image 0.0.3 : I have implemented it quite recently and have not released it so far)
          the same for live tv : it works and I am currently watching TV with xbmc on my utilite (to be released)
          Yes mpeg2 is definitively hw decoded. There is also hw deinterlacing but it is not so good : I have to investigate…
          Stephan

  6. Hi Stephan,

    Great work! Can’t wait to also be able to use the live TV feature with my anysee E30 plus. One question: I’m trying to learn from your work and am currently trying to understand the whole yocto stuff a bit. I tried to rebuild the image using the exact instructions you give, but the bitbake fails as follows. Any ideas?
    bastiaan@UX31A:~/xbmc-bsp/build$ bitbake xbmc-image

    Parsing of 1423 .bb files complete (0 cached, 1423 parsed). 1816 targets, 133 skipped, 0 masked, 0 errors.
    ERROR: No recipes available for:
    /home/bastiaan/xbmc-bsp/sources/meta-stef/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.38.bbappend
    ERROR: Command execution failed: Exited with 1

    Summary: There were 2 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    bastiaan@UX31A:~/xbmc-bsp/build$

    • Hi,
      In the folder :
      sources/meta-stef / recipes-multimedia / libfslvpuwrap /
      do you have both :
      libfslvpuwrap_1.0.38.bbappend
      and
      libfslvpuwrap_1.0.40.bbappend
      files ?
      If so, just remove the libfslvpuwrap_1.0.38.bbappend file !
      Sorry I forgot to push this rm I guess…
      Best regards
      Stephan
      Edit : I have just fixed my repo about it. Thanks for reporting…

      • Ok, I think I’m almost there. I also had to copy the rc.local file in a different directory, cause it seemed that it wasn’t where yocto was trying to find it, but then it finished without errors. I have DVB-T using tvheadend and smartcard reading using oscam and a separate card reader working now on a Linux system, so whenever you need testers for this on wandboard, let me know.

        • Hi
          That’s strange for the rc.local issue, everything should be fine since this commit :
          https://github.com/wolfgar/meta-stef/commit/59e3766ad707777d14b56b510c1e633d4537cc45
          I am working on liveTV at the moment and full screen HDTV already works (not perfectly but not that bad…). I have a strange issue with SD streams I am still investigating. But it should happen soon !
          Regards
          Stephan

          Edit : Thats it ! it works fine for SD streams now.. Time to sleep ๐Ÿ˜‰
          Edit2 : OK my mistake for rc.local, fix is here https://github.com/wolfgar/meta-stef/commit/a111b72bd1a06d1542cbc47bd253aa4887701c4e

          • Top! And thanks for the rc.local fix. Any chance I can test out the tv stuff yet? Should it work by resyncing to your repo and recompiling or should i have a bit more patience for a new image? Don’t want to press you, I’m just excited.

            • You will be able to resync very soon : I will tell you when the required changes are committed …. For now I am cleaning the code and having a look at unsupported divx codecs…

              • You can update… ๐Ÿ˜‰
                (Of course you will have to add support for your dvb device in kernel but at xbmc level it should be fine…)

                • Hi Stephan, I directly decided to give it a try but the bitbake process fails while compiling the pvr addon, complaining it can’t find GL/gl.h

                • ok, got that working now (I did change the pvr recipe, it said ac_cv_lib_GL+=no into just =no). Can you give me a lead how to add support of my tv-card to the kernel (lsusb does detect it, but can’t find it in tvheadend)? I have never changed a kernel before, but I think the support resides in a file called anysee.c. Should I somehow compile that including its dependencies and somehow plug it into the yocto build? Sorry, but I’m a noob when it comes to building kernels.

                • It is not ac_cv_lib_GL but ac_cv_lib_GL_main (My copy/paste was a little too long but it was ok for me even with the appended “+”, was it an issue for you ? Anyway I have dropped it just in case…)
                  It is normal you can see your device with lsusb but it does not appear in tvheadend : You have to add the proper driver…
                  I guess the easiest is to rebuild a whole kernel : start from commit 44c7f87e19d636157482cb5384afefbea1830bf1 (https://github.com/wolfgar/linux/commits/wandboard_imx_3.0.35_4.1.0) and take configuration file defconfig which is in sources/meta-stef/recipes-stef/linux/files.
                  Downlaod the sdk and use it to rebuild your kernel : it is a standard kernel build:
                  export ARCH=arm
                  export export CROSS_COMPILE=/path_to_your_toochain/arm-poky-linux-gnueabi-
                  make menuconfig
                  In the menu select support for your ANYSEE device
                  it is under :
                  -> Device Drivers โ”‚
                  -> Multimedia support
                  -> DVB/ATSC adapters
                  -> Support for various USB DVB devices
                  Then,
                  make uImage
                  make modules_install INSTALL_MOD_PATH=/pathwheremoduleswillbeinstalled

                  If you can’t manage to build it on you own, tell me I will send to you a new kernel…
                  Regards

                • Thanks again for all the time you put into this. I tried to do what you say, but in my hands kernel compilation fails at: drivers/gpio/janz-ttl.c:107:2: error: implicit declaration of function ‘iowrite16be’ [-Werror=implicit-function-declaration]

                  But I am not ruling out I am just doing something wrong. I’ll try to look into it a bit further during the week, but I doubt I’ll manage. Thanks again anyways.

                • UPDATE: I uncommented -Werror-implicit-function-declaration in the Makefile and then it proceeded, but ran into another error: drivers/mfd/mxc-hdmi-core.c:36:24: fatal error: mach/clock.h: No such file or directory

  7. Hi again,
    It was compiling during a long long time … few hours …
    I finally end up on an error while compiling xbmc … ouf not too far from the end I guess …
    I feel like I miss some packages (apt-get install …) on my host for compiling xbmc, could you give a look at this error :

    ————————————————————————————————————
    configure: WARNING: unrecognized options: –enable-nls

    ————————
    XBMC Configuration:
    ————————
    git Rev.: 20131105-00397ce
    Debugging: No
    Profiling: No
    Optimization: Yes
    SWIG Available: Yes
    JRE Available: Yes
    Doxygen Available: No
    Crosscomp.: Yes
    target ARCH: arm
    target CPU: no
    OpenGLES: Yes
    ALSA: Yes
    DBUS: Yes
    VDPAU: No
    VAAPI: No
    CrystalHD: No
    VTBDecoder: No
    OpenMax: No
    Joystick: No
    XRandR: No
    Waveform: Yes
    Spectrum: Yes
    GOOM: No
    RSXS: Yes
    FishBMC: No
    ProjectM: No
    Skin Touched: No
    X11: No
    Wayland: No
    Bluray: Yes
    TexturePacker:No
    MID Support: No
    ccache: No
    ALSA Support: Yes
    PulseAudio: No
    HAL Support: No
    DVDCSS: Yes
    Google Test Framework Configured: No
    Avahi: Yes
    mDNSEmbedded: No
    Non-free: Yes
    ASAP Codec: No
    MySQL: Yes
    Webserver: Yes
    libssh support: Yes
    libRTMP support: Yes
    libsmbclient support: Yes
    libnfs client support:Yes
    libafpclient support: No
    AirPLay support: No
    AirTunes support: No
    UPnP support: Yes
    Optical drive: Yes
    libudev support: Yes
    libusb support: No
    libcec support: Yes
    libmp3lame support: No
    libvorbisenc support: Yes
    libcap support: Yes
    additional players: No
    additional codecs: Yes, imxvpu
    External FFmpeg: No
    PVR add-ons: No
    prefix: /imx6/xbmc
    ————————

    DEBUG: Shell function do_configure finished
    DEBUG: Executing python function do_qa_configure
    NOTE: Checking autotools environment for common misconfiguration
    ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
    Rerun configure task after fixing this. The path was ‘/home/labo/yocto/xbmc-bsp/build-wolfgar/tmp/work/wandboard_quad-poky-linux-gnueabi/xbmc/git-r2/git/lib/ffmpeg’
    DEBUG: Python function do_qa_configure finished
    ERROR: Function failed: do_qa_configure
    ————————————————————————————————————

    Thank you …

    • Hi,

      this might be a problem with the ffmeg configure.
      It will try to find sdl, wich is not included in the build, so its includes
      will use /usr/include. that will give a cross-compile warning, and
      the build will fail.

      After I did a bitbake libsdl, the ffmpeg configure was oke.

      Greetings Rene

      • Hi Aurelihein

        Good news is : you are almost done ! ๐Ÿ˜‰

        Rene explanation seems very logical : On my build host I don’t have any sdl related packages so I cannot witness this issue…

        For your global understanding, you can have to look at /labo/yocto/xbmc-bsp/build-wolfgar/tmp/work/wandboard_quad-poky-linux-gnueabi/xbmc//git-r2/git/lib/ffmpeg/config.log to understand the issue
        (please do not post it here as a comment. Use a online copy/paste system if you want to share it with us lol)
        In fact sdl is not really required and the host pkgconfig should not be invoked and provide you with the wrong local dev libs : I have to check what is going on…
        By the time, just use Rene workaround which will allow to finish your whole build ๐Ÿ˜‰

        Regards

  8. First I am sorry for my bad english and my (maybe) stupid question.
    I just got my Utilite Pro. I wish to install XBMC on the SSD. Stephan told me already he will release instructions later once a recovery tool is available from combulab. Im not sure he miss understood me. What I like to do is not install the provided image on the ssd instead on a microsd card. I really like to know, how can I install just the XBMC package to the default Utilite Xibuntu installation? Is there any repo I can add and install with the apt-get install command?

    • Ho sorry
      I misunderstood your initial question, you are right
      AFAIK, there is no available package for Xubuntu.
      Yet it is doable of course.
      On my side, I cannot spend all my time to package for every distro.
      That’s why I provide a proof of concept with the most updated components (both my xbmc code and required libraries) and that I support geeXboX integration…
      You should ask compulab on their forums whether they plan to package my work in their default xubuntu distro : Odds are high they will at some stage but I cannot speak for them of course
      Regards

      • Compulab has provided a way to recovery the xubuntu image back to the SDD. So it’s time to explain how to install the image on the SSD. ๐Ÿ™‚

        • Thanks for notifying me !
          Then I will publish a dedicated script that will install my image on SSD (should be available by the end of the week…)

          • Hey Stephan, thats great! You doing really a good job here.
            BTW yesterday I had a little time to test your Image again. This time I connecter the Utilite on HDMI1 and CEC is working now. Very nice. Just not that fast, but I guess thats the way CEC works. Also tried to install transmission again by hand but still no go. Will give it another try this weekend.
            Best regards
            Roland

  9. I burnt the Image on my 4GB MicroSD Card. Once I boot up my Utilite Pro, the only thing that comes up is the writing “www.wandboard.org”. The LED beside the MicroSD Card doesn’t flash. So it won’t boot. Can anyone tell me, what I am doing wrong? The Geexbox Image was running with the same SD card. But I had now wifi, so I like to try this new Image.

    Kind regards

      • Sorry in fact I don’t even know how the hell you can manage to have this result as the wandboard u-boot is responsible for this display but you should always use your internal u-boot (which is in the SPI flash of your utilite !)

        EDIT : Additionally please note that wifi is tested and functional in the geeXboX image…

        • Hi stephan

          Thx for your fast answer.
          I’m really sure i took the Image for Utilite! I even check the MD5 sum. Anyway, I will try again tonight.
          About the geexbox 3.1. Does it support WPA2? Do I have to edit the /etc/network file or can all be done with the integrated “network manager”?

          • OK I guess I understand what’s going on : In fact the utilite image does not contain a u-boot for utilite as it should not be needed at all : The bootloader should be in the internal SPI flash. Odds are very high you don’t boot from this internal flash : Have you voluntary erased it ? if you remove any sdcard are you still able to boot ?
            (For wifi I will tell you tonight, I am sure that Thomas -geexbox maintener- tested it but I don’t have the details in mind)

            • Hi Stephan
              You are doing a very good job here. And you always answer very fast. thx so much for your great support.
              The Utilite Pro still untouched. I just burnt the Image and started the Utilite. If I do the same with the Geexbox Image, it will start with no problems. My goal how I like to use the Utitlie one day would be as follow: I wish to use it for XBMC and at the same time, it should also be able to download torrents. I would like transmission deamon or deluge-demon for that. But as Software delopment for the utilite is still in it’s early age, I have to be patient.
              Kind regards

        • Stephan,

          Not sure if this was worked out or not but I am having the same issue.

          I downloaded the utilite image and burned it to an sdcard. Image name is “utilite_yocto_v0.0.3.img” and md5sum of the .xz archive matches what you have on the page.

          When I plug in the sdcard and boot I see wandboard.org with a little hat and it hangs there indefinitely. I think since both of us are seeing this there may in fact be some mix up with the images.

          Please advise as I do not want to blindly mess around with trying the other images on my Utilite.

          Max

          • Hi Max,
            I am 100% sure there is no mixup so please do not try another image.
            I have to setup a new image for Roland as I have an idea about the issue.
            I will also send it to you if you want to try.
            Have you changed something in your u-boot original environment on your side ? Are you an early adopter of utilite ?
            @roland : sorry for the delay : i have not forgotten you and will work on this…

            regards
            stephan

            • Stephan,

              I just unboxed my utilite today, I ordered about 7 weeks ago and I may be an early adopter. I haven’t touched any of the internal configuation. I used geexbox (my wifi worked fine) from the sdcard but ran into a few performance issues so I decided to try your image out (again from the sdcard) and that’s where I’m at.

              On a side note, how are you feeling about the responsiveness of the xbmc gui? Given the impressive hardware on the utilite I figured it would be a smooth (30+ fps) experience but I had some stuttering with an average frame rate of about 20fps on the geexbox image with the default Confluence skin (around 11fps with my favorite skin Aeon Nox). Is this an issue of the graphics hardware not being powerful enough (as CPU usage is very low) or something that you think will improve as the board matures? Btw you are doing some really fantastic work by putting this all together so thanks a lot for that.

              I would love to try the image you are preparing for @roland, and will report back to you with my results. This is a hard float image correct?

              I believe my email is attached to this post, so you can send it there when you are ready. Let me know if I can help in any other way.

              Max

              • Hi
                I sent to you a link…
                Your performances are abnormal, with default conf (dirty zone) you should be above 100fps on the default skin…
                Do you have a standard or pro model ?
                Stephan

                • Hi Stephan
                  I have tested the new custom Image and it’s working now! That’s super awesome from you! Seems you change something with the boot loader? i just could make a short test and its running smooth and wifi is working too! Just CEC doesn’t work. Seems there is a incompatibility with my LG TV. But i can tell you, with Raspbmc (on my Raspberry Pi) it’s working, so I guess it’s has something to do with the libCEC. Thank you again very much for your work. Can’t wait to test your next image ๐Ÿ™‚
                  Regards Roland

                • Hi Stephan,
                  I’m seeing these same stuttering issues, even when playing 720p video on a utilite pro! I’m trying to determine if perhaps it’s just a network issue on my end as I’m serving the content via NFS. Will keep you posted. Thanks for all the work on this, it’s very nice!

                • This is very strange : I use it on daily basis and I don’t experience such issues..
                  Do you use wire Ethernet or wifi ?
                  Have you tried to use samba or upnp instead of NFS ?
                  Have you tired to mount your NFS share (from command line) instead of using libNFS ?
                  Stephan

                • Hey Stephan, it does seem like it is a network issue. Mounting the shares using /etc/fstab instead of libNFS seems to clear up the problem. I’m not sure what it wasn’t working before. Perhaps because my NFS server is OpenBSD using an older version of NFS. Regardless, it’s working quite well now, though I haven’t tried any 1080p video yet. But 720p is now flawless!

                • Thanks for your feedback !
                  That’s fine and I am convinced it will be the same for 1080p…
                  Generally speaking it is a good advice to mount NFS shares using /etc/fstab instead of relying on xbmc and libnfs to access them…
                  Stephan

      • You won’t believe me, but now it’s working. This time I took the Wandboard-Quad image! I guess you mix something up when naming the images. Anyway, im in XBMC now, but not able to control it by CEC (TV-Remote) or Keyboard and Mouse.

        • Hi Roland !
          You mean I swapped the images and you are the first to notice it ? wow…
          Can you issue a
          uname -a
          and
          lsmod
          commands on a shell (connected by ssh for instance) and tell my what you get ?
          I am going to check and I keep you informed…

          • I have to disagree
            I have downloaded my utilite image checked the md5sum, uncompressed it burned it on a fresh sdcard an plugged into my utilite pro. It just works as intended. There is no mistake on my side…
            Odds are high you are running the wandboard image on the utilite which is not a good idea (as kernel may configure some IOs differently and you may damage your board)

            • This is with the wand board image:
              root@wandboard-quad:~# uname -a
              Linux wandboard-quad 3.0.35-4.1.0-wandboard+g3fa9b19 #1 SMP PREEMPT Tue Nov 5 10:49:27 CET 2013 armv7l GNU/Linux
              root@wandboard-quad:~# lsmod
              Module Size Used by
              ov5640_camera_mipi 19570 0
              camera_sensor_clock 709 1 ov5640_camera_mipi

              I agree with you it’s the Wandboard Image for sure. It’s booting on the utilite but I don’t have any controls. But what’s strange, if I try the utility image the only thing that comes up is that “wand board.org” screen. So I give up on it for now. thx for your help anyway. I will put my utilite in a draw for a months or so and see how the situation with the software will change…

              Kind regards

              • It is very strange but I may have an idea regarding the possible cause of all your trouble especially if your utilite is one of the very first models which have been shipped…
                If you agree I can send to you a specific image to give it a try…

                • I will send a private mail as soon as it is ready for test…
                  Don’t worry there is nothing bad with the first models but you may have a different default environment for u-boot…

  10. Dear Stephan,
    when building the image from the source for my wandboard quad, I faced this error in the bitbake step:

    ERROR: Task 2373 (/home/mohamed/wand/yocto/xbmc-bsp/sources/meta-stef/recipes-stef/lirc/lirc_0.9.0.bb, do_compile) failed with exit code ‘1’

    Any thoughts about the cause?
    Thanks,
    –Mohamed

    • Hi Mohamed

      To understand your issue I need to have a look at the log :
      tmp/work//wandboard_quad-poky-linux-gnueabi/lirc/0.9.0-r5/temp/log.do_compile
      Could you post its content thanks to a copy/paste website ?
      Regards
      Stephan

        • Thanks
          it is very strange : During a normal build the static library libhw_module.a should be created just before trying to link it of course (it is the case in my own compile log)
          Have you tried to launch it several times and does it always behave the same (it could be an issue with bad dependency in makefile and thus parallel build which fails from times to times. What is the value of PARALLEL_MAKE in your build/conf/local.conf file ?)
          If you cannot make it work, you can suppress lirc from RRECOMMENDS_${PN}variable in sources/meta-stef/recipes-stef/xbmc/xbmc_git.bb
          that way the image will be built without lirc …
          Regards

      • I am now encountering the same problem, no libhw_module.a is getting built in lirc. It was working until recently (maybe a week ago). A few things have changed since I built it last. I’ve “repo sync”d a few times. And I’ve updated my fedora 20 host since the last build. One notable difference is the fedora update brought in automake 1.13. I had to update sources/meta-stef/recipes-stef/libdvbcsa/files/dvbcsa-bootstrap.patch to allow this version of automake.

        My log looks pretty much the same as Mohamed’s, but if you need another log for comparison, I can post it as well.

        • FYI, the problem “solves” itself on a second attempt to build. The first attempt skips the ‘ar’ step for some reason. The second attempt does the ‘ar’ first thing, then continues from the point that the first attempt fails.

  11. Hi Stephan,
    Thanks on all amazing work you did on building those images.

    I tried it on my Wandboard Quad box, it worked well with monitor connected via HDMI cable, but gave me a blank screen on my TV which has only a DVI-D slot. I’ve used a HDMI->DVI-D cable which i tested with other devices(Acer revo 3700 and Minix X5 Neo), both worked well.

    I’ve read a lot of posts about DVI problems in IMX6Q chips, it seems like there is hardware problems with reading EDID information from monitor. There was a patch for it, which i tried on my android kernel, but with no success.

    Another solution to provide an xorg configuration suggested on this page
    http://wiki.wandboard.org/index.php/User:MarkoPagott
    also gave me the same old blank screen.

    May be you can suggest anything?

    • Hi Alexey

      Out of curiosity, I have just plugged a HDMI to DVI adapter and connected my utilite pro (HDMI output) to my IIyama LCD monitor and it just works fine…
      Then I switched to Wandboard quad, same adpater, same cable, same monitor and … I get the same result as you….

      To my mind there is something with edid : When I dump edid (cat /sys/devices/platform/mxc_hdmi/edid) on wandboard faced to a hdmi monitor, I get only zeros while I get meaningful values on the utilite…

      Stephan

  12. Hi Stephan
    I would like to clarify
    Whether implemented in future builds supportdevices such as hi802/gk802?
    it would be greatas
    with the current firmware even officially videos from youtube inhibitI
    think all users hi802/gk802 would be grateful
    thank you in advance for your replyI
    am sorry for bad english

    • Hi

      For GK802/Hi802 I don’t support them officially because of their issue with heat dissipation.
      Yet, hste user does a very appreciated work and provides a script to build an image from my work (In fact the RFS can work “out of the box” on GK802, only the bootloader and the kernel have to be specific)

      Sorry I don’t understand the remark “officially videos from youtube inhibit”
      Can you explain better what you mean ?
      Best regards
      Stephan

  13. Hi Stephen,

    Managed to install your xbmc on a Wandboard Quad and it seems to work fine appart from the remote control. Is it supposed to work with a remote “out of the box”? or do I have to configure it and if so how?

    Kind Regards

    Peter

    • Hi peter,

      Sorry I missed your message when you posted it …
      No unfortunately, the kernel lacks support for most remotes so far. But if you are familiar with kernel building then it is trivial to solve. Otherwise I will soon provide a new kernel for wandboard at least. Which board do you use ?
      Kind regards
      Stephan

  14. Hi Stephan, first of all thank you very much for your fantastic work. I have just received my utilite pro and I have installed the xmbc. Everything seems to work fine except for the cec, that is on the other hand working on the raspberry pi on the same tv. Any help/suggestion on that?
    Thanks
    Matteo

    • Hi Matteo,
      Thanks for your feedback,
      Do you turn your TV on before your utilite ?
      Could you post your XBMC logs (/tmp/temp/xbmc.log) on a copy/paste service so that I can have a look at them ?
      Basically if it works faced to your Rpi, it means the libcec is able, at high level, to speak properly with your TV so we will probably solve this !
      Regards
      Stephan

      • Hi Stephan
        Thank you again for that new Image you made for me (and some others with boot problems).
        Just want to tell you, I found the same behavior with my utilite. CEC is not working in your Image nor the Geexbox 3.1. But its working find with same TV and HDMI Cable connected to my RPI. I see in the right lower corner the popup from the start of the CEC Adapter. Also strange, if I start a Movie the TV change to another HDMI Port. I think there is a little problem with CEC. I will try to send you my logs later.
        Kind regards
        Roland

        • Hi Stephan
          Same problem as Roland, I have this hdmi channel switch.
          Trying to get the log…but I have already noticed this: ERROR: CecLogMessage – Write: sent command error !

            • OK
              Your log is not enough to understand but your remark is very encouraging (it may prove that a dialog occurs… )
              Do you have several HDMI ports ? can you try on another one ?
              I will post a link to a debug version which logs all CEC exchanges to be able to fully what is going on on the wire…

                • Hi Stephan I was busy with work over the week-end. I will try to plug utilite on a different HDMI and I will update you tonight.

                  Meanwhile I have some other questions:

                  1) I have tried the Subtitles add-on that I used extensively, but it doesn’t seem to work. The selecting page opens but soon after it is automatically closed.
                  2) I have also tried to install the Mickey1234 Maintenance addon, it seems to be installed but then there are issues to run it, it doesn’t seem to being able to connect to a server, which is strnage as it is perfectly working on the raspberry pi.
                  I don’t know if you can help me on that?

                • Please use the xbmc with debug log I have posted to get all logs from CEC bus
                  Regarding your 2 other errors, please have a look at your logs. I think some python modules can be missing…

  15. Hi Stephan
    The new image is running fine now. Can you please tell me, is it somehow possible to install and run a Transmssion torrent-deamon with your image?

    Kind Regards
    Roland

      • That would be awesome! I would like the very popular Transmission. (http://www.transmissionbt.com)

        We could access it over the integrated web server or use even use transmisson-remote-gui to access and manage the torrents. I guess many users would like such future too.
        Roland

          • thanks for your fast support. Sadly i’m still unable to install the packages.
            samba: Committing transaction…
            error: busybox-syslog-1.21.1-r0 requires /dev/null
            transmission: Computing transaction… error: Can’t install libcurl5-7.32.0-r0@cortexa9hf_vfp_neon: no package provides curl-certs

            I already did all what you wrote in you post. smart update works fine.

            • hmm
              Still this smart bug
              The worst is that I managed to solve it on my own install and I don’t really know how : everything is just fine now while it is totally buggy from fresh install.
              I have to investigate…

              by the time you can browse my repo http://www.stephan-rafin.net/rpmhf2/ and download the rpm you want…
              Stephan

              • I have tried a manual install from my USB flashdrive of those packages and it’s still not working:

                root@utilite:/media/sdb1# rm -rf /var/lib/smart/
                root@utilite:/media/sdb1# smart channel –add wolf_repo type=rpm-md baseurl=http://www.stephan-rafin.net/rpmhf2

                Alias: wolf_repo
                Type: rpm-md
                Base URL: http://www.stephan-rafin.net/rpmhf2

                Include this channel? (y/N): y

                root@utilite:/media/sdb1# smart update
                Updating cache… ######################################## [100%]

                Fetching information for ‘wolf_repo’…
                -> http://www.stephan-rafin.net/rpmhf2/repodata/repomd.xml
                repomd.xml ######################################## [ 50%]
                -> http://www.stephan-rafin.net/rpmhf2/repodata/primary.xml.gz
                primary.xml.gz ######################################## [ 75%]
                -> http://www.stephan-rafin.net/rpmhf2/repodata/filelists.xml.gz
                filelists.xml.gz ######################################## [100%]

                Updating cache… ######################################## [100%]

                Channels have 4752 new packages.
                Saving cache…

                root@utilite:/media/sdb1# smart install –stepped samba-3.6.8-r8.cortexa9hf_vfp_neon.rpm
                Loading cache…
                error: Unable to create channel for file: samba-3.6.8-r8.cortexa9hf_vfp_neon.rpm

                root@utilite:/media/sdb1# smart install –stepped transmission-2.82-r0.cortexa9hf_vfp_neon.rpm
                Loading cache…
                error: Unable to create channel for file: transmission-2.82-r0.cortexa9hf_vfp_neon.rpm

                Does anyone know how to fix this?

                • Hi Roland,

                  Please try :
                  smart install –stepped samba
                  smart install –stepped transmission

                  Regards
                  Stephan

  16. Hi Stephan,
    Thanks for the fantastic work. I have a couple of questions:
    1. How do I build yocto for Utilite standard (Quad core)?
    2. Is it possible to upgrade to the 3.5.7 kernel?

    Thanks again

  17. Hi Stephan,

    thanks for the awesome work! I’m a bit of a noob, so forgive me if my question is stupid. Is it possible to use a bluetooth audio device? I tried to pair one by ssh in the machine, and installing the package “packagegroup-base-bluetooth”. However, the package bluez-tools seem to be missing, so I’m not sure how to handle bluez and do the pairing. Also, I’m not even sure that if I manage to successfully pair the device, I will actually be able to use it.

    Thanks a lot for your help!

    Andrea

  18. Hi Stephan,

    I installed the radio plugin, but when I try to run it, the log complains it can find the json module, whereas /home/root/.xbmc/addons/script.module.simplejson/lib/simplejson does exist.
    Am i missing some module?

    home/root/.xbmc/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py”, line 12, in
    import json
    ImportError: No module named json
    –>End of Python script error report<–

    • Never mind, I found in on your repo and after nstalling it, it worked. But a question on the side. How come that I find a lot of packages on your rpmhf2 directory website that are not found through smart search?

      • Great that you managed to install python-json
        smart should see the same rpms as the one you can brwowse… Have you tried to issue a “smart update” command ?

  19. Hi Stephan,
    I have connected following LCD-Screen to my Wandboard Quad:
    http://futurefreescaleguy.wordpress.com/2013/07/18/android-multitouch-demo-with-wandboard-dual/
    It worked fine with the first version of your image by using following command in u-boot:
    => setenv bootargs โ€˜console=ttymxc,11520 root=/dev/mmcblk0p1 rootfstype=ext2 ro video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB666 consoleblank=0 fbmem=28M,10M,10Mโ€™
    In this version this is not working and I can’t find the bootargs.
    How is it possible to change the video output and use the LCD in the current version?
    Is it possible to use both, the LCD and the HDMI output?

    Christian

    • Hi christian,

      In this version you can change bootargs by changing the file boot.scr which is on the first partition.
      It is a uboot script file generated with mkimage utility.
      If you don’t like this way of working you can still change u-boot env so that it ignores this boot.scr files and run your own scripts to boot.
      I don’t know if dual screen hdmi+lcd works at the moement. At hw level it should, then, I am unsure…
      kind regards
      Stephan

      • Hi Stephan,
        How Can I change boot.scr? I see it is located on my sd card but If I changed it I get crc error. Do I need to change the checksum somewhere?

  20. Hi,

    i Tested the Yocto image on a Standard Utilite (with self upgraded SDD) it work like a charm in System Menu 97-177fps

    every Movie runs good from my NAS (over nfs) with a cpu usage (core0: 10-20%, core1: 20-30% cpu-xbmc: 40% avg)

    but one movie, a 1080p movie, with h264-5.1 and Flac sound this is the only one wo has drop frames and only 20-24% fps (not constant 24fps).. the cpu usage is at this movie by CPU-XMBC 60-70%

    and another issue: i have one major bug … when i start a movie my Samsung TV, the tv lost the HDMI connection and switched automatically to another hdmi source (with input) … ๐Ÿ™

    • and one question: any idea how i change the boot medium for the uboot loader? … the standard version will not start without a sd card inserted ๐Ÿ™

      • Hi Benjamin
        thanks for your feedback (please note your CPU rate are very likely the ones you get at low frequency – 396Mhz – and that you have even more margin than you think by only looking at these figures…)

        Regarding your TV, I think the CEC wrongly identifies the HDMI source : Try another HDMI port of your TV to check if it helps
        U-boot and its env are stored in internal flash : You can tweak the environment and thus the boot device by changing u-boot env with a serial line I guess.

        Regards

  21. Hi,
    thank you for the utilite geexbox image, it is working great ๐Ÿ™‚
    I don’t know if it is possible to provide an image where bluray playback is possible? (I do have an usb bluray player attached to my utilite pro)
    Also I am interested in deploying the geexbox or yocto image on my ssd hard drive. Should I just follow the official wiki?
    regards,
    fabian

  22. Pingback: XBMC for UDOO | Stephan's blog

  23. Stephan,
    Thank you for your work. I am having trouble downloading the Utilite image. It won’t get past 7 or 8 MB then times out.

  24. I am currently starting with all the ARM stuff and bought a wandboard quad. My first goal is to recompile your distribution to add more applications (e.g. mpd) and to patch the kernel to support dvb-s unicable protocol (https://linuxtv.org/patch/7994/) which I need for my setup. Do you have any advice where to start with all that (documentation to read, links, solutions, …)? And without wanting to push things, I am just curious about the current status of LiveTV. Does it work, partially or not at all?

    Thank you for all your work although I haven’t ran anything yet ๐Ÿ˜‰

    • When trying to rebuild your repo I get:

      Computing transaction…error: Can’t install xbmc-git-r3@wandboard_quad: no package provides avutil-52-arm.so(LIBAVUTIL_52)

      in the final step. Any idea what is causing this? I started from scratch and tried it several times but I have no idea where to look and how to fix it. avutil-52-arm.so is there also in the packaged xmbc_git.rpm. Any ideas?

      • Hi Jan,

        Please mail me all your files in BSP_PATH/build/tmp/work/wandboard_quad-poky-linux-gnueabi/xbmc/git-r3/temp
        I will have a look at them to try to understand what your issue is…
        By the way liveTV mostly works at this time (an issue with 4:3 aspect ratio and a bug on channels switch but apart from this it is already OK)
        Regards

        Stephan

        • Hi Stephan,

          For me the 4:3 aspect ratio issue was simply solved by changing the settings under video/playback/Display 4:3 video as.

          Apart from the interlace issue and channel switch crashes that you already know of, livetv looks quite crappy whenever there is an overlay of an xbmc menu (it’s fine full-screen). Does that sound familiar?

          Another issue seems to be the tvheadend timeshift which doesn’t function well. I guess it’s a tvheadend issue though and I bumped a bug on their forum https://tvheadend.org/issues/1790.

          Perhaps if you notice similar problems, you could also bump it just to get them interested ;).

          The problems with the smartcard decoding seem largely solved by changing some settings in oscam. I still get alignment errors in the logs, but they don’t seem to halt the programs anymore :).

          It’s starting to become a really nice HTS :):):)

  25. Hello Stephan,

    thanks for all the effort you did. I tried your image on a wandboard-quad. Runs great out of the box. But i need ipv6 support, as I’m on a DS lite internet connecton. System doesn’t get a SLAAC address. Is ipv6 disabled in your kernel?

    Herbert

    • Hi Herbert
      I confirm that the current kernel has no support IPv6 (Of course this feature can be enabled and the kernel recompiled)
      Regards
      Stephan

  26. Hi Stephan,
    I am a noob at YOCTO but managed to bitbake a desktop for my WBQ. I thought I would have a go at compiling XBMC from you instructions, however, I am getting an error during the compile process. Any suggestions?

    Bozza

    ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
    Rerun configure task after fixing this. The path was ‘/home/bozza/xbmc-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/xbmc/git-r3/git/lib/ffmpeg’
    ERROR: Function failed: do_qa_configure
    ERROR: Logfile of failure stored in: /home/bozza/xbmc-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/xbmc/git-r3/temp/log.do_configure.13416
    NOTE: recipe xbmc-git-r3: task do_configure: Failed
    ERROR: Task 365 (/home/bozza/xbmc-bsp/sources/meta-stef/recipes-stef/xbmc/xbmc_git.bb, do_configure) failed with exit code ‘1’
    NOTE: recipe upower-0.9.14-r2: task do_configure: Succeeded
    NOTE: Tasks Summary: Attempted 2544 tasks of which 2536 didn’t need to be rerun and 1 failed.

    • Hmmm a local dev libray has been selected by configure by error…
      You should have an idea about the culprit in /home/bozza/xbmc-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/xbmc/git-r3/temp/log.do_configure.13416
      Apart from this I am currently writing an article to explain how to setup a build env known to work to rebuild the whole distro and avoid this kind of issue…
      Best regards
      Stephan

  27. Finally got it working on my DVI monitor! Seems, I finally changed the right function in kernel driver and got functional workaround. Movie is playing ok, at the moment without SPDIF sound, but I hope it is only some config issue.

    • Hi jurafxp,
      Nice to read that you get it to work on DVI monitor
      Could you share your changes as I know some users are faced with difficulties with such DVI monitors ?
      Regarding SPDIF : It should work yes, have you been able to select SPDIF in system->audio (mode expert ) ?

      Kind regards
      Stephan

      • Hi Stephan,

        I have uploaded the patch to http://codepad.org/2nRCGdin. I am considering it as very ugly workaround. It should load custom EDID, but it is still not changing to correct resolution after boot. I can see the EDID now in /sys/devices/platform/mxc_hdmi/edid , but seems I am still missing something. Nevertheless, it is now possible to change resolution with fbset command. So I put “fbset -xres 1680 -yres 1050” into rc.local to set correct resolution before XBMC starts.

        To SPDIF issue – I have changed the XBMC sound settings to “Optical/Coax”. Not sure, what do you mean by “mode expert”. When I tried speaker-test from alsa utils, the sound was working ok.

        • Thanks for pointing this patch which injects a custom EDID instead of trying to read it normally from the screen through I2c.
          I think I have a more generic patch in udoo to implement this feature, I will have a look
          Anyway, it is nice that it solves your issue with DVI, thanks for sharing as I think there are several wandboard users with the same issue…

          For audio, when you go in system->settings->system, at the bottom you have a “settings level” configuration , you have to switch to “advanced” or “expert” to have access to the relevant options in “audio output” and select SPDIF…

          Stephan

  28. Pingback: build environment | Stephan's blog

  29. Hi Stephan,

    your XBMC works fine on my Wandboard, all I still need is an IR RC to avoid an USB hub. You mentioned somewhere adding LIRC to ypour XBMC is not too complicated. I would give it a try if I get some hints what to do.

    Regards

    Peter

  30. Hey, how can i boot to Yocto i want to install a PVR server to watch TV and want to go in the internet over wlan.
    The System directly boot to XBMC

  31. Hi,

    Just a little update : I won’t be able to answer nor to post any update before the 27th of December because of Xmas break.
    I wish all of you very nice holidays…

    Regards

  32. Hi, thanks for the image!

    few suggestions:
    – no keyboard -> enable webserver in xbmc guisettings.xml
    – do not do “rm /var/lib/smart -rf” or you lose information of installed packages

    I need python-crypto (pycrypto)
    Can you add it to repository?
    Also for a coder — required packages for “smart install python-dev”, at least python-textutils-dev is needed

    • Hi
      Sorry for the delay of my answer, I was away from the web at this time…
      – You are right : enabling the webserver by default makes sense
      – The /var/lib/smart folder does not store info about installed packages (these ones are handler by rpm and its db)
      I will have a look to add pycrypto tonight…

  33. How I can install “owncloud” on a Udoo Quad ?
    I want to use to “owncloud”to share films with my friends and they share with me.

    On the other side. Some add-ons “not function”, say not founded dependencies.

    Thanks a lot for your Job !!!

  34. Hey Stephan,

    Happy 2014! I was just wondering if you’ve already had some time to look in the interlacing and channel switching bugs?

  35. Stephan,

    When you create this image how do you locate in the computer, I’ve looked through every folder. The way the instructions read I thought it would have been in a bin folder.

    Thanks
    Jim

    • I have just updated the post as this information has to be mentioned you are rigth :
      “At the end you will find the image in build/tmp/deploy/images/$MACHINE folder”
      Regards
      Stephan

  36. Dear Stephan!

    This is an excellent work! I have got two questions:

    1. Are you planing to create an update image in the near future, if the xbmc gotham will be available with a beta release for instance?

    2. I have one big problem. I still have flushed your image to a micro ssd ( I’m using the Wandboard quad ) and have after starting xbmc network access to my smb shares and I am be able to get more add-ons like youtube or a webradio station ( I think, xbmc will download the addons from the internet ). But if I want to start such a addon. I will receive an error dialog, which tells me, that the connection to the network server has failed. Do I have to give the addons grand access to the internet in xbmc or what I have to do? (If yes, where can I do this?) Are you able to use addons like youtube or in general addons, that requires internet access?

    Big thanks, again : )

    Best regards!

    Christian

  37. hi!! I recently bought this toy: http://www.tbsdtv.com/launch/tbs-2910-matrix-arm-mini-pc.html
    Linux comes with a rom called matrix which is basically tv xbmc and programs and settings to use dtt receivers brand that makes it.
    When I bought it I knew nothing about embedded linux and now I try to understand something.
    In any case I refer to that in the download section of the company’s image matrix and linux to download the source code, if pudese be useful in the optimization of your xbmc image.
    Thank you very much for your blog, is very entertaining!

  38. In any case I refer to that in the download section of the company’s image matrix and linux to download the source code, as it can be useful in the optimization of your xbmc image.
    Thank you very much for your blog, is very entertaining!

    (Google translator)

    • Hi

      Thanks for sharing this resource.
      I know the Matrix device and the associated code : I will even post a little article regarding it very soon…
      Regards
      Stephan

  39. Hi Stephan,

    Can we have an sshfs package in the next release? As either Wandboard has got enough oomph to play videos via an sshfs-mounted directory, it could prove very useful for the guys out there. Given that the releases already contain fuse-support, this shouldn’t be a big deal.

    Same goes for a tcpdump that could be useful for debugging network communications.

    Keep up the good work, regards,
    -w-

    • Hi,

      You have to go in settings->services and enable http server
      I am also a yatse user and it works fine…
      HO the json python module is missing… Hmm that’s strange as it should be installed a s part of my xbmc recipe
      can you try to install it manually
      “smart install python-json”

      Stephan

  40. Hi,

    Thanks for your great work on XBMC for i.mx6. Most things work right out of the box.
    I have build the yocto image as described in this post. On my Wandboard Quad I have a problem with audio passthrough.
    Dolby Digital 5.1 and DTS audio passthrough on SPDIF do not work for me. My Receiver does not recognize the DD/DTS stream and outputs only noise.
    The same files (http://download2.dvdloc8.com/trailers/dolbydts/dts_digitalexperience.zip) work on an x86 platform with XBMC 12.2.
    Any ideas or settings I could try?

    Regards,
    Peter

    • Hi Pegro
      HDaudio does not work I think but standard Dolby Digital 5.1 should work.
      Are you sure you have properly configured passthrough (noise makes me thing you send decoded samples on the interface) ?

      • In system settings I have configured passthrough and DD(AC-3) and DTS capable receiver. Playing a DTS or DD 5.1 file leads to stuttering noise – the stream is not recognized. When I turn off passthrough I can hear the sound but the surround channels are missing.

  41. Pingback: Yet another yocto image | Stephan's blog

  42. Thanks for the great image! I got it working on the GK802 (with a heatsync) using this script:
    http://stende.no-ip.info/files/xbmc/mkxbmc.sh
    Thank you for putting this together!

    I found if I ran
    # rm -rf /var/lib/smart/

    It would break the smart packager, making it think that packages that are installed wernt installed and made a dependancy nightmare, however if I only ran

    # smart channel –add wolf_repo type=rpm-md baseurl=http://www.stephan-rafin.net/rpmhf2
    # smart update

    I could install packages with no dramas.

    I find as of now http://stende.no-ip.info/files/xbmc/ seems to be down??

    • I am unsure the rm -rf /var/lib/smart/ is the real culprit for the smart issue
      (as packages are rpms which are tracked in another dedicated db and smart uses rpm utility to retrieve info about installed packages)
      but I know there is for an issue with smart : What I don’t know for sure is how to get ride of it in a deterministic way lol (the channel add and update is not always enough…)
      stende server seems down yes..

  43. Is someone able to upload the files if they have a copy?
    I need uboot.tgz, firmware.tgz, zoneinfo.tgz and kernel410.tgz

    Stende is still down and i’ve accidentally deleted them. I need to re-image. =\

  44. Is there a new xmbc .image for the wandboard quad? Where can i download it? Or can i build it from git, but how?

  45. Love your xbmc work, im not too familiar with linux yet as starting out, can you advise if this yocot xbmc would install onto a raspberry Pi?

    also the mx amlogic android box can be flashed with linux, would your install work on this?

    hope these questions arent too dumb

    • Hi Mark,

      You cannot use this image as it on Rpi which is based on a old ARM core (ARMv6k architecture). Yet Rpi has a healthy ecosystem and you can find xbmc images (yocto and others) for this board…

      For amlogic, the ARM core itself would be OK but my XBMC build targets only imx6 (there is imx6 dedicated stuff to decode video using imx6 VPU) so you cannot use the binary image as it neither…

      Kind regards
      Stรฉphan

  46. Hey Stephan,

    I was wondering if I follow these instructions will I be able to put an XBMC Yocto Image on my bootable sd card with yocto. The sd card will be inserted in to a Dual-core Texas Instruments OMAP4430 Digital Video Processor here’s the link to device description https://store.gumstix.com/home-theater-demonstration-kit.html. So when I put this sd card into the device I’ll plug this device into a smart tv via HDMI will it have the XBMC UI? ‘m a noob when it comes to working with embedded devices and just need some direction on what to do.

  47. I’m not positive where you are getting your information, however good topic.
    I needs to spend a while learning much more
    or figuring out more. Thank you for wonderful info I used to be on the lookout for this information for my
    mission.

  48. Hi Stephan,

    We just wonder if you have a pre built image for Wand board Quad where HDMI CEC is integrated ? We have RevB board and did the HW changes required to connect the HDMI CEC pin. We want to test it but it seems no one published the pre built image with CEC enabled on Wand board Quad ? We want to get started with pre built image and then build our own image .

    We appreciate your help here .

    Best regards,
    Saradhi.

Leave a Reply

Your email address will not be published. Required fields are marked *