dtb printout

Oleksandr Tymoshenko gonzo at bluezbox.com
Mon Dec 5 17:18:28 UTC 2016


> On Dec 5, 2016, at 5:48 AM, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> 
> 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 
> 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.


More information about the freebsd-arm mailing list