From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4D577E0071D for ; Tue, 12 Mar 2013 17:40:59 -0700 (PDT) Received: by mail-ob0-f171.google.com with SMTP id x4so481795obh.16 for ; Tue, 12 Mar 2013 17:40:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=kr27jA8ArlDOY1zOSoRfBI4t3oOxk0Hij46vFCBGKWg=; b=b+El0ilSsXS7DaqXnZoSDCNA5hgisNla3Q9HPl620a4le2U74ucPl4n8smpBnN2BK7 pi53HNUk0SYqu9JzufhVg5s+JICiC+arFFFNwWIby1PtC5jHu6wAN86THBKwRzXwuWSD cCmOpHgMbQ9c4eVKNQAN0yYT9K9fOheabNd85zQqG/eancH7r49/nUXR5Uhd2HWA5blX RqnxdJS7vgzNVZyV2bdRokdwgdZYtwh74hWl8b7UJiu7BLn2cjh2mC5arutVYcdurC66 285yxT+CHguesWl2WBhpMfWgK97DYuSiIM/3m3aIcMjE8AyVJodF5o+HEsFs0L1ueYQc mciQ== X-Received: by 10.60.9.1 with SMTP id v1mr13663941oea.130.1363135258421; Tue, 12 Mar 2013 17:40:58 -0700 (PDT) Received: from [192.168.0.55] ([70.96.116.236]) by mx.google.com with ESMTPS id v3sm24425428oev.5.2013.03.12.17.40.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 17:40:56 -0700 (PDT) Message-ID: <513FCB16.2070803@boundarydevices.com> Date: Tue, 12 Mar 2013 17:40:54 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Ashwin Kirpalani References: <513FA839.2030703@boundarydevices.com> In-Reply-To: <513FA839.2030703@boundarydevices.com> X-Gm-Message-State: ALoCoQnea/Dmnc5+LAcjAzOCyT8dUr8gDO6aCnNShi/WhM6tiUWZcrvV7uN3+4t4TqCp2wPSnq3u Cc: meta-freescale@yoctoproject.org Subject: Re: Pulling down linux imx kernel in yocto X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 00:40:59 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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