All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Jose Alarcon <Jose.Alarcon@procemex.com>
Cc: "meta-ti@yoctoproject.org" <meta-ti@yoctoproject.org>
Subject: Re: TI boot-monitor recipe doesn't install the boot monitor binary in the image
Date: Wed, 12 Feb 2014 15:01:03 -0500	[thread overview]
Message-ID: <20140212200103.GR4346@edge> (raw)
In-Reply-To: <DD2F89422B483148BCFD0BF72A6C148A78C81695@exchange.hq.procemex.fi>

On Mon, Feb 10, 2014 at 07:21:30AM +0000, Jose Alarcon wrote:
> Hello Denys,
> 
> Thanks for your comments. I am following the instructions on the MCSDK wiki 
> page: 
> http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#UBI.2FUBIFS
> 
>   NAND Layout
>   The NAND flash in the EVM contains three partitions:-
> 
>     bootloader - Contains u-boot
>     params - contains env variables
>     ubifs - contains following UBI volumes:-
>     boot volume - contains Kernel image (uImage), device tree blob etc,
>     rootfs volume - contains the rootfs which is the primary filesystem
> 
> After flashing the ubi image, the boad doesn't boot up unless I force the 
> installation of the boot monitor under the /boot dir in the rootfs. The 
> kernel and the device tree were there already (didn't check which recipe 
> install those).

The instructions above talk extensively about boot-monitor and the need to 
load it in RAM from U-boot. It doesn't say the image should be part of roofs.


> About the update of the keystone recipes to a newer yocto release, do you 
> have any estimation on when that will be ready? I am anticipating some work 
> on our side as well after this update.

The necessary Keystone recipes and updates are now being submitted, reviewed 
and pushed to main meta-ti (and meta-arago) repositories. No ETA yet.


> Thanks and sorry for the top posting. Using Outlook here :-(
> 
> --
> Jose
> ________________________________________
> From: Denys Dmytriyenko [denys@ti.com]
> Sent: Friday, February 07, 2014 9:10 PM
> To: Jose Alarcon
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] TI boot-monitor recipe doesn't install the boot monitor binary in the image
> 
> On Fri, Feb 07, 2014 at 10:36:09AM +0000, Jose Alarcon wrote:
> > Hi there,
> >
> > In order to boot ubi images on our Keystone2-evem, we had to modify the
> > boot-monitor recipe so that the boot monitor binary gets installed into the
> > image.
> >
> > We fixed this in our own layers with a bbappend file like this:
> >
> >     PROVIDES += "boot-monitor"
> >
> >     do_install () {
> >         install -d ${D}/boot
> >         install ${S}/${BOOT_MONITOR_BINARY} ${D}/boot/${BOOT_MONITOR_IMAGE}
> >         ln -sf ${BOOT_MONITOR_IMAGE} ${D}/boot/${BOOT_MONITOR_BINARY}
> >     }
> >
> >     FILES_${PN} = "/boot ${sysconfdir}"
> >
> > Should this be fixed in the boot-monitor_git.bb recipe itself?
> >
> > I am using danny branch of meta-ti, commit 0039248515b16b88161844aef5d507737331c834
> 
> Jose,
> 
> boot-monitor gets deployed as a standalone image, like u-boot, kernel,
> devitrees etc. I don't think it needs to go into the rootfs...
> 
> Plus, danny branch is long since outdated. Currently we are in the process of
> updating Keystone recipes, so please stay tuned. Thanks.
> 
> --
> Denys


      reply	other threads:[~2014-02-12 20:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 10:36 TI boot-monitor recipe doesn't install the boot monitor binary in the image Jose Alarcon
2014-02-07 19:10 ` Denys Dmytriyenko
2014-02-10  7:21   ` Jose Alarcon
2014-02-12 20:01     ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140212200103.GR4346@edge \
    --to=denys@ti.com \
    --cc=Jose.Alarcon@procemex.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.