All of lore.kernel.org
 help / color / mirror / Atom feed
* U-boot enable not working for Raspberry Pi3
@ 2019-08-06 16:55 Greg Wilson-Lindberg
  2019-08-06 17:27 ` Maciej Pijanowski
  2019-08-06 18:12 ` Belisko Marek
  0 siblings, 2 replies; 7+ messages in thread
From: Greg Wilson-Lindberg @ 2019-08-06 16:55 UTC (permalink / raw)
  To: Yocto list discussion

I'm working with a Yocto Sumo build provided with Qt's boot2qt system. I'm trying to enable using Das U-boot to load Linux as a first step in trying to enable OSTree updates.

In the meta-raspberrypi documentation is says to set:

RPI_USE_U_BOOT = "1"

to enable u-boot for the raspberrypi. I have set that variable in the top level local.conf file but I don't seem to be getting any changes in the build. Nothing in the cooker log shows building u-boot, and the start up screen doesn't show any u-boot messages.

It appears that I'm missing necessary to turn u-boot on, can anybody shed some light on what is going on?

Regards,

Greg Wilson-Lindberg  
www.sakuraus.com


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

* Re: U-boot enable not working for Raspberry Pi3
  2019-08-06 16:55 U-boot enable not working for Raspberry Pi3 Greg Wilson-Lindberg
@ 2019-08-06 17:27 ` Maciej Pijanowski
  2019-08-06 18:12 ` Belisko Marek
  1 sibling, 0 replies; 7+ messages in thread
From: Maciej Pijanowski @ 2019-08-06 17:27 UTC (permalink / raw)
  To: yocto


On 06.08.2019 18:55, Greg Wilson-Lindberg wrote:
> I'm working with a Yocto Sumo build provided with Qt's boot2qt system. I'm trying to enable using Das U-boot to load Linux as a first step in trying to enable OSTree updates.
>
> In the meta-raspberrypi documentation is says to set:
>
> RPI_USE_U_BOOT = "1"
Hi. I'm working with the U-Boot and RPI3 at the moment as well. I'm 
using warrior revision and not using the
Qt at all though. In my case setting the above variable was enough to 
build the U-Boot and include it in
the final image.

In my case the platform boots into the Linux. I'm having issues with 
weird artifacts and resolution on the HDMI
display, though. I believe this may be related to the U-Boot patching 
DTB to add the
simplefb: 
https://github.com/u-boot/u-boot/blob/master/board/raspberrypi/rpi/rpi.c#L490
while I want to keep using  the brcm fb with userland etc. (proprietary 
stuff).

>
> to enable u-boot for the raspberrypi. I have set that variable in the top level local.conf file but I don't seem to be getting any changes in the build. Nothing in the cooker log shows building u-boot, and the start up screen doesn't show any u-boot messages.
>
> It appears that I'm missing necessary to turn u-boot on, can anybody shed some light on what is going on?
>
> Regards,
>
> Greg Wilson-Lindberg
> www.sakuraus.com

-- 
Maciej Pijanowski
Embedded Systems Engineer
https://3mdeb.com | @3mdeb_com



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

* Re: U-boot enable not working for Raspberry Pi3
  2019-08-06 16:55 U-boot enable not working for Raspberry Pi3 Greg Wilson-Lindberg
  2019-08-06 17:27 ` Maciej Pijanowski
@ 2019-08-06 18:12 ` Belisko Marek
  2019-08-06 18:28   ` Greg Wilson-Lindberg
  1 sibling, 1 reply; 7+ messages in thread
From: Belisko Marek @ 2019-08-06 18:12 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

Hi Greg,

On Tue, Aug 6, 2019 at 7:12 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> I'm working with a Yocto Sumo build provided with Qt's boot2qt system. I'm trying to enable using Das U-boot to load Linux as a first step in trying to enable OSTree updates.
>
> In the meta-raspberrypi documentation is says to set:
>
> RPI_USE_U_BOOT = "1"
Could be tha tboot2qt somehow drop your config. Please try tin run
bitbake -e <IMAGE_NAME> | grep ^RPI_USE_U_BOOT to be sure that
variable exists. I used it many times and it works perfectly fine.
>
> to enable u-boot for the raspberrypi. I have set that variable in the top level local.conf file but I don't seem to be getting any changes in the build. Nothing in the cooker log shows building u-boot, and the start up screen doesn't show any u-boot messages.
>
> It appears that I'm missing necessary to turn u-boot on, can anybody shed some light on what is going on?
>
> Regards,
>
> Greg Wilson-Lindberg
> www.sakuraus.com
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


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

* Re: U-boot enable not working for Raspberry Pi3
  2019-08-06 18:12 ` Belisko Marek
@ 2019-08-06 18:28   ` Greg Wilson-Lindberg
  2019-08-06 18:39     ` Belisko Marek
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Wilson-Lindberg @ 2019-08-06 18:28 UTC (permalink / raw)
  To: Belisko Marek; +Cc: Yocto list discussion

Hi Marek,

Thanks for the suggestion, that seems to be the case. What image are you building so I can try that to see what I get?

BR,
Greg 

> -----Original Message-----
> From: Belisko Marek [mailto:marek.belisko@gmail.com]
> Sent: Tuesday, August 06, 2019 11:12 AM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> Cc: Yocto list discussion <yocto@yoctoproject.org>
> Subject: Re: [yocto] U-boot enable not working for Raspberry Pi3
> 
> Hi Greg,
> 
> On Tue, Aug 6, 2019 at 7:12 PM Greg Wilson-Lindberg <GWilson@sakuraus.com>
> wrote:
> >
> > I'm working with a Yocto Sumo build provided with Qt's boot2qt system. I'm trying
> to enable using Das U-boot to load Linux as a first step in trying to enable OSTree
> updates.
> >
> > In the meta-raspberrypi documentation is says to set:
> >
> > RPI_USE_U_BOOT = "1"
> Could be tha tboot2qt somehow drop your config. Please try tin run bitbake -e
> <IMAGE_NAME> | grep ^RPI_USE_U_BOOT to be sure that variable exists. I
> used it many times and it works perfectly fine.
> >
> > to enable u-boot for the raspberrypi. I have set that variable in the top level
> local.conf file but I don't seem to be getting any changes in the build. Nothing in the
> cooker log shows building u-boot, and the start up screen doesn't show any u-boot
> messages.
> >
> > It appears that I'm missing necessary to turn u-boot on, can anybody shed some
> light on what is going on?
> >
> > Regards,
> >
> > Greg Wilson-Lindberg
> > www.sakuraus.com
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 
> BR,
> 
> marek
> 
> --
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com

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

* Re: U-boot enable not working for Raspberry Pi3
  2019-08-06 18:28   ` Greg Wilson-Lindberg
@ 2019-08-06 18:39     ` Belisko Marek
  2019-08-06 19:03       ` Greg Wilson-Lindberg
  0 siblings, 1 reply; 7+ messages in thread
From: Belisko Marek @ 2019-08-06 18:39 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

Hi Greg,

On Tue, Aug 6, 2019 at 8:29 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> Hi Marek,
>
> Thanks for the suggestion, that seems to be the case. What image are you building so I can try that to see what I get?
Please don't top post ;). I'm building basic image. I worked few
months ago with bootqt and sometimes it was bit tricky ;). Are you
sure you have this variable set in local.conf?
>
> BR,
> Greg
>
> > -----Original Message-----
> > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > Sent: Tuesday, August 06, 2019 11:12 AM
> > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > Subject: Re: [yocto] U-boot enable not working for Raspberry Pi3
> >
> > Hi Greg,
> >
> > On Tue, Aug 6, 2019 at 7:12 PM Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > wrote:
> > >
> > > I'm working with a Yocto Sumo build provided with Qt's boot2qt system. I'm trying
> > to enable using Das U-boot to load Linux as a first step in trying to enable OSTree
> > updates.
> > >
> > > In the meta-raspberrypi documentation is says to set:
> > >
> > > RPI_USE_U_BOOT = "1"
> > Could be tha tboot2qt somehow drop your config. Please try tin run bitbake -e
> > <IMAGE_NAME> | grep ^RPI_USE_U_BOOT to be sure that variable exists. I
> > used it many times and it works perfectly fine.
> > >
> > > to enable u-boot for the raspberrypi. I have set that variable in the top level
> > local.conf file but I don't seem to be getting any changes in the build. Nothing in the
> > cooker log shows building u-boot, and the start up screen doesn't show any u-boot
> > messages.
> > >
> > > It appears that I'm missing necessary to turn u-boot on, can anybody shed some
> > light on what is going on?
> > >
> > > Regards,
> > >
> > > Greg Wilson-Lindberg
> > > www.sakuraus.com
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> >
> > BR,
> >
> > marek
> >
> > --
> > as simple and primitive as possible
> > -------------------------------------------------
> > Marek Belisko - OPEN-NANDRA
> > Freelance Developer
> >
> > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> > Tel: +421 915 052 184
> > skype: marekwhite
> > twitter: #opennandra
> > web: http://open-nandra.com

BR,

marek


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

* Re: U-boot enable not working for Raspberry Pi3
  2019-08-06 18:39     ` Belisko Marek
@ 2019-08-06 19:03       ` Greg Wilson-Lindberg
  2019-08-07 18:59         ` Greg Wilson-Lindberg
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Wilson-Lindberg @ 2019-08-06 19:03 UTC (permalink / raw)
  To: Belisko Marek; +Cc: Yocto list discussion

Hi Marek,

> -----Original Message-----
> From: Belisko Marek [mailto:marek.belisko@gmail.com]
> Sent: Tuesday, August 06, 2019 11:40 AM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> Cc: Yocto list discussion <yocto@yoctoproject.org>
> Subject: Re: [yocto] U-boot enable not working for Raspberry Pi3
> 
> Hi Greg,
> 
> On Tue, Aug 6, 2019 at 8:29 PM Greg Wilson-Lindberg <GWilson@sakuraus.com>
> wrote:
> >
> > Hi Marek,
> >
> > Thanks for the suggestion, that seems to be the case. What image are you
> building so I can try that to see what I get?
> Please don't top post ;). I'm building basic image. I worked few months ago with
> bootqt and sometimes it was bit tricky ;). Are you sure you have this variable set in
> local.conf?

Here is an excerpt from my local.conf file:

# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
# track the version of this file when it was generated. This can safely be ignored if
# this doesn't mean anything to you.
CONF_VERSION = "1"


#
# Custom additions
#

# Additional dtbo's
KERNEL_DEVICETREE_remove = " overlays/mcp2515-can0.dtbo overlays/mcp2515-can1.dtbo"

# Fixes for inclusion of mysql
PACKAGECONFIG_append_pn-qtbase += " sql-mysql"
QT_CONFIG_FLAGS_append_pn-qtbase += " -I /usr/include/mysql"
QT_CONFIG_FLAGS_append_pn-qtbase += " -I ${STAGING_DIR_TARGET}/usr/include/mysql"

RPI_USE_U_BOOT = "1"

# End Custom additions
#

#INHERIT += "rm_work"
INHERIT += "image-buildinfo"
INHERIT += "internal-build"

I copied the line from the meta-raspberrypi documentation so I think it should be formatted correctly. I know the mysql stuff is working correctly.

I tried bitbake -e core-image-minmal and I don't get it being set then either.

> >
> > BR,
> > Greg
> >
> > > -----Original Message-----
> > > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > > Sent: Tuesday, August 06, 2019 11:12 AM
> > > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > > Subject: Re: [yocto] U-boot enable not working for Raspberry Pi3
> > >
> > > Hi Greg,
> > >
> > > On Tue, Aug 6, 2019 at 7:12 PM Greg Wilson-Lindberg
> > > <GWilson@sakuraus.com>
> > > wrote:
> > > >
> > > > I'm working with a Yocto Sumo build provided with Qt's boot2qt
> > > > system. I'm trying
> > > to enable using Das U-boot to load Linux as a first step in trying
> > > to enable OSTree updates.
> > > >
> > > > In the meta-raspberrypi documentation is says to set:
> > > >
> > > > RPI_USE_U_BOOT = "1"
> > > Could be tha tboot2qt somehow drop your config. Please try tin run
> > > bitbake -e <IMAGE_NAME> | grep ^RPI_USE_U_BOOT to be sure that
> > > variable exists. I used it many times and it works perfectly fine.
> > > >
> > > > to enable u-boot for the raspberrypi. I have set that variable in
> > > > the top level
> > > local.conf file but I don't seem to be getting any changes in the
> > > build. Nothing in the cooker log shows building u-boot, and the
> > > start up screen doesn't show any u-boot messages.
> > > >
> > > > It appears that I'm missing necessary to turn u-boot on, can
> > > > anybody shed some
> > > light on what is going on?
> > > >
> > > > Regards,
> > > >
> > > > Greg Wilson-Lindberg
> > > > www.sakuraus.com
> > > > --
> > > > _______________________________________________
> > > > yocto mailing list
> > > > yocto@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/yocto
> > >
> > > BR,
> > >
> > > marek
> > >
> > > --
> > > as simple and primitive as possible
> > > -------------------------------------------------
> > > Marek Belisko - OPEN-NANDRA
> > > Freelance Developer
> > >
> > > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> > > Tel: +421 915 052 184
> > > skype: marekwhite
> > > twitter: #opennandra
> > > web: http://open-nandra.com
> 
> BR,
> 
> marek

BR,
Greg


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

* Re: U-boot enable not working for Raspberry Pi3
  2019-08-06 19:03       ` Greg Wilson-Lindberg
@ 2019-08-07 18:59         ` Greg Wilson-Lindberg
  0 siblings, 0 replies; 7+ messages in thread
From: Greg Wilson-Lindberg @ 2019-08-07 18:59 UTC (permalink / raw)
  To: Belisko Marek; +Cc: Yocto list discussion

Hi Marek,

I'm going to top post so you don't have to scroll to the meat of the matter.

I had rebuilt my system because of a failing main hard disk and had lost settings on a number of the programs that I had to re-install and didn't notice. One that has obviously caused me problems is that the editor that I use I keep set to automatically save any changes on loss of focus. I had changed the local.conf file, but I didn't realize that it hadn't written out the changes.

I realized yesterday that the editor wasn't working as I expected and fixed the setting and went on. This morning I rebuilt my yocto system and it rebuilt more than I expected and when I installed it and booted, much to my surprise I realized that u-boot was being executed.

So sorry for the false concern, and thank you for the help and maybe someone will learn something from either my mistake or from your helpful responses.

Best Regards,

Greg Wilson-Lindberg  
 
> -----Original Message-----
> From: Greg Wilson-Lindberg
> Sent: Tuesday, August 06, 2019 12:03 PM
> To: Belisko Marek <marek.belisko@gmail.com>
> Cc: Yocto list discussion <yocto@yoctoproject.org>
> Subject: RE: [yocto] U-boot enable not working for Raspberry Pi3
> 
> Hi Marek,
> 
> > -----Original Message-----
> > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > Sent: Tuesday, August 06, 2019 11:40 AM
> > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > Subject: Re: [yocto] U-boot enable not working for Raspberry Pi3
> >
> > Hi Greg,
> >
> > On Tue, Aug 6, 2019 at 8:29 PM Greg Wilson-Lindberg
> > <GWilson@sakuraus.com>
> > wrote:
> > >
> > > Hi Marek,
> > >
> > > Thanks for the suggestion, that seems to be the case. What image are
> > > you
> > building so I can try that to see what I get?
> > Please don't top post ;). I'm building basic image. I worked few
> > months ago with bootqt and sometimes it was bit tricky ;). Are you
> > sure you have this variable set in local.conf?
> 
> Here is an excerpt from my local.conf file:
> 
> # CONF_VERSION is increased each time build/conf/ changes incompatibly and is
> used to # track the version of this file when it was generated. This can safely be
> ignored if # this doesn't mean anything to you.
> CONF_VERSION = "1"
> 
> 
> #
> # Custom additions
> #
> 
> # Additional dtbo's
> KERNEL_DEVICETREE_remove = " overlays/mcp2515-can0.dtbo
> overlays/mcp2515-can1.dtbo"
> 
> # Fixes for inclusion of mysql
> PACKAGECONFIG_append_pn-qtbase += " sql-mysql"
> QT_CONFIG_FLAGS_append_pn-qtbase += " -I /usr/include/mysql"
> QT_CONFIG_FLAGS_append_pn-qtbase += " -I
> ${STAGING_DIR_TARGET}/usr/include/mysql"
> 
> RPI_USE_U_BOOT = "1"
> 
> # End Custom additions
> #
> 
> #INHERIT += "rm_work"
> INHERIT += "image-buildinfo"
> INHERIT += "internal-build"
> 
> I copied the line from the meta-raspberrypi documentation so I think it should be
> formatted correctly. I know the mysql stuff is working correctly.
> 
> I tried bitbake -e core-image-minmal and I don't get it being set then either.
> 
> > >
> > > BR,
> > > Greg
> > >
> > > > -----Original Message-----
> > > > From: Belisko Marek [mailto:marek.belisko@gmail.com]
> > > > Sent: Tuesday, August 06, 2019 11:12 AM
> > > > To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
> > > > Cc: Yocto list discussion <yocto@yoctoproject.org>
> > > > Subject: Re: [yocto] U-boot enable not working for Raspberry Pi3
> > > >
> > > > Hi Greg,
> > > >
> > > > On Tue, Aug 6, 2019 at 7:12 PM Greg Wilson-Lindberg
> > > > <GWilson@sakuraus.com>
> > > > wrote:
> > > > >
> > > > > I'm working with a Yocto Sumo build provided with Qt's boot2qt
> > > > > system. I'm trying
> > > > to enable using Das U-boot to load Linux as a first step in trying
> > > > to enable OSTree updates.
> > > > >
> > > > > In the meta-raspberrypi documentation is says to set:
> > > > >
> > > > > RPI_USE_U_BOOT = "1"
> > > > Could be tha tboot2qt somehow drop your config. Please try tin run
> > > > bitbake -e <IMAGE_NAME> | grep ^RPI_USE_U_BOOT to be sure that
> > > > variable exists. I used it many times and it works perfectly fine.
> > > > >
> > > > > to enable u-boot for the raspberrypi. I have set that variable
> > > > > in the top level
> > > > local.conf file but I don't seem to be getting any changes in the
> > > > build. Nothing in the cooker log shows building u-boot, and the
> > > > start up screen doesn't show any u-boot messages.
> > > > >
> > > > > It appears that I'm missing necessary to turn u-boot on, can
> > > > > anybody shed some
> > > > light on what is going on?
> > > > >
> > > > > Regards,
> > > > >
> > > > > Greg Wilson-Lindberg
> > > > > www.sakuraus.com
> > > > > --
> > > > > _______________________________________________
> > > > > yocto mailing list
> > > > > yocto@yoctoproject.org
> > > > > https://lists.yoctoproject.org/listinfo/yocto
> > > >
> > > > BR,
> > > >
> > > > marek
> > > >
> > > > --
> > > > as simple and primitive as possible
> > > > -------------------------------------------------
> > > > Marek Belisko - OPEN-NANDRA
> > > > Freelance Developer
> > > >
> > > > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> > > > Tel: +421 915 052 184
> > > > skype: marekwhite
> > > > twitter: #opennandra
> > > > web: http://open-nandra.com
> >
> > BR,
> >
> > marek
> 
> BR,
> Greg


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

end of thread, other threads:[~2019-08-07 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 16:55 U-boot enable not working for Raspberry Pi3 Greg Wilson-Lindberg
2019-08-06 17:27 ` Maciej Pijanowski
2019-08-06 18:12 ` Belisko Marek
2019-08-06 18:28   ` Greg Wilson-Lindberg
2019-08-06 18:39     ` Belisko Marek
2019-08-06 19:03       ` Greg Wilson-Lindberg
2019-08-07 18:59         ` Greg Wilson-Lindberg

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.