[U-Boot-Users] dtb in env sector - was: (Try 2) Please pull ...

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Apr 3 16:04:11 CEST 2007


On Tue, 2007-04-03 at 14:59 +0200, Wolfgang Denk wrote:
> In message <1175600261.12080.24.camel at gentoo-jocke.transmode.se> you wrote:
> >
> > I think to start with one would just need an install dtb command that
> > places the dtb at the end of the env. sector to allow either one
> > to grow without trashing eachother. Also rendundant env needs to be
> 
> Umm... The environment will not grow beyond it's defined  size.  Then
> just use "cp" to copy the dtb to the next free address.

And later you need some more space for env. so you increase CFG_ENV_SIZE
a little and now you have destroyed your dtb as well.

> 
> > Secondly one needs someway of telling bootm where to find the dtb.
> 
> You pass the address as an argument...

yes, but it would be handy to just say "use the dtb in my spare
env space", especially if you use rendundant env. so the right
one is selected.

 Regards
          Jocke




More information about the U-Boot mailing list