Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2016 12:48:51 -0200
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: dtb printout
Message-ID:  <CAB=2f8xMFuNNyZHg_pE4RH31y_m38evzRKtN01h_4pxvuyFQHw@mail.gmail.com>
In-Reply-To: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il>
References:  <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il>

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

On 5 December 2016 at 11:48, Daniel Braniss wrote:
> Hi,
> the short version:
>         is there a way to obtain the dtb from the kernel?
>
> 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.

Hi Daniel,

You can use ofwdump to read the DTB data from kernel:

ofwdump -a

ofwdump -p /path/to/node

Luiz


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8xMFuNNyZHg_pE4RH31y_m38evzRKtN01h_4pxvuyFQHw>