All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi] Confusion about U-Boot setup
@ 2019-09-03 18:55 Greg Wilson-Lindberg
  2019-09-04  7:26 ` Belisko Marek
  0 siblings, 1 reply; 8+ messages in thread
From: Greg Wilson-Lindberg @ 2019-09-03 18:55 UTC (permalink / raw)
  To: Yocto list discussion

I've configured a sumo build, by way of QT's boot2qt to use u-boot and I am seeing a u-boot prompt for keypress to drop out of automatic booting on startup, but I don't see any configuration scripts for u-boot (uEnv.txt or a script) on the image or in the build tmp/ dir.

For the raspberry pi, how is u-boot configured on startup?

Regards,
Greg Wilson-Lindberg  
 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-03 18:55 [meta-raspberrypi] Confusion about U-Boot setup Greg Wilson-Lindberg
@ 2019-09-04  7:26 ` Belisko Marek
  2019-09-04 16:56   ` Greg Wilson-Lindberg
  0 siblings, 1 reply; 8+ messages in thread
From: Belisko Marek @ 2019-09-04  7:26 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

Hi,

On Tue, Sep 3, 2019 at 8:58 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> I've configured a sumo build, by way of QT's boot2qt to use u-boot and I am seeing a u-boot prompt for keypress to drop out of automatic booting on startup, but I don't see any configuration scripts for u-boot (uEnv.txt or a script) on the image or in the build tmp/ dir.
>
> For the raspberry pi, how is u-boot configured on startup?
there is u-boot variable called bootdelay which can be set to e.g. 2
to wait until autoboot for 2 secs. I think this is the case. Thanks.
>
> Regards,
> Greg Wilson-Lindberg
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

BR,

marek


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-04  7:26 ` Belisko Marek
@ 2019-09-04 16:56   ` Greg Wilson-Lindberg
  2019-09-04 18:09     ` Belisko Marek
  2019-09-04 19:44     ` Zoran Stojsavljevic
  0 siblings, 2 replies; 8+ messages in thread
From: Greg Wilson-Lindberg @ 2019-09-04 16:56 UTC (permalink / raw)
  To: Belisko Marek; +Cc: Yocto list discussion

> -----Original Message-----
> From: Belisko Marek [mailto:marek.belisko@gmail.com]
> Sent: Wednesday, September 04, 2019 12:26 AM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> Cc: Yocto list discussion <yocto@yoctoproject.org>
> Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> 
> Hi,
> 
> On Tue, Sep 3, 2019 at 8:58 PM Greg Wilson-Lindberg <GWilson@sakuraus.com>
> wrote:
> >
> > I've configured a sumo build, by way of QT's boot2qt to use u-boot and I am
> seeing a u-boot prompt for keypress to drop out of automatic booting on startup, but
> I don't see any configuration scripts for u-boot (uEnv.txt or a script) on the image or
> in the build tmp/ dir.
> >
> > For the raspberry pi, how is u-boot configured on startup?
> there is u-boot variable called bootdelay which can be set to e.g. 2 to wait until
> autoboot for 2 secs. I think this is the case. Thanks.

There is a variable "BOOT_DELAY", that is used to tell the Raspberry Pi boot loader to delay after setting up the graphics and before loading the kernel. This has nothing to do with u-boot.  There should be some way to change the u-boot delay that waits for user input, among other things, I just haven't been able to find it yet and was wondering if someone could point me to where it can be found.

BR,
Greg

> >
> > Regards,
> > Greg Wilson-Lindberg
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 
> BR,
> 
> marek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-04 16:56   ` Greg Wilson-Lindberg
@ 2019-09-04 18:09     ` Belisko Marek
  2019-09-04 18:27       ` Paul D. DeRocco
  2019-09-04 19:44     ` Zoran Stojsavljevic
  1 sibling, 1 reply; 8+ messages in thread
From: Belisko Marek @ 2019-09-04 18:09 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

Hi,

On Wed, Sep 4, 2019 at 6:56 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> > -----Original Message-----
> > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > Sent: Wednesday, September 04, 2019 12:26 AM
> > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> >
> > Hi,
> >
> > On Tue, Sep 3, 2019 at 8:58 PM Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > wrote:
> > >
> > > I've configured a sumo build, by way of QT's boot2qt to use u-boot and I am
> > seeing a u-boot prompt for keypress to drop out of automatic booting on startup, but
> > I don't see any configuration scripts for u-boot (uEnv.txt or a script) on the image or
> > in the build tmp/ dir.
> > >
> > > For the raspberry pi, how is u-boot configured on startup?
> > there is u-boot variable called bootdelay which can be set to e.g. 2 to wait until
> > autoboot for 2 secs. I think this is the case. Thanks.
>
> There is a variable "BOOT_DELAY", that is used to tell the Raspberry Pi boot loader to delay after setting up the graphics and before loading the kernel. This has nothing to do with u-boot.  There should be some way to change the u-boot delay that waits for user input, among other things, I just haven't been able to find it yet and was wondering if someone could point me to where it can be found.
I think you need to look at u-boot source. Such thing is not available
in yocto IIRC.
>
> BR,
> Greg
>
> > >
> > > Regards,
> > > Greg Wilson-Lindberg
> > >
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> >
> > BR,
> >
> > marek

BR,

marek


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-04 18:09     ` Belisko Marek
@ 2019-09-04 18:27       ` Paul D. DeRocco
  0 siblings, 0 replies; 8+ messages in thread
From: Paul D. DeRocco @ 2019-09-04 18:27 UTC (permalink / raw)
  To: yocto

> From: Belisko Marek
> 
> BR,

A two-letter answer is too cryptic. He's not just asking what the variable
name is, he's asking where the file is that contains the variable.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.com



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-04 16:56   ` Greg Wilson-Lindberg
  2019-09-04 18:09     ` Belisko Marek
@ 2019-09-04 19:44     ` Zoran Stojsavljevic
  2019-09-04 20:10       ` Greg Wilson-Lindberg
  1 sibling, 1 reply; 8+ messages in thread
From: Zoran Stojsavljevic @ 2019-09-04 19:44 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

> There should be some way to change the u-boot delay that waits
> for user input, among other things, I just haven't been able to find
> it yet and was wondering if someone could point me to where it
> can be found.

Jesus Christ's, Greg?!

This is what you should look for (exact string):
#define CONFIG_BOOTDELAY               (whatever {0,1,2,3...})

In your $(UBOOT_ROOT)/include/configs/<config_file.h>

Zoran
_______


On Wed, Sep 4, 2019 at 6:57 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> > -----Original Message-----
> > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > Sent: Wednesday, September 04, 2019 12:26 AM
> > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> >
> > Hi,
> >
> > On Tue, Sep 3, 2019 at 8:58 PM Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > wrote:
> > >
> > > I've configured a sumo build, by way of QT's boot2qt to use u-boot and I am
> > seeing a u-boot prompt for keypress to drop out of automatic booting on startup, but
> > I don't see any configuration scripts for u-boot (uEnv.txt or a script) on the image or
> > in the build tmp/ dir.
> > >
> > > For the raspberry pi, how is u-boot configured on startup?
> > there is u-boot variable called bootdelay which can be set to e.g. 2 to wait until
> > autoboot for 2 secs. I think this is the case. Thanks.
>
> There is a variable "BOOT_DELAY", that is used to tell the Raspberry Pi boot loader to delay after setting up the graphics and before loading the kernel. This has nothing to do with u-boot.  There should be some way to change the u-boot delay that waits for user input, among other things, I just haven't been able to find it yet and was wondering if someone could point me to where it can be found.
>
> BR,
> Greg
>
> > >
> > > Regards,
> > > Greg Wilson-Lindberg
> > >
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> >
> > BR,
> >
> > marek
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-04 19:44     ` Zoran Stojsavljevic
@ 2019-09-04 20:10       ` Greg Wilson-Lindberg
  2019-09-05  4:23         ` Zoran Stojsavljevic
  0 siblings, 1 reply; 8+ messages in thread
From: Greg Wilson-Lindberg @ 2019-09-04 20:10 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Yocto list discussion

> -----Original Message-----
> From: Zoran Stojsavljevic [mailto:zoran.stojsavljevic@gmail.com]
> Sent: Wednesday, September 04, 2019 12:44 PM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> Cc: Belisko Marek <marek.belisko@gmail.com>; Yocto list discussion
> <yocto@yoctoproject.org>
> Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> 
> > There should be some way to change the u-boot delay that waits for
> > user input, among other things, I just haven't been able to find it
> > yet and was wondering if someone could point me to where it can be
> > found.
> 
> Jesus Christ's, Greg?!
> 
> This is what you should look for (exact string):
> #define CONFIG_BOOTDELAY               (whatever {0,1,2,3...})
> 
> In your $(UBOOT_ROOT)/include/configs/<config_file.h>

I wasn't originally looking for the boot delay, that is what marek mentioned. I was looking for general configuration info and where the uEnv.txt got setup. I thought somehow I had missed some docs on u-boot configuration as there are so many configuration options that can be set by yocto variables. I guess they don't exist for u-boot and I will look in the u-boot config_file.h
Thanks,
Greg

> 
> Zoran
> _______
> 
> 
> On Wed, Sep 4, 2019 at 6:57 PM Greg Wilson-Lindberg
> <GWilson@sakuraus.com> wrote:
> >
> > > -----Original Message-----
> > > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > > Sent: Wednesday, September 04, 2019 12:26 AM
> > > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > > Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> > >
> > > Hi,
> > >
> > > On Tue, Sep 3, 2019 at 8:58 PM Greg Wilson-Lindberg
> > > <GWilson@sakuraus.com>
> > > wrote:
> > > >
> > > > I've configured a sumo build, by way of QT's boot2qt to use u-boot
> > > > and I am
> > > seeing a u-boot prompt for keypress to drop out of automatic booting
> > > on startup, but I don't see any configuration scripts for u-boot
> > > (uEnv.txt or a script) on the image or in the build tmp/ dir.
> > > >
> > > > For the raspberry pi, how is u-boot configured on startup?
> > > there is u-boot variable called bootdelay which can be set to e.g. 2
> > > to wait until autoboot for 2 secs. I think this is the case. Thanks.
> >
> > There is a variable "BOOT_DELAY", that is used to tell the Raspberry Pi boot
> loader to delay after setting up the graphics and before loading the kernel. This has
> nothing to do with u-boot.  There should be some way to change the u-boot delay
> that waits for user input, among other things, I just haven't been able to find it yet
> and was wondering if someone could point me to where it can be found.
> >
> > BR,
> > Greg
> >
> > > >
> > > > Regards,
> > > > Greg Wilson-Lindberg
> > > >
> > > > --
> > > > _______________________________________________
> > > > yocto mailing list
> > > > yocto@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/yocto
> > >
> > > BR,
> > >
> > > marek
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi] Confusion about U-Boot setup
  2019-09-04 20:10       ` Greg Wilson-Lindberg
@ 2019-09-05  4:23         ` Zoran Stojsavljevic
  0 siblings, 0 replies; 8+ messages in thread
From: Zoran Stojsavljevic @ 2019-09-05  4:23 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

@Off Topic, regarding managing U-Boot out of YOCTO tree

Just to clear some things here... At least from my side.

Anyway, whatever you, guys, do with YOCTO (and YOCTO indeed gives and
delivers the complete BSP + rootfs), I usually use ONLY one YOCTO
component: rootfs. All other components I manage out of YOCTO tree. In
other words, I do my own u-boot and my own kernel as separate
components. Easier for me. All three components will go to different
separate SDcard or mmc partitions.

If it comes to manage .config, it is somehow supported. But when it
comes to do separate set of drivers, people use overlays (new layers
over old ones). Imagine someone needs to change DTS topology?!

I guess, I used to this philosophy. Buildroot is another alternative
(much easier manageable for rootfs-es in terms of adding separate
components), but I like YOCTO integrated rootfs vision, and user space
layering. ;-)

My two cent worth thinking (at least from R&D perspective),
Zoran
_______


On Wed, Sep 4, 2019 at 11:25 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> > -----Original Message-----
> > From: Zoran Stojsavljevic [mailto:zoran.stojsavljevic@gmail.com]
> > Sent: Wednesday, September 04, 2019 12:44 PM
> > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > Cc: Belisko Marek <marek.belisko@gmail.com>; Yocto list discussion
> > <yocto@yoctoproject.org>
> > Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> >
> > > There should be some way to change the u-boot delay that waits for
> > > user input, among other things, I just haven't been able to find it
> > > yet and was wondering if someone could point me to where it can be
> > > found.
> >
> > Jesus Christ's, Greg?!
> >
> > This is what you should look for (exact string):
> > #define CONFIG_BOOTDELAY               (whatever {0,1,2,3...})
> >
> > In your $(UBOOT_ROOT)/include/configs/<config_file.h>
>
> I wasn't originally looking for the boot delay, that is what marek mentioned. I was looking for general configuration info and where the uEnv.txt got setup. I thought somehow I had missed some docs on u-boot configuration as there are so many configuration options that can be set by yocto variables. I guess they don't exist for u-boot and I will look in the u-boot config_file.h
> Thanks,
> Greg
>
> >
> > Zoran
> > _______
> >
> >
> > On Wed, Sep 4, 2019 at 6:57 PM Greg Wilson-Lindberg
> > <GWilson@sakuraus.com> wrote:
> > >
> > > > -----Original Message-----
> > > > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > > > Sent: Wednesday, September 04, 2019 12:26 AM
> > > > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > > > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > > > Subject: Re: [yocto] [meta-raspberrypi] Confusion about U-Boot setup
> > > >
> > > > Hi,
> > > >
> > > > On Tue, Sep 3, 2019 at 8:58 PM Greg Wilson-Lindberg
> > > > <GWilson@sakuraus.com>
> > > > wrote:
> > > > >
> > > > > I've configured a sumo build, by way of QT's boot2qt to use u-boot
> > > > > and I am
> > > > seeing a u-boot prompt for keypress to drop out of automatic booting
> > > > on startup, but I don't see any configuration scripts for u-boot
> > > > (uEnv.txt or a script) on the image or in the build tmp/ dir.
> > > > >
> > > > > For the raspberry pi, how is u-boot configured on startup?
> > > > there is u-boot variable called bootdelay which can be set to e.g. 2
> > > > to wait until autoboot for 2 secs. I think this is the case. Thanks.
> > >
> > > There is a variable "BOOT_DELAY", that is used to tell the Raspberry Pi boot
> > loader to delay after setting up the graphics and before loading the kernel. This has
> > nothing to do with u-boot.  There should be some way to change the u-boot delay
> > that waits for user input, among other things, I just haven't been able to find it yet
> > and was wondering if someone could point me to where it can be found.
> > >
> > > BR,
> > > Greg
> > >
> > > > >
> > > > > Regards,
> > > > > Greg Wilson-Lindberg
> > > > >
> > > > > --
> > > > > _______________________________________________
> > > > > yocto mailing list
> > > > > yocto@yoctoproject.org
> > > > > https://lists.yoctoproject.org/listinfo/yocto
> > > >
> > > > BR,
> > > >
> > > > marek
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-09-05  4:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03 18:55 [meta-raspberrypi] Confusion about U-Boot setup Greg Wilson-Lindberg
2019-09-04  7:26 ` Belisko Marek
2019-09-04 16:56   ` Greg Wilson-Lindberg
2019-09-04 18:09     ` Belisko Marek
2019-09-04 18:27       ` Paul D. DeRocco
2019-09-04 19:44     ` Zoran Stojsavljevic
2019-09-04 20:10       ` Greg Wilson-Lindberg
2019-09-05  4:23         ` Zoran Stojsavljevic

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.