Some patches

Milan Obuch freebsd-mips at dino.sk
Mon Oct 27 22:56:40 UTC 2008


On Wednesday 30 July 2008 00:08:59 M. Warner Losh wrote:
> Gonzo and I have been cleaning up the mips import.  We're down to 4
> patches and we thought we'd share them here for testing:
>
> http://people.freebsd.org/~gonzo/mips2/binutils.diff
> http://people.freebsd.org/~gonzo/mips2/cc.diff
> http://people.freebsd.org/~gonzo/mips2/cddl.diff
> http://people.freebsd.org/~gonzo/mips2/libpam.diff
>
> They are all independent, and are all required for a buildworld to
> succeed.  Please share any feedback you have on them.
>
> Warner
>

Today I managed to compile FreeBSD/mips for ADM5120 based Omnima board 
mentioned some time ago on freebsd-embedded list - see 
http://www.omnima.co.uk/store/catalog/Embedded-controller-p-16140.html for 
some info.

I put my simple scripts on my page http://www.dino.sk, so others can comment 
and give some advice. First I csup'ped my 8-current sources, then run 
patch-mips, next build-omnima. Patch files used in patch-mips are from 
http://people.freebsd.org/~gonzo/mips2/ as mentioned above, but I need to 
modify cc.diff a bit (put on my page as well) in order to apply cleanly. Some 
patched seem to be already in sources, other does not apply cleanly and I 
adjusted it. I would like you to see at it, I am not sure I did not make an 
error somewhere, but it builds.

I tried to boot resulting kernel, but for some reason firmware stops somewhere 
after 2 MB or so, and I have no idea how to compress the kernel and make it 
uncompress and run on load. There is no loader for mips, too... Any advice?

As for NetBSD support for this board - I tried precompiled binary loaded from 
http://linux-adm5120.sourceforge.net/netbsd/ and it runs, exactly as written 
there. But this is not complete, it looks like some kind of skeleton, and I 
did not yet manage to generate rootfs - crunchgen does not work for me (but 
that's for another list, I know).

Regards,
Milan


More information about the freebsd-mips mailing list