Hi,

I was able to rebuild dt for Beaglebone Black from kernel source tree using 
following mad command:

gcc -x assembler-with-cpp -undef -D__DTS__ -nostdinc -Iinclude 
-Iarch/arm/boot/dts/ -E - <./arch/arm/boot/dts/am335x-boneblack.dts |dtc 
-iarch/arm/boot/dts/ -I dts -O dtb >bbb.dtb

You just need to adjust it for your board. It's possible to use dtc directly 
when you unpack dtb from /boot but in case of kernel tree there's 
pre-processing done so dtc gets flat file (I guess).

Cheers,
Richard
_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/arm@lists.fedoraproject.org

Reply via email to