On Tue, May 20, 2014 at 8:01 PM, Robert Nelson <robertcnel...@gmail.com> wrote: > On Tue, May 20, 2014 at 7:53 PM, <michael.du...@gmail.com> wrote: >> RobertCNelson: >> >> I am running 2014-05-14 debian (flasher), and I can reliably generate a >> kernel null pointer dereference using no more than >> /sys/devices/bone_capemgr.*/slots and /lib/firmware/BB-SPIDEV1-00A0.dtbo. > > Yes and No... You got a null pointer dereference when you "unloaded a > cape", which is a long time old known issue. The "only" way to > properly unload a cape is to reboot with the v3.8.x based kernel. > >> Any interest? If so, please see: >> https://groups.google.com/forum/#!topic/beaglebone/RpozbQ0gGH0 > > Ah, i see. So you guys are on the "other" forum, if you would have > searched the main one (this one) you would have seen this old issue > discussed a few times over the last year.
to follow up: root@am335x-boneblack-512mb-0:/home/voodoo# uname -r 3.8.13-bone54 root@am335x-boneblack-512mb-0:/home/voodoo# export SLOTS=/sys/devices/bone_capemgr.9/slots root@am335x-boneblack-512mb-0:/home/voodoo# cat $SLOTS 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-- Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI 6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN root@am335x-boneblack-512mb-0:/home/voodoo# echo BB-SPIDEV1 > $SLOTS [ 96.506849] bone-capemgr bone_capemgr.9: part_number 'BB-SPIDEV1', version 'N/A' [ 96.516565] bone-capemgr bone_capemgr.9: slot #7: generic override [ 96.523225] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7 [ 96.531389] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-SPIDEV1' [ 96.541719] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-SPIDEV1-00A0.dtbo [ 96.552162] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-SPIDEV1-00A0.dtbo' for board-name 'Override Board Name', version '00A0' [ 96.570136] bone-capemgr bone_capemgr.9: slot #7: dtbo 'BB-SPIDEV1-00A0.dtbo' loaded; converting to live tree [ 96.581977] bone-capemgr bone_capemgr.9: slot #7: #2 overlays [ 96.629134] edma-dma-engine edma-dma-engine.0: allocated channel for 0:45 [ 96.643245] edma-dma-engine edma-dma-engine.0: allocated channel for 0:44 [ 96.692195] edma-dma-engine edma-dma-engine.0: allocated channel for 0:43 [ 96.706484] edma-dma-engine edma-dma-engine.0: allocated channel for 0:42 [ 96.725354] bone-capemgr bone_capemgr.9: slot #7: Applied #2 overlays. root@am335x-boneblack-512mb-0:/home/voodoo# ls /dev/spidev1.* /dev/spidev1.0 /dev/spidev1.1 works for me.. 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.