[Openmcl-devel] CCL on BeagleBone (Angstrom)

Kelly McDonald kelly at fammcdonald.net
Fri May 3 18:12:35 PDT 2013


Hello,

If I can put in a ticket, please let me know, otherwise please see the following patch	

I got a new beaglebone black today - and of course I was disappointed when CCL wouldn't work - I got an error message :

CPU doesn't support required features

After digging a little I found that the /proc/cpuinfo was different than what was expected:

root at beaglebone:~/ccl/lisp-kernel# cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 2 (v7l)
BogoMIPS	: 297.40
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc08
CPU revision	: 2

Hardware	: Generic AM33XX (Flattened Device Tree)
Revision	: 0000
Serial		: 0000000000000000



So, I patched the source with the following:

--- pmcl-kernel.c	(revision 15801)
+++ pmcl-kernel.c	(working copy)
@@ -1604,7 +1604,7 @@
         break;
       }
       n = strlen(line);
-      if (strncmp(line,"Processor",sizeof("Processor")-1) == 0) {
+      if ((strncmp(line,"Processor",sizeof("Processor")-1) == 0) || (strncmp(line,"model name",sizeof("model name")-1)) == 0) {
         procline = malloc(n+1);
         strcpy(procline,line);

- it looks as if this took care of the problem -

Thanks!

Kelly


More information about the Openmcl-devel mailing list