3.14.28 kernel

Yocto related software discussions are here

3.14.28 kernel

Postby madisox » Sun May 10, 2015 4:08 pm

After going through the Yocto 1.7->1.8 upgrade for my day job, which involved updating the kernel from 3.10.17 to 3.14.28, I wanted to do the same for my Wandboard setup at home. I saw that the Yocto 1.8 drop for Wandboard still uses the 3.10.53-based kernel, though. Is anyone actively working on moving to the newer kernel? I spent some time over the last week, and managed to get the 3.14.28 kernel up and running on my Wandboard-quad. If anyone's interested, I can share what I did. Only basic testing so far, but Wi-fi, HDMI out, audio, and my MIPI camera are all functional.
madisox
 
Posts: 18
Joined: Sat Jan 17, 2015 3:33 pm

Re: 3.14.28 kernel

Postby Tapani » Mon May 11, 2015 10:26 am

Sounds interesting indeed!

We have looked at the 3.14, but pretty much only enabled HDMI.

Do you have patches?

Our 3.14 testing branch is at https://github.com/wandboard-org/linux/ ... .0_ga_test
Tapani
Site Admin
 
Posts: 686
Joined: Tue Aug 27, 2013 8:32 am

Re: 3.14.28 kernel

Postby madisox » Mon May 11, 2015 3:19 pm

My patches are on the wandboard_imx_3.14.28_1.0.0_ga branch in https://github.com/madisongh/linux. I don't keep a defconfig in that repo, though; it's in my Yocto metadata layer at https://github.com/madisongh/magos-distro/blob/master/layers/meta-magos/recipes-kernel/linux/linux-wandboard-3.14.28/defconfig.

Besides forward porting the wand-rfkill driver and reworking the device tree in light of the restructuring Freescale did between 3.10 and 3.14, the only other patches I needed were around HDMI support. I also ported in a patch to fix crashes in the timer tick routine on shutdown that I picked up elsewhere.
madisox
 
Posts: 18
Joined: Sat Jan 17, 2015 3:33 pm

Re: 3.14.28 kernel

Postby alfonsotames » Sat Jun 13, 2015 8:27 pm

Thanks Madisox. I took your patch for fixing timer tick crash on shutdown and applied to my 3.14.28 branch (https://github.com/alfonsotames/linux/t ... 8_1.0.0_ga )and works great.

I think we now have a complete 3.14.28 kernel from Freescale patched with only the essential patches for the Wandboards that include the Fusion LCD, touchscreen, Wandcam, etc.

I performed these tests (WiFi now uses the nl80211 wpa-driver):

Code: Select all
Fusion LCD......................OK
HDMI............................OK
GPU Drivers.....................OK
EGL Vivante in HDMI.............OK
EGL Vivante in Fusion LCD.......OK
Fusion Touchscreen..............OK
HDMI Audio......................OK
SGTL5000 Audio Out..............OK
Sound SPDIF.....................OK
Wandcam.........................OK
WiFi............................OK
Read microSD slot in baseboard..OK
X Server Environment............Not tested
Wayland.........................Not tested
Bluetooth.......................Not tested
SATA............................Not tested
SGTL5000 Audio In...............Not tested
SGTL5000 Mic....................Not tested
 


I just submitted this to Otavio so we can have the new kernel on the wandboard-org's github and I can update the Yocto layers for Wandboard.

Best regards,

Alfonso
alfonsotames
 
Posts: 8
Joined: Sat Nov 02, 2013 3:38 am

Re: 3.14.28 kernel

Postby madisox » Sun Jun 14, 2015 1:18 pm

Great! Thanks, Alfonso.
madisox
 
Posts: 18
Joined: Sat Jan 17, 2015 3:33 pm

Re: 3.14.28 kernel

Postby madisox » Sat Jun 20, 2015 5:28 pm

Alfonso,

I did some testing against the new kernel this morning, and ran into a problem getting Weston to start up on my HDMI screen. I tracked the problem down to the default_bpp setting in the device tree - looks like your commit https://github.com/wandboard-org/linux/commit/3e38e4ea02c4c4e5771b9ed84e7cd069e53c0ed1 didn't make it over to the new branch.

Once I put that in place, my Weston setup works fine.
madisox
 
Posts: 18
Joined: Sat Jan 17, 2015 3:33 pm

Re: 3.14.28 kernel

Postby alfonsotames » Mon Jun 22, 2015 2:38 am

Thanks Matt!

I'm applying the patch and will send it to Otavio tonight.

Best regards,

Alfonso
alfonsotames
 
Posts: 8
Joined: Sat Nov 02, 2013 3:38 am

Re: 3.14.28 kernel

Postby Tapani » Wed Jun 24, 2015 9:39 am

Thank you Alfonso!

We have given you commit rights to the WB git, so no need to run things by Otavio every time :-)

Also thank you for taking on the WB in Yocto!
Tapani
Site Admin
 
Posts: 686
Joined: Tue Aug 27, 2013 8:32 am

Re: 3.14.28 kernel

Postby alfonsotames » Tue Jun 30, 2015 2:52 am

Thanks Tapani!
alfonsotames
 
Posts: 8
Joined: Sat Nov 02, 2013 3:38 am

Re: 3.14.28 kernel

Postby bboozzoo » Thu Jul 09, 2015 9:02 am

alfonsotames wrote:Thanks Madisox. I took your patch for fixing timer tick crash on shutdown and applied to my 3.14.28 branch (https://github.com/alfonsotames/linux/t ... 8_1.0.0_ga )and works great.

I think we now have a complete 3.14.28 kernel from Freescale patched with only the essential patches for the Wandboards that include the Fusion LCD, touchscreen, Wandcam, etc.

I performed these tests (WiFi now uses the nl80211 wpa-driver):

Code: Select all
Fusion LCD......................OK
HDMI............................OK
GPU Drivers.....................OK
EGL Vivante in HDMI.............OK
EGL Vivante in Fusion LCD.......OK
Fusion Touchscreen..............OK
HDMI Audio......................OK
SGTL5000 Audio Out..............OK
Sound SPDIF.....................OK
Wandcam.........................OK
WiFi............................OK
Read microSD slot in baseboard..OK
X Server Environment............Not tested
Wayland.........................Not tested
Bluetooth.......................Not tested
SATA............................Not tested
SGTL5000 Audio In...............Not tested
SGTL5000 Mic....................Not tested
 


I just submitted this to Otavio so we can have the new kernel on the wandboard-org's github and I can update the Yocto layers for Wandboard.

Best regards,

Alfonso


Have you only used rev C for verification with 3.14.28 kernel or did you use B1 as well? I'm asking because wifi STA does not seem to work. It does perform association, but anything involving mutlicasts seems to fail. Now I recall that I had it working at some point with 3.10.17 kernel, but I don't remember whether that was a linux-wandboard from Ycoto or some other kerner from armhf.com.

The following shows up in dmesg:
Code: Select all
rcmfmac: brcmf_fil_cmd_data: Failed err=-23
brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -23
brcmfmac: brcmf_fil_cmd_data: Failed err=-23
brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -23


My first guess was that the firmware is incorrect, so I picked the binaries and NVRAM config that I know to have worked before, but no change either.
bboozzoo
 
Posts: 1
Joined: Thu Jul 09, 2015 8:50 am

Next

Return to Software - Yocto

Who is online

Users browsing this forum: No registered users and 5 guests