@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
<gwil...@sakuraus.com> wrote:
>
> > -----Original Message-----
> > From: Zoran Stojsavljevic [mailto:zoran.stojsavlje...@gmail.com]
> > Sent: Wednesday, September 04, 2019 12:44 PM
> > To: Greg Wilson-Lindberg <gwil...@sakuraus.com>
> > Cc: Belisko Marek <marek.beli...@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
> > <gwil...@sakuraus.com> wrote:
> > >
> > > > -----Original Message-----
> > > > From: Belisko Marek [mailto:marek.beli...@gmail.com]
> > > > Sent: Wednesday, September 04, 2019 12:26 AM
> > > > To: Greg Wilson-Lindberg <gwil...@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
> > > > <gwil...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to