From owner-freebsd-arm@FreeBSD.ORG Wed Jul 3 17:00:56 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E86256F5 for ; Wed, 3 Jul 2013 17:00:56 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by mx1.freebsd.org (Postfix) with ESMTP id B733C1931 for ; Wed, 3 Jul 2013 17:00:56 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id c10so1019440ieb.10 for ; Wed, 03 Jul 2013 10:00:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=TJoLThS86EgoJUQxmIw92XkNyO8IAAPagSei8VsfhA8=; b=cQfo5K4EIoQYpal9hICdRp6mFV+qirTRZuii7GZ4IXeoImoHMaixJSKFQraN0+NWf8 RAZWMUUTCShWx5jZVF7d0gNGFE9XM+Ezh07Pjlz2MVb8K8KuTAYCCnuDlHAkdLsKGdSz AG1fEHD5Obs0d452cXFk/LMwN4UGw2zizVTNlaxl/VVUv3A0bG7YhIaqjEKxXMVADLao FX2Rvnc2xcN7Ovw6GdXw5hrxeEhvaK8HeFCVmazAS98TsCSlFEDd+tl4XtaUkHqkkDKu UIdxqbwTv7St1HRbbKJLwWo6LXZXfUIJWEfScmEWvh5vrnFkzGqj8ry9nPlDlv2Kr+oj MgBw== X-Received: by 10.50.112.69 with SMTP id io5mr1274325igb.27.1372870856173; Wed, 03 Jul 2013 10:00:56 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id ht10sm24604781igb.2.2013.07.03.10.00.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Jul 2013 10:00:55 -0700 (PDT) Sender: Warner Losh Subject: Re: Raspberry pi not ready to self-host yet? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <60025368-8500-499C-9748-D1FF29E8DFEF@gmail.com> Date: Wed, 3 Jul 2013 11:00:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: 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> <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> To: Hubbard Jordan X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnwcwrRFkbCVhJ9VbrvA1njrQL9bkmnI5CqzGI/zMABkGecZrkMvL/5GO4sadLML1AQilgH Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 17:00:57 -0000 On Jul 2, 2013, at 7:12 PM, Hubbard Jordan wrote: >=20 > On Jul 1, 2013, at 1:33 AM, Oleksandr Tymoshenko = 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