Device Tree Compiler missing option '-@' - SOLVED

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Device Tree Compiler missing option '-@' - SOLVED

Postby photomankc » Sun May 12, 2013 5:58 am

In trying to follow some of the device tree muxing examples I installed the 'dtc' package with pacman. The problem is that all the examples call out the option '-@' and the version that I have does not include this option. It appears that this is provided in a patch that is needed to make the blobs work with capemgr. It appears I either need to build dtc from source and patch it or hope that it gets patched and updated for pacman.

If I have to build from source then will I need to fetch all the kernel source to build this piece? I don't really follow the process on how to pull all the kernel sources yet. I don't yet get how you use abs, where to put things and so forth. Is there a good tutorial beyond the wiki?


Edit: This is the patch referred to - https://patchwork.kernel.org/patch/1934471/
Last edited by photomankc on Sun May 12, 2013 4:24 pm, edited 1 time in total.
photomankc
 
Posts: 16
Joined: Mon Mar 04, 2013 10:00 pm

Re: Device Tree Compiler missing option '-@'

Postby photomankc » Sun May 12, 2013 4:24 pm

Ok so I pulled in the source late last night using "makepkg --no-build" and this morning found that there was an already compiled "dtc" in the ./scripts/dtc/ directory now. Printing the help showed it understood the -@ symbol. Once my new .dtb was compiled with that I was able to boot with some extra ttys without clobbering the rest of the claimed pinmux settings:

/dev/ttyO0 /dev/ttyO1 /dev/ttyO2 /dev/ttyO5
photomankc
 
Posts: 16
Joined: Mon Mar 04, 2013 10:00 pm

Re: Device Tree Compiler missing option '-@' - SOLVED

Postby chisleu » Thu Jun 13, 2013 1:21 am

I would love it if you would post how you got -@ working. I've been unable to figure it out thus far.
chisleu
 
Posts: 17
Joined: Sun May 05, 2013 5:15 pm

Re: Device Tree Compiler missing option '-@' - SOLVED

Postby chisleu » Thu Jun 13, 2013 11:17 am

I copied the binary from /usr/bin/dtc on Angstrom and it seems to work. It also seems like a horrible way to do business, but I needs -@
chisleu
 
Posts: 17
Joined: Sun May 05, 2013 5:15 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 14 guests