Pandora
Bernd Walter
ticso at cicely7.cicely.de
Tue Apr 14 05:36:46 PDT 2009
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 at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the freebsd-arm
mailing list