On 4/19/2013 1:24 PM, Michael Haberler wrote:
> Am 19.04.2013 um 18:46 schrieb Andrew<[email protected]>:
>
>> >2013/4/19 Michael Haberler<[email protected]>
>> >
>>> >>
>>> >>The information on ARM ports is atm bit littered over the emc-developers
>>> >>mailing list, which I suggest to read back to last fall, and several Wiki
>>> >>entries:
>>> >>
>>> >>http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BeagleboneDevsetup
>>> >>http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall
>>> >>http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild
>>> >>
>>> >>Thanks! I started reading, and run into boot from NFS server. Not that I
>> >can't do that, but looks inconvenient.
>> >Any other options for boot drive? Faster SD card, USB HDD or flash drive?
> Well actually the setup described there is a developer setup because 
> compiling on the standard SD card is very slow; in a production setting you'd 
> rather want to have the standard SD card setup anyway

Andrew.

The Beaglebone and many of its brethren (but not the Raspberry Pi) 
depend on an open-source program named Das U-Boot (nice choice of name, 
I thought!). The Beaglebone firmware expects to find suitably packaged 
Das U-Boot code on the uSD card.(you can find more explanation on 
Beagleboard.org).

By default, the multi-stage Beaglebone booting process ends up loading 
the Linux kernel from the uSD card and points the kernel to the file 
system also on the uSD card. Fortunately, a hook is provided that can be 
exploited to break out of the default booting sequence and do 
interesting things. Michael's use of remote servers is a good example. 
Last fall, I worked on uSD cards which allow me to break the booting 
process and, from the command line, choose to continue with the kernel 
and the file system each drawn from either the uSD card or from remote 
servers. It wasn't as pretty nor as automated as I would like, but it 
was doable. I wasn't interested in booting from a USB device so I didn't 
look into the resources necessary to do that.

I started to document what I'd done on my Google site 
(sites.google.com/site/manisbutareed) but my wife's declining health 
drew me away before I published my scripts. I may get back to it maƱana. 
I decided, by the way, to stick to scripts (well, environmental 
variables on steroids, actually) and not modify Das U-Boot sources 
because 1) I didn't want to turn this into yet-another-project and 2) if 
at all successful, I'd immediately be in the position of supporting 
potentially many others outside the LinuxCNC community.

Das U-Boot lives at www.denx.de/wiki/U-Boot in case you want to look at 
the sources (the "U" stands for "universal" which means you should be 
prepared to do some careful study to figure out what parts apply to the 
Beaglebone).

Regards,
Kent



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to