LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Compiling for embedded arm linux (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/compiling-for-embedded-arm-linux-732902/)

mvhurlburt 06-14-2009 04:49 PM

Compiling for embedded arm linux
 
I guess this is sort of a repost but I'm going to give it a shot in this board as it likely belonged here to begin with. Essentially what I would like to do is compile a number of different sources for an arm box. Its a VOX N1 NAS enclosure running a 200Mhz ARM, 64MB ram, 256MB NAND with a 10/100 enet interface, a USB a plug for attaching more storage or a printer and a USB 2.0 B plug for attaching the NAS as a enclosure to another computer. I'v done some coding in the past however I am quite new to cross compiling. My main environment is OS X and following some instructions on the web I've installed an ARM toolchain(GCC, binutils, etc). I'm just don't know how exactly to build these sources with that compiler as my experience is limited IDE's like xCode and simply typing 'make' and 'install.sh' on my linux box. I do have a linux box setup running kubuntu so if there is a way for me to build this stuff on that more easily I'm completely open to that too or if there is a distro that is packaged with the proper dev tools out of the box for simplicity's sake that would be great. Any advice at this point would be greatly appreciated.

I should also mention on an entirely separate note that though this option may take a bit more work it would be great if I could get debian on the N1. That way I could just use apt-get to get the packages that I would like to use(netatalk, openssl, zlib, apache, webmin, openssh, etc) If there is a way to modify the boot loader on this so I could get debian running of either a thumb drive or the internal sata drive that would be great. Any ideas, resources or help that anybody could point me two regarding either of the above options would be great.
Thanks,
Michael Hurlburt

diilbert 06-16-2009 09:06 AM

Debian seems to have an ARM port: http://www.debian.org/ports/arm/
There is a Slackware port of ARM as well: http://www.armedslack.org/
If you Google there are more: http://www.google.ca/search?q=linux+distro+arm

If you want to build the distro you could start with the Cross Linux From Scratch book: http://trac.cross-lfs.org/


All times are GMT -5. The time now is 08:41 PM.