Wandboard new kernel

This forum is for supported devices using an ARMv7 Freescale SoC.

Re: Wandboard new kernel

Postby JoKo » Tue Apr 01, 2014 4:04 pm

Hello,

Before trying it, I would like to ask if this kernel is compatible with the latest xbmc optimized for i.MX6. Has anyone tested it?
JoKo
 
Posts: 15
Joined: Sun Jan 19, 2014 2:42 pm

Re: Wandboard new kernel

Postby pepedog » Tue Apr 01, 2014 5:23 pm

Crux would be able to tell you that, once he's fixed the build
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard new kernel

Postby JoKo » Wed Apr 02, 2014 10:16 am

Is there any way to speed up the process? I, too, could contribute some fixes during the weekends. So far I have been creating on my own the packages for the Wandboard kernel and XBMC or i.MX6 from CruX's repository on Github (linux-wandboard and xbmc-imx-git respectively). Just tell me which PKGBUILDs (e.g. the ones from the master branch on the official repository?) I should test and try to fix.

Thanks in advance
JoKo
 
Posts: 15
Joined: Sun Jan 19, 2014 2:42 pm

Re: Wandboard new kernel

Postby pepedog » Wed Apr 02, 2014 2:25 pm

I don't know, we was testing wandboard dt kernel to work with the already compiled xbmc-imx. That was compiled against linux-headers-imx6-cubox but xbmc definitely worked on older cubox with new bsp, ditto utilite, and needed testing against that wandboard-dt with latest bsp.
xbmc compile was clunky but worked, and crux reworked a few other kernels too (look at pink bits https://github.com/CrawX/PKGBUILDs/commit/fb92b0af6447a6363100796b44977fbb9c3d24d5)
The problem is in FLAGS, with the needed part of kernel headers the FLAGS -l doesn't include them, that's why (pink bits) were copied out of /usr/src into the build environment $src place
So there is 3 kernels plus xbmc to adjust, and my mind is not on it
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard new kernel

Postby CrawX » Thu Apr 03, 2014 9:44 am

Hey there,

im not reading the forums here regulary, sorry.

Yes, as of now xbmc-imx should work with the new wandboard-dt kernel (I am using it!).
However I still need to add a patch to fix the static noise via hdmi/spdif. >> [1]

All tree kernels have been "fixed" to include the freescale-specific headers for userspace (mxcfb.h etc) in /usr/include.
This means the build process of xbmc is now much simpler because there is no dirty copying of selected headers.

Bist regards,
CruX
CrawX
 
Posts: 13
Joined: Wed Jun 12, 2013 7:16 am

Re: Wandboard new kernel

Postby JoKo » Fri Apr 04, 2014 11:27 am

Hello again,

I have tried the new kernel and it booted just fine. However, when I tried to start XBMC, I got into a grayscale image, with blank lines and not well-centered.

I think this has to do with the frame buffer, although the text login screen works as intended.

I have my Wandboard connected on a 40" TV (1080p obviously) and Wandboard has the following packages installed: linux-imx6-wandboard-dt-3.10.17-5, linux-imx6-wandboard-dt-headers-3.10.17-5, uboot-wandboard-quad-2014.01-1, firmware-imx-3.5.7_1.0.0-1, gpu-viv-bin-mx6q-fb-3.10.17_1.0.0_beta-1, imx-vpu-3.10.17_1.0.0-1, libcec-imx6-13.20140324-1, libfslvpuwrap-3.10.17_1.0.0-1 and xbmc-imx-git-13.20140330-1.
JoKo
 
Posts: 15
Joined: Sun Jan 19, 2014 2:42 pm

Re: Wandboard new kernel

Postby CrawX » Fri Apr 04, 2014 12:01 pm

Hey there,

could you please try running the vivante samples (package gpu-viv-bin-mx6q-samples) in /opt/fsl/viv_samples/vdk and check if the displayed image is like this (this particular example is tutorial1)?

Cheers,
CruX
CrawX
 
Posts: 13
Joined: Wed Jun 12, 2013 7:16 am

Re: Wandboard new kernel

Postby andrenam » Sun May 04, 2014 12:03 am

my wandboard quad won't boot with either
$this->bbcode_second_pass_code('', 'linux-imx6-wandboard-dt-3.10.17-8')
or
$this->bbcode_second_pass_code('', 'linux-armv7-3.14.2-1')

I can't ping my device or ssh into it. Unfortunately, I don't have a serial cable yet.
With linux-imx6-wandboard-dt, I don't get any output via HDMI at all.
With linux-armv7, I can at least see 3 tux icons on my HDMI-TV. But other than that, nothing further.

My uboot version is
$this->bbcode_second_pass_code('', '[root@wandboard ~]# pacman -Q | grep uboot
uboot-wandboard-quad 2014.01-1')
With linux-imx6-wandboard-dt, the content of /boot is
$this->bbcode_second_pass_code('', '[root@wandboard boot]# ls *
u-boot.imx zImage

dtbs:
imx6dl-wandboard.dtb imx6q-wandboard.dtb')


When I chroot into the sdcard-filesystem and downgrade to linux-wandboard 3.0.35-7 the device boots up just fine.

Any ideas what could be wrong?
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

Re: Wandboard new kernel

Postby JoKo » Sun May 04, 2014 2:59 pm

Could you please try installing the latest linux-wandboard package? It appears that core/linux-imx6-wandboard-dt has been recently renamed to linux-wandboard. Bear also in mind that, during the switching, I had to install manually gpu-viv-bin-mx6q-fb 3.10.17_1.0.0-1.

Apart from that, I think we have the same setup (uboot-wandboard-quad 2014.01-1 here, too) and mine is working nicely.

I also have the following lines on /boot/uEnv.txt:
$this->bbcode_second_pass_code('', 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16
optargs=consoleblank=0 vt.global_cursor_default=0')
JoKo
 
Posts: 15
Joined: Sun Jan 19, 2014 2:42 pm

Re: Wandboard new kernel

Postby andrenam » Sun May 04, 2014 4:56 pm

Hi JoKo,

thanks for your help. Updating linux-wandboard to 3.10.17-1 has the same negative effect.
I also tried a freshly downloaded image on a new sdcard that includes linux-wandboard 3.10.17-1 already. Same thing. :o
The device doesn't boot (at least I cant ssh into it and see no HDMI output).

I tried installing gpu-viv-bin-mx6q-fb and firmware-imx and creating /boot/uEnv.txt with the lines you've posted. But that didnt help.

I guess, I have to wait for my serial cable to arrive (on it's way from hong kong :lol: ;) ).
Until that, I've downgraded linux-wandboard to 3.0.35-7
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

PreviousNext

Return to Freescale

Who is online

Users browsing this forum: No registered users and 19 guests