Date: Tue, 14 Apr 2009 14:21:12 +0200 From: Bernd Walter <ticso@cicely7.cicely.de> To: Chuck Robey <chuckr@telenix.org> Cc: Guillaume Ballet <gballet@gmail.com>, freebsd-arm@freebsd.org Subject: Re: Pandora Message-ID: <20090414122111.GD68699@cicely7.cicely.de> In-Reply-To: <49E3C3E9.3080800@telenix.org> References: <fd183dc60904131302i48c1d9abmb9d26669a600554e@mail.gmail.com> <49E3C3E9.3080800@telenix.org>
index | next in thread | previous in thread | raw e-mail
On Mon, Apr 13, 2009 at 06:59:53PM -0400, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Guillaume Ballet wrote: > >> Is there any work being done for the Pandora platform (which I think is VERY > >> similar to the BeagleBoard)? It's the TI OMAP3530, but if you don't happen to > >> have anyone working on the Pandora, well, maybe I can start one. I need to > >> know if anyone is working on anything similar for FreeBSD. > > > > I am working on a FreeBSD port for the BeagleBoard. I am far from > > having a complete system, but I wrote a temporary loader and I am > > slowly getting to rootfs mount time. I haven't published anything yet > > since my code is still embarrassingly hacky and incomplete, but feel > > free to contact me: I may already have something you could find useful > > to help you get started on your board. > > > >> Beyond that, I've just finished building a cross-binutils-2.19, and a > >> cross-gcc-4.3.1. I think the next step is to build me a cross glibc, but I > >> don't (yet) know what the version of glibc that I need is. If anyone knows > >> about that, I'd surely appreciate any guesses you might have. I need to know > >> the filename of the installed libraries, and the glibc version I need. Thanks. > > > > Not sure how far you went, but I decided to start compiling and > > booting the kernel before worrying about the userland :) Also, you > > have to be aware that the compiler used in the BSD build system is a > > bit different from the vanilla one. And afaik, gcc 4.3.x does not > > support the extensions required to build the FreeBSD kernel. I'm not > > sure how much work that is, but that's definitely an interesting task > > if you have the time to do it :) > > OK, I have a couple of questions. I've just completed building a binutils-2.19 > and a gcc-4.3.1, so now that I've already done that, I used a arm-linux-gnueabi > machine definition, is that the one you have on your cross compiler? What > version of glibc have you built? What's the rules you've used for setting the > floating point on your crosscompiler? > > I want to get started trying to build the glibc, so if you have any patches for > whatever glibc you used, I'd sure appreciate a copy of them. We use FreeBSD-libc, not GNU. libc is OS dependend. Your cross-compiler toolchain is ok if you are developing embedded things under FreeBSD, but it is not sufficient to cross-compile FreeBSD itself. I use something similar myself for Ethernut and FreeRTOS. FreeBSD's makefile have cross support included, just set TARGET=arm and TARGET_ARCH=arm for your buildworld/buildkernel. If you want to port FreeBSD you should use this instead. The only thing you need to modify for your board is kernel and bootcode. Userland and compiler toolchain should just work. FreeBSD is a complete OS with complete makefile structure, not just kernel plus random add ons. -- B.Walter <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090414122111.GD68699>
