mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* barebox:ubi attach time
@ 2020-08-14 13:49 Barbier, Renaud
  2020-08-17  4:12 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Barbier, Renaud @ 2020-08-14 13:49 UTC (permalink / raw)
  To: barebox

Just to see if somebody has the following problem:

We have PPC or ARM platforms with a NOR containing barebox and a UBI volume with an ITB image.
The File system is on NAND.

If I boot the system, ubiattach and mount the NOR volume, then detach. On reboot it takes more time for barebox to ubiattach  the NOR boot volume. I have noticed that with on 2019.07 barebox branch and 2020.03. 

I ubidetach the volume from barebox then boot time is restored.

I will be off for 2 weeks I will not be able answer until 1st of September.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: barebox:ubi attach time
  2020-08-14 13:49 barebox:ubi attach time Barbier, Renaud
@ 2020-08-17  4:12 ` Sascha Hauer
  2020-09-01 10:31   ` Barbier, Renaud
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2020-08-17  4:12 UTC (permalink / raw)
  To: Barbier, Renaud; +Cc: barebox

Hi Renaud,

On Fri, Aug 14, 2020 at 01:49:25PM +0000, Barbier, Renaud wrote:
> Just to see if somebody has the following problem:
> 
> We have PPC or ARM platforms with a NOR containing barebox and a UBI
> volume with an ITB image.  The File system is on NAND.
> 
> If I boot the system, ubiattach and mount the NOR volume, then detach.
> On reboot it takes more time for barebox to ubiattach  the NOR boot
> volume. I have noticed that with on 2019.07 barebox branch and
> 2020.03. 
> 
> I ubidetach the volume from barebox then boot time is restored.

Are you using fastmap?

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* RE: barebox:ubi attach time
  2020-08-17  4:12 ` Sascha Hauer
@ 2020-09-01 10:31   ` Barbier, Renaud
  2020-09-14 13:17     ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Barbier, Renaud @ 2020-09-01 10:31 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox



> 
> Hi Renaud,
> 
> On Fri, Aug 14, 2020 at 01:49:25PM +0000, Barbier, Renaud wrote:
> > Just to see if somebody has the following problem:
> >
> > We have PPC or ARM platforms with a NOR containing barebox and a UBI
> > volume with an ITB image.  The File system is on NAND.
> >
> > If I boot the system, ubiattach and mount the NOR volume, then detach.
> > On reboot it takes more time for barebox to ubiattach  the NOR boot
> > volume. I have noticed that with on 2019.07 barebox branch and
> > 2020.03.
> >
> > I ubidetach the volume from barebox then boot time is restored.
> 
> Are you using fastmap?
[Barbier, Renaud] 
Indeed. We do.
> 
> Sascha
> 
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: barebox:ubi attach time
  2020-09-01 10:31   ` Barbier, Renaud
@ 2020-09-14 13:17     ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2020-09-14 13:17 UTC (permalink / raw)
  To: Barbier, Renaud; +Cc: barebox

On Tue, Sep 01, 2020 at 10:31:36AM +0000, Barbier, Renaud wrote:
> 
> 
> > 
> > Hi Renaud,
> > 
> > On Fri, Aug 14, 2020 at 01:49:25PM +0000, Barbier, Renaud wrote:
> > > Just to see if somebody has the following problem:
> > >
> > > We have PPC or ARM platforms with a NOR containing barebox and a UBI
> > > volume with an ITB image.  The File system is on NAND.
> > >
> > > If I boot the system, ubiattach and mount the NOR volume, then detach.
> > > On reboot it takes more time for barebox to ubiattach  the NOR boot
> > > volume. I have noticed that with on 2019.07 barebox branch and
> > > 2020.03.
> > >
> > > I ubidetach the volume from barebox then boot time is restored.
> > 
> > Are you using fastmap?
> [Barbier, Renaud] 
> Indeed. We do.

In that case watch out for messages whether or not the volume is
attached with fastmap. It looks like for whatever reason barebox can't
use the fastmap and thus probing takes longer.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-09-14 13:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14 13:49 barebox:ubi attach time Barbier, Renaud
2020-08-17  4:12 ` Sascha Hauer
2020-09-01 10:31   ` Barbier, Renaud
2020-09-14 13:17     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox