dtb printout

Daniel Braniss danny at cs.huji.ac.il
Tue Dec 6 07:50:42 UTC 2016


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



More information about the freebsd-arm mailing list