Re: How to rebuild a single dtb file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/arm@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux