Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: sbp on December 16, 2013, 10:14:43 AM

Title: question for bmarkus
Post by: sbp on December 16, 2013, 10:14:43 AM
Hi bmarkus.


I need a good advice, and I hope you can help.

The problem is that I need to build a new kernel build which support audio over I2S [url]https://github.com/raspberrypi/linux/pull/461] (http://[/url)

I need a good advice, and I hope you can help.

The problem is that I need to build a new kernel build which support audio over I2S https://github.com/raspberrypi/linux/pull/461 and this is only in the 3.10.y  (now 24) kernel. Adding support for this will allow to use the raspberry with a I2S DAC like this one http://www.crazy-audio.com/projects/hifiberry-mini/ (http://www.crazy-audio.com/projects/hifiberry-mini/) or this one from Wolfson http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi (http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi)

So I need to build a kernel for piCore build on 3.10.24. Do you think I should use piCore 5.1 rc3 as a template or should I go for piCore 4.7.7 as a template??

Regards
Title: Re: question for bmarkus
Post by: bmarkus on December 16, 2013, 10:33:37 AM
I would forget 4.7.x and would use 5.1rc3 which in fact is 100% same as 5.1 will be regarding kernel. The issue is that there were many changes between 3.10 and 3.12 so it is not straight forward to use 3.12 for 3.10 config. What is wrong with 3.12.1 that you want to replace it with an old kernel? My advice is to try adding I2S module to current 3.12 kernel. If you are lucky, you can offer it as a .tcz extension for piCore 5.1 It is the preferred way.

But of course you are free to compile whatever kernel you like  :P
Title: Re: question for bmarkus
Post by: sbp on December 16, 2013, 11:04:39 AM
Thanks.

I would be happy to provide the i2s modules for piCore, however, I think that the kernel will have to be modified also before it is working. As understand this modification is only added to 3.10 and not to the 3.12.

I could see if it is possible to add it to the 3.12 kernel but I really think that it would be above my skill level.

Steen
Title: Re: question for bmarkus
Post by: bmarkus on December 16, 2013, 11:07:51 AM
Probably guys on the rpikernel mailing list can give an answer:

http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel