Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 11:00:52 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Hubbard Jordan <jordan.hubbard@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Raspberry pi not ready to self-host yet?
Message-ID:  <D15635CD-7A88-49D0-8EE7-6967B1BEDD0F@bsdimp.com>
In-Reply-To: <60025368-8500-499C-9748-D1FF29E8DFEF@gmail.com>
References:  <800732D1-B06A-40AE-AE69-F6170662B2AA@turbofuzz.com> <20130626235542.27844683@ivory.wynn.com> <79CFABCE-156A-44B5-B989-A3607C47B2AF@mail.turbofuzz.com> <20130627013142.5fdb2544@ivory.wynn.com> <DC57FE36-8A1B-4372-A3E8-82CCB9730FDC@turbofuzz.com> <20130627111623.137ad2ca@ivory.wynn.com> <20130627215424.GA2441@night.db.net> <463D25BB-88D6-4B2E-A7F2-05A8B0525571@gmail.com> <489E95FC-AF71-483C-BA08-81276B850B7F@bluezbox.com> <60025368-8500-499C-9748-D1FF29E8DFEF@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 2, 2013, at 7:12 PM, Hubbard Jordan wrote:

>=20
> On Jul 1, 2013, at 1:33 AM, Oleksandr Tymoshenko <gonzo@bluezbox.com> =
wrote:
>=20
>> It crashes due to INVARIANTS options in kernel config. I'm going to
>> look into this problem some time  next week unless someone beats me =
to it.=20
>> Just disable them for now.=20
>=20
> Yep, that did the trick!   I'm now able to build world / kernel for =
ARM on my MacBook Pro* and boot the result on the PI with no problems:
>=20
> FreeBSD pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r252509M: Tue Jul  2 =
00:57:07 PDT 2013     jkh@whappy:/usr/obj/arm.armv6/usr/src/sys/RPI-B  =
arm
>=20
> I even have NFS up and running on the PI since adding "options NFSD" =
to the RPI-B kernel.  Since there are no modules built for ARM (why is =
that?) that was kind of my only option.  Might be worth adding to the =
RPI-B configuration file until such time as that changes!

No reason. Historically, we've been on embedded platforms where you =
loaded the kernel and then needed no more modules after that. This has =
changed, obviously, but we've been slow to adapt.

> - Jordan
>=20
> * OK, to be more accurate, I actually have FreeBSD-current running =
under VMWare Fusion and the Mac's built-in SD card reader assigned to =
the VM, which lets me mount it and DESTDIR=3D/sd in order to install the =
world/kernel on the SD card.    Unfortunately, you can't set DESTDIR to =
an NFS mount because the attempts to set the immutable flags blow the =
build up. :)

Can't you set NO_FSCGH=3Dt to get around this (hmmm, looks like an =
option that's slipped through the cracks of the WITH/WITHOUT change =
over).

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D15635CD-7A88-49D0-8EE7-6967B1BEDD0F>