ubldr question

Ian Lepore ian at freebsd.org
Sun Dec 17 17:02:12 UTC 2017


On Sun, 2017-12-17 at 17:03 +0200, Daniel Braniss wrote:
> Hi,
> in the past there was CONFIG.TXT and/or UENV.TXT where I could
> override the
> default .dtb file set by uboot, but now it seems these files are
> either not read, or the
> command has changed.
> 
> So, apart from stoping the loader, and typing ‘env set fdtfile
> xxx.dtb’
> is there another way?
> 
> cheers,
> 	danny
> 

You should be able to "saveenv" after making your change.

The uEnv.txt that used to be supported was to make it possible to
programatically change the boot behavior from freebsd userland.  That
feature got lost when the uboot ports were all rewritten to use a
default environment (boot scripts and all) for freebsd that is
basically identical to what linux uses.  It's a lot less work for the
port maintainers, but we lost some functionality along the way.

-- Ian



More information about the freebsd-arm mailing list