Date: Fri, 26 Nov 2010 16:54:48 +0100 From: Milan Obuch <freebsd-mips@dino.sk> To: Luiz Otavio O Souza <lists.br@gmail.com> Cc: freebsd-mips@freebsd.org Subject: Re: [Re: First RSPRO deployed!] flash utility mkfwimage and RSPRO boot question Message-ID: <201011261654.50452.freebsd-mips@dino.sk> In-Reply-To: <21DE95C5-CD5F-48C0-9569-C40D15BDC215@gmail.com> References: <D74327E9-0A8A-4B46-B4DD-16D0FAF8E3BB@gmail.com> <201011241145.43480.freebsd-mips@dino.sk> <21DE95C5-CD5F-48C0-9569-C40D15BDC215@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 November 2010 12:12:06 Luiz Otavio O Souza wrote: > On Nov 24, 2010, at 8:45 AM, Milan Obuch wrote: > > On Thursday 18 November 2010 12:07:34 Luiz Otavio O Souza wrote: [snip] > > Hi, > > > > I can succesfully build world and kernel and using mkflash create an > > image usable to be loaded by redboot and this is used on regular boot > > after power on. Fine. I am using currently kernel in on board flash > > (spiflash) and filesystem on USB flash key. This way I am able to try > > native buildworld on RSPRO (not too quick, much slower than cross build, > > but this is expected), test ports etc. > > Great ! > > 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. Regards, Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011261654.50452.freebsd-mips>