Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DD554E00D46; Thu, 24 Sep 2015 08:22:32 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from lnsystems.lincoln.ln-systems.com (post.ln-systems.com [62.49.123.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 77AEBE00804 for ; Thu, 24 Sep 2015 08:22:29 -0700 (PDT) Received: from LNSYSCH2 (firewall-ext.lincoln.ln-systems.com [62.49.123.65]) by lnsystems.lincoln.ln-systems.com (8.13.1/8.13.1) with ESMTP id t8OFJZYG012304 for ; Thu, 24 Sep 2015 16:19:38 +0100 From: "Colin Helliwell" To: References: <01de01d0f6bf$714d6b70$53e84250$@LN-Systems.com> <024901d0f6db$87284b60$9578e220$@LN-Systems.com> In-Reply-To: <024901d0f6db$87284b60$9578e220$@LN-Systems.com> Date: Thu, 24 Sep 2015 16:22:23 +0100 Organization: LN Systems Limited Message-ID: <025a01d0f6dc$d2836990$778a3cb0$@LN-Systems.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIoxgDbPdzAQnqrzD634HohN+Uv/QGr4apWASt+YZOdhXH0sA== Subject: Re: am335x-boneblack.dtb 'misnamed'? (Fido/BeagleBoneBlack) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: colin.helliwell@LN-Systems.com List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 15:22:32 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_025B_01D0F6E5.3447D190" Content-Language: en-gb ------=_NextPart_000_025B_01D0F6E5.3447D190 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually, that=E2=80=99s incorrect =E2=80=93 the stock Fido = =E2=80=98core-image-mininal=E2=80=99 *doesn=E2=80=99t* put the kernel = into the rootfs tarball either (It=E2=80=99s my own modified = configuration that I=E2=80=99ve added that to). =20 From: yocto-bounces@yoctoproject.org = [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Colin Helliwell Sent: 24 September 2015 16:13 To: 'Christopher Larson'; yocto@yoctoproject.org Subject: Re: [yocto] am335x-boneblack.dtb 'misnamed'? = (Fido/BeagleBoneBlack) =20 Hmmm, ok =E2=80=93 maybe I should be baking beyond = =E2=80=98core-image-minimal=E2=80=99? =20 As background: Up until now I=E2=80=99ve just been manually copying/renaming/extracting = the various items - rootfs,modules,kernel,dtb,MLO,uboot - from = build/tmp/deploy/images/beaglebone into the necessary places on SD card. = i.e. that bake *isn=E2=80=99t* putting the dtb into the rootfs tgz in = that directory (though the kernel, together with a symlink = =E2=80=98zImage=E2=80=99, *is* in the tgz). Today I=E2=80=99ve started looking at using wic (based on info in = https://lists.yoctoproject.org/pipermail/meta-ti/2014-July/004887.html ) = to create a single SD image file. I have this successfully pulling = everything into the image =E2=80=93 automagically doing all the steps = I=E2=80=99ve previously being doing manually. Except that the waiting = dtb has the wrong name, as described.=20 So I=E2=80=99m unsure of the best point of attack to amend this=E2=80=A6 =20 =20 From: Christopher Larson [mailto:clarson@kergoth.com]=20 Sent: 24 September 2015 15:27 To: colin.helliwell@ln-systems.com; yocto@yoctoproject.org Subject: Re: [yocto] am335x-boneblack.dtb 'misnamed'? = (Fido/BeagleBoneBlack) =20 It's installed into /boot on the rootfs with the zImage prefix, and = update-alternatives creates a symlink to the correct path so uboot can = find it. Not sure why this indirection exists, but it does work. On Thu, Sep 24, 2015 at 4:52 AM Colin Helliwell = wrote: This may just be =E2=80=98the way it is=E2=80=99, but the stock = Fido/BeagleBoneBlack BSP [core-image-minimal] builds the = am335x-boneblack dtb file, and creates in = build/tmp/deploy/images/beaglebone a symlink named = =E2=80=98zImage-am335x-boneblack.dtb=E2=80=99. However =E2=80=93 and = this is borne out by README.hardware =E2=80=93 uboot is set up to look = for =E2=80=98am335x-boneblack.dtb=E2=80=99. I daresay I can do some sort of fixup, but I was curious why = it=E2=80=99s like this? =20 ------=_NextPart_000_025B_01D0F6E5.3447D190 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Actually, that=E2=80=99s incorrect =E2=80=93 the stock Fido = =E2=80=98core-image-mininal=E2=80=99 *doesn=E2=80=99t* put the = kernel into the rootfs tarball either (It=E2=80=99s my own modified = configuration that I=E2=80=99ve added that to).

 

From:= = yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] = On Behalf Of Colin Helliwell
Sent: 24 September 2015 = 16:13
To: 'Christopher Larson'; = yocto@yoctoproject.org
Subject: Re: [yocto] = am335x-boneblack.dtb 'misnamed'? = (Fido/BeagleBoneBlack)

 

Hmmm, ok =E2=80=93 maybe I should be baking beyond = =E2=80=98core-image-minimal=E2=80=99?

 

As background:

Up until now I=E2=80=99ve just been manually = copying/renaming/extracting the various items - = rootfs,modules,kernel,dtb,MLO,uboot - from = build/tmp/deploy/images/beaglebone into the necessary places on SD card. = i.e. that bake *isn=E2=80=99t* putting the dtb into the rootfs = tgz in that directory (though the kernel, together with a symlink = =E2=80=98zImage=E2=80=99, *is* in the = tgz).

Today I=E2=80=99ve started looking at using wic (based on info in https://lists.yoctoproject.org/pipermail/meta-ti/2014-July/004887.= html ) to create a single SD image file. I have this successfully = pulling everything into the image =E2=80=93 automagically doing all the = steps I=E2=80=99ve previously being doing manually. Except that the = waiting dtb has the wrong name, as described.

So I=E2=80=99m unsure of the best point of attack to amend = this=E2=80=A6

 

 

From:= = Christopher Larson [mailto:clarson@kergoth.com] =
Sent: 24 September 2015 15:27
To: colin.helliwell@ln-systems= .com; yocto@yoctoproject.org
S= ubject: Re: [yocto] am335x-boneblack.dtb 'misnamed'? = (Fido/BeagleBoneBlack)

 

It's = installed into /boot on the rootfs with the zImage prefix, and = update-alternatives creates a symlink to the correct path so uboot can = find it. Not sure why this indirection exists, but it does = work.

On Thu, Sep 24, 2015 = at 4:52 AM Colin Helliwell <colin.helliwell@ln-systems= .com> wrote:

This may = just be =E2=80=98the way it is=E2=80=99, but the stock = Fido/BeagleBoneBlack BSP [core-image-minimal] builds the = am335x-boneblack dtb file, and creates in = build/tmp/deploy/images/beaglebone a symlink named = =E2=80=98zImage-am335x-boneblack.dtb=E2=80=99. However =E2=80=93 and = this is borne out by README.hardware =E2=80=93 uboot is set up to look = for =E2=80=98am335x-boneblack.dtb=E2=80=99.

I daresay I = can do some sort of fixup, but I was curious why it=E2=80=99s like = this?

 <= /o:p>

------=_NextPart_000_025B_01D0F6E5.3447D190--