Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 11:07:04 +0200
From:      Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Allwinner H3 - OrangePi Plus Status
Message-ID:  <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com>
In-Reply-To: <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com>
References:  <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <E9103052-2177-42C0-BFFD-C48BDC7ACDFE@cs.huji.ac.il> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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?)

As written in the previous mail, it's coded to orangepi-plus-pc.dtb for 
now, so I'm not going to search for another solution.

Thanks for the loader hint, i couldn't figure out the correct command

load -t dtb "filename"

on the ubldr loader> prompt

I'll keep that in mind for emergencies :-)

Thanks,

Mat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?141a4b87-1914-a9f5-c15a-3173f6d4659a>