I'm noticing on the second system spi_omap2_mcspi is loading as well. One
thing I have also noticed is that with recent TI kernels,kernel modules
seem to remove themselves when not needed, or possibly conflicting with
another driver. Which is a good thing, but also, could potentially be a bad
thing if that does not work as intended. My guess here, is that spi_omap2_mcspi
is moving it's self out of the way, and on it's way out is stopping the
other SPI interfaces from loading. Additionally, my guess is that if you
need the functionality of the other SPI "channels", you'll have to create a
custom overlay.

On Tue, May 9, 2017 at 10:50 AM, Gaurav S <[email protected]> wrote:

> Hello,
> http://elinux.org/4D_4.3_LCD_CAPE
>
> Thanks for the reference Robert, that solved the issue. Apparently I
> should not be mixing uboot with "bone_capemgr.enable". I am not sure why
> did the /dev/spidev* work on the system without the LCD.
>
> Thanks again,
>
> gaurav
>
> On Tuesday, May 9, 2017 at 12:38:50 PM UTC-5, RobertCNelson wrote:
>>
>> Which lcd?
>>
>> For spidev please read:
>>
>> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_
>> Override_external_capes
>>
>>
>> On May 9, 2017 12:16 PM, "Gaurav S" <[email protected]> wrote:
>>
>> Hello All,
>> With LCD, it seems like SPI is behaving awkwardly. I have two beagle bone
>> boards one with LCD plugged in (SYS1) and the other stand alone beagle bone
>> (SYS2), both running latest debian lxqt 2gb image (may 7 2017). The curious
>> thing over here is that before u-boot spi was working just fine with the
>> LCD.
>>
>> Following are the results from each of the systems:
>>
>> SYS1 (beaglebone + LCD4)
>>
>> debian@beaglebone:~$ uname -a
>> Linux beaglebone 4.4.62-ti-r99 #1 SMP Sat Apr 22 14:21:03 UTC 2017 armv7l
>> GNU/Linux
>> debian@beaglebone:~$ dmesg | grep bone
>> [    0.000000] Kernel command line: console=ttyO0,115200n8
>> bone_capemgr.enable_partno=BB-SPIDEV1 bone_capemgr.uboot_capemgr_enabled=1
>> root=UUID=e4c7e2e7-0fbf-494c-8d84-305d291d2b7a ro rootfstype=ext4
>> rootwait coherent_pool=1M net.ifnames=0 quiet
>> [    2.376478] bone_capemgr bone_capemgr: Baseboard:
>> 'A335BNLT,00C0,2516BBBK2265'
>> [    2.376509] bone_capemgr bone_capemgr: 
>> compatible-baseboard=ti,beaglebone-black
>> - #slots=4
>> [    2.376544] bone_capemgr bone_capemgr: slot #0: auto loading handled
>> by U-Boot
>> [    2.376566] bone_capemgr bone_capemgr: slot #1: auto loading handled
>> by U-Boot
>> [    2.376587] bone_capemgr bone_capemgr: slot #2: auto loading handled
>> by U-Boot
>> [    2.376629] bone_capemgr bone_capemgr: slot #3: auto loading handled
>> by U-Boot
>> [    2.376655] bone_capemgr bone_capemgr: enabled_partno PARTNO
>> 'BB-SPIDEV1' VER 'N/A' PR '0'
>> [    2.376667] bone_capemgr bone_capemgr: slot #4: override
>> [    2.376681] bone_capemgr bone_capemgr: slot #4: auto loading handled
>> by U-Boot
>> [    2.377276] bone_capemgr bone_capemgr: initialized OK.
>> [    6.851318] systemd[1]: Set hostname to <beaglebone>.
>> debian@beaglebone:/dev$ ls sp*
>> ls: cannot access sp*: No such file or directory
>>
>>
>>
>> SYS2 (stand along beagle bone)
>>
>> debian@beaglebone:~$ uname -a
>> Linux beaglebone 4.4.62-ti-r99 #1 SMP Sat Apr 22 14:21:03 UTC 2017 armv7l
>> GNU/Linux
>> debian@beaglebone:~$ dmesg|grep bone
>> [    0.000000] Kernel command line: console=ttyO0,115200n8
>> bone_capemgr.enable_partno=BB-SPIDEV1 bone_capemgr.uboot_capemgr_enabled=1
>> root=UUID=599ccfe6-2803-4ea0-9141-2bb571994e70 ro rootfstype=ext4
>> rootwait coherent_pool=1M net.ifnames=0 quiet
>> [    2.445200] bone_capemgr bone_capemgr: Baseboard:
>> 'A335BNLT,00C0,2516BBBK22E8'
>> [    2.445233] bone_capemgr bone_capemgr: 
>> compatible-baseboard=ti,beaglebone-black
>> - #slots=4
>> [    2.445270] bone_capemgr bone_capemgr: slot #0: auto loading handled
>> by U-Boot
>> [    2.445291] bone_capemgr bone_capemgr: slot #1: auto loading handled
>> by U-Boot
>> [    2.445337] bone_capemgr bone_capemgr: slot #2: auto loading handled
>> by U-Boot
>> [    2.445359] bone_capemgr bone_capemgr: slot #3: auto loading handled
>> by U-Boot
>> [    2.445379] bone_capemgr bone_capemgr: enabled_partno PARTNO
>> 'BB-SPIDEV1' VER 'N/A' PR '0'
>> [    2.445390] bone_capemgr bone_capemgr: slot #4: override
>> [    2.445403] bone_capemgr bone_capemgr: slot #4: auto loading handled
>> by U-Boot
>> [    2.446010] bone_capemgr bone_capemgr: initialized OK.
>> [   17.551299] systemd[1]: Set hostname to <beaglebone>.
>> debian@beaglebone:~$ cd /dev
>> debian@beaglebone:/dev$ ls sp*
>> spidev1.0  spidev1.1  spidev2.0  spidev2.1
>>
>> Am I missing something regarding how u-boot is supposed to work?
>>
>>
>> Thanks
>> Gaurav
>>
>> --
>> 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].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beagleboard/5852e231-e19e-4b1e-9a4f-3c9acd6656e5%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/5852e231-e19e-4b1e-9a4f-3c9acd6656e5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
> 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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/c0363018-6862-4b01-a933-1cdd2521c5c8%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/c0363018-6862-4b01-a933-1cdd2521c5c8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORpBb9L5jYCoURO%3DP%3DXyXUAJVmrh6abZ6LmZjMji2wBK1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to