All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Kartashev <a.kartashev@yadro.com>
To: Nikhil V <nikhil.vu@zohocorp.com>
Cc: openbmc <openbmc@lists.ozlabs.org>
Subject: Re: [ERROR: Nothing RPROVIDES 'u-boot-default-env']
Date: Mon, 3 Jan 2022 15:30:56 +0300	[thread overview]
Message-ID: <bd8a1dec629cc9dd69c44578122a178d7af6eb7e.camel@yadro.com> (raw)
In-Reply-To: <17e1fba2bcf.ce6abdb85070.1975040279944804325@zohocorp.com>

Well, as I say, they don't use u-boot.inc an they don't implement u-
boot-default-env. I can't give you an universal hint on how to solve
this, but I advice you to build upstream Yocto for your platform first
(I mean, generic yocto, instead of OpenBMC). Once you succeeded with
upstream Yocto, integrating into OpenBMC would be less painful.

What you trying to do is not a typical usecase for OpenBMC, generally
we don't do like this. What are your expectations and final goal?

On Mon, 2022-01-03 at 17:06 +0530, Nikhil V wrote:
> Hello kartashev,
>                        Thanks for your quick response, I will provide
> some background on what i am trying to achieve.
>                        I am using openbmc, downloaded from following
> location, steps are as follow,
>                        
>                         1)  git clone
> https://github.com/openbmc/openbmc.git -b dunfell
>                         2)  git clone
> git://github.com/linux4sam/meta-atmel.git -b dunfell
>                         3)  . openbmc-env build-sama5d27
>                         4)  then add following layers
>                               bitbake-layers add-layer ../meta-atmel
> ../meta-security ../meta-openembedded/meta-perl ../meta-
> openembedded/meta-initramfs
>                         5)   Edit in local.conf
>                               MACHINE="sama5d27-som1-ek-sd" 
>                         6)   bitbake obmc-phosphor-image
> 
> "Since there is no such platform as "at91" in OpenBMC, we don't know
> what recipe do you use for u-boot."
> Here I am using meta-atmel layer provided by microchip. It has its
> own u-boot under meta-atmel/recipe-bsp.
> you will find it once you downloaded it from step 2.
> 
> when i do bitbake obmc-phosphor-image i am getting error. ERROR:
> Nothing RPROVIDES 'u-boot-default-env'
> 
> hope i have described my problem correctly.
> 
> For any query feel free to contact.
> 
> Thanks & Regards,
> Nikhil Muley
> 
> 
> ---- On Mon, 03 Jan 2022 16:40:09 +0530 Andrei Kartashev
> <a.kartashev@yadro.com> wrote ----
> 
> > Hello, 
> >  
> > It's hard to say what's wrong without knowing of what are you
> > exactly 
> > doing. Since there is no such platform as "at91" in OpenBMC, we
> > don't 
> > know what recipe do you use for u-boot. 
> > Generally, u-boot recipe should include u-boot.inc: 
> >  
> > > require recipes-bsp/u-boot/u-boot.inc 
> >  
> > This include file provide u-boot-default-env recipe 
> > https://github.com/openbmc/openbmc/blob/master/poky/meta/recipes-bsp/u-boot/u-boot.inc#L215
> >  
> > On Mon, 2022-01-03 at 15:34 +0530, Nikhil V wrote: 
> > > Hi, 
> > >      I am trying to build image for openbmc on SAMA5D27-som1-ek1 
> > > development board made by microchip(atmel). SAMA5D27 board has
> > > yocto 
> > > support. 
> > >      I have added meta-atmel layer to openbmc, while
> > > building/compiling 
> > > using " bitbake obmc-phosphor-image ", I am facing following
> > > error, 
> > >      
> > >       [ERROR: Nothing RPROVIDES 'u-boot-default-env'] 
> > > 
> > >       I have tried by updating with following content but didnt
> > > get any 
> > > result. 
> > >                 PREFERRED_PROVIDER_u-boot = "u-boot-at91" 
> > >                 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-
> > > at91" 
> > > 
> > >       Can you help me to find a solution. 
> > > 
> > >   
> > > Thanks & Regards, 
> > > Nikhil Muley 
> > > 
> > > 
> > > 
> >  

-- 
Best regards,
Andrei Kartashev



  reply	other threads:[~2022-01-03 12:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 10:04 [ERROR: Nothing RPROVIDES 'u-boot-default-env'] Nikhil V
2022-01-03 11:10 ` Andrei Kartashev
2022-01-03 11:36   ` Nikhil V
2022-01-03 12:30     ` Andrei Kartashev [this message]
2022-01-03 13:15       ` Nikhil V
2022-01-05 11:10         ` Nikhil V
2022-01-05 17:01           ` Patrick Williams
2022-01-06  6:13             ` Nikhil V

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=bd8a1dec629cc9dd69c44578122a178d7af6eb7e.camel@yadro.com \
    --to=a.kartashev@yadro.com \
    --cc=nikhil.vu@zohocorp.com \
    --cc=openbmc@lists.ozlabs.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.