Kernel 3.14.x

This is the place for software discussions not having a dedicated subforum

Kernel 3.14.x

Postby CruX » Thu Oct 16, 2014 6:27 am

Hey everyone,

the guys at SolidRun have created a new kernel for i.MX6 devices, primarily for their Hummingboard and Cubox-i.
The kernel is based on 3.14 lts and its primary aim is to fix bugs that come with the official freescale kernels. You can read more about the motivation and the features of the kernel in their forum post.

Seeing as the wandboard is also an i.MX6 device, I tried to get this kernel up and running on my wandboard quad.
I added initial dts support (along with the rfkill driver) from the 3.10.17 ga release to their kernel and ported a small fix that fixes some hdmi disconnect problems.

The kernel does boot and (as far as I can tell) works totally fine. I specifically tested h264 playback from within xbmc and that does work perfectly.

You can get my fork from my github page. I'll try to get this merged as soon as possible.

Full credit goes to the guys who created this kernel.

Feel free to give it a try. Feedback would be appreciated. You can also reach me in #wandboard on freenode.
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Re: Kernel 3.14.x

Postby blackibiza » Fri Oct 17, 2014 1:13 pm

Great work! I am installing the 3.14.x right now.
But guys, how did you solve the xorg-vivante-module for SolidRun? It uses a vivante GC2000 too, how are you getting 3D acceleration under X11?

I get the following results on booting:

Code: Select all
[   12.877594] imx-drm display-subsystem: failed to allocate buffer with size 8294400
[   13.268947] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   13.276662] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.319260] imx-drm display-subsystem: failed to allocate buffer with size 8294400
[   15.769603] imx-drm display-subsystem: failed to allocate buffer with size 8294400


and slim/xfce4 is not loading.

In addition, the OpenCL tests in fsl/vivante are crashing (seg fault), while DirectFB rendering in terminal (using fbi) works perfectly.
blackibiza
 
Posts: 13
Joined: Wed Dec 04, 2013 11:24 am

Re: Kernel 3.14.x

Postby CruX » Fri Oct 17, 2014 1:35 pm

I am not using X11 at all.

All I can say is that the vdk and cl11 demos (found in /opt/fsl/viv_samples on archlinux) work for me. Also 3d acceleration does work on frame buffer (tested with xbmc).
I have not seen that error so far.

What kernel config are you using?
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Re: Kernel 3.14.x

Postby LeoKesler » Fri Oct 17, 2014 4:35 pm

What defconfig are you using ?
LeoKesler
 
Posts: 26
Joined: Sat Aug 31, 2013 10:56 am

Re: Kernel 3.14.x

Postby CruX » Fri Oct 17, 2014 11:04 pm

I used the imx_v7_cbi_hb_defconfig and enabled CONFIG_FIRMWARE_IN_KERNEL.
When asked about the new options, I just defaulted every single one.

Best regards
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Re: Kernel 3.14.x

Postby blackibiza » Sat Oct 18, 2014 8:57 am

I've just installed the linux-armv7 package on Arch and rebooted.
I guess the libraries are outdated then.
blackibiza
 
Posts: 13
Joined: Wed Dec 04, 2013 11:24 am

Re: Kernel 3.14.x

Postby CruX » Sat Oct 18, 2014 9:38 am

blackibiza wrote:I've just installed the linux-armv7 package on Arch and rebooted.

You do realize, that I just pushed the source code to github, no ArchlinuxARM package has been created for this kernel (yet).
To try it, you'd have to compile it yourself.

blackibiza wrote:I guess the libraries are outdated then.

I don't understand that...
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Re: Kernel 3.14.x

Postby blackibiza » Sat Oct 18, 2014 2:00 pm

Ok that was my fault.
I've thought it was also pushed on Arch repo too.

I will give it a try soon.
Do you have also any idea about X11 acceleration?
blackibiza
 
Posts: 13
Joined: Wed Dec 04, 2013 11:24 am

Re: Kernel 3.14.x

Postby setti » Tue Dec 16, 2014 10:13 pm

CruX wrote:
blackibiza wrote:I've just installed the linux-armv7 package on Arch and rebooted.

You do realize, that I just pushed the source code to github, no ArchlinuxARM package has been created for this kernel (yet).
To try it, you'd have to compile it yourself.

blackibiza wrote:I guess the libraries are outdated then.

I don't understand that...

Hi crux, is this already useable in production? did you build already an archlinux package?

best regards...
setti
 
Posts: 39
Joined: Fri Jan 10, 2014 6:15 pm

Re: Kernel 3.14.x

Postby CruX » Wed Dec 24, 2014 3:06 pm

Sorry for the delay. Yes I think this kernel is ready to be used for some use cases, especially kodi.

I created a pull request over at archlinuxarm (see #1042). I've summed up my experience with this kernel there.

I'd be happy to get some feedback, if you need a binary build of the kernel I could upload one.

Happy holidays!
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Next

Return to Software - General

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 48 guests