On Fri, Aug 29, 2014 at 12:35 PM, Robert Nelson <[email protected]> wrote:
> On Fri, Aug 29, 2014 at 12:20 PM, Jason Lange <[email protected]> wrote:
>> Hello Robert,
>>
>> I've just tried to duplicate your instructions here to get both spidev 0 and
>> 1 using your dts from the pastebin link above and I am only getting
>> /dev/spidev1.0 and /dev/spidev1.1 -- no spidev0.N or spidev2.N
>>
>> uname -a:
>>
>> Linux SQR-3 3.14.17-ti-r16 #1 SMP Thu Aug 28 23:18:48 UTC 2014 armv7l
>> GNU/Linux
>>
>> I just updated from 3.8 using your latest install-me.sh from rcn-ee.org
>>
>> and did:
>>
>> git clone -b 3.14-ti https://github.com/RobertCNelson/dtb-rebuilder.git
>>
>> make and make install did not complain but no joy.
>
> /dev/spidev1.[0/1] is enabled by:
>
> https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L102
>
> as that enables:
> #include "am335x-bone-spi0-spidev.dtsi"
>
> For /dev/spidev2.[0/1] you have two choices:
>
> Uncomment:
> https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L43
>
> or
> https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L50
>
> then make/sudo make install/sudo reboot

2nd thought, the uart conflicts..
so disable:

#include "am335x-bone-basic-proto-cape.dtsi"
->
/* #include "am335x-bone-basic-proto-cape.dtsi" */

Then add spi0:
#include "am335x-bone-spi0-spidev.dtsi"

Then spi1:
#include "am335x-bone-spi1-spidev.dtsi"
or
#include "am335x-bone-spi1a-spidev.dtsi"

then make/sudo make install/sudo reboot

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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