Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2016 09:18:24 -0800
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        arm@freebsd.org
Subject:   Re: dtb printout
Message-ID:  <67BE2952-5253-44ED-82A6-9CE95F1D7EE8@bluezbox.com>
In-Reply-To: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il>
References:  <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il>

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

> On Dec 5, 2016, at 5:48 AM, Daniel Braniss <danny@cs.huji.ac.il> =
wrote:
>=20
> Hi,
> the short version:
> 	is there a way to obtain the dtb from the kernel?

The full dtb can be obtained by running sysctl -b hw.fdt.dtb> file.dtb, =
dts
source: sysctl -b hw.fdt.dtb | dtc -I dtb

> the longer version:
> I am developing on several different arm boards, rpi, rpi2, =
orangepi-one, orange-pc, to mention=20
> a few, and each one has a different u-boot, ubldr, dtb, and I keep =
loosing track :-(
> I find myself too often wondering which ddb file got loaded.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67BE2952-5253-44ED-82A6-9CE95F1D7EE8>