From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gg0-f175.google.com (mail-gg0-f175.google.com [209.85.161.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 963E5E006E9 for ; Mon, 11 Mar 2013 21:11:58 -0700 (PDT) Received: by mail-gg0-f175.google.com with SMTP id l1so748817ggn.6 for ; Mon, 11 Mar 2013 21:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=CY5fH6mLpnOV1AFAjfliJDBjb49bJupUak8qpeOwN7U=; b=Z1olog9c0iWuP5kkhG0i6wNDvb0BJ/Dtjx0ht2VNkBOw4rYjWZcBqsPSyXkiHJfJ1t k4ybt/UiWo5IVVTuwqMUU69GzqsipsPWTI6tKHdVHmXUMLTf7cu/5vTxwkkt8s09LikG mp5mUKyyjTGVVK3CVWN6ToeQjXKIh4ggh3bNKYkm9RZXFYHHu+drg3wSI243CqfflCUQ Xisc6+1wvTUcor4wG6DVlz8trAcc2j/JELgRjUQr/QIOw4oMqiYV0ajR2aiNdUkmDcSq qINzEfrUSZVWQZGt/OXUKWrQv6+2gVNq0rs7EnZEn4cMSsiHrPFCjm1ZxWSZbQU2roB7 LRBA== X-Received: by 10.236.171.201 with SMTP id r49mr7995993yhl.148.1363061518072; Mon, 11 Mar 2013 21:11:58 -0700 (PDT) Received: from goober.local ([75.76.228.60]) by mx.google.com with ESMTPS id v43sm27792150yhm.11.2013.03.11.21.11.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Mar 2013 21:11:57 -0700 (PDT) Message-ID: <513EAB0C.1050501@gmail.com> Date: Mon, 11 Mar 2013 23:11:56 -0500 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: Method to install firmware blobs into kernel source tree prior to kernel compile 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: Tue, 12 Mar 2013 04:11:58 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have a need to build firmware blobs into the kernel because of problems with udev in poky master. I would like to write a kernel recipe which will draw from linux-firmware and pull specific firmware files into the kernel source tree before the compile step. I was thinking that I would make the kernel recipe depend on linux-firmware-. This device would be one of the packages specified in the linux-firmware recipe. In the do_configure_prepend_() function I would then copy/install the blobs from the destination directory into to the kernels source tree in the right place. Of course, that would only run for a specific machine. Does this sound plausible? Is there a better way of doing it? If I could make this work and submitted it, would it acceptable? If not, then I'll make my life simple by just creating a local copy of the firmware files and a private recipe for installing them. John