Allwinner H3 - OrangePi Plus Status

Emmanuel Vadot manu at bidouilliste.com
Wed Aug 10 09:56:22 UTC 2016


On Wed, 10 Aug 2016 11:07:04 +0200
Mattia Rossi <mattia.rossi.mailinglists at gmail.com> wrote:

> 
> > ubldr will load the file described by the "fdtfile" u-boot variable (ubldr import the needed uboot variables).
> > The uboot variable is hardcoded in the uboot port patch (https://svnweb.freebsd.org/ports/head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h?revision=418446&view=markup#l44).
> > Alternativelly you can do from ubldr prompt :
> > load -t dtb filename
> > It will search for the file in /boot/dtb (or you can use the fullpath if it's elsewhere)
> >
> It's weird that such a thing is hardcoded.. Although it seems that it's 
> set through CONFIG_DEFAULT_DEVICE_TREE, so I guess it can be controlled 
> through a config file (Makefile?)

 Not weird at all since uboot is always compiled for one particular board.
 The CONFIG_DEFAULT_DEVICE_TREE is set in the uboot config file (configs/boardname) but it is currently not used as we override the environ in the board include file.

-- 
Emmanuel Vadot <manu at bidouilliste.com>


More information about the freebsd-arm mailing list