[Re: First RSPRO deployed!] flash utility mkfwimage and RSPRO
boot question
Milan Obuch
freebsd-mips at dino.sk
Fri Nov 26 18:35:44 UTC 2010
On Friday 26 November 2010 17:59:05 Warner Losh wrote:
> On 11/26/2010 08:54, Milan Obuch wrote:
> > On Thursday 25 November 2010 12:12:06 Luiz Otavio O Souza wrote:
[ snip]
> >> Building world works with CPUTYPE=mips32 and for ports, add the
> >> following line to /etc/make.conf:
> >>
> >> CFLAGS=-O2 -pipe -march=mips32
> >
> > Hmm, I put just TARGET_ARCH=mipseb into /etc/make.conf and compiled
> > almost all world (accidentally broken just before end, but that's a
> > pilot error in this case) and sysutils/screen port compiled and run with
> > no CPUTYPE nor CFLAGS definition.
> >
> > That should not be read as better from any side, but surely simpler :)
> > Maybe even TARGET_ARCH should be known from running kernel, this would
> > be similar how native build works on both i386 and amd64 platforms. Now,
> > with screen in place I am going to test buildworld again (with some
> > WITHOUT_XXX=YES in /etc/make.conf) to verify native builds... they are
> > slowish here, which is expected, but seems to work, which is great.
>
> what does uname -a tell you?
>
FreeBSD argo.dino.sk 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Wed Nov 24 10:16:14
CET 2010 root at wind.dino.sk:/tmp/rspro/obj/mips.mipseb/data/src9/sys/RSPRO
mips
Currently running world and kernel is from cross build on i386 host.
Native buildworld just ended, I am going to try native buildkernel... for that
I must apply some patches (already published on this list).
Milan
More information about the freebsd-mips
mailing list