Home › Forums › i.MX6 XBMC support › XBMC under ubuntu/arch on Utilite
- This topic has 8 replies, 2 voices, and was last updated 9 years, 1 month ago by
Tobias.
-
AuthorPosts
-
February 4, 2014 at 11:00 #526
Tobias
GuestHi,
I am using your Yocto image on my Utilite Pro and it works fine. Thank you for the work you have done!
However, I (and I think quite a few other people) would prefer to run xbmc on a full-fledged linux dist such as Ubuntu or (preferably) Arch linux.
As I think you are aware it is currently not possible to install xbmc thru the regular ubuntu repo due to dependency issues. And for Arch the drivers will not work with the xorg available for Arch.
Do I understand it correct that the xbmc on your Yocto image is running completely standalone, without the need for X? Which drivers are used for hardware acceleration?
Would it at all be possible for you to provide the drivers needed and a copy of your version of xbmc in itself, to be used on Ubuntu or Arch? Or if you don´t want to do that, perhaps guide me in the right direction on how to sort it myself?
Many thanks,
TobiasFebruary 4, 2014 at 11:24 #527Ralix
Guest+1 For Archlinux!
I understood that xbmc running completely in fb. I’m building my yocto image after the guidance from Stephan + 1-3 other things.
I think you need:
gpu-viv-bin mx6q, linux-imx and more from the freescale repo (BSP4.1.0).
I have not yet properly understood…Cheers Ralix
February 4, 2014 at 15:10 #529Ralix
GuestI have now searched a little, but that seems to be more complicated.
February 5, 2014 at 15:21 #530Ralix
GuestHi Stephen …
I’ve tried configure the kernel for the utilité under Archlinux. But I’m not sure of the repo’s. Because he aborts with an error.Original PKGBUILD wandboard: # i.MX6 Wandboard # Maintainer: CruX <CruX@project-insanity.org.org> buildarch=4 pkgbase=linux-wandboard-fsl _kernelname=${pkgbase#linux} _desc="i.MX6 Wandboard, patched by Freescale, John Weber and Stephan Rafin" _fslbspver=4.1.0 _vivantever=3.10.17_1.0.0 pkgver=3.0.35_${_fslbspver} pkgrel=5 arch=('armv7h') url="http://www.kernel.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-mkimage') options=('!strip') source=('config' 'https://raw.github.com/Freescale/meta-fsl-arm/1194a1a927b386c460dfc900a52a87b077d7dbb3/recipes-kernel/linux/linux-imx-3.0.35/drm-vivante-Add-00-sufix-in-returned-bus-Id.patch' 'https://raw.github.com/Freescale/meta-fsl-arm/1194a1a927b386c460dfc900a52a87b077d7dbb3/recipes-kernel/linux/linux-imx-3.0.35/ENGR00278350-gpu-viante-4.6.9p13-kernel-part-integra.patch') md5sums=('7f40ecc02d1ce469fd824dbd2639ca21' 'ea5933e994ecb47409a96c754d61a281' '41941771adfed8b55574a7434d2c3393') _gitname="linux" _gitroot="git://github.com/wolfgar" _gitbranch="wandboard_imx_3.0.35_4.1.0"
my changes:
source=('config' 'https://raw.github.com/Freescale/meta-fsl-arm/1194a1a927b386c460dfc900a52a87b077d7dbb3/recipes-kernel/linux/linux-imx-3.0.35/drm-vivante-Add-00-sufix-in-returned-bus-Id.patch' 'https://raw.github.com/Freescale/meta-fsl-arm/1194a1a927b386c460dfc900a52a87b077d7dbb3/recipes-kernel/linux/linux-imx-3.0. 35/ENGR00278350-gpu-viante-4.6.9p13-kernel-part-integra.patch') md5sums=('ffce47388ab4e4fd5a1af012b7e8fbb6' 'ea5933e994ecb47409a96c754d61a281' '41941771adfed8b55574a7434d2c3393') _gitname="utilite" _gitroot="git://github.com/wolfgar" _gitbranch="utilite_3.0.35_4.1.0"
the config i got from:
https://github.com/wolfgar/meta-stef/blob/dora/recipes-kernel/linux/files/utilite/defconfig
build log:
==> Making package: linux-utilite-fsl 3.0.35_4.1.0-5 (Wed Feb 5 06:52:46 MST 2014)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
-> Found config
-> Found drm-vivante-Add-00-sufix-in-returned-bus-Id.patch
-> Found ENGR00278350-gpu-viante-4.6.9p13-kernel-part-integra.patch
==> Validating source files with md5sums…
config … Passed
drm-vivante-Add-00-sufix-in-returned-bus-Id.patch … Passed
ENGR00278350-gpu-viante-4.6.9p13-kernel-part-integra.patch … Passed
==> Extracting sources…
==> Starting prepare()…
-> Connecting to GIT server…
From git://github.com/wolfgar/utilite
* branch utilite_3.0.35_4.1.0 -> FETCH_HEAD
Already up-to-date.
-> The local files are updated.
-> GIT checkout done or server timeout.
patching file drivers/gpu/drm/vivante/vivante_drv.c
patching file drivers/mxc/gpu-viv/Kbuild
patching file drivers/mxc/gpu-viv/arch/GC350/hal/kernel/gc_hal_kernel_hardware_vg.c
patching file drivers/mxc/gpu-viv/arch/GC350/hal/kernel/gc_hal_kernel_hardware_vg.h
patching file drivers/mxc/gpu-viv/arch/XAQ2/hal/kernel/gc_hal_kernel_context.c
patching file drivers/mxc/gpu-viv/arch/XAQ2/hal/kernel/gc_hal_kernel_context.h
patching file drivers/mxc/gpu-viv/arch/XAQ2/hal/kernel/gc_hal_kernel_hardware.c
patching file drivers/mxc/gpu-viv/arch/XAQ2/hal/kernel/gc_hal_kernel_hardware.h
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.h
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command_vg.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_db.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_event.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_interrupt_vg.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_mmu.c
patching file drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_video_memory.c
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_compiler.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_driver.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_engine.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_enum.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_profiler.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_raster.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_types.h
patching file drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_version.h
patching file drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c
patching file drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.h
patching file drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
patching file drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
patching file drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_sync.c
patching file drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_sync.h
==> Removing existing pkg/ directory…
==> Starting build()…
…LD drivers/mxc/asrc/built-in.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_linux.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_math.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.o
CC drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.o
CC drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.o
In file included from /mnt/home/makepkg/linux-utilite-fsl/src/utilite/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h:28:0,
from drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_precomp.h:25,
from drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c:22:
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c: In function ‘gckKERNEL_Dispatch’:
/mnt/home/makepkg/linux-utilite-fsl/src/utilite/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h:3656:16: error: ‘node’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
status = func; \
^
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c:882:24: note: ‘node’ was declared here
gcuVIDMEM_NODE_PTR node;
^
cc1: all warnings being treated as errors
scripts/Makefile.build:305: recipe for target ‘drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.o’ failed
make[3]: *** [drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.o] Error 1
scripts/Makefile.build:441: recipe for target ‘drivers/mxc/gpu-viv’ failed
make[2]: *** [drivers/mxc/gpu-viv] Error 2
scripts/Makefile.build:441: recipe for target ‘drivers/mxc’ failed
make[1]: *** [drivers/mxc] Error 2
Makefile:945: recipe for target ‘drivers’ failed
make: *** [drivers] Error 2
==> ERROR: A failure occurred in build().
Aborting…
[root@alarm kernel]#Can you possibly tell me whether I took the correct git branches?
Regards Ralix
February 5, 2014 at 15:52 #531Tobias
GuestThis link was posted in the comments of the blog: http://forums.wandboard.org/viewtopic.php?f=15&t=140&st=0&sk=t&sd=a
Will check it tonight if I have the time
February 5, 2014 at 15:56 #532Ralix
GuestYes from there I have the PKGBUILDs. But they are for the wandboard I try that just on the utilite;-)
February 5, 2014 at 18:52 #533Richard
GuestInteresting thread as that is precisely what I require ie Xbmc running under Ubuntu (in my case) on the Utilite
February 6, 2014 at 02:35 #536stephan
KeymasterHi,
Please check this comment :
http://stephan-rafin.net/blog/2014/01/29/yet-another-yocto-image/#comment-1737
No reason you cannot reproduce crux work if you want archlinux…Apart from this I will soon provide a way to run an alternate distro side by side with my own…
Regards
StephanFebruary 11, 2014 at 12:13 #543Tobias
GuestJust to update in case someone who wants to do the same reads this. Ralix got it to work. Here is a link to the discussion thread, pointing to his PKGBUILDs.
http://archlinuxarm.org/forum/viewtopic.php?f=45&t=6815&start=10
-
AuthorPosts
- The forum ‘i.MX6 XBMC support’ is closed to new topics and replies.