On Fri, Jan 31, 2014 at 1:08 PM, Mark A. Yoder <[email protected]> wrote: > I've been having fun playing with the new images. So far things have worked > well, but something new has popped up on the latest image that wasn't there > before. > > I'm using bonescript and I get a failure if I try to use certain pins (P9_42 > and P9_21) that worked in the earlier images. > > On the first call to bonescript, via node, the following appears in dmesg > [ 189.216738] bone-capemgr bone_capemgr.9: part_number 'bspm_P9_41_27', > version 'N/A' > [ 189.216916] bone-capemgr bone_capemgr.9: slot #8: generic override > [ 189.216935] bone-capemgr bone_capemgr.9: bone: Using override eeprom data > at slot 8 > [ 189.216953] bone-capemgr bone_capemgr.9: slot #8: 'Override Board > Name,00A0,Override Manuf,bspm_P9_41_27' > [ 189.217067] bone-capemgr bone_capemgr.9: slot #8: Requesting part > number/version based 'bspm_P9_41_27-00A0.dtbo > [ 189.217085] bone-capemgr bone_capemgr.9: slot #8: Requesting firmware > 'bspm_P9_41_27-00A0.dtbo' for board-name 'Override Board Name', version > '00A0' > [ 189.219961] bone-capemgr bone_capemgr.9: slot #8: dtbo > 'bspm_P9_41_27-00A0.dtbo' loaded; converting to live tree > [ 189.220349] bone-capemgr bone_capemgr.9: slot #8: #2 overlays > [ 189.225997] bone-capemgr bone_capemgr.9: slot #8: Applied #2 overlays. > > bonescript appears to work fine unless I do something like: > b.pinMode('P9_42', b.INPUT); > > Then it fails. > > Any idea what's changed, or how to fix it?
It was requested by bb.org to enable a new default pinmux: http://elinux.org/CircuitCo:Basic_Proto_Cape So, P9.42 & P9.21 are now used by default. For compatibity sake, i just set this up in a new overlay.. So it's easy to disable.. sudo sed -i -e 's:CAPE=cape-bone-proto:#CAPE=cape-bone-proto:g' /etc/default/capemgr 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/groups/opt_out.
