On 5/8/2013 10:34 AM, Ian McMahon wrote:
> I started with Michaels's BBW work here:
>
> http://static.mah.priv.at/public/beaglebone/
>
> The BBW 3.2 kernel won't work on the BBB, so I had to build a kernel.  Here's 
> a working 3.8.10 kernel for BBB:
>
> kernel-3.8.10-vanilla.tgz
>
> It's a vanilla kernel; there's no xenomai for 3.8 yet, so you're not going to 
> get proper realtime yet.
>
>
> Procedure:
> <...>

Great instructions, Ian.

Coincidentally, Michael and I had recently discussed the kernel problem. 
Based on his conjecture that a system just as you describe would be 
useful, I modified and tested an installed StarterKit to include both 
Michael's 3.2.21-xenomai+ kernel and the 3.8.10-bone15 kernel that I had 
built from Robert Nelson's BBB page at 
http://eewiki.net/display/linuxonarm/BeagleBone+Black, which I expect is 
nominally the same as your vanilla 3.8.10 kernel. I then wrote a U-Boot 
'script' which detects whether it is executing on a BBW or a BBB and 
boots accordingly.

Result, from the same uSD card, one can boot into a realtime LinuxCNC 
system on a BBW or a non-realtime LinuxCNC system on a BBB. I expect 
Michael will modify his StarterKit accordingly.

Michael suggested I try to add a kernel-selection menu to my script, 
which I'm doing now. As currently envisioned, it would require BBB users 
to obtain a 3.3v TTL-to-USB cable to be able to use the menu but for now 
that seems a moot problem since at the moment the BBB user can boot only 
the 3.8 kernel. On the other hand, it would allow a BBW user to boot 
into either kernel.

I did some more poking at the BBB/3.2.21-xenomai+ booting problem and 
Michael found some info about problems with the 3.2 Xenomai patches. 
Discretion being the better part of valor, it would seem we should wait 
for the 3.8 Xenomai patches before we go realtime on the BBB.

As for building the LinuxCNC simulator, I didn't attempt it on the BBB. 
Apart from the time it takes, does the build succeed using a 4GB uSD 
card? IIRC, there's less than 400MB left in the rootfs partition after 
installing the StarterKit.

To others just tuning in, my only intellectual contribution here is the 
new script.

Regards,
Kent


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to