> On Dec 28, 2014, at 19:56 , Robert Nelson <[email protected]> wrote:
> 
> So the ADC is pretty straight forward, for example the proxy cape uses
> 3 adc channels..
> 
> https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-basic-proto-cape.dtsi
> 
> So if you add that node (with the 2 adc channels you need) to:
> 
> https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts
> 
> then it's just
> 
> make
> sudo make install
> sudo reboot
> 
> (this is with the 3.14-ti branch of dtb-rebuilder)
> 
> The best gpio example is in the argus dtsi
> 
> https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-argus.dtsi

Okay, that seemed to re-enable the ADC, but it killed my GPIOs (which were 
working, actually). I didn't yet try to add a node for the GPIOs. I have many 
questions:

A) What does it mean for all those resulting .dtb files to be in the /boot/... 
directory? Do they all get loaded? Does only the main one ("am335x-boneblack")?

B) In the Argus example, all the &ocp/..._pinmux statuses are set to 
"disabled." Wouldn't I want the pinmux to be enabled ("okay")? What does it 
mean to disable the pinmux?

C) Can there be multiple &ocp, &am33xx_pinmux entries?

D) There's a comment on 
https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-argus.dtsi#L56
 that says the gpio controllers appear to be numbered starting at 1, but then 
list gpio controllers numbered 0.

E) What does "debug" and "shutdown" do?

F) I'm going to add version of each of these ampersand-nodes, and a root node, 
just like the argus ones, replacing "argus_ups" with "podtique", and adjusting 
the pins to what I need. Is that the right approach? That will result in 
am335x-boneblack.dts having multiple root nodes, and multiple &ocp and 
&am335x-pinmux nodes. Eventually, this suggests making a separate .dtsi with 
all the stuff for my cape, and just including it into .dts, right?

G) What should my uEnv.txt look like? It currently looks like this: 
http://pastebin.com/3fx5SDb9

Thanks!

-- 
Rick Mann
[email protected]


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to