Monday, March 21, 2016

[fedora-arm] Re: How to rebuild a single dtb file

On Mon, 2016-03-14 at 21:19 -0400, Andrew Gillis wrote:
> I want to rebuild a dtb file so I can test it with some hardware
> changes I made to an imx6 board.
>
> I could just rebuild the kernel but that takes forever. Is there an
> easy procedure for just rebuilding a single dtb files? 
>
> I tried using dtc but it doesn't seem to work (I get errors) directly
> or I don't have the correct syntax.

You first need to convert the compiled dtb file to dts. Then you can
adjust the dts and compile to dtb.

dtc -I dtb -O dts -o <output dts> <input dtb>

Jurgen

>
> -Andrew
> _______________________________________________
> arm mailing list
> arm@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/arm@lists.fedoraproject.or
> g
_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/arm@lists.fedoraproject.org

No comments:

Post a Comment