From: Chris M. <ch...@mc...> - 2007-09-05 01:29:20
|
All, I don't find anything in the archives with a simple search for linux from scratch and lfs. Is anyone familiar with LFS and whether or not is is useful for Gumstix related projects? Seems at least as a pointer for packages it would be helpful. Thoughts? Chris PS - http://www.linuxfromscratch.org/ |
From: Craig H. <cr...@gu...> - 2007-09-05 06:40:24
|
On Sep 4, 2007, at 6:29 PM, Chris McClenaghan wrote: > I don't find anything in the archives with a simple search for linux > from scratch and lfs. Is anyone familiar with LFS and whether or > not is > is useful for Gumstix related projects? Seems at least as a pointer > for > packages it would be helpful. > > Thoughts? I'm working on getting Open Embedded working for gumstix, and some day (hopefully sooner rather than later) replacing the current buildroot system with OE. As it stands, one can build OE-based rootfs images (with some patches which I've submitted to the OE bug tracker), but there are some bits still missing that are currently in buildroot, and the configuration of the machine in the final image is somewhat different from what you get with the buildroot (stuff like module autoloading, default network configuration, etc, as well as simpler stuff like motd, etc). Anyone who's curious should feel free to take a look at OE now, though be warned the learning curve there is quite a bit steeper than the buildroot. I'm hoping to make getting OE installed and working much much simpler in the next couple of weeks, as well as creating some really simple docs on how to get started with OE for gumstix, and how to migrate from buildroot to OE. One very nice advantage of OE is that once you have an OE system installed, you can incrementally install new packages on the system using something very much like the debian apt-get system (ie no need to compile yourself in most cases, you can just download binary packages which others built, and install them). C |
From: Jeremy L. <li...@dr...> - 2007-09-07 15:26:15
|
Chris McClenaghan wrote: > All, > > I don't find anything in the archives with a simple search for linux > from scratch and lfs. Is anyone familiar with LFS and whether or not is > is useful for Gumstix related projects? Seems at least as a pointer for > packages it would be helpful. > > Thoughts? > > Chris > > PS - http://www.linuxfromscratch.org/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > LFS has a subproject called Cross Linux From Scratch that is a guide to cross compiling LFS. They do not have an ARM target but the process should be the same. There is also another subproject called Hardened Linux From Scratch. HLFS attempts to build a system targeted for firewalls and the sorts. It is the only LFS project that has the option to use uClibc. I have attempted to combine the cross-compile instructions and the uClibc instructions to build a custom linux distro for the gumstix. I have been less than successful but a lot of it has to do with the state of the subprojects and the packages they use. I don't know if you are familiar with building binutils and gcc from a combined source tree which is what HLFS? suggests, but it doesn't work very well at this point. Unless you have built several LFS systems, are constantly on the binutils, gcc, uclibc mailing lists, and have some experience with cross-compilers, I wouldn't suggest the LFS route. It is a pretty good resource for information though and I did successfully build a system for an embedded PowerPC 405 several months ago using a heavily modified LFS process. |