Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2016 09:50:33 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Luiz Otavio O Souza <lists.br@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: dtb printout
Message-ID:  <0B0492F4-DFD6-4BE2-A4FB-EB6A1331A9A9@cs.huji.ac.il>
In-Reply-To: <CAB=2f8xMFuNNyZHg_pE4RH31y_m38evzRKtN01h_4pxvuyFQHw@mail.gmail.com>
References:  <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> <CAB=2f8xMFuNNyZHg_pE4RH31y_m38evzRKtN01h_4pxvuyFQHw@mail.gmail.com>

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


> On 5 Dec 2016, at 16:48, Luiz Otavio O Souza <lists.br@gmail.com> wrote:
> 
> 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

Hi Luiz,
ofwdump has always been a mystery for me, it reminds me of the days I had to disassemble machine code :-)
in any case, I guess what I really need is to know what dtb file is loaded.

thanks,
	danny



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B0492F4-DFD6-4BE2-A4FB-EB6A1331A9A9>