Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Kelly McDonald <kelly <at> fammcdonald.net>
Subject: CCL on BeagleBone (Angstrom)
Newsgroups: gmane.lisp.openmcl.devel
Date: Saturday 4th May 2013 01:12:35 UTC (over 3 years ago)
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:

[email protected]:~/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
 
CD: 2ms