From owner-freebsd-arm@FreeBSD.ORG Tue May 5 01:17:09 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABB0FC10 for ; Tue, 5 May 2015 01:17:09 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82BC71058 for ; Tue, 5 May 2015 01:17:09 +0000 (UTC) Received: by pabsx10 with SMTP id sx10so176107236pab.3 for ; Mon, 04 May 2015 18:17:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=ZcifxuAKV13rTzRC4LPUWWqwTxSrp/v2CKl59pDyHYo=; b=jofqvBrZunRmu0n0UL/ht3xnxJ+9/BTqycYrqh3wjG70F5SGQlvgAacUoOceN4W1HH lQ1hH7G3xjISD5KERpqL1chElNByDHslF4h+MITw6Z+oDIIXuF5xZach9Lrgi63QgAwn dusM8rbdKPjwOwSnU/vf69MZpBHMF5xcrXGj1OAfKWR++daUePHsiNd9xHITaKtT/Gs1 g6ho+0OO1CY5Uy1wokva3kgRaP4Hkid/4ouvHgR13TZ1gFK34kh1oUcHmjWWpjaQUsay Ad/JUC6M91lDbylxTlr73rQ/m496gOXz5egWEEhCrYj2qAdXZt9VdIAqGUUC7fZOeV+F kRyw== X-Gm-Message-State: ALoCoQnD0sdHcs1o1xcGxeeYQc4HFLtBunQU4wS+skAkyRN8zKGSy4+SVKQu3nVyfrBJZBNqigb4 X-Received: by 10.66.119.71 with SMTP id ks7mr45870131pab.147.1430788623246; Mon, 04 May 2015 18:17:03 -0700 (PDT) Received: from [192.168.1.100] (c-24-6-220-224.hsd1.ca.comcast.net. [24.6.220.224]) by mx.google.com with ESMTPSA id fo5sm10780078pbb.41.2015.05.04.18.17.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 May 2015 18:17:02 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: Tim Kientzle In-Reply-To: <2092501.Ck9ksGO3nU@shawnwebb-laptop> Date: Mon, 4 May 2015 18:17:00 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9DB1A52C-A66A-4837-B085-4C0361E1B3C2@kientzle.com> References: <4638dd5894c.cba746c@mail.schwarzes.net> <2092501.Ck9ksGO3nU@shawnwebb-laptop> To: Shawn Webb X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2015 01:17:09 -0000 > On May 4, 2015, at 3:32 PM, Shawn Webb wrote: >=20 > On Saturday, May 02, 2015 08:07:48 PM Luiz Otavio O Souza wrote: >> On 2 May 2015 at 13:50, Andreas Schwarz wrote: >>> On 03.05.15, Daisuke Aoyama wrote: >>>=20 >>> Hi Daisuke, >>>=20 >>>> I get freeze if I remove "options SMP" from kernel config. >>>> Also freshly installed OS(VM in ESXi) and freshly installed crochet = and >>>> src without any patch give me un-bootable image.... >>>> It seems current RPI2 code does not work with/without ARM_NEW_PMAP = at >>>> least r282205. My host is r281389 (clang 3.6 version) which is same >>>> version of ODROID-C1 and RPI version on ESXi server. >>>=20 >>> Thank you for the hint, this will explain my problems. >>>=20 >>> -andreas >>=20 >> indeed. This was the fb issue. It should be fixed with r282359. >>=20 >> Now a fresh src and kernel (with 'options ARM_NEW_PMAP') will boot to >> login prompt. >>=20 >> If something doesn't not work, let me know. >=20 > Using Crochet to build a new RPI2 image based on a recent HEAD from = today, I=20 > get this error in the "build FreeBSD ubldr" stage: http://ix.io/ihy There=E2=80=99s a recent change in FreeBSD that prevents Crochet from correctly building the arm boot bits. A patch similar to the following is in review and should be committed to FreeBSD soon: Index: src/sys/boot/efi/loader/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- src/sys/boot/efi/loader/Makefile (revision 281985) +++ src/sys/boot/efi/loader/Makefile (working copy) @@ -101,6 +101,7 @@ -j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set = \ --output-target=3D${EFI_TARGET} ${.ALLSRC} ${.TARGET} +LIBSTAND=3D ${.OBJDIR}/../../../../lib/libstand/libstand.a LIBEFI=3D ${.OBJDIR}/../libefi/libefi.a DPADD=3D ${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} = ${LIBSTAND} \