Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7A927E00D78; Thu, 24 Sep 2015 08:13:19 -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 B5D07E00306 for ; Thu, 24 Sep 2015 08:13:16 -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 t8OFAJnd012237; Thu, 24 Sep 2015 16:10:22 +0100 From: "Colin Helliwell" To: "'Christopher Larson'" , References: <01de01d0f6bf$714d6b70$53e84250$@LN-Systems.com> In-Reply-To: Date: Thu, 24 Sep 2015 16:13:01 +0100 Organization: LN Systems Limited Message-ID: <024901d0f6db$87284b60$9578e220$@LN-Systems.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIoxgDbPdzAQnqrzD634HohN+Uv/QGr4apWnY7C2eA= 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:13:19 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_024A_01D0F6E3.E8F2CDE0" Content-Language: en-gb ------=_NextPart_000_024A_01D0F6E3.E8F2CDE0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_024A_01D0F6E3.E8F2CDE0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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_024A_01D0F6E3.E8F2CDE0--