Allwinner H3 - OrangePi Plus Status
Emmanuel Vadot
manu at bidouilliste.com
Wed Aug 10 08:41:46 UTC 2016
On Wed, 10 Aug 2016 10:21:12 +0200
Mattia Rossi <mattia.rossi.mailinglists at gmail.com> wrote:
> Hi all again,
>
> I've managed to build everything, and to create the image etc., but I'm
> having troubble with the .dtb file
> >
> > the .dtb file goes in /boot/dtb
> > Also realised that my attachments did not go through, in case their
> > air needed
> > let me know.
> >
> >
>
> So, I've added sun8i-h3-orangepi-plus.dts to the dtb/allwinner Makefile,
> so that it gets built with the MODULES_EXTRAS option in the kernel
> config file.
>
> So far so good, the .dtb exists as sun8i-h3-orangepi-plus.dtb and is
> installed in /boot/dtb which is placed on the ufs filesystem (2nd
> partition of the SD card).
>
> When I switch on the device, u-boot and ubldr start fine, but ubldr
> complains about the missing .dtb - So obviously it's confused by
> something. I guess the .dtb is either in the wrong place or it has the
> worng name. In either way, I need to tell ubldr what to look for. How do
> I do that?
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)
> On my dreamplug I don't use ubldr, but boot kernel.bin directly from
> u-boot. There I use the following kernel config options:
>
> options FDT_DTB_STATIC
> makeoptions FDT_DTS_FILE=dreamplug-1001.dts
>
> which cause the .dtb to be built into the kernel. Would that work with
> ubldr as well? (I don't need a separate .dtb, so whatever works is fine
> with me..
>
> Do you have any hints?
>
> Thanks,
>
> Mat
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
--
Emmanuel Vadot <manu at bidouilliste.com>
More information about the freebsd-arm
mailing list