Running Bulldog on Kernel 3.16 WITHOUT capemanager
Hello, I am running BBB with kernel 3.16 which does not support capemanager anymore. When I tried to run your samples I got the the following error:
java.lang.ArrayIndexOutOfBoundsException: 0
at org.bulldog.beagleboneblack.sysfs.BBBSysFs.getCapeManager(BBBSysFs.java:23)
at org.bulldog.beagleboneblack.sysfs.BBBSysFs.getCapeManagerSlots(BBBSysFs.java:27)
at org.bulldog.beagleboneblack.sysfs.BBBSysFs.readSlots(BBBSysFs.java:51)
at org.bulldog.beagleboneblack.sysfs.BBBSysFs.getSlotNumber(BBBSysFs.java:31)
at org.bulldog.beagleboneblack.BeagleBoneBlack.isHdmiEnabled(BeagleBoneBlack.java:298)
at org.bulldog.beagleboneblack.BeagleBoneBlack.createPins(BeagleBoneBlack.java:137)
at org.bulldog.beagleboneblack.BeagleBoneBlack.<init>(BeagleBoneBlack.java:31)
at org.bulldog.beagleboneblack.BeagleBoneBlackBoardFactory.createBoard(BeagleBoneBlackBoardFactory.java:17)
at org.bulldog.core.platform.Platform.createBoard(Platform.java:13)
at abfuelltest.AbfuellTest.main(AbfuellTest.java:25)
... so it looks like you are using the capemanager.
Is this correct? Is it possible to use Bulldog with neuer kernels?
Thank you, Best regards, Hannes
Hi hannes76, it is currently not possible to use Bulldog for the Beaglebone Black without Cape Manager. I hope that the cape manager will find its way into the Linux Mainline and newer kernels. I do not plan to support kernels 3.13 to 3.16; Only if the official Beaglebone Black images cease to include some sort of capemanager in favour of a totally static configuration, only then will I think about alternative solutions.
Meanwhile, you can switch to a 3.8 kernel if possible.
While I cannot officially guarantee that I will take care of this issue, I do plan on making the implementation more robust. If I find the time, then I will at least try if a startup with a static configuration without cape manager is possible while maintaining stability.
I shall update this issue if any implementations have been made.