All of lore.kernel.org
 help / color / mirror / Atom feed
* Pulling down linux imx kernel in yocto
@ 2013-03-12 20:39 Ashwin Kirpalani
  2013-03-12 22:12 ` Eric Nelson
  0 siblings, 1 reply; 3+ messages in thread
From: Ashwin Kirpalani @ 2013-03-12 20:39 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

This is sort of a beginner question but I need clarification. I have
successfully build the fsl-image-gui using steps from
https://community.freescale.com/docs/DOC-94024 for the sabrelite imx6 board
and would like to add a device driver for a camera and/or lcd.

How do I pull down the linux-imx kernel source such that I can add my
driver, run menuconfig and build the kernel using bitbake.

Much appreciate the help!

[-- Attachment #2: Type: text/html, Size: 535 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pulling down linux imx kernel in yocto
  2013-03-12 20:39 Pulling down linux imx kernel in yocto Ashwin Kirpalani
@ 2013-03-12 22:12 ` Eric Nelson
  2013-03-13  0:40   ` Eric Nelson
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Nelson @ 2013-03-12 22:12 UTC (permalink / raw)
  To: Ashwin Kirpalani; +Cc: meta-freescale

On 03/12/2013 01:39 PM, Ashwin Kirpalani wrote:
> This is sort of a beginner question but I need clarification. I have
> successfully build the fsl-image-gui using steps from
> https://community.freescale.com/docs/DOC-94024 for the sabrelite imx6
> board and would like to add a device driver for a camera and/or lcd.
>
> How do I pull down the linux-imx kernel source such that I can add my
> driver, run menuconfig and build the kernel using bitbake.
>
> Much appreciate the help!
>

Hi Ashwin,

This should be a simple matter of grabbing the sources (using git),
setting your toolchain PATH, and running the compile.

Note that you might want to grab the kernel configuration from a
device running Yocto as a starting point. There are some bits
included in the Yocto configuration that will be useful
(including single-touch selection for Hannstar display and
I believe some udev-related updates from Fabio).

You can grab the kernel configuration out of /proc/config.gz on
a running system, and gunzip it into your kernel source tree as
file name ".config" to get an identical starting point.

There must be an easier way to access the Yocto-built cross compiler,
but it appears on my system under:

~/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc

Regards,


Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pulling down linux imx kernel in yocto
  2013-03-12 22:12 ` Eric Nelson
@ 2013-03-13  0:40   ` Eric Nelson
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Nelson @ 2013-03-13  0:40 UTC (permalink / raw)
  To: Ashwin Kirpalani; +Cc: meta-freescale

On 03/12/2013 03:12 PM, Eric Nelson wrote:
> On 03/12/2013 01:39 PM, Ashwin Kirpalani wrote:
>> This is sort of a beginner question but I need clarification. I have
>> successfully build the fsl-image-gui using steps from
>> https://community.freescale.com/docs/DOC-94024 for the sabrelite imx6
>> board and would like to add a device driver for a camera and/or lcd.
>>
>> How do I pull down the linux-imx kernel source such that I can add my
>> driver, run menuconfig and build the kernel using bitbake.
>>
>> Much appreciate the help!
>>
>
> Hi Ashwin,
>
> This should be a simple matter of grabbing the sources (using git),
> setting your toolchain PATH, and running the compile.
>
> Note that you might want to grab the kernel configuration from a
> device running Yocto as a starting point. There are some bits
> included in the Yocto configuration that will be useful
> (including single-touch selection for Hannstar display and
> I believe some udev-related updates from Fabio).
>
> You can grab the kernel configuration out of /proc/config.gz on
> a running system, and gunzip it into your kernel source tree as
> file name ".config" to get an identical starting point.
>
> There must be an easier way to access the Yocto-built cross compiler,
> but it appears on my system under:
>
> ~/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
>

Hi Ashwin,

I just ran across this tid-bit in the mailing list...

If all you want to do is re-configure the kernel (outside of a git
repository), you can use "bitbake -c menuconfig linux-imx" from
within your Yocto build environment (after sourcing setup-environment).

Many thanks to Jess and Tomas:
	https://lists.yoctoproject.org/pipermail/meta-freescale/2013-January/000933.html

I was looking for a quicker way to just set up the eGalax touch
screen to single-touch on branch 'master'.

Regards,


Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-13  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 20:39 Pulling down linux imx kernel in yocto Ashwin Kirpalani
2013-03-12 22:12 ` Eric Nelson
2013-03-13  0:40   ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.