Also, if I understand your issue correctly, you aren't seeing
/dev/spidev device nodes. This really should have nothing to do with pin
muxing. It sounds as though the spidev driver isn't being bound to your
SPI master.
Cheers,
- Ben
Cheers,
- Ben
> On Thu, 22 Sep 2011 02:18:05 -0700 (PDT), Jack Mitchell <jmdon...@gmail.com> wrote:
>> Thanks for the reply prpplague but I have that page imprinted in
>> memory I've read it that many times! I have now succumbed and am
>> trying to get it going using pin muxing from within the kernel, while
>> bad practice at least it will make a proof of concept to keep moral
>> high!
>>
> Just out of curiosity, what makes you say that pin muxing from within
> the kernel is a bad practice? My understanding was that this was The Way
> of the Future(TM).
The way of the future alright, since the default mux in the kernel is broken for beagle. And it has been for years.
Cheers,
- Ben
Kernel pinmux has always been working with a few possible
exceptions in the 2.6.3x era when the new code went in. I have it
working with the McSPI and others with the 2.6.2x kernels and
with the 3.x kernels; I know of people having it working fine with
the 2.6.35 kernel. I have a quick write up for the older kernels
at (eventually, it will be updated for the 3.x kernels).
http://www.hy-research.com/omap3_pinumux.html
It is a bad idea to do the pinmux in u-boot for the simple reason
that it is yet another piece of code that depends on the kernel
config but do not have visiblity into the config. (OTH, the u-boot
is a quick and dirty way for testing.). For a given hardware,
there can be more then one pinmux config and it needs to match the
kernel config.
--
Hunyue Yau
http://www.hy-research.com/