BBB Arch Linux Device Tree

Hi everyone,

I install Arch Linux on BBB e-MMC. I need serial port and read this( article.

I just copy & paste “nano enable-uart5.dts”, after paste enable uart5 code in nano.

Save & exit enable-uart5.dts file.

I try compile this file with dtc,
dtc -O dtb -o enable-uart5-00A0.dtbo -b 0 -@ enable-uart5.dts
Compiler return -h message, -@ argument isn’t accept dtc.

I remove -@ argument and try again, this time compiler return error message

[root@alarm ~]# dtc -O dtb -o enable-uart5-00A0.dtbo -b 0 enable-uart5.dts
Error: enable-uart5.dts:1.1-2 syntax error
FATAL ERROR: Unable to parse input tree

What can I do?
Thank you.
Best Regards.

You need to use the patched version of DTC provided by TI, the one in the kernel hasn’t got device tree fragment support which is the error you’re getting.


I think you can try this:

Miguel Aveiro

Install dtc-git-patched from the AUR. The others aren’t patched with -@ support and don’t work. Remove any other dtc’s you have installed, and install dtc-git-patched from the AUR (

Your solutions worked.

Thank you.