From owner-freebsd-arm@freebsd.org Sun Aug 7 01:54:22 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93794BA9C1A for ; Sun, 7 Aug 2016 01:54:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 4E0CE1A94 for ; Sun, 7 Aug 2016 01:54:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x235.google.com with SMTP id x130so8976476ite.1 for ; Sat, 06 Aug 2016 18:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4w+VixlLVJq8E5VrXmfgq1WvkxrFSfv7PSPYJx9S2Jg=; b=i0cLHO+b5kUD2kBrM3Gz8THEUxLkpXDNQ5sl4GwqrhZBaDz7iSYoyBzcT4zBU67Mfk qNTlsU7DPWmyt89GUinoxWkNwBiIWU4wyY+jzLmzDXtAVh8Rn0HmL0+ZM3ME6/OX1Wqb uLwNIfTryJBkwyDsD8PlzXeGnWGbwHOvVYDn5xi5A6FUa9XCjN3ZEQdrEOK60ZUdjuBc j+RrvCD8Iz6hXWvelL3BrGl2pNrZE8JQS1wXh/dlPvTxjkYZNkb5gp779e148L5A8At+ W7qKskgdQRCvLD/mzWpyTi16gXmPqmC74G0Lbl9dztKZhD1DkzIM2k0Uxxs6Yx7m6WKf 1B1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4w+VixlLVJq8E5VrXmfgq1WvkxrFSfv7PSPYJx9S2Jg=; b=Z8mjyd7Q6itBBgnwupS4DkTAqENn5umk2kigW0uzboDrufnsjmx437j/BLKGldkhCo lFAgrwdosG3it59SLWdaeI1oAy8cnuqCCDvAoErvN70bzfzQ+6Ki0XLxx0MsKu+y6ZdH lYMJUl72KUW3VUPjUe/LF4jTDYsjwPisQtGGG5U6s8+PtMh91w1GHtUG+N7rzp0WXHuA h/Xr7MR9taN6kgZon0k9oxoXADienlODFfcTndVjKgTCkVRbPTKrr/267UGEl7HD0Rzz WtbnVZYa3e1qXF2uNjLrU3t/27EC6TIODT1u2kpbXBKvUTjBHtZbBEeQm98hs5bXt8bE 9xzg== X-Gm-Message-State: AEkooutGFlH0gd8GhhmCMoYA9rTr0ZHb/sK+bNyXVE8uflxXv8H8bNvm3Hf6dnulXhAw/dMe85JAoH1a/uuniA== X-Received: by 10.36.101.195 with SMTP id u186mr10950495itb.80.1470534861540; Sat, 06 Aug 2016 18:54:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Sat, 6 Aug 2016 18:54:20 -0700 (PDT) In-Reply-To: <7C4D45AC-3DDB-46FE-85AB-5F692E5C1283@yahoo.com> References: <7C4D45AC-3DDB-46FE-85AB-5F692E5C1283@yahoo.com> From: Adrian Chadd Date: Sat, 6 Aug 2016 18:54:20 -0700 Message-ID: Subject: Re: Zynq/Zybo USB bug: ubldr "fixes" my device tree To: Thomas Skibo Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 01:54:22 -0000 hi! Cool! can you create a PR for that? -adrian On 31 July 2016 at 10:55, Thomas Skibo via freebsd-arm wrote: > > Hello. > > I finally tracked down a bug that kept me from being able to use a USB dr= ive as root on a Zybo (or Zedboard). Mounting USB drives has worked fine b= efore but using one as root would fail. > > The first megabyte of memory space on Zynq has several caveats including = a hole between 256K-512K that is inaccessible by bus masters. My solution = was to simply ignore the first megabyte by starting memory at 0x100000 in m= y DTS file(s). But, I discovered that the first megabyte was being allocat= ed and the ehci device hung trying to DMA to the hole. It turns out that u= bldr, after loading the board.dtb file, proceeded to =E2=80=9Cfix up=E2=80= =9D the device tree from memory range information it got in a sysinfo call = to u-boot=E2=80=99s API. The memory range started at 0. > > The simplest work-around seems to be to add a =E2=80=9Cmemreserve=E2=80= =9D property to the DTS. Also, It turns out that only the first half megab= yte needs to be ignored. Patch attached. > > =E2=80=94 > Thomas Skibo > thomasskibo@yahoo.com > > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Sun Aug 7 02:13:13 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1F27BA91ED for ; Sun, 7 Aug 2016 02:13:13 +0000 (UTC) (envelope-from ThomasSkibo@yahoo.com) Received: from nm50-vm8.bullet.mail.ne1.yahoo.com (nm50-vm8.bullet.mail.ne1.yahoo.com [98.138.121.152]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8537813A2 for ; Sun, 7 Aug 2016 02:13:12 +0000 (UTC) (envelope-from ThomasSkibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1470535986; bh=TFCxtyVQzWTwLhgzXSO3KP6qk/jtITDfmPam9aPqmts=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=uUuNA+/7MJELBABYWwPVq7PHB7xh9mqspfNVMYGYfRQtAe6KSwTEzjwK8fPhcNIkyJe6Ufj6xnTq8gJlaaya0OiSG2C0JV0RQxR/3rK50PnRD/7Uun7gzosf3pWf3R8YfEgPfVaRNZRuS8WNg6SxISaKZFFXGQJyBuzOMPjsgR1SBixnNVMeYeQSX+EqfTzinnIV0PyRpl1qT9e7RtLY0XlXpduMXenQmYdHcGlX1CbS5DxpDIT4B4Q7+TKrV33t3mnRWWLsMnYaYUWMyOj4zgo32HCFnNJ7xiRoqhrsdRbN23QwfABEUg+jZqfzJ05d6SPdYXglBYbVQDygNcGM/g== Received: from [127.0.0.1] by nm50.bullet.mail.ne1.yahoo.com with NNFMP; 07 Aug 2016 02:13:06 -0000 Received: from [98.138.226.178] by nm50.bullet.mail.ne1.yahoo.com with NNFMP; 07 Aug 2016 02:10:07 -0000 Received: from [98.139.170.180] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 07 Aug 2016 02:07:07 -0000 Received: from [98.139.211.192] by tm23.bullet.mail.bf1.yahoo.com with NNFMP; 07 Aug 2016 02:07:07 -0000 Received: from [127.0.0.1] by smtp201.mail.bf1.yahoo.com with NNFMP; 07 Aug 2016 02:07:07 -0000 X-Yahoo-Newman-Id: 816635.79899.bm@smtp201.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-4 X-YMail-OSG: oxcZO10VM1maXTJ8fbfuawo6OXo4caY60M66wD23k_oPI9K REZSyaDd8U8WHjJcT8gQUjsRcbxbDC6WNMYt_uRj7sBxcSRaSpP4ViMJAZBP VrgkWFiB559ie4cTvZYeYRIzYDvWgCuWHoR6lA14UyETTZbB5Tec59Jdpf2D WBMooTTOxQiDfQ9BQtr_bF_5pm3g5unOqmuQYGfFXkckNCYLSaDDNeYvcua4 Hf3saKqauxnSbHzyrpZ6oOTqCCQwIyBSjA4ljhjPoH.1UtGBJL03nnOQkkFd MAKbJ07sBl9G5219An8QW5PKzlM.z5Njqi9s.BlVvm4EMJK9RQul2FeyeO8H 8jAyiIxw2n.POQiZOsmmd7n9xOaV66U6U68b0AuMouwojKKxyPDtRtPfos55 1k.9OxKUoK07kxKGrnSCCAbmCfZ1Ng66uYqO6YRg0C12myayN2_jtPgaDc_A Qry97NOufRf4jOj.3E_y6c0H.PNozGJI_FJl2rJCGxUlSej5WXoTb0y3wr11 yPlqY0gA0E7NV.MxMMWy9DdVr0XMR5vfT4aQP1VHP.a3cjLkT6Kz0N8NPoFC C9Q-- X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Zynq/Zybo USB bug: ubldr "fixes" my device tree From: Thomas Skibo X-Mailer: iPhone Mail (13G34) In-Reply-To: Date: Sat, 6 Aug 2016 22:07:03 -0400 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <5C8C3F8B-A487-4239-A2ED-C24D7AE3AB57@yahoo.com> References: <7C4D45AC-3DDB-46FE-85AB-5F692E5C1283@yahoo.com> To: Adrian Chadd X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 02:13:13 -0000 Done and patch committed! Sent from my iPhone > On Aug 6, 2016, at 9:54 PM, Adrian Chadd wrote: >=20 > hi! >=20 > Cool! can you create a PR for that? >=20 >=20 > -adrian >=20 >=20 > On 31 July 2016 at 10:55, Thomas Skibo via freebsd-arm > wrote: >>=20 >> Hello. >>=20 >> I finally tracked down a bug that kept me from being able to use a USB dr= ive as root on a Zybo (or Zedboard). Mounting USB drives has worked fine be= fore but using one as root would fail. >>=20 >> The first megabyte of memory space on Zynq has several caveats including a= hole between 256K-512K that is inaccessible by bus masters. My solution wa= s to simply ignore the first megabyte by starting memory at 0x100000 in my D= TS file(s). But, I discovered that the first megabyte was being allocated a= nd the ehci device hung trying to DMA to the hole. It turns out that ubldr,= after loading the board.dtb file, proceeded to =E2=80=9Cfix up=E2=80=9D the= device tree from memory range information it got in a sysinfo call to u-boo= t=E2=80=99s API. The memory range started at 0. >>=20 >> The simplest work-around seems to be to add a =E2=80=9Cmemreserve=E2=80=9D= property to the DTS. Also, It turns out that only the first half megabyte n= eeds to be ignored. Patch attached. >>=20 >> =E2=80=94 >> Thomas Skibo >> thomasskibo@yahoo.com >>=20 >>=20 >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Sun Aug 7 10:09:12 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58E81BA9436 for ; Sun, 7 Aug 2016 10:09:12 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 DA9671751 for ; Sun, 7 Aug 2016 10:09:11 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id x83so10332453wma.3 for ; Sun, 07 Aug 2016 03:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=U1yeyIHcFGAPyxe5c8g2fK42JMHDGhl36BZVYQJVvUA=; b=qUPBgrMjsoyRNFRcsZ6pgl+3w+hQZqMEh9/q6ZyGVi8a4Kj+1Ec2DK7gHSoaVKZouV cebQHB+thcQTERlqxiV109f9A505+jjtA1hFoOxRYwFhtw4RCJg1IbiFWaOyAdzrS7qK 3HWU1Mvu63TrIv4n/4hIng1uVx1+xMP9vPF5pk5M2/bMsR90scjhlyPFB5p37P1UoZE4 2zGahNCgs3G7ZB8pE5sDRa6RU3yks0iGHSc1WQHxGKSl9Al+i8MZXcWhGY46PgJCk1NK J1FeMDo36P90mx+BLP9+81KbCHO8qRdYIehNTfzoNmfEEQ8+GijiTWhv32LkeZphd562 RPIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=U1yeyIHcFGAPyxe5c8g2fK42JMHDGhl36BZVYQJVvUA=; b=Zr/g+CHxYIIt+Me9Grkzp7PgeKsMpFtr70izfafgsizUS8r3MDDq03cxPfxrJygqkq DcLG1Ck3G2ceaGdu0DeWKkEpOvt2ZoFSUVkshi6PM9037WUXzzU6YfTAIRQ2gRcV9/GH T29ztM8ZLkcBMzUtFNTN3zzQ//rbociG3PkGYNTticQK6/I36JsnWSiX8oL4tIDhe8aH U36KBXYjNeB2JiDDqYZ6lH2Uuu1xhXgIbUWwGZii/Ue3QPG5+sdXh03eQ76GThbtvuRG GVbsuvjwD3VHaDTuT/PF9FYfF+DVbHucUrz6T4xVJT49XhKoQsp67wdQB8rtWgenPotc lLSA== X-Gm-Message-State: AEkooutXNgkH3e7sI+GnDYCZ0InCvDWyBOHIXcrtTBQ7KWSktloFcw6WhNTyr4Mti8gcgw== X-Received: by 10.194.20.10 with SMTP id j10mr1878445wje.175.1470564550229; Sun, 07 Aug 2016 03:09:10 -0700 (PDT) Received: from [192.168.178.37] (a82-161-212-209.adsl.xs4all.nl. [82.161.212.209]) by smtp.googlemail.com with ESMTPSA id xa2sm27034195wjc.0.2016.08.07.03.09.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Aug 2016 03:09:09 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Subject: Re: Raspberry Pi B stuck during boot? To: ticso@cicely.de References: <20160806142322.GB31491@cicely7.cicely.de> Cc: freebsd-arm From: =?UTF-8?Q?Ren=c3=a9_Ladan?= Message-ID: Date: Sun, 7 Aug 2016 12:09:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160806142322.GB31491@cicely7.cicely.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 10:09:12 -0000 On 06-08-16 16:23, Bernd Walter wrote: > On Sat, Aug 06, 2016 at 03:06:20PM +0200, René Ladan wrote: >> Hi, >> >> With recent versions of 11 (alpha3 and beta3) my raspberry b gets stuck >> near the end of the boot. I checked the SD card and updated it to 11-beta3 >> using these commands (if I remember correctly, but nothing unusual): >> >> % make buildworld TARGET=arm TARGET_ARCH=armv6 >> % make buildkernel KERNCONF=RPI-B TARGET=arm TARGET_ARCH=armv6 >> # make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >> # make installkernel TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >> KERNCONF=RPI-B >> # make delete-old TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >> # make delete-old-libs TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >> # mergemaster -A armv6 -D /mnt -p >> # mergemaster -A armv6 -D /mnt -U -i >> >> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone picture of >> the TV screen where it gets stuck. >> >> Any ideas if what could be wrong? > It might be hanging in single user mode prompt on serial console. > So if I would disable serial console in /etc/ttys it should be fine? It still hangs with only the "console" and "ttyv0" entries "on" in /etc/ttys, the rest is "off", but it used to work fine. René From owner-freebsd-arm@freebsd.org Sun Aug 7 11:58:26 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5183EBAEDA9 for ; Sun, 7 Aug 2016 11:58:26 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E37891876; Sun, 7 Aug 2016 11:58:24 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id u77Bw2aL098563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 7 Aug 2016 13:58:08 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id u77BvstI009701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Aug 2016 13:57:55 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id u77BvqTX034406; Sun, 7 Aug 2016 13:57:52 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id u77Bvpbs034405; Sun, 7 Aug 2016 13:57:51 +0200 (CEST) (envelope-from ticso) Date: Sun, 7 Aug 2016 13:57:51 +0200 From: Bernd Walter To: =?iso-8859-1?Q?Ren=E9?= Ladan Cc: ticso@cicely.de, freebsd-arm Subject: Re: Raspberry Pi B stuck during boot? Message-ID: <20160807115751.GA34368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20160806142322.GB31491@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 10.2-RELEASE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 11:58:26 -0000 On Sun, Aug 07, 2016 at 12:09:08PM +0200, René Ladan wrote: > On 06-08-16 16:23, Bernd Walter wrote: > > On Sat, Aug 06, 2016 at 03:06:20PM +0200, René Ladan wrote: > >> Hi, > >> > >> With recent versions of 11 (alpha3 and beta3) my raspberry b gets stuck > >> near the end of the boot. I checked the SD card and updated it to 11-beta3 > >> using these commands (if I remember correctly, but nothing unusual): > >> > >> % make buildworld TARGET=arm TARGET_ARCH=armv6 > >> % make buildkernel KERNCONF=RPI-B TARGET=arm TARGET_ARCH=armv6 > >> # make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt > >> # make installkernel TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt > >> KERNCONF=RPI-B > >> # make delete-old TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt > >> # make delete-old-libs TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt > >> # mergemaster -A armv6 -D /mnt -p > >> # mergemaster -A armv6 -D /mnt -U -i > >> > >> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone picture of > >> the TV screen where it gets stuck. > >> > >> Any ideas if what could be wrong? > > It might be hanging in single user mode prompt on serial console. > > > So if I would disable serial console in /etc/ttys it should be fine? No - that is just for the login prompt after the OS has been booted into multiuser mode. Unfortunately I have no idea where the loader on an RPi gets that information from, since so far I've always used serial consoles. The kernel itself can do double output, but the rc-scripts, including the single user mode prompt, are limited to one. It would be easiest if you have the option to wire up the serial console. > It still hangs with only the "console" and "ttyv0" entries "on" in > /etc/ttys, the rest is "off", but it used to work fine. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Sun Aug 7 14:54:46 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 543ACBB0030 for ; Sun, 7 Aug 2016 14:54:46 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D1BE1B88; Sun, 7 Aug 2016 14:54:46 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from mather.chumby.lan (c-71-63-91-41.hsd1.va.comcast.net [71.63.91.41]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 445EC252; Sun, 7 Aug 2016 10:46:37 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Raspberry Pi B stuck during boot? From: Paul Mather In-Reply-To: Date: Sun, 7 Aug 2016 10:46:36 -0400 Cc: ticso@cicely.de, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <772B7B99-9C6E-4AA6-86F7-4FECF85B8A15@gromit.dlib.vt.edu> References: <20160806142322.GB31491@cicely7.cicely.de> To: =?windows-1252?Q?Ren=E9_Ladan?= X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 14:54:46 -0000 > On Aug 7, 2016, at 6:09 AM, Ren=E9 Ladan wrote: >=20 > On 06-08-16 16:23, Bernd Walter wrote: >> On Sat, Aug 06, 2016 at 03:06:20PM +0200, Ren=E9 Ladan wrote: >>> Hi, >>>=20 >>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets = stuck >>> near the end of the boot. I checked the SD card and updated it to = 11-beta3 >>> using these commands (if I remember correctly, but nothing unusual): >>>=20 >>> % make buildworld TARGET=3Darm TARGET_ARCH=3Darmv6 >>> % make buildkernel KERNCONF=3DRPI-B TARGET=3Darm TARGET_ARCH=3Darmv6 >>> # make installworld TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>> # make installkernel TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>> KERNCONF=3DRPI-B >>> # make delete-old TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>> # make delete-old-libs TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt= >>> # mergemaster -A armv6 -D /mnt -p >>> # mergemaster -A armv6 -D /mnt -U -i >>>=20 >>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone = picture of >>> the TV screen where it gets stuck. >>>=20 >>> Any ideas if what could be wrong? >> It might be hanging in single user mode prompt on serial console. >>=20 > So if I would disable serial console in /etc/ttys it should be fine? The phone picture of the screen showed a "WARNING: / was not properly = dismounted" line in the boot messages. It could be that the system has = dropped into single-user mode because of this (i.e., fsck -p failed and = thus so did multi-user boot). > It still hangs with only the "console" and "ttyv0" entries "on" in > /etc/ttys, the rest is "off", but it used to work fine. I suggest you fsck your SD card file systems so they are clean before = troubleshooting further. Cheers, Paul. From owner-freebsd-arm@freebsd.org Sun Aug 7 16:42:50 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 364DEBB1B76 for ; Sun, 7 Aug 2016 16:42:50 +0000 (UTC) (envelope-from soko.tica@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 F23B61EF2 for ; Sun, 7 Aug 2016 16:42:49 +0000 (UTC) (envelope-from soko.tica@gmail.com) Received: by mail-oi0-x231.google.com with SMTP id j185so420547160oih.0 for ; Sun, 07 Aug 2016 09:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:from:date:message-id:subject:to; bh=DnK86k7tgipBbNJ81/I6b9eqHo+lQgwsN6Tmf4CFksQ=; b=HQokMgCbpureUCBm0HNWZ/QvGDeNGldsCjFAaerFk/SfD/DwFDQdCT++RuDHDN42/E QAw1n5SNlzmACHvNVnXViev3J8jubtKzpSnRTd3+r5ot3SH/5k1Y82/8S4evnETzFB1L vO4Eb06/iCDaX3StarElVjAK3N8XUlDDuN3Ni/IpKsJqGVxzueBOlfCS+cRoMRvMJREw AEdupbPTJn+3r+NRcqzlgOxd+V2K7l8JLzFUOBG+z592luwy999gEaWGVWvPRqY96tSo tHjhAH5+WOa3G65UfH375qudb4DpszFBmsxtyq2uUSjmcbRpy03Wc57jVbJ3Wrne1aGJ 1zbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=DnK86k7tgipBbNJ81/I6b9eqHo+lQgwsN6Tmf4CFksQ=; b=UWHt6Pyb3Xn9CbRLzUIiE9Y6faH6DivvwGHB94nWemLjFYbiitPc90a3CvlNp7S/qh EOcCr2fStQP2ACqwdAaVqXhqOP/GA+KN/o5efEIcQxIdL2NsaMaTvdCgzlj97LNzavi3 Jezm8AtnmqYBXPfosG0k6U7JICqsEn8nJJvqKKEFF4khj3aHMDbN4IB/fd5Sau2Dq64H 68mrwk2Pb0QgUyupbCMqnjmCXsf1SGAtNUo3xyDyP7ulb/MEyKQnTk0NLGh7xKcwBqci O1UDfYfSB1zonKZOJ3g6DanyBubMQ7OmOY+ZKNOU7/Q+bKr0LxPSBGBp9waXChibfNqP DVrw== X-Gm-Message-State: AEkoout1kearCGmMtH4QMMgNo/wg/09XN7mAklBEHQ0Wiyr9DXl92eLS7EcAWNNqEJhprwh0Xo71UyaUwT5r2Q== X-Received: by 10.202.192.214 with SMTP id q205mr52050904oif.176.1470588168954; Sun, 07 Aug 2016 09:42:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.40.104 with HTTP; Sun, 7 Aug 2016 09:42:48 -0700 (PDT) Reply-To: soko.tica@gmail.com From: "soko.tica" Date: Sun, 7 Aug 2016 18:42:48 +0200 Message-ID: Subject: Is BananaPRO supporte? To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 16:42:50 -0000 Hello! Does anyone know if BananaPRO http://wiki.lemaker.org/BananaPro/Pi:Quick_Start is supported by FreeBSD-arm? I have tried to boot ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-ALPHA6-arm-armv6-BANANAPI-20160701-r302303.img.xz image, but boot cannot get out of U-boot. Thank you in advance for your input. From owner-freebsd-arm@freebsd.org Sun Aug 7 18:42:06 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BEE6BB1D30 for ; Sun, 7 Aug 2016 18:42:06 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 07A401B9D for ; Sun, 7 Aug 2016 18:42:06 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id x83so11748285wma.3 for ; Sun, 07 Aug 2016 11:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=GcC5N+kAGBP9z+GpmYrRKe44lRtbgU2e6X+CUm96ivA=; b=A/WZcX30OLC2mpo7ETqHVZ71gHQ6PykAnOivUwK7/KRNzkqnhMzdYxFIPYi223iOGa 8+sOY9AezsfUCcworHyI7Ql2IgAxx/7VkULnvUQDvuBiKlHMzkHGc9PGiPYcnO5bRmkC j4fcnkEd1PDLpecH0z4E0YvHfigrR4U+m8PLA+LtaCBKlzJy0s9OrzSKkjFt/TsfFghc wgnrvCmf6Zn9bV+yHqL7Pl0hVeugZ9dqor+mkUe2+d+0BACwaMoNFkz53pFT9HP8ugrV lMb7FLfFb6Op21erLVAHiYxRW0A867AD3Uo+nZMSHmLtqUWLZA4zz++jiUbVriJcacFX KzDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=GcC5N+kAGBP9z+GpmYrRKe44lRtbgU2e6X+CUm96ivA=; b=JMlj4KOVOCWsl2nY29J0eEXW5KguoeSU7wvO8s8TcqzsqkhYj5eeR0piEs57V8P3OL XGxc/3x33NFRlBdFueSCjPrdHCOL8I5lGbBVWlgg2bW8oRkvNB8USup/hS71B2F9NKmD PZ7jlAgljQfGx8kWBXTvJnMt2FhlZTs4eyMCGZkxhmUeyJoxRZa0NXlPGMtRjHI9CL9E c9wlpGoL03BX/CwCy+Q9HU+0dik8y181g6D9LI3FQvjmLb7SeAOxO6t3iJYs7R/6IavY AWHxpDsrS65VQoXtKaROF12Als6hU8OiWZklSuAx0MwuiiuBICF4YkiGBMRYyWNLPTcY cSpA== X-Gm-Message-State: AEkoouvPy1Oa5g2YVOSAVRqLI/6PsRZL/TyTRaDFh8okChRPEPO7mCvpbTeBGQUGZ/AMBQ== X-Received: by 10.28.199.131 with SMTP id x125mr12590397wmf.49.1470595324294; Sun, 07 Aug 2016 11:42:04 -0700 (PDT) Received: from [192.168.178.37] (a82-161-212-209.adsl.xs4all.nl. [82.161.212.209]) by smtp.googlemail.com with ESMTPSA id q186sm21411800wma.1.2016.08.07.11.42.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Aug 2016 11:42:03 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Subject: Re: Raspberry Pi B stuck during boot? To: Paul Mather References: <20160806142322.GB31491@cicely7.cicely.de> <772B7B99-9C6E-4AA6-86F7-4FECF85B8A15@gromit.dlib.vt.edu> Cc: ticso@cicely.de, freebsd-arm From: =?UTF-8?Q?Ren=c3=a9_Ladan?= Message-ID: Date: Sun, 7 Aug 2016 20:42:02 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <772B7B99-9C6E-4AA6-86F7-4FECF85B8A15@gromit.dlib.vt.edu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 18:42:06 -0000 On 07-08-16 16:46, Paul Mather wrote: >> On Aug 7, 2016, at 6:09 AM, René Ladan wrote: >> >> On 06-08-16 16:23, Bernd Walter wrote: >>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, René Ladan wrote: >>>> Hi, >>>> >>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets stuck >>>> near the end of the boot. I checked the SD card and updated it to 11-beta3 >>>> using these commands (if I remember correctly, but nothing unusual): >>>> >>>> % make buildworld TARGET=arm TARGET_ARCH=armv6 >>>> % make buildkernel KERNCONF=RPI-B TARGET=arm TARGET_ARCH=armv6 >>>> # make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # make installkernel TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> KERNCONF=RPI-B >>>> # make delete-old TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # make delete-old-libs TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # mergemaster -A armv6 -D /mnt -p >>>> # mergemaster -A armv6 -D /mnt -U -i >>>> >>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone picture of >>>> the TV screen where it gets stuck. >>>> >>>> Any ideas if what could be wrong? >>> It might be hanging in single user mode prompt on serial console. >>> >> So if I would disable serial console in /etc/ttys it should be fine? > > The phone picture of the screen showed a "WARNING: / was not properly dismounted" line in the boot messages. It could be that the system has dropped into single-user mode because of this (i.e., fsck -p failed and thus so did multi-user boot). True, but it also hangs after I checked the SD card in another machine. But thanks for the tip. René From owner-freebsd-arm@freebsd.org Sun Aug 7 19:04:36 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38543BB11FD for ; Sun, 7 Aug 2016 19:04:36 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 B9D1D1694 for ; Sun, 7 Aug 2016 19:04:35 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id q128so87854907wma.1 for ; Sun, 07 Aug 2016 12:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=wRhqwbi8asN+/ie6hFD38q22leG64mhfOzS5igGc9TY=; b=MtmpbxeocCAUUl+ADUFus8B5jKfUBBt7buTedyzfa8wFTzya5ltpTFFkEirP3DPoAz 0+qbN4cfAZBFE82yg4wPuJaz9E8CUFb/OjS0c5yVfP58qDsRSGANyger6jy2nXAxBER5 kBWdHLbs6cghBnXaOu+9d45aWaIs0LuBuJ/my65Ej17XLNoukOzCUuFB0IBZwdW2DhkF PPydfspONLRO9sWMy42BB5lTpDekqigl+LrhHFR1V8KPalcos0XrXIRGySmyUJD7aCX6 S7/Jg4hDe1FU8D8rkU7CdkI23lJixXWsC4nv+6tKawnVwLamBh6mwGu/ZeQtc/PN9oY8 GnEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=wRhqwbi8asN+/ie6hFD38q22leG64mhfOzS5igGc9TY=; b=CtOinEeStMv7lFZ9Ky/u1hEwZX8fzaWjZahvRwFRk/2AKrorVBAENxHho2y37leSjK amVEZJ+NBEWrfQg1Zv7KC576X8qf6RHyGKR4Vyn2uo0LB6cM8dk4YjrmX2pYQKfoSfic dq2+UOJhaI/BM+MRVxkbi3YQ1hxAu7cclEhIjaVwlVz3CT68G9zGCRurFRF9Z4uyvf2C Xh7bcXrzJ3Q8eemPF+K+SBjYrKZ/2HfgdTxPmreNM8gN/K3Z03WOFFjVSKfvJcWqLFNj HTyIJN0up8/Fed7sJse9ctTK67a46S6d6A34wDpHFX3b2vFXyKA4NQ/lf3eDYkcv7nbp Jr5g== X-Gm-Message-State: AEkooutszaQXWrRgfKECzUhc9gc/QW7hBgtbtLeTbBQ9/eE7Rnlak2J7kj2bg/ufmyjyRg== X-Received: by 10.28.35.193 with SMTP id j184mr12008875wmj.33.1470596674038; Sun, 07 Aug 2016 12:04:34 -0700 (PDT) Received: from [192.168.178.37] (a82-161-212-209.adsl.xs4all.nl. [82.161.212.209]) by smtp.googlemail.com with ESMTPSA id ko7sm28927151wjc.48.2016.08.07.12.04.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Aug 2016 12:04:33 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Subject: Re: Raspberry Pi B stuck during boot? To: ticso@cicely.de References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> Cc: freebsd-arm From: =?UTF-8?Q?Ren=c3=a9_Ladan?= Message-ID: <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> Date: Sun, 7 Aug 2016 21:04:32 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160807115751.GA34368@cicely7.cicely.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 19:04:36 -0000 On 07-08-16 13:57, Bernd Walter wrote: > On Sun, Aug 07, 2016 at 12:09:08PM +0200, René Ladan wrote: >> On 06-08-16 16:23, Bernd Walter wrote: >>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, René Ladan wrote: >>>> Hi, >>>> >>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets stuck >>>> near the end of the boot. I checked the SD card and updated it to 11-beta3 >>>> using these commands (if I remember correctly, but nothing unusual): >>>> >>>> % make buildworld TARGET=arm TARGET_ARCH=armv6 >>>> % make buildkernel KERNCONF=RPI-B TARGET=arm TARGET_ARCH=armv6 >>>> # make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # make installkernel TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> KERNCONF=RPI-B >>>> # make delete-old TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # make delete-old-libs TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # mergemaster -A armv6 -D /mnt -p >>>> # mergemaster -A armv6 -D /mnt -U -i >>>> >>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone picture of >>>> the TV screen where it gets stuck. >>>> >>>> Any ideas if what could be wrong? >>> It might be hanging in single user mode prompt on serial console. >>> >> So if I would disable serial console in /etc/ttys it should be fine? > No - that is just for the login prompt after the OS has been booted into > multiuser mode. > Unfortunately I have no idea where the loader on an RPi gets that > information from, since so far I've always used serial consoles. > The kernel itself can do double output, but the rc-scripts, including > the single user mode prompt, are limited to one. > It would be easiest if you have the option to wire up the serial console. Yeah, I'll see if I can construct something using the GPIO pins. I also tried adding autoboot_delay=-1 to /boot/loader.conf and pulling my DCF77 receiver from the GPIO pins (ground, +3.3V, signal wire) but that didn't help either. So with USB power, HDMI cable to TV, and a USB keyboard it hangs. René From owner-freebsd-arm@freebsd.org Sun Aug 7 20:27:12 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46D43BB10C2 for ; Sun, 7 Aug 2016 20:27:12 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 02A5B18F8 for ; Sun, 7 Aug 2016 20:27:11 +0000 (UTC) (envelope-from tim@kientzle.com) Received: by mail-qk0-x229.google.com with SMTP id v123so173441944qkh.3 for ; Sun, 07 Aug 2016 13:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kientzle-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gJEQM81s3Km9jHmZ5DqqcsoLO6SCFjwxehNRb/MtwmM=; b=WSRchBg+i3Oj1U10m7xfEc7LQE0zdzEwf9EsEmtQWj17I1f3mQ3izoPJO9I3j4PRew BKQy/kSdS1Dt+MD/uHmufUEN1SmQsDXlUFf9wDXS8LafVsJnVojkuN0LDtiYdP8Tm8r2 rPjp+xE0cKUOlpiKrSHjDTciGCGf4BvvlTXldKCH28C8eVhk03pAgyTC4QlLwR3K9Nuu wkd4f6U4tdMswsrkRJfetvEPypGAgicJfEWVWnn4vcve49zL0gDq9NP9/wkBikdl1UUU ehwVoSy2dz71ncY2Mxd2c8fY7hJjKKS9f8sqev5vxyiwqHinhItCayw6BCZv67KSJFXY NYEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gJEQM81s3Km9jHmZ5DqqcsoLO6SCFjwxehNRb/MtwmM=; b=djPpl+uwqmfN+m6yeTTZkZ6omMCbbx8ahsOYHqQ1x0je7hDPsqLJ05RX83S1/ptH5P PTmhefmpuTnbECdM2gz3XNBZdtBzB09ryCRy1HGuDI6vY5hnPXzd4z7YdtSezVPhMqju bwjOe5RJnWzBdg1vO+/bDvsd3rsxn5PgzshfX+hZbX34yJlFG2F5UprQU9ZgkT/TYUQV s0hlk/UB9WGTOAOQPKyVvdq5aCA12RLP/V2d19IEr3TjKf29iHOkjq0WfltDs34cCNSP 5P2XSXZbRjQCiXr47FRIftwE0GhHqbYNcHtvOKi9m3b+EgL6jIyGTVI0eL7FATSavaoD unRw== X-Gm-Message-State: AEkoouuFr09kNDym5UjbyjIyL7fFyrZD5W+02bEm7px4U9K5Jx2ThrI/Tmstadw39xC88w== X-Received: by 10.55.176.130 with SMTP id z124mr4002001qke.125.1470601630740; Sun, 07 Aug 2016 13:27:10 -0700 (PDT) Received: from [192.168.2.208] (208-180-16-144.nbrncmtk01.com.sta.suddenlink.net. [208.180.16.144]) by smtp.gmail.com with ESMTPSA id p188sm15667528qkf.6.2016.08.07.13.27.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Aug 2016 13:27:10 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Raspberry Pi B stuck during boot? From: Tim Kientzle In-Reply-To: <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> Date: Sun, 7 Aug 2016 16:27:10 -0400 Cc: ticso@cicely.de, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> To: =?windows-1252?Q?Ren=E9_Ladan?= X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 20:27:12 -0000 > On Aug 7, 2016, at 3:04 PM, Ren=E9 Ladan wrote: >=20 > On 07-08-16 13:57, Bernd Walter wrote: >> On Sun, Aug 07, 2016 at 12:09:08PM +0200, Ren=E9 Ladan wrote: >>> On 06-08-16 16:23, Bernd Walter wrote: >>>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, Ren=E9 Ladan wrote: >>>>> Hi, >>>>>=20 >>>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets = stuck >>>>> near the end of the boot. I checked the SD card and updated it to = 11-beta3 >>>>> using these commands (if I remember correctly, but nothing = unusual): >>>>>=20 >>>>> % make buildworld TARGET=3Darm TARGET_ARCH=3Darmv6 >>>>> % make buildkernel KERNCONF=3DRPI-B TARGET=3Darm TARGET_ARCH=3Darmv6= >>>>> # make installworld TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>> # make installkernel TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt= >>>>> KERNCONF=3DRPI-B >>>>> # make delete-old TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>> # make delete-old-libs TARGET=3Darm TARGET_ARCH=3Darmv6 = DESTDIR=3D/mnt >>>>> # mergemaster -A armv6 -D /mnt -p >>>>> # mergemaster -A armv6 -D /mnt -U -i >>>>>=20 >>>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone = picture of >>>>> the TV screen where it gets stuck. >>>>>=20 >>>>> Any ideas if what could be wrong? >>>> It might be hanging in single user mode prompt on serial console. >>>>=20 >>> So if I would disable serial console in /etc/ttys it should be fine? >> No - that is just for the login prompt after the OS has been booted = into >> multiuser mode. >> Unfortunately I have no idea where the loader on an RPi gets that >> information from, since so far I've always used serial consoles. >> The kernel itself can do double output, but the rc-scripts, including >> the single user mode prompt, are limited to one. >> It would be easiest if you have the option to wire up the serial = console. > Yeah, I'll see if I can construct something using the GPIO pins. >=20 > I also tried adding autoboot_delay=3D-1 to /boot/loader.conf and = pulling > my DCF77 receiver from the GPIO pins (ground, +3.3V, signal wire) but > that didn't help either. >=20 > So with USB power, HDMI cable to TV, and a USB keyboard it hangs Anyone doing =93interesting=94 work with RPi should have at least one of = these on hand: http://adafru.it/954 Tim From owner-freebsd-arm@freebsd.org Sun Aug 7 22:13:58 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 835B8BB1F91 for ; Sun, 7 Aug 2016 22:13:58 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 019F512B1 for ; Sun, 7 Aug 2016 22:13:57 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id u77MDPKN004828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 8 Aug 2016 00:13:33 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id u77MDKbk020462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Aug 2016 00:13:20 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id u77MDKxu035575; Mon, 8 Aug 2016 00:13:20 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id u77MDK2R035574; Mon, 8 Aug 2016 00:13:20 +0200 (CEST) (envelope-from ticso) Date: Mon, 8 Aug 2016 00:13:20 +0200 From: Bernd Walter To: Adrian Chadd Cc: ticso@cicely.de, "freebsd-arm@freebsd.org" , Bernd Walter Subject: Re: out of tree kernel modules (was: compiling modules and FDT define) Message-ID: <20160807221319.GD34368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20160805005433.GL18406@cicely7.cicely.de> <20160805134358.GN18406@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 10.2-RELEASE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 22:13:58 -0000 On Fri, Aug 05, 2016 at 08:20:11PM -0700, Adrian Chadd wrote: > Hi, > > Try adding opt_platform.h to SRCS in the module makefile? > > You don't need to add it to the tree. You just have to setup your path > to point things /at/ a kernel build tree withall the opt_xxx.h in > them. > > here's what I do: > > #!/bin/sh > > X_SRCDIR=${X_SRCDIR:="/home/adrian/work/freebsd/head/src/"} > X_KERNDIR=${X_KERNDIR:="/home/adrian/work/freebsd/head/obj/usr/home/adrian/work/freebsd/head/src/sys/GERTRUDE/"} > X_KMODOWN=${X_KMODOWN:="adrian"} > X_KMODGRP=${X_KMODGRP:="adrian"} > > # This allows for -HEAD includes for net80211 .. > env CFLAGS="-I../../../sys/" \ > make \ > MODULES_OVERRIDE="" \ > DEBUG_FLAGS="-g" \ > DEBUG_FLAGS="-g" \ > KMODDIR="/home/adrian/git/github/erikarn/athp/otus/freebsd/modules/" \ > KMODOWN="${X_KMODOWN}" \ > KMODGRP="${X_KMODGRP}" \ > MAKESYSPATH="${X_SRCDIR}/share/mk" \ > SYSDIR="${X_SRCDIR}/sys/" \ > KERNBUILDDIR="${X_KERNDIR}" \ > KERN_DEBUGDIR="" \ > $@ > > That gets me all the bits I need to be able to run make in module > directories and get the correct includes/links setup. Oh damn - it used to be much easier than that. I'm still used to "make all install" for out of tree kernel modules. How is it handled for the few kmods in ports? -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Mon Aug 8 01:09:40 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68BC2BA9AA2 for ; Mon, 8 Aug 2016 01:09:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 25D571BE4 for ; Mon, 8 Aug 2016 01:09:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id 38so345185906iol.0 for ; Sun, 07 Aug 2016 18:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BvLInnAUVGYMXIw+BLDh9w9Ug+wITdPkzPompfndEFE=; b=Q8CihCLA2kiHE/aYh7f3SOQwddpLvaOD8qSFjFGxsTlJ3/fRWq27aGlGCk1AMJ7KLy KvKDZpK3cfR2Acv9XBZtMNZQgKDvaVwpr8C0bj3OBStlx+z5Bbx5cFkv2rsc+YvGWfd7 cc0w6UcLBgAMnPZ6W+JK7ZwOXZFDVdIvqwTc5rX4+eegxUKOT4tB4qVgtUwS3TQXQQ1F RWii6i/rEdXFQKfGY8/dKUG/G71aBFf3GFYo4IYkFVs2+m9qDbB9Cos/EaM4W3ZvyVp+ C9BsNAnCzZRWe7TAiwdYxYADAKqM0mpmy4uuAh/HfGTeGV1D+CwvoUo9L6ozRK+66qPm Yf5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BvLInnAUVGYMXIw+BLDh9w9Ug+wITdPkzPompfndEFE=; b=JOnu/ds602jLNK6KhrDuTkuWB8IJ/OLjDKyOTd4rE8Lo2ZH46rOwpLGB1kpI1NlmAA +Dq5DgwGmyUQPI/wAGWQnxouHxOQa9YEs/bxETLt6JWLas012qrFZnT56hCrU0Cp/Ekg 6QL8ZNfHzQPPxXnZMBxr4vZfZbt60MOfwyQ0Axmfszp4mvpKWH9mxf5UwUAdZV6ymOR7 G1q/oBJb2Ve70Y6dhd4FRJON15Nv0wP7v26QhP+AZ7KGUxkbGdmBjdManiwNbOkiiTl8 BDpK00FUA9myYU84is8QC16VoUxBvXX9I78z5s7O6iHcfW9nH09L89hp0f/YBfT7yiR+ uv+w== X-Gm-Message-State: AEkoouuqbXlBiHpQDlhV8VSYIt2sDEkUodfWbEDf1H4LypNLnp4LNzRulIaqs5Jzf4JXDg== X-Received: by 10.107.176.67 with SMTP id z64mr90442404ioe.132.1470618578890; Sun, 07 Aug 2016 18:09:38 -0700 (PDT) Received: from mac.nflx.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id n23sm13267172ioe.18.2016.08.07.18.09.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Aug 2016 18:09:38 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Raspberry Pi B stuck during boot? From: Warner Losh In-Reply-To: <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> Date: Sun, 7 Aug 2016 19:09:37 -0600 Cc: =?windows-1252?Q?Ren=E9_Ladan?= , freebsd-arm , ticso@cicely.de Content-Transfer-Encoding: quoted-printable Message-Id: <45A2B060-C9D4-4254-8A47-FC2B8B6511FA@bsdimp.com> References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 01:09:40 -0000 > On Aug 7, 2016, at 2:27 PM, Tim Kientzle wrote: >=20 >>=20 >> On Aug 7, 2016, at 3:04 PM, Ren=E9 Ladan wrote: >>=20 >> On 07-08-16 13:57, Bernd Walter wrote: >>> On Sun, Aug 07, 2016 at 12:09:08PM +0200, Ren=E9 Ladan wrote: >>>> On 06-08-16 16:23, Bernd Walter wrote: >>>>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, Ren=E9 Ladan wrote: >>>>>> Hi, >>>>>>=20 >>>>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets = stuck >>>>>> near the end of the boot. I checked the SD card and updated it to = 11-beta3 >>>>>> using these commands (if I remember correctly, but nothing = unusual): >>>>>>=20 >>>>>> % make buildworld TARGET=3Darm TARGET_ARCH=3Darmv6 >>>>>> % make buildkernel KERNCONF=3DRPI-B TARGET=3Darm = TARGET_ARCH=3Darmv6 >>>>>> # make installworld TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt= >>>>>> # make installkernel TARGET=3Darm TARGET_ARCH=3Darmv6 = DESTDIR=3D/mnt >>>>>> KERNCONF=3DRPI-B >>>>>> # make delete-old TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>>> # make delete-old-libs TARGET=3Darm TARGET_ARCH=3Darmv6 = DESTDIR=3D/mnt >>>>>> # mergemaster -A armv6 -D /mnt -p >>>>>> # mergemaster -A armv6 -D /mnt -U -i >>>>>>=20 >>>>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone = picture of >>>>>> the TV screen where it gets stuck. >>>>>>=20 >>>>>> Any ideas if what could be wrong? >>>>> It might be hanging in single user mode prompt on serial console. >>>>>=20 >>>> So if I would disable serial console in /etc/ttys it should be = fine? >>> No - that is just for the login prompt after the OS has been booted = into >>> multiuser mode. >>> Unfortunately I have no idea where the loader on an RPi gets that >>> information from, since so far I've always used serial consoles. >>> The kernel itself can do double output, but the rc-scripts, = including >>> the single user mode prompt, are limited to one. >>> It would be easiest if you have the option to wire up the serial = console. >> Yeah, I'll see if I can construct something using the GPIO pins. >>=20 >> I also tried adding autoboot_delay=3D-1 to /boot/loader.conf and = pulling >> my DCF77 receiver from the GPIO pins (ground, +3.3V, signal wire) but >> that didn't help either. >>=20 >> So with USB power, HDMI cable to TV, and a USB keyboard it hangs >=20 > Anyone doing =93interesting=94 work with RPi should have at least one = of these on hand: >=20 > http://adafru.it/954 Yes. Until you=92ve brought up the system and it just works, these can = be a life saver. Unless you wanted to write a ttymux that will allow one to connect the = console to the ttymux and it will output to both (many?) underlying consoles as = well as accepting input from both to make them more-or-less mirrors.[*] Warner [*] more or less due to a whole host of issues I=92ve hit when I was = investigating doing it=85 If someone is serious about taking a run at it, I=92m happy to = give a brain dump=85 From owner-freebsd-arm@freebsd.org Mon Aug 8 01:11:49 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B79ABBA9E70 for ; Mon, 8 Aug 2016 01:11:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 7BF1B1E6D for ; Mon, 8 Aug 2016 01:11:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x236.google.com with SMTP id 38so345214637iol.0 for ; Sun, 07 Aug 2016 18:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Hq56759vvpSpiC9tGKRt+tOmBPdSJe/08GraBkolqZ0=; b=qoyuIYDtQdeYe0lE6tpPEQauWUF0YfkX7A8qKbaIK+yhPCc/0rV7kz8Eo2qQkjXG2u Ug7ds8Gefy9T+SSj0+g9/ou9gROrffP2xNyuO0WPkdJplCFqvFwMn+T91dSaofMrcwvV 8F7ITn1vE4Yq1u3vNefGC8geIuDcsJxnvL+Ptwzet6AOv/ov8xAYOvj70wlWF+KYqaoK 6W8s7dZkf48VEfc8a4BFyS73i36kP56KkBhhntKh5BMA5mKVLMzIu0lhOoqAqwm+mfeO ZSzXpLTe4xNICC62sLrNv9rfPAx0z1pGEDo0Aq3rsLxVU/6gf9XFPaTN79zNa/fFBO/M fCWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Hq56759vvpSpiC9tGKRt+tOmBPdSJe/08GraBkolqZ0=; b=FS2D6QQnSYILyX9oZvoPuP00qQZ+ngK0nhMgHwBOdTm2cHF55GbJEJy0V9V7VFboGG MKmTPiNBmErYMIRWalpzaXZHkzY3K7h5fiQqWcxuFnPPIoj1P8dIS9mlU4GbG0eno7nF HM60yfdR1MgzjI4tg4LqI1BmohTM28yTaoT1I5fjUlr9Ha2FKC3DBQoElcuJv/E/b0VQ MvItSmGz2gQnPOfeNADfDFWdEQ4xD4UKePl/FW1SXgIhJ5/ODOppndEM/fR7bNXkDDER NQyfKHGrcV0qwfyihT5ucQrK07fB8ZQd82uR6JqpaA+qXJThVAXnHizWB7uUGEeQgJxU px2w== X-Gm-Message-State: AEkoouvYlGBJDDyL3OhKHV7z+Qh/mrxGzKyxzi+qEkwqg1kvYb1azCUKzDzVCC1ctV/d5w== X-Received: by 10.107.15.229 with SMTP id 98mr45771987iop.123.1470618708931; Sun, 07 Aug 2016 18:11:48 -0700 (PDT) Received: from mac.nflx.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id i191sm9143315itf.13.2016.08.07.18.11.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Aug 2016 18:11:48 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: out of tree kernel modules (was: compiling modules and FDT define) From: Warner Losh In-Reply-To: <20160807221319.GD34368@cicely7.cicely.de> Date: Sun, 7 Aug 2016 19:11:45 -0600 Cc: Adrian Chadd , "freebsd-arm@freebsd.org" , Bernd Walter Content-Transfer-Encoding: quoted-printable Message-Id: <53881075-AEC4-4B1A-B000-A340FAAB88CC@bsdimp.com> References: <20160805005433.GL18406@cicely7.cicely.de> <20160805134358.GN18406@cicely7.cicely.de> <20160807221319.GD34368@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 01:11:49 -0000 > On Aug 7, 2016, at 4:13 PM, Bernd Walter = wrote: >=20 > On Fri, Aug 05, 2016 at 08:20:11PM -0700, Adrian Chadd wrote: >> Hi, >>=20 >> Try adding opt_platform.h to SRCS in the module makefile? >>=20 >> You don't need to add it to the tree. You just have to setup your = path >> to point things /at/ a kernel build tree withall the opt_xxx.h in >> them. >>=20 >> here's what I do: >>=20 >> #!/bin/sh >>=20 >> X_SRCDIR=3D${X_SRCDIR:=3D"/home/adrian/work/freebsd/head/src/"} >> = X_KERNDIR=3D${X_KERNDIR:=3D"/home/adrian/work/freebsd/head/obj/usr/home/ad= rian/work/freebsd/head/src/sys/GERTRUDE/"} >> X_KMODOWN=3D${X_KMODOWN:=3D"adrian"} >> X_KMODGRP=3D${X_KMODGRP:=3D"adrian"} >>=20 >> # This allows for -HEAD includes for net80211 .. >> env CFLAGS=3D"-I../../../sys/" \ >> make \ >> MODULES_OVERRIDE=3D"" \ >> DEBUG_FLAGS=3D"-g" \ >> DEBUG_FLAGS=3D"-g" \ >> = KMODDIR=3D"/home/adrian/git/github/erikarn/athp/otus/freebsd/modules/" \ >> KMODOWN=3D"${X_KMODOWN}" \ >> KMODGRP=3D"${X_KMODGRP}" \ >> MAKESYSPATH=3D"${X_SRCDIR}/share/mk" \ >> SYSDIR=3D"${X_SRCDIR}/sys/" \ >> KERNBUILDDIR=3D"${X_KERNDIR}" \ >> KERN_DEBUGDIR=3D"" \ >> $@ >>=20 >> That gets me all the bits I need to be able to run make in module >> directories and get the correct includes/links setup. >=20 > Oh damn - it used to be much easier than that. > I'm still used to "make all install" for out of tree kernel modules. > How is it handled for the few kmods in ports? Mostly by setting KERNBUILDDIR correctly. If we have to jump through all = these hoops too, then I=E2=80=99ll take a look at fixing things=E2=80=A6. The above looks = more complex than should be required. Warner= From owner-freebsd-arm@freebsd.org Mon Aug 8 02:54:27 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF4D8BB0BBB for ; Mon, 8 Aug 2016 02:54:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (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 977D91A70 for ; Mon, 8 Aug 2016 02:54:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x234.google.com with SMTP id x130so64120824ite.1 for ; Sun, 07 Aug 2016 19:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mEKfDt4s5Ni4G8zrh6sK0jLwA+ss6naLOsJLQZPsga4=; b=EIec35iLGz71XYbCL/F65AEYaSfV0+aPF5ZABSIiifMmHobLspMhmvId2uaam98cYk wH8VKMrJOxTS/iogObwDOroT5KoNPEd0mvj+s2iRp6boeDso/ISCjb6SX0m/u81FwEH3 1W8MhbdwSqklWJK31w3g9h4dBe94U6BYlCmybMBZigjO56dtUyDxe/sfbZMMPYk5BoMh EIYmWYxrYkRVIwm5BGLVMFpUfhGwupNrWQOp6riRaTZuIK1W4m/G4LFAsCfsrZuZJ/70 lJmwT+n6x+cIe1wZHPxIrNTSMPCu2NJ/hCM27/B8zl62Pcfka78fuu/kVdAOVpKafEwJ BXRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mEKfDt4s5Ni4G8zrh6sK0jLwA+ss6naLOsJLQZPsga4=; b=N1uZqjzFOeMkEV4XEjgBd7DR7tdAc+04D1YDwu9A+XAbANw9+YQ1vO+2ZnyFTGwQt/ J94fYVwb3EfMo7gzyBw/Swb7EKoHvkc84QUB20VAdjrFpxYml3lr8iKfETQbbjCMMJV6 bIWyxfEq996S5zFRjVznCjPDX5Ib9esxE6LwHXNdx/5VckB9FBR+02t/GvaBXG2v2BjM vcRtmQAb7N+TWwqYV1J1AaZmILpQPHuVv7zDzUp1cSA5Kns5tPI0V1MB5cj3ad0KcNcp d8Dw8reM0jN62MomYn6+5YEZY1rJRoFsMd1OxtPBs7cLl/dSVBOgaqTf6s2l6upnbpI9 wDvQ== X-Gm-Message-State: AEkoouvr4PhYqBDhHNrrGpH7DPPh8i/HwiLnu+ccmaoEAVuyBd0tyVXdYQVbm7rKcGa0TSMzbvrzOVcAJhNesQ== X-Received: by 10.36.212.6 with SMTP id x6mr14582284itg.71.1470624866973; Sun, 07 Aug 2016 19:54:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Sun, 7 Aug 2016 19:54:26 -0700 (PDT) In-Reply-To: <53881075-AEC4-4B1A-B000-A340FAAB88CC@bsdimp.com> References: <20160805005433.GL18406@cicely7.cicely.de> <20160805134358.GN18406@cicely7.cicely.de> <20160807221319.GD34368@cicely7.cicely.de> <53881075-AEC4-4B1A-B000-A340FAAB88CC@bsdimp.com> From: Adrian Chadd Date: Sun, 7 Aug 2016 19:54:26 -0700 Message-ID: Subject: Re: out of tree kernel modules (was: compiling modules and FDT define) To: Warner Losh Cc: ticso@cicely.de, "freebsd-arm@freebsd.org" , Bernd Walter Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 02:54:27 -0000 On 7 August 2016 at 18:11, Warner Losh wrote: > >> On Aug 7, 2016, at 4:13 PM, Bernd Walter wrote= : >> >> On Fri, Aug 05, 2016 at 08:20:11PM -0700, Adrian Chadd wrote: >>> Hi, >>> >>> Try adding opt_platform.h to SRCS in the module makefile? >>> >>> You don't need to add it to the tree. You just have to setup your path >>> to point things /at/ a kernel build tree withall the opt_xxx.h in >>> them. >>> >>> here's what I do: >>> >>> #!/bin/sh >>> >>> X_SRCDIR=3D${X_SRCDIR:=3D"/home/adrian/work/freebsd/head/src/"} >>> X_KERNDIR=3D${X_KERNDIR:=3D"/home/adrian/work/freebsd/head/obj/usr/home= /adrian/work/freebsd/head/src/sys/GERTRUDE/"} >>> X_KMODOWN=3D${X_KMODOWN:=3D"adrian"} >>> X_KMODGRP=3D${X_KMODGRP:=3D"adrian"} >>> >>> # This allows for -HEAD includes for net80211 .. >>> env CFLAGS=3D"-I../../../sys/" \ >>> make \ >>> MODULES_OVERRIDE=3D"" \ >>> DEBUG_FLAGS=3D"-g" \ >>> DEBUG_FLAGS=3D"-g" \ >>> KMODDIR=3D"/home/adrian/git/github/erikarn/athp/otus/freebsd/modules= /" \ >>> KMODOWN=3D"${X_KMODOWN}" \ >>> KMODGRP=3D"${X_KMODGRP}" \ >>> MAKESYSPATH=3D"${X_SRCDIR}/share/mk" \ >>> SYSDIR=3D"${X_SRCDIR}/sys/" \ >>> KERNBUILDDIR=3D"${X_KERNDIR}" \ >>> KERN_DEBUGDIR=3D"" \ >>> $@ >>> >>> That gets me all the bits I need to be able to run make in module >>> directories and get the correct includes/links setup. >> >> Oh damn - it used to be much easier than that. >> I'm still used to "make all install" for out of tree kernel modules. >> How is it handled for the few kmods in ports? > > Mostly by setting KERNBUILDDIR correctly. If we have to jump through all = these hoops too, > then I=E2=80=99ll take a look at fixing things=E2=80=A6. The above looks = more complex than should be > required. * You don't need KMOD* unless you're installing somewhere other than /boot/modules as root; I set that so I can build/install as adrian * the last time I checked, KERNBUILDDIR didn't seem to be enough -adrian From owner-freebsd-arm@freebsd.org Mon Aug 8 15:38:08 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97122BB23EC for ; Mon, 8 Aug 2016 15:38:08 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 4A2981311 for ; Mon, 8 Aug 2016 15:38:08 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-qk0-x229.google.com with SMTP id p186so199932326qkd.1 for ; Mon, 08 Aug 2016 08:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=AAaVCBbLZnsDWB8OFDbMUD1GvhQHnjkfyVBLmZDj3sA=; b=MbQl9gByWYB18kjD4ufKWpOyg3HWQgAyaYiCwINsL5VRwIDqyqPwm5IoOSWyEfufYC tZ9bnJUbsmCUNumJGK+bBrxSjnPkqdPk+04RPTpBHIzL9+IfXrs4AAN4n9WKzJaYIqWI GTCNWTrxoXfQ4Pwu29e+Vj0eq/ljBpCA0+8fWNKM03ZzyiRv4ysKxd2YRGJnokDFdXZY +LRMdTGPsMxM0O//av9Gkj53GN9BuccyxxXebawXfChQzAj+g2KBrwwbpEgXolYKUtJl 7hB5XGgQ5PKWVBNhXiCpDjpP+h/PPyJaQSTRMqi3D7RCsYjEdtAl1ndk9v9mtt+YEcEs fAGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=AAaVCBbLZnsDWB8OFDbMUD1GvhQHnjkfyVBLmZDj3sA=; b=Ys4R7sFupdnoKqOJR6PCrcwjBqah9YblJh81nAeso+vbZVAHgqOuPSA7qnSqXn4ZOy gWfu1llUu5hj6yTXVpTBi3fB5C6CD8yoJjJ3B2wlJRX0HP7SfnFdldGpWm7gaE2dSN14 RtwEFfd38FoekoXTl8uGmah7hjHrGElwuw+//yspV1kSgSwkk+JTgvFQcUjC3aHZm1yB 91aILOlQCZonwaZLdeqkgH/lpVEAohtfhibzs2F9TPxt8rMRVTRKexYJAHHINr/sCEWJ k2MGt+uRGAr2zSs09E4wnn5HOdhCL7ERp348P/jvauNpCEacomEa4sX5oQUkZo3+KNCp tXSA== X-Gm-Message-State: AEkooutJ4BclmHAlYdgmCZtEELqW6F2ikbZFMlPWSEEogwiV9q+cPDG/3zS4UdW3+OnEYtJCbyRP6FVKK6zrvQ== X-Received: by 10.55.75.76 with SMTP id y73mr31442465qka.12.1470670687198; Mon, 08 Aug 2016 08:38:07 -0700 (PDT) MIME-Version: 1.0 Sender: r.c.ladan@gmail.com Received: by 10.55.156.207 with HTTP; Mon, 8 Aug 2016 08:38:06 -0700 (PDT) In-Reply-To: <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> From: =?UTF-8?Q?Ren=C3=A9_Ladan?= Date: Mon, 8 Aug 2016 17:38:06 +0200 X-Google-Sender-Auth: JxOUQenPg8etzQA2Tqe5Pg8dTcQ Message-ID: Subject: Re: Raspberry Pi B stuck during boot? To: Tim Kientzle Cc: ticso@cicely.de, freebsd-arm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 15:38:08 -0000 2016-08-07 22:27 GMT+02:00 Tim Kientzle : > >> On Aug 7, 2016, at 3:04 PM, Ren=C3=A9 Ladan wrote: >> >> On 07-08-16 13:57, Bernd Walter wrote: >>> On Sun, Aug 07, 2016 at 12:09:08PM +0200, Ren=C3=A9 Ladan wrote: >>>> On 06-08-16 16:23, Bernd Walter wrote: >>>>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, Ren=C3=A9 Ladan wrote: >>>>>> Hi, >>>>>> >>>>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets st= uck >>>>>> near the end of the boot. I checked the SD card and updated it to 11= -beta3 >>>>>> using these commands (if I remember correctly, but nothing unusual): >>>>>> >>>>>> % make buildworld TARGET=3Darm TARGET_ARCH=3Darmv6 >>>>>> % make buildkernel KERNCONF=3DRPI-B TARGET=3Darm TARGET_ARCH=3Darmv6 >>>>>> # make installworld TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>>> # make installkernel TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>>> KERNCONF=3DRPI-B >>>>>> # make delete-old TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>>> # make delete-old-libs TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/m= nt >>>>>> # mergemaster -A armv6 -D /mnt -p >>>>>> # mergemaster -A armv6 -D /mnt -U -i >>>>>> >>>>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone pictur= e of >>>>>> the TV screen where it gets stuck. >>>>>> >>>>>> Any ideas if what could be wrong? >>>>> It might be hanging in single user mode prompt on serial console. >>>>> >>>> So if I would disable serial console in /etc/ttys it should be fine? >>> No - that is just for the login prompt after the OS has been booted int= o >>> multiuser mode. >>> Unfortunately I have no idea where the loader on an RPi gets that >>> information from, since so far I've always used serial consoles. >>> The kernel itself can do double output, but the rc-scripts, including >>> the single user mode prompt, are limited to one. >>> It would be easiest if you have the option to wire up the serial consol= e. >> Yeah, I'll see if I can construct something using the GPIO pins. >> >> I also tried adding autoboot_delay=3D-1 to /boot/loader.conf and pulling >> my DCF77 receiver from the GPIO pins (ground, +3.3V, signal wire) but >> that didn't help either. >> >> So with USB power, HDMI cable to TV, and a USB keyboard it hangs > > Anyone doing =E2=80=9Cinteresting=E2=80=9D work with RPi should have at l= east one of these on hand: > > http://adafru.it/954 > Guess I was lucky enough until now to not need one. I ordered one, it should arrive tomorrow. Ren=C3=A9 --=20 https://rene-ladan.nl/ From owner-freebsd-arm@freebsd.org Tue Aug 9 13:19:22 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD6ADBB355B for ; Tue, 9 Aug 2016 13:19:22 +0000 (UTC) (envelope-from serge0x76@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 481E71D3A for ; Tue, 9 Aug 2016 13:19:22 +0000 (UTC) (envelope-from serge0x76@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id q128so4954802wma.1 for ; Tue, 09 Aug 2016 06:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Bncs183GDTyzQ+shZ9HkyzPVt33K/ZhVkw/v5A/01FU=; b=YBrE8sSCoTcQ4TyzJmlfJh3p/XWgyzbxTgPqI594c6rwYdA8Fa57OdCwN9XT1ZmxaJ Ocvld3jTUQd8I0Nw1GfRjU2qKCuomZ/mNGiWFWzpFx88U7z+4xf5EF54ntb4HlViLttn f934GZwyL25FJeNoHZTm933NaD3Sbie6ItJzB3QQd79F1hUQ+OqYZ+zWU/euB7kXXwA1 g5g7vD3OboNRePc5YzQf+vr8IkKlu7KPyHyRqm7dGkjITGTp61vOZmz2vichqNW1wgHc 2pTeSRZDgm9QSMo5q1QWmLhS5dB1bR0O7H+nqwBY7Yn0mUQ2Ds6JnJUxuiBuP0OPeiRn QjGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Bncs183GDTyzQ+shZ9HkyzPVt33K/ZhVkw/v5A/01FU=; b=IW7Xdv6qlCRrirffUhyuy6Ot5H2nUEeTSAce/s3WU+nuUecLvhosLLUxs7SclxGTOA 4fsZutuZpYxG38IvUbSUM3FWIWBTdqD8Hf4Qh0O0KbPlCdMd9CnobIarrrxxNAmUKW6g nizhuTS5IcOWj9D/dHyfBXmefCBJyOjJjv/rX7DtPruUrtYm6lZbKbMXzA40rtspAO+K NCPdEiQJMKvnHf3Nh44MLrCix5a6r/1Pku2biHtnKyshoCwhGTycUiCILO89d+JIEwnd sepiwQT4f9hQSYzDvcqgx5rOD4AJeZ+qByH/PavbytBhkDvlGBX/TKH+ODMLAbFg2qIE OVpw== X-Gm-Message-State: AEkoousxTsngJn4UTpSjP8z3z/DA97/akKkSH2cnoI7Gc1jck2+Z76IXn3WvkSwUSYHU4nqYePTBuuzlpF+YOw== X-Received: by 10.28.198.6 with SMTP id w6mr22784816wmf.63.1470748760668; Tue, 09 Aug 2016 06:19:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.102.69 with HTTP; Tue, 9 Aug 2016 06:19:20 -0700 (PDT) From: Serge Voilokov Date: Tue, 9 Aug 2016 09:19:20 -0400 Message-ID: Subject: Add start_x.elf to rpi-boot-files To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 13:19:22 -0000 Ian, Could you please add start_x.elf from https://github.com/raspberrypi/firmware/commit/fbe36330696cc82a87fc24ad5b5f896be2b1460f to LOCAL/ian/rpi-boot-files-2016.01.tar.bz2? It will enable camera module for RPI-A. Related issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210041 Thanks, Serge From owner-freebsd-arm@freebsd.org Tue Aug 9 19:14:23 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8905FBB4181 for ; Tue, 9 Aug 2016 19:14:23 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 130691A92 for ; Tue, 9 Aug 2016 19:14:23 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id q128so51809514wma.1 for ; Tue, 09 Aug 2016 12:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=E+98PjRpRNBKfJbfde+ZOoVrX7II/wiGcOXiyA523KY=; b=smiDVx97XlehltIht+HPE7TdaBz+xeTTLmq6TvP/Cui5u9E4TpF52EFghfNVS7bJZX vwpzdHL7c9zXhCAOEidHXEEqlVwYly5Ii59ePy6RygNQQqSdF0bVKJWv2A+vrJvaVzSF GF7NxweXyOH629GLQTLHPU1L1BwXXQyL59dheAoWWZfy3qve7SY0bLcqAIVM/7/6JE3U IjbXZENnIEdYlqfxe1ycKnICkJCm4rd28opuAu1rCus87JB4zY5b6pClDuWQDEy/X4v9 GRa5EnIvEfdF5C2i9uH3qtJ+xwFYkqUVxwVy+LJfBvUns2GCCnRrkaINenrY/R0pT4YH +nYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=E+98PjRpRNBKfJbfde+ZOoVrX7II/wiGcOXiyA523KY=; b=AVSQl3x5tPMhHFGtxCurKVLMlkBNhJ5r5ZsctzdChORJgnVfOO6NjeBKCTkhv4OYvi Xk6E/ASMtpHFNTbxYinudfFlAqqbKdHyCNpJMXiDVskqnkQgSMHN9BmEJJEp6pCQC1WB 4Nfss2S+rDUpVEN778V//Gx8k+Xnp3qjFoXagq1l2GEaFrmYKo2ZV2JzZ+3v6FfL5dZm F2qqIwGOl62oc00Gq/jWe3rTACKwTEJq8kK0d+MPNqHQgaek3We8SCVRak0q0BFMcIKl F2kjbOW8n1Av0sMKOsYSzgfbyWNiZiJGKFNX2LBdyIVAoXRv4nVDp0Oq+XXQSYjsmFbo M5LA== X-Gm-Message-State: AEkoout0ZOfq7Me2iHe4iIHjIktGncKwq/v3cl9DctF91WdiDTpqGF2M6rPxRMcW+HrJ8Q== X-Received: by 10.194.87.34 with SMTP id u2mr16293887wjz.118.1470770061312; Tue, 09 Aug 2016 12:14:21 -0700 (PDT) Received: from [192.168.178.37] (a82-161-212-209.adsl.xs4all.nl. [82.161.212.209]) by smtp.googlemail.com with ESMTPSA id uo4sm39315991wjc.36.2016.08.09.12.14.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 12:14:20 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Subject: Re: Raspberry Pi B stuck during boot? To: Tim Kientzle References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> Cc: ticso@cicely.de, freebsd-arm From: =?UTF-8?Q?Ren=c3=a9_Ladan?= Message-ID: <1091be19-3675-a11c-872e-d37e722ec550@freebsd.org> Date: Tue, 9 Aug 2016 21:14:19 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 19:14:23 -0000 On 08-08-16 17:38, René Ladan wrote: > 2016-08-07 22:27 GMT+02:00 Tim Kientzle : >> >>> On Aug 7, 2016, at 3:04 PM, René Ladan wrote: >>> >>> On 07-08-16 13:57, Bernd Walter wrote: >>>> On Sun, Aug 07, 2016 at 12:09:08PM +0200, René Ladan wrote: >>>>> On 06-08-16 16:23, Bernd Walter wrote: >>>>>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, René Ladan wrote: >>>>>>> Hi, >>>>>>> >>>>>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets stuck >>>>>>> near the end of the boot. I checked the SD card and updated it to 11-beta3 >>>>>>> using these commands (if I remember correctly, but nothing unusual): >>>>>>> >>>>>>> % make buildworld TARGET=arm TARGET_ARCH=armv6 >>>>>>> % make buildkernel KERNCONF=RPI-B TARGET=arm TARGET_ARCH=armv6 >>>>>>> # make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>>>>> # make installkernel TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>>>>> KERNCONF=RPI-B >>>>>>> # make delete-old TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>>>>> # make delete-old-libs TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>>>>> # mergemaster -A armv6 -D /mnt -p >>>>>>> # mergemaster -A armv6 -D /mnt -U -i >>>>>>> >>>>>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone picture of >>>>>>> the TV screen where it gets stuck. >>>>>>> >>>>>>> Any ideas if what could be wrong? >>>>>> It might be hanging in single user mode prompt on serial console. >>>>>> >>>>> So if I would disable serial console in /etc/ttys it should be fine? >>>> No - that is just for the login prompt after the OS has been booted into >>>> multiuser mode. >>>> Unfortunately I have no idea where the loader on an RPi gets that >>>> information from, since so far I've always used serial consoles. >>>> The kernel itself can do double output, but the rc-scripts, including >>>> the single user mode prompt, are limited to one. >>>> It would be easiest if you have the option to wire up the serial console. >>> Yeah, I'll see if I can construct something using the GPIO pins. >>> >>> I also tried adding autoboot_delay=-1 to /boot/loader.conf and pulling >>> my DCF77 receiver from the GPIO pins (ground, +3.3V, signal wire) but >>> that didn't help either. >>> >>> So with USB power, HDMI cable to TV, and a USB keyboard it hangs >> >> Anyone doing “interesting†work with RPi should have at least one of these on hand: >> >> http://adafru.it/954 >> > Guess I was lucky enough until now to not need one. I ordered one, it > should arrive tomorrow. > I figured it out (with the Adafruit cable): I had an outdated NFS entry in /etc/fstab which now pointed to nothing, and it is automatically mounted so it runs before the login prompt and sshd. So that pretty much disabled non-serial logins if I had the network cable connected. The serial console gave enough information to fix the problem and to restore /etc/ttys to the original settings. Thanks, René From owner-freebsd-arm@freebsd.org Tue Aug 9 20:43:34 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBF95BB455F for ; Tue, 9 Aug 2016 20:43:34 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id CFBB019DC; Tue, 9 Aug 2016 20:43:34 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 67E4C122; Tue, 9 Aug 2016 20:43:34 +0000 (UTC) Date: Tue, 9 Aug 2016 20:43:29 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: dumbbell@FreeBSD.org, pfg@FreeBSD.org, jhb@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <45139896.14.1470775414453.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #3806 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 20:43:35 -0000 FreeBSD_HEAD_arm64 - Build #3806 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/3806/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/3806/ch= anges Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/3806/con= sole Change summaries: 303894 by pfg: ancontrol(8): replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after:=091 month 303893 by pfg: libpcap: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after:=091 month 303892 by pfg: sys: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after:=091 month 303891 by pfg: sys/dev: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after:=091 month 303890 by dumbbell: Consistently use `device_t` Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all `struct device *` to `device_t`. The remaining occurrences of `struct device` are those referring to the Linux or OpenBSD version of the structure, or the code is not built on FreeBSD and it's unclear what to do. Submitted by:=09Matthew Macy (previous version) Approved by:=09emaste, jhibbits, sbruno MFC after:=093 days Differential Revision:=09https://reviews.freebsd.org/D7447 303889 by pfg: libc/rpc: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after:=091 month 303887 by jhb: Add a dmardump utility to dump the VT-d context tables. This tool parses the ACPI DMAR table looking for DMA remapping devices. For each device it walks the root table and any context tables referenced to display mapping info for PCI devices. Note that acpidump -t already parses the info in the ACPI DMAR tables directly. This tool examines some of the data structures the DMAR remapping engines use to translate DMA requests. Reviewed by:=09kib, grehan MFC after:=091 month Sponsored by:=09Chelsio Communications Differential Revision:=09https://reviews.freebsd.org/D7444 303886 by jhb: Add additional constants. - Add constants for the fields in the root-entry table address register, namely the root type type (RTT) and root table address (RTA) mask. - Add macros for the bitmask of the domain ID field in the second word of context table entries as well as a helper macro (DMAR_CTX2_GET_DID) to extract the domain ID from a context table entry. Reviewed by:=09kib MFC after:=091 month Sponsored by:=09Chelsio Communications The end of the build log: [...truncated 42830 lines...] cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.strsep_copy.o -MTstrsep= _copy.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /us= r/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/strsep_copy.= c -o strsep_copy.o --- lib/msun__L --- --- libm.so.5.full --- building shared library libm.so.5 cc -B/usr/local/aarch64-freebsd/bin/ -Wl,--version-script=3DVersion.map -f= stack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-share= d-textrel -o libm.so.5.full -Wl,-soname,libm.so.5 `NM=3D'/usr/local/aarch= 64-freebsd/bin/nm' NMFLAGS=3D'' lorder b_exp.So b_log.So b_tgamma.So e_acos= .So e_acosf.So e_acosh.So e_acoshf.So e_asin.So e_asinf.So e_atan2.So e_ata= n2f.So e_atanh.So e_atanhf.So e_cosh.So e_coshf.So e_exp.So e_expf.So e_fmo= d.So e_fmodf.So e_gamma.So e_gamma_r.So e_gammaf.So e_gammaf_r.So e_hypot.S= o e_hypotf.So e_j0.So e_j0f.So e_j1.So e_j1f.So e_jn.So e_jnf.So e_lgamma.S= o e_lgamma_r.So e_lgammaf.So e_lgammaf_r.So e_log.So e_log10.So e_log10f.So= e_log2.So e_log2f.So e_logf.So e_pow.So e_powf.So e_rem_pio2.So e_rem_pio2= f.So e_remainder.So e_remainderf.So e_scalb.So e_scalbf.So e_sinh.So e_sinh= f.So e_sqrt.So e_sqrtf.So fenv.So imprecise.So k_cos.So k_cosf.So k_exp.So = k_expf.So k_rem_pio2.So k_sin.So k_sinf.So k_tan.So k_tanf.So s_asinh.So s_= asinhf.So s_atan.So s_atanf.So s_carg.So s_cargf.So s_cargl.So s_cbrt.So s_= cbrtf.So s_ceil.So s_ceilf.So s_copysign.So s_copysignf.So s_cos.So s_cosf.= So s_csqrt.So s_csqrtf.So s_erf.So s_erff.So s_exp2.So s_exp2f.So s_expm1.S= o s_expm1f.So s_fabsf.So s_fdim.So s_finite.So s_finitef.So s_floor.So s_fl= oorf.So s_fma.So s_fmaf.So s_fmax.So s_fmaxf.So s_fmaxl.So s_fmin.So s_fmin= f.So s_fminl.So s_frexp.So s_frexpf.So s_ilogb.So s_ilogbf.So s_ilogbl.So s= _isfinite.So s_isnan.So s_isnormal.So s_llrint.So s_llrintf.So s_llround.So= s_llroundf.So s_llroundl.So s_log1p.So s_log1pf.So s_logb.So s_logbf.So s_= lrint.So s_lrintf.So s_lround.So s_lroundf.So s_lroundl.So s_modff.So s_nan= .So s_nearbyint.So s_nextafter.So s_nextafterf.So s_nexttowardf.So s_remquo= .So s_remquof.So s_rint.So s_rintf.So s_round.So s_roundf.So s_scalbln.So s= _scalbn.So s_scalbnf.So s_signbit.So s_signgam.So s_significand.So s_signif= icandf.So s_sin.So s_sinf.So s_tan.So s_tanf.So s_tanh.So s_tanhf.So s_tgam= maf.So s_trunc.So s_truncf.So w_cabs.So w_cabsf.So w_drem.So w_dremf.So s_c= opysignl.So s_fabsl.So s_llrintl.So s_lrintl.So s_modfl.So e_acoshl.So e_ac= osl.So e_asinl.So e_atan2l.So e_atanhl.So e_coshl.So e_fmodl.So e_hypotl.So= e_lgammal.So e_lgammal_r.So e_remainderl.So e_sinhl.So e_sqrtl.So invtrig.= So k_cosl.So k_sinl.So k_tanl.So s_asinhl.So s_atanl.So s_cbrtl.So s_ceill.= So s_cosl.So s_cprojl.So s_csqrtl.So s_erfl.So s_exp2l.So s_expl.So s_floor= l.So s_fmal.So s_frexpl.So s_logbl.So s_logl.So s_nanl.So s_nextafterl.So s= _nexttoward.So s_remquol.So s_rintl.So s_roundl.So s_scalbnl.So s_sinl.So s= _tanhl.So s_tanl.So s_truncl.So w_cabsl.So catrig.So catrigf.So s_ccosh.So = s_ccoshf.So s_cexp.So s_cexpf.So s_cimag.So s_cimagf.So s_cimagl.So s_conj.= So s_conjf.So s_conjl.So s_cproj.So s_cprojf.So s_creal.So s_crealf.So s_cr= eall.So s_csinh.So s_csinhf.So s_ctanh.So s_ctanhf.So | tsort -q`=20 --- kerberos5/lib/libroken__L --- --- strupr.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.strupr.o -MTstrupr.o -s= td=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerb= eros5/lib/libroken/../../../crypto/heimdal/lib/roken/strupr.c -o strupr.o --- secure/lib/libcrypto__L --- --- bn_shift.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn= _shift.o -MTbn_shift.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_shif= t.c -o bn_shift.o --- kerberos5/lib/libroken__L --- --- bswap.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.bswap.o -MTbswap.o -std= =3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerber= os5/lib/libroken/../../../crypto/heimdal/lib/roken/bswap.c -o bswap.o --- lib/msun__L --- --- libm.so.5.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug libm.so.5.full lib= m.so.5.debug --- libm.so.5 --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= libm.so.5.debug libm.so.5.full libm.so.5 --- kerberos5/lib/libroken__L --- --- cloexec.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.cloexec.o -MTcloexec.o = -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/ke= rberos5/lib/libroken/../../../crypto/heimdal/lib/roken/cloexec.c -o cloexec= .o --- secure/lib/libcrypto__L --- --- bn_sqr.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn= _sqr.o -MTbn_sqr.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sign = -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautol= ogical-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-func= tion -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch= -enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c = /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_sqr.c -o= bn_sqr.o --- lib/msun__L --- --- _libinstall --- sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libm.a /usr/obj/= arm64.aarch64/usr/src/tmp/usr/lib/ sh /usr/src/tools/install.sh -s -o root -g wheel -m 444 libm.so.5 /usr= /obj/arm64.aarch64/usr/src/tmp/lib/ sh /usr/src/tools/install.sh -o root -g wheel -m 444 libm.so.5.debug /u= sr/obj/arm64.aarch64/usr/src/tmp/usr/lib/debug/lib/ sh /usr/src/tools/install.sh -l rs /usr/obj/arm64.aarch64/usr/src/tmp/lib/= libm.so.5 /usr/obj/arm64.aarch64/usr/src/tmp/usr/lib/libm.so --- _INCSINS --- sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 /usr/src/lib/msun= /aarch64/fenv.h /usr/src/lib/msun/src/math.h /usr/obj/arm64.aarch64/usr/src= /tmp/usr/include/ --- kerberos5/lib/libroken__L --- --- concat.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.concat.o -MTconcat.o -s= td=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerb= eros5/lib/libroken/../../../crypto/heimdal/lib/roken/concat.c -o concat.o --- secure/lib/libcrypto__L --- --- bn_sqrt.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn= _sqrt.o -MTbn_sqrt.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sig= n -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-taut= ological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-fu= nction -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-swit= ch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -= c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_sqrt.c= -o bn_sqrt.o --- lib/libc++__L --- --- any.So --- c++ -B/usr/local/aarch64-freebsd/bin/ -fpic -DPIC -g -O2 -pipe -isystem /u= sr/src/lib/libc++/../../contrib/libc++/include -isystem /usr/src/lib/libc++= /../../contrib/libcxxrt -nostdinc++ -nostdlib -DLIBCXXRT -MD -MF.depend.any= .So -MTany.So -fstack-protector-strong -Wno-empty-body -Wno-string-plus-int= -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wn= o-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unuse= d-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -W= no-parentheses -Qunused-arguments -std=3Dc++11 -Wno-c++11-extensions -c /= usr/src/lib/libc++/../../contrib/libc++/src/any.cpp -o any.So --- kerberos5/lib/libroken__L --- --- ct.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.ct.o -MTct.o -std=3Dgnu= 99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerberos5/li= b/libroken/../../../crypto/heimdal/lib/roken/ct.c -o ct.o --- secure/lib/libcrypto__L --- --- bn_word.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn= _word.o -MTbn_word.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sig= n -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-taut= ological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-fu= nction -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-swit= ch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -= c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_word.c= -o bn_word.o --- kerberos5/lib/libroken__L --- --- doxygen.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.doxygen.o -MTdoxygen.o = -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/ke= rberos5/lib/libroken/../../../crypto/heimdal/lib/roken/doxygen.c -o doxygen= .o --- dumpdata.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.dumpdata.o -MTdumpdata.= o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/= kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/dumpdata.c -o dump= data.o --- secure/lib/libcrypto__L --- --- bn_x931p.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn= _x931p.o -MTbn_x931p.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_x931= p.c -o bn_x931p.o --- kerberos5/lib/libroken__L --- --- environment.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.environment.o -MTenviro= nment.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /us= r/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/environment.= c -o environment.o --- secure/lib/libcrypto__L --- --- bn_asm.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn= _asm.o -MTbn_asm.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sign = -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautol= ogical-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-func= tion -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch= -enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c = /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_asm.c -o= bn_asm.o --- lib/libc++__L --- --- bind.So --- c++ -B/usr/local/aarch64-freebsd/bin/ -fpic -DPIC -g -O2 -pipe -isystem /u= sr/src/lib/libc++/../../contrib/libc++/include -isystem /usr/src/lib/libc++= /../../contrib/libcxxrt -nostdinc++ -nostdlib -DLIBCXXRT -MD -MF.depend.bin= d.So -MTbind.So -fstack-protector-strong -Wno-empty-body -Wno-string-plus-i= nt -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -= Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unu= sed-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter = -Wno-parentheses -Qunused-arguments -std=3Dc++11 -Wno-c++11-extensions -c= /usr/src/lib/libc++/../../contrib/libc++/src/bind.cpp -o bind.So --- kerberos5/lib/libroken__L --- --- eread.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.eread.o -MTeread.o -std= =3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerber= os5/lib/libroken/../../../crypto/heimdal/lib/roken/eread.c -o eread.o --- esetenv.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.esetenv.o -MTesetenv.o = -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/ke= rberos5/lib/libroken/../../../crypto/heimdal/lib/roken/esetenv.c -o esetenv= .o --- ewrite.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.ewrite.o -MTewrite.o -s= td=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerb= eros5/lib/libroken/../../../crypto/heimdal/lib/roken/ewrite.c -o ewrite.o --- get_default_username.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.get_default_username.o = -MTget_default_username.o -std=3Dgnu99 -fstack-protector-strong -Qunused= -arguments -c /usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/= roken/get_default_username.c -o get_default_username.o --- secure/lib/libcrypto__L --- --- buf_err.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bu= f_err.o -MTbuf_err.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sig= n -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-taut= ological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-fu= nction -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-swit= ch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -= c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/buffer/buf_e= rr.c -o buf_err.o --- lib/libc++__L --- --- chrono.So --- c++ -B/usr/local/aarch64-freebsd/bin/ -fpic -DPIC -g -O2 -pipe -isystem /u= sr/src/lib/libc++/../../contrib/libc++/include -isystem /usr/src/lib/libc++= /../../contrib/libcxxrt -nostdinc++ -nostdlib -DLIBCXXRT -MD -MF.depend.chr= ono.So -MTchrono.So -fstack-protector-strong -Wno-empty-body -Wno-string-pl= us-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-val= ue -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno= -unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parame= ter -Wno-parentheses -Qunused-arguments -std=3Dc++11 -Wno-c++11-extensions= -c /usr/src/lib/libc++/../../contrib/libc++/src/chrono.cpp -o chrono.So --- kerberos5/lib/libroken__L --- --- get_window_size.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.get_window_size.o -MTge= t_window_size.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments= -c /usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/get_= window_size.c -o get_window_size.o --- getaddrinfo_hostspec.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.getaddrinfo_hostspec.o = -MTgetaddrinfo_hostspec.o -std=3Dgnu99 -fstack-protector-strong -Qunused= -arguments -c /usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/= roken/getaddrinfo_hostspec.c -o getaddrinfo_hostspec.o --- getarg.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.getarg.o -MTgetarg.o -s= td=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerb= eros5/lib/libroken/../../../crypto/heimdal/lib/roken/getarg.c -o getarg.o --- getnameinfo_verified.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.getnameinfo_verified.o = -MTgetnameinfo_verified.o -std=3Dgnu99 -fstack-protector-strong -Qunused= -arguments -c /usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/= roken/getnameinfo_verified.c -o getnameinfo_verified.o --- secure/lib/libcrypto__L --- --- buf_str.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bu= f_str.o -MTbuf_str.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sig= n -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-taut= ological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-fu= nction -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-swit= ch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -= c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/buffer/buf_s= tr.c -o buf_str.o --- lib/libc++__L --- --- condition_variable.So --- c++ -B/usr/local/aarch64-freebsd/bin/ -fpic -DPIC -g -O2 -pipe -isystem /u= sr/src/lib/libc++/../../contrib/libc++/include -isystem /usr/src/lib/libc++= /../../contrib/libcxxrt -nostdinc++ -nostdlib -DLIBCXXRT -MD -MF.depend.con= dition_variable.So -MTcondition_variable.So -fstack-protector-strong -Wno-e= mpty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological= -compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -= Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -std=3Dc++= 11 -Wno-c++11-extensions -c /usr/src/lib/libc++/../../contrib/libc++/src/c= ondition_variable.cpp -o condition_variable.So --- kerberos5/lib/libroken__L --- --- getprogname.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.getprogname.o -MTgetpro= gname.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /us= r/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/getprogname.= c -o getprogname.o --- h_errno.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.h_errno.o -MTh_errno.o = -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/ke= rberos5/lib/libroken/../../../crypto/heimdal/lib/roken/h_errno.c -o h_errno= .o --- hex.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.hex.o -MThex.o -std=3Dg= nu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerberos5/= lib/libroken/../../../crypto/heimdal/lib/roken/hex.c -o hex.o --- secure/lib/libcrypto__L --- --- buffer.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bu= ffer.o -MTbuffer.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sign = -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautol= ogical-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-func= tion -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch= -enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c = /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/buffer/buffer.= c -o buffer.o --- kerberos5/lib/libroken__L --- --- hostent_find_fqdn.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.hostent_find_fqdn.o -MT= hostent_find_fqdn.o -std=3Dgnu99 -fstack-protector-strong -Qunused-argum= ents -c /usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/= hostent_find_fqdn.c -o hostent_find_fqdn.o --- secure/lib/libcrypto__L --- --- cmll_cfb.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_cfb.o -MTcmll_cfb.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= mll_cfb.c -o cmll_cfb.o --- cmll_ctr.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_ctr.o -MTcmll_ctr.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= mll_ctr.c -o cmll_ctr.o --- kerberos5/lib/libroken__L --- --- issuid.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.issuid.o -MTissuid.o -s= td=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/kerb= eros5/lib/libroken/../../../crypto/heimdal/lib/roken/issuid.c -o issuid.o --- secure/lib/libcrypto__L --- --- cmll_ecb.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_ecb.o -MTcmll_ecb.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= mll_ecb.c -o cmll_ecb.o --- cmll_ofb.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_ofb.o -MTcmll_ofb.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= mll_ofb.c -o cmll_ofb.o --- kerberos5/lib/libroken__L --- --- k_getpwnam.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.k_getpwnam.o -MTk_getpw= nam.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/= src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/k_getpwnam.c -= o k_getpwnam.o --- secure/lib/libcrypto__L --- --- cmll_utl.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_utl.o -MTcmll_utl.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= mll_utl.c -o cmll_utl.o --- camellia.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.ca= mellia.o -MTcamellia.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= amellia.c -o camellia.o --- kerberos5/lib/libroken__L --- --- k_getpwuid.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.k_getpwuid.o -MTk_getpw= uid.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/= src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/k_getpwuid.c -= o k_getpwuid.o --- lib/libc++__L --- --- debug.So --- c++ -B/usr/local/aarch64-freebsd/bin/ -fpic -DPIC -g -O2 -pipe -isystem /u= sr/src/lib/libc++/../../contrib/libc++/include -isystem /usr/src/lib/libc++= /../../contrib/libcxxrt -nostdinc++ -nostdlib -DLIBCXXRT -MD -MF.depend.deb= ug.So -MTdebug.So -fstack-protector-strong -Wno-empty-body -Wno-string-plus= -int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value= -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-u= nused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-paramete= r -Wno-parentheses -Qunused-arguments -std=3Dc++11 -Wno-c++11-extensions = -c /usr/src/lib/libc++/../../contrib/libc++/src/debug.cpp -o debug.So --- kerberos5/lib/libroken__L --- --- mini_inetd.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.mini_inetd.o -MTmini_in= etd.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/= src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/mini_inetd.c -= o mini_inetd.o --- net_read.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.net_read.o -MTnet_read.= o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/src/= kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/net_read.c -o net_= read.o --- net_write.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.net_write.o -MTnet_writ= e.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/sr= c/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/net_write.c -o n= et_write.o --- secure/lib/libcrypto__L --- --- cmll_cbc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_cbc.o -MTcmll_cbc.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-sw= itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments = -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia/c= mll_cbc.c -o cmll_cbc.o --- kerberos5/lib/libroken__L --- --- parse_bytes.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.parse_bytes.o -MTparse_= bytes.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /us= r/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/parse_bytes.= c -o parse_bytes.o --- lib/libkvm__L --- =3D=3D=3D> lib/libkvm (obj,all,install) --- secure/lib/libcrypto__L --- --- cmll_misc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.cm= ll_misc.o -MTcmll_misc.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer= -sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-= tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unuse= d-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-= switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-argument= s -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/camellia= /cmll_misc.c -o cmll_misc.o --- lib/libkvm__L --- --- obj --- --- kerberos5/lib/libroken__L --- --- parse_time.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.parse_time.o -MTparse_t= ime.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /usr/= src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/parse_time.c -= o parse_time.o --- lib/libkvm__L --- --- .depend --- echo libkvm.so.7.full: /usr/obj/arm64.aarch64/usr/src/tmp/usr/lib/libelf.a = >> .depend --- kvm.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DLIBC_SCCS -I/usr/src/lib/= libkvm -MD -MF.depend.kvm.o -MTkvm.o -std=3Dgnu99 -fstack-protector-stro= ng -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized= -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-v= ariable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equali= ty -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qu= nused-arguments -c /usr/src/lib/libkvm/kvm.c -o kvm.o --- secure/lib/libcrypto__L --- --- c_cfb64.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.c_= cfb64.o -MTc_cfb64.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sig= n -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-taut= ological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-fu= nction -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-swit= ch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -= c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/cast/c_cfb64= .c -o c_cfb64.o --- kerberos5/lib/libroken__L --- --- parse_units.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/kerberos5/lib/li= broken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/k= erberos5/lib/libroken/../../include -MD -MF.depend.parse_units.o -MTparse_= units.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c /us= r/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/parse_units.= c -o parse_units.o --- secure/lib/libcrypto__L --- --- c_ecb.o --- --- lib/libkvm__L --- In file included from /usr/src/lib/libkvm/kvm.c:50: /usr/obj/arm64.aarch64/usr/src/tmp/usr/include/sys/pcpu.h:163:2: error: unk= nown type name 'device_t' device_t pc_device; ^ --- secure/lib/libcrypto__L --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/secure/lib/lib= crypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -D= DSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -I/usr/obj/arm64.aarch64/usr/src/secure= /lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/cryp= to -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/s= ecure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.c_= ecb.o -MTc_ecb.o -std=3Dgnu89 -fstack-protector-strong -Wno-pointer-sign -W= no-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautolog= ical-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-functi= on -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-e= num -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /u= sr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/cast/c_ecb.c -o = c_ecb.o --- lib/libkvm__L --- 1 error generated. *** [kvm.o] Error code 1 bmake[4]: stopped in /usr/src/lib/libkvm 1 error bmake[4]: stopped in /usr/src/lib/libkvm *** [lib/libkvm__L] Error code 2 bmake[3]: stopped in /usr/src --- secure/lib/libcrypto__L --- A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/secure/lib/libcrypto *** [secure/lib/libcrypto__L] Error code 2 bmake[3]: stopped in /usr/src --- kerberos5/lib/libroken__L --- A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/kerberos5/lib/libroken *** [kerberos5/lib/libroken__L] Error code 2 bmake[3]: stopped in /usr/src --- lib/libc++__L --- A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/lib/libc++ *** [lib/libc++__L] Error code 2 bmake[3]: stopped in /usr/src 4 errors bmake[3]: stopped in /usr/src *** [libraries] Error code 2 bmake[2]: stopped in /usr/src 1 error bmake[2]: stopped in /usr/src *** [_libraries] Error code 2 bmake[1]: stopped in /usr/src 1 error bmake[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson4789841317184787696.sh + export 'PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/b= in' + export 'jname=3DFreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::103:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Tue Aug 9 21:03:10 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4969BB4BB9 for ; Tue, 9 Aug 2016 21:03:10 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A76DC1676; Tue, 9 Aug 2016 21:03:10 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bXEAw-000PH6-L2; Tue, 09 Aug 2016 23:03:08 +0200 Subject: Re: FreeBSD_HEAD_arm64 - Build #3806 - Failure To: jenkins-admin@FreeBSD.org, pfg@FreeBSD.org, jhb@FreeBSD.org, freebsd-arm@FreeBSD.org References: <45139896.14.1470775414453.JavaMail.jenkins@jenkins-9.freebsd.org> From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Message-ID: Date: Tue, 9 Aug 2016 23:02:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <45139896.14.1470775414453.JavaMail.jenkins@jenkins-9.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BhWVfm7K4MgvkFx2Sqec2LRc4Wov2KRjp" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 21:03:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BhWVfm7K4MgvkFx2Sqec2LRc4Wov2KRjp Content-Type: multipart/mixed; boundary="xbQrpjqHqQD6KoixAE3FtieOUvauMXlVC" From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= To: jenkins-admin@FreeBSD.org, pfg@FreeBSD.org, jhb@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: Subject: Re: FreeBSD_HEAD_arm64 - Build #3806 - Failure References: <45139896.14.1470775414453.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <45139896.14.1470775414453.JavaMail.jenkins@jenkins-9.freebsd.org> --xbQrpjqHqQD6KoixAE3FtieOUvauMXlVC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/08/2016 22:43, jenkins-admin@FreeBSD.org wrote: > FreeBSD_HEAD_arm64 - Build #3806 - Failure: >=20 > Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/3= 806/ > Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/380= 6/changes > Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/3806= /console Sorry, that's my fault, I'm working on a fix. --=20 Jean-S=C3=A9bastien P=C3=A9dron --xbQrpjqHqQD6KoixAE3FtieOUvauMXlVC-- --BhWVfm7K4MgvkFx2Sqec2LRc4Wov2KRjp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXqkUCAAoJEDnpl2Gl/ZTMcaMP/iCUA2zwJhU3AuZwyCd0GgF+ p6H41VOoT8l0d9HUg4G5rlO6dKkqfpWQTmg/KVGCL+19wvV7V/oenUUsCZ11UKRe 9dE77uiMriboc63RIzgzqzPtkZSHoJIsr2df9KylnjEPlBTEidqStNhQvKkFMNTJ vz5VeFO7xDawsAeHtttvihBqE4YiuC2OLL0Ba4wHlmWrSe2+RqZRgaaxcVoYKjaS HqnLHAoecQlpX9qqaIQFz4x4OBN/sfG4D2J9tkVGXqCCkou16jArA8YKBqwI4zHX q5lIVXj2GSDDPK+iN6DpADAq1pmqvW217k7YxsA7I93swpmx/+JWnplwc31/4w/U 8m5gA37zZxyMNVEQA8LyWK5dRLdy1lkNd+EFcKYFG7fc3FVUfcnz2EEN0F6XwHYE jOvcgUbncVDxMgoqu+Fb73BUh9px36DtPhr12wL5btpZez0UhfHWDTb+g5w3yH23 35lUmaQXQa/1d1CA0CdlVzWEOFRAwfzyPASfJCqew3NjJSMkGer5W8A+q6kQmn6X zM5z0Ql8EkDxSNpH527qTSBC2CK0U8/B/gNxLwwdKV8tz5Ua3ItiIk8ZYFL86U5K ZyzlaAAn/NIvpcvXljaFiokcAwCifdkGJfimSOOSxY7fu/nanPZe6pOijzXeTV1u YTrNwuvN/ZuhV5HJE5YE =a5X7 -----END PGP SIGNATURE----- --BhWVfm7K4MgvkFx2Sqec2LRc4Wov2KRjp-- From owner-freebsd-arm@freebsd.org Wed Aug 10 08:21:17 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E5CBBB48A2 for ; Wed, 10 Aug 2016 08:21:17 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 9394E15E5 for ; Wed, 10 Aug 2016 08:21:16 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id i5so86620091wmg.0 for ; Wed, 10 Aug 2016 01:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:subject:references:to:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=jiIRUuxh5h669ScVKMn9qNsdNG0TYuI0HM4K3UhRGv4=; b=x+2tszRTKhbdwIj7hmkDlODTNt8R2hWcYsPtZ23OmqWjZapTQLtqxL9eaiEdvpl5xt 272ujbJBo78fYZRe0V7HAEnnZykdUkpZ10SyRcw3Xtlnva6GyWSy9WQHc/MBBPesHrlh 7O2xNmtGXdqMUrxO5Kqq3/euBRj4n0Qq/jO1B5A9ruObcJkRyHyDMqM/1O8FWLPSQG2/ f7c92We5LkUGGvku3Cugw3C+3QOKO9sVHAZ9HkguET1CrXKQ+Jwulb8L5zJtPibVihTL mBrBtd9NRYa3Djuux8SyQWyF7FWECFWV7VZMj6owfa1RPXvU42sJptbD4bQPLC8tm/wp 6zyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=jiIRUuxh5h669ScVKMn9qNsdNG0TYuI0HM4K3UhRGv4=; b=T/RBv7NhAPvXK+U199/6ERGaUECVEgd3gwIHE86UtkJKAMKeVm6eKTGbjamRQr0wpn C6QUoJ8rtyw/Qf5+U6byJjjsPOY7RKJb6pVY1YDQB5vZdQ4JhE8oWI577DSC033aH/aa oLyqXV/USwsmPGfmF/s29ABC285Wq3ll+lemY/8OJimCxtvjfcWyDpWLy9oNl4PEZaYG DcpaVY5PYZKXn9dOMEyCseJvDXtMZiGSfFLrYy5qAnAD8ynybV8VCaR/6TnyZglA/rd5 orGOSOr+laG5RfKGDuch4938iVmri+n9ufhPPEIE/2UMUdrMEsES/VrmTzTNbQv7Wk8Y N4vw== X-Gm-Message-State: AEkoout7rflqpejaiHzH8g8LWhcmiJ60B4TcXjPbIVUiqGWfLGj51tKf05FW9o1VQm9IpA== X-Received: by 10.194.187.7 with SMTP id fo7mr2638669wjc.162.1470817275039; Wed, 10 Aug 2016 01:21:15 -0700 (PDT) Received: from ?IPv6:2001:1620:ff0:c51:95b2:935e:144:fb36? ([2001:1620:ff0:c51:95b2:935e:144:fb36]) by smtp.gmail.com with ESMTPSA id h7sm41778636wjd.17.2016.08.10.01.21.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 01:21:14 -0700 (PDT) Reply-To: mattia.rossi.mailinglists@gmail.com Subject: Re: Allwinner H3 - OrangePi Plus Status References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> To: freebsd-arm@freebsd.org Cc: Daniel Braniss , Emmanuel Vadot From: Mattia Rossi Message-ID: <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> Date: Wed, 10 Aug 2016 10:21:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 08:21:17 -0000 Hi all again, I've managed to build everything, and to create the image etc., but I'm having troubble with the .dtb file > > the .dtb file goes in /boot/dtb > Also realised that my attachments did not go through, in case their > air needed > let me know. > > So, I've added sun8i-h3-orangepi-plus.dts to the dtb/allwinner Makefile, so that it gets built with the MODULES_EXTRAS option in the kernel config file. So far so good, the .dtb exists as sun8i-h3-orangepi-plus.dtb and is installed in /boot/dtb which is placed on the ufs filesystem (2nd partition of the SD card). When I switch on the device, u-boot and ubldr start fine, but ubldr complains about the missing .dtb - So obviously it's confused by something. I guess the .dtb is either in the wrong place or it has the worng name. In either way, I need to tell ubldr what to look for. How do I do that? On my dreamplug I don't use ubldr, but boot kernel.bin directly from u-boot. There I use the following kernel config options: options FDT_DTB_STATIC makeoptions FDT_DTS_FILE=dreamplug-1001.dts which cause the .dtb to be built into the kernel. Would that work with ubldr as well? (I don't need a separate .dtb, so whatever works is fine with me.. Do you have any hints? Thanks, Mat From owner-freebsd-arm@freebsd.org Wed Aug 10 08:26:31 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBF25BB4A5F for ; Wed, 10 Aug 2016 08:26:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 941941952 for ; Wed, 10 Aug 2016 08:26:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1bXOqI-0009iA-1K; Wed, 10 Aug 2016 11:26:26 +0300 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Allwinner H3 - OrangePi Plus Status From: Daniel Braniss In-Reply-To: <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> Date: Wed, 10 Aug 2016 11:26:25 +0300 Cc: freebsd-arm , Emmanuel Vadot Content-Transfer-Encoding: quoted-printable Message-Id: References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> To: mattia.rossi.mailinglists@gmail.com X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 08:26:32 -0000 > On 10 Aug 2016, at 11:21, Mattia Rossi = wrote: >=20 > Hi all again, >=20 > I've managed to build everything, and to create the image etc., but = I'm having troubble with the .dtb file >>=20 >> the .dtb file goes in /boot/dtb >> Also realised that my attachments did not go through, in case their = air needed >> let me know. >>=20 >>=20 >=20 > So, I've added sun8i-h3-orangepi-plus.dts to the dtb/allwinner = Makefile, so that it gets built with the MODULES_EXTRAS option in the = kernel config file. >=20 > So far so good, the .dtb exists as sun8i-h3-orangepi-plus.dtb and is = installed in /boot/dtb which is placed on the ufs filesystem (2nd = partition of the SD card). >=20 > When I switch on the device, u-boot and ubldr start fine, but ubldr = complains about the missing .dtb - So obviously it's confused by = something. I guess the .dtb is either in the wrong place or it has the = worng name. In either way, I need to tell ubldr what to look for. How do = I do that? >=20 > On my dreamplug I don't use ubldr, but boot kernel.bin directly from = u-boot. There I use the following kernel config options: >=20 > options FDT_DTB_STATIC > makeoptions FDT_DTS_FILE=3Ddreamplug-1001.dts >=20 > which cause the .dtb to be built into the kernel. Would that work with = ubldr as well? (I don't need a separate .dtb, so whatever works is fine = with me.. >=20 > Do you have any hints? >=20 you will have to either compile u-boot for the orange-plus so that it will look for the = correct dab file depending which one you are using, it=92s probably looking for = orange-pc (do a grep dtb of the u-boot - which should be in the fat = partition) or figure out how to set/create the txt file u-boot is supposed to = read, and what is the correct magic syntax to set the dub file name > Thanks, >=20 > Mat From owner-freebsd-arm@freebsd.org Wed Aug 10 08:41:46 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69330BB0088 for ; Wed, 10 Aug 2016 08:41:46 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C86AE125D for ; Wed, 10 Aug 2016 08:41:45 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 4d34f528; Wed, 10 Aug 2016 10:35:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=hXunUi7LNNglDhx/bYvMacOLTB0=; b=ord8CJrs4qwLVdX50BdOvr/96aXo vLOOduQDy6e+zUehcPJNsv7su2Vcj2c/425CD49Pa/L3WrPSsuSJwd4pUOm8Smwq 9Kd3LXz6XgXLdQaZSkEcTOyAQ7N2SvekKTEEhm0CT86fTNvuGVpagcL0GK9PqtQC N7fysfjGK+LUwZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=fY+w9kmaR+u7m1zxOsPDPEXnz0gl5QUBFNAD/XKF1evvLt9NUTIf1+qX HzNhcuCyyCvxNey8v2qnqcpijwpRCMH5Vuc6KkajGqpO9w+DYaa5ax5cdnQ5GuqU t+lKucP5+/szioxiynS4BY6GdNfttV2RVTo6+OxucrrdvHkfJqU= Received: from atlantis.staff.bocal.org (163.5.250.21 [163.5.250.21]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 0cfe1951 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 10 Aug 2016 10:35:02 +0200 (CEST) Date: Wed, 10 Aug 2016 10:35:01 +0200 From: Emmanuel Vadot To: mattia.rossi.mailinglists@gmail.com Cc: freebsd-arm@freebsd.org Subject: Re: Allwinner H3 - OrangePi Plus Status Message-Id: <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> In-Reply-To: <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 08:41:46 -0000 On Wed, 10 Aug 2016 10:21:12 +0200 Mattia Rossi wrote: > Hi all again, > > I've managed to build everything, and to create the image etc., but I'm > having troubble with the .dtb file > > > > the .dtb file goes in /boot/dtb > > Also realised that my attachments did not go through, in case their > > air needed > > let me know. > > > > > > So, I've added sun8i-h3-orangepi-plus.dts to the dtb/allwinner Makefile, > so that it gets built with the MODULES_EXTRAS option in the kernel > config file. > > So far so good, the .dtb exists as sun8i-h3-orangepi-plus.dtb and is > installed in /boot/dtb which is placed on the ufs filesystem (2nd > partition of the SD card). > > When I switch on the device, u-boot and ubldr start fine, but ubldr > complains about the missing .dtb - So obviously it's confused by > something. I guess the .dtb is either in the wrong place or it has the > worng name. In either way, I need to tell ubldr what to look for. How do > I do that? ubldr will load the file described by the "fdtfile" u-boot variable (ubldr import the needed uboot variables). The uboot variable is hardcoded in the uboot port patch (https://svnweb.freebsd.org/ports/head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h?revision=418446&view=markup#l44). Alternativelly you can do from ubldr prompt : load -t dtb filename It will search for the file in /boot/dtb (or you can use the fullpath if it's elsewhere) > On my dreamplug I don't use ubldr, but boot kernel.bin directly from > u-boot. There I use the following kernel config options: > > options FDT_DTB_STATIC > makeoptions FDT_DTS_FILE=dreamplug-1001.dts > > which cause the .dtb to be built into the kernel. Would that work with > ubldr as well? (I don't need a separate .dtb, so whatever works is fine > with me.. > > Do you have any hints? > > Thanks, > > Mat > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Aug 10 08:59:37 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45743BB087E for ; Wed, 10 Aug 2016 08:59:37 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 D22F11B30 for ; Wed, 10 Aug 2016 08:59:36 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id o80so88537106wme.1 for ; Wed, 10 Aug 2016 01:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:subject:references:to:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ppCvKi9RNuXy9zXuSNrKocXsAHYeiautKMK4D1eSI/M=; b=udMJGim0e7aKck2tiz7iHzwKxGnpwW4qpvDxz5xiLVu6fo+zGGk9r412YorNs1Qkqn Gf6D3I2YxI9A89vXNZX8hkBMIZkAuKfevjGRMItiodXWxC/yyPb5vQiau58rIvb65Ad8 pF3QehtNjfIYE4RoVglQY6zwZ4UeLx2DFFKs0E62KJDR25YJSq5d5k5MB0WEz0ANQ2jZ R21PDYP+e5TTb1PD6xzI2YUnAwJLsV4qYJxOGYBg+KSLcD7WbgJCpLlx0bfeAoy1mGGt iXxdxUipEuuIQzPNSvwLQbrIvq+iHuvhiyUdMMtrXRcadKgugFYLbOZaLPtTkwON6sve YdhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=ppCvKi9RNuXy9zXuSNrKocXsAHYeiautKMK4D1eSI/M=; b=LNI0SwLk7mz2LhQFX00kKM/jj9IfyMxX6EAYKqiP2LwluvpmL2zmEEXRNIzxCy+hrs K3WZ26ZHndVcBafJAoccd3LooHnKFATrkvfTYt5VIMzf01d95h6Kz3FRC8z6rf+/0zKT LGqX/mEh0AhI5DZt80XusI1HnjgjcqGCDgUTZlqQTU8/80jLf7zZcb/GXgivH5n5lyAU WSHWENhprpDShLe+F/+Azr3FgrSQNsDd/9gWLyJoaXfMVlKrS9brsBQ8bizSgU+HH7Kq C38E4r028oZ3p5qL7TU6ZzOsrPZtXUpnUuZ9ZkZgp6CicO3SkpZrBbag0/49zTIVFe4s yFQA== X-Gm-Message-State: AEkoouvBFUY9djSBPfrtAfgpV+jksU1xNr6C+mYqdj2s6X+XY21PYb09b1l1Vuz9gGxRsg== X-Received: by 10.28.103.6 with SMTP id b6mr2170869wmc.89.1470819574992; Wed, 10 Aug 2016 01:59:34 -0700 (PDT) Received: from ?IPv6:2001:1620:ff0:c51:95b2:935e:144:fb36? ([2001:1620:ff0:c51:95b2:935e:144:fb36]) by smtp.gmail.com with ESMTPSA id uo4sm41920790wjc.36.2016.08.10.01.59.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 01:59:34 -0700 (PDT) Reply-To: mattia.rossi.mailinglists@gmail.com Subject: Re: Allwinner H3 - OrangePi Plus Status References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> To: Daniel Braniss Cc: freebsd-arm , Emmanuel Vadot From: Mattia Rossi Message-ID: Date: Wed, 10 Aug 2016 10:59:33 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 08:59:37 -0000 > you will have to either > compile u-boot for the orange-plus so that it will look for the correct dab file > depending which one you are using, it’s probably looking for orange-pc > (do a grep dtb of the u-boot - which should be in the fat partition) > > or > figure out how to set/create the txt file u-boot is supposed to read, and what is the correct > magic syntax to set the dub file name > > Ok, so u-boot is looking for orangepi-plus-pc.dtb I have sun8i-h3-orangepi-plus.dtb I guess I'll rename the file in /boot and it's done. For the future I have copied the sun8i-h3-orangepi-plus.dts to orangepi-plus-pc.dts and all should be fine (we'll let's see if it boots :-) ) Thanks! Mat From owner-freebsd-arm@freebsd.org Wed Aug 10 09:07:09 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE66CBB0DB2 for ; Wed, 10 Aug 2016 09:07:09 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 4B45311D2 for ; Wed, 10 Aug 2016 09:07:09 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id f65so78141223wmi.0 for ; Wed, 10 Aug 2016 02:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:subject:references:to:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=EgDaNcFsaOSFANt8LSBKUF7grJcT9rV321YEeLc5GPU=; b=qUFwSD77PrSBoGIbybrHfuVVPh/IL/fSLRnsBmYiczk8HB5HurXQ+XpF3jCynM3Q0L 3byk6ybmz1l4t8V/Cok8+/eRSfMk/Xk1V0vc6IOVLbuFANB+TW4C2Kat6T/NCK91cQwD 5FAXhu2aCi4+EKVliN/DABeWFMgfsht87Gr05oCU7ar+Oq1I7bhvpUxFdDkT6MoEpYRk mV2i8ndpUQzB+1C+FQ+5A3dCXEs8ctU9EJN/tux8hrm9npyuiLie5Fs5p09kGZl38Qh2 Or/FGtrQ9QWk3TR6VysdBnVYl+7zrRNAR/bYz5b5gl11iCwRGK4lqSk0LYCtRdQipFna CxAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=EgDaNcFsaOSFANt8LSBKUF7grJcT9rV321YEeLc5GPU=; b=h+5XLsj29Y+UHDsV0ttznBOc+Eu9YCldhT5f4/x4ypjuEsq73xJ3sXHKVVeH8EF/m7 uxVJROahmFampjDNMU1mkt453gh81+SC14ICRPuliGTKfo5lSXnqlVp4NrcIdF5SxyF2 7TgfATbbl7XZyLMXyT2GA7Nik5MV/Co/FYnwYfSgG3P7AwLgFwWJNT/fkkj5TUGynrJk IUrIC2C88c30hyJWsJvnPxI7voDxI5TQRO1oii7qvzjJxNXcAcqtt9t8P82kYtmTYuT5 lO4SEnYocK/NtuB/q2Rxio1/N1LqbBSlakqolufsnp/eoU7Rb4hOJjeDXkl5oDkXN3BL x9yQ== X-Gm-Message-State: AEkoouuEi+OugL7TKmeV8kM0GvhRj/s3fZ4WY2wZUYVriv0xTMoZmArgPwaBntL6Lu726Q== X-Received: by 10.194.120.129 with SMTP id lc1mr2820846wjb.131.1470820026480; Wed, 10 Aug 2016 02:07:06 -0700 (PDT) Received: from ?IPv6:2001:1620:ff0:c51:95b2:935e:144:fb36? ([2001:1620:ff0:c51:95b2:935e:144:fb36]) by smtp.gmail.com with ESMTPSA id al10sm41996208wjc.12.2016.08.10.02.07.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 02:07:06 -0700 (PDT) Reply-To: mattia.rossi.mailinglists@gmail.com Subject: Re: Allwinner H3 - OrangePi Plus Status References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org From: Mattia Rossi Message-ID: <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> Date: Wed, 10 Aug 2016 11:07:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 09:07:09 -0000 > ubldr will load the file described by the "fdtfile" u-boot variable (ubldr import the needed uboot variables). > The uboot variable is hardcoded in the uboot port patch (https://svnweb.freebsd.org/ports/head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h?revision=418446&view=markup#l44). > Alternativelly you can do from ubldr prompt : > load -t dtb filename > It will search for the file in /boot/dtb (or you can use the fullpath if it's elsewhere) > It's weird that such a thing is hardcoded.. Although it seems that it's set through CONFIG_DEFAULT_DEVICE_TREE, so I guess it can be controlled through a config file (Makefile?) As written in the previous mail, it's coded to orangepi-plus-pc.dtb for now, so I'm not going to search for another solution. Thanks for the loader hint, i couldn't figure out the correct command load -t dtb "filename" on the ubldr loader> prompt I'll keep that in mind for emergencies :-) Thanks, Mat From owner-freebsd-arm@freebsd.org Wed Aug 10 09:56:21 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD492BB2E6C for ; Wed, 10 Aug 2016 09:56:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A244115E for ; Wed, 10 Aug 2016 09:56:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id b042873a; Wed, 10 Aug 2016 11:56:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=qEEwcUw+gSGCguJBGjjXejH+UGg=; b=VOIJcrSzzv4tegXJENWJAm3kOiy8 92Rw+5rC3H+pf9MWh65jnMlVjiZpH6zX0yJ0UhlWOgYsf8XUHhFOjqvPKO5mBgj3 9GnNFd+P8JkS4Z8Xz8Veawu3msEJmQBQIkhJcVBOeNPm9M+5RAo5uPvm1A8d65k7 cmiXbmJtWKmwGqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=S6JJlrdZio32yWaqrKfELNnHosdKbsefgubppUtk6C6qPmmtq4qOW+Pr JPU2LiS1ou9bLeu5EtbwwaZuPFFstpDMApfWLcrZZEMvbpcHLBAgWIe3qiUFfrXh 6nSd0BNgw/KTxQ/GostcKU00bBylrGXV04/S258nW7l5k1FKrvU= Received: from atlantis.staff.bocal.org (163.5.250.21 [163.5.250.21]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 04dd1a9a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 10 Aug 2016 11:56:17 +0200 (CEST) Date: Wed, 10 Aug 2016 11:56:17 +0200 From: Emmanuel Vadot To: mattia.rossi.mailinglists@gmail.com Cc: freebsd-arm@freebsd.org Subject: Re: Allwinner H3 - OrangePi Plus Status Message-Id: <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> In-Reply-To: <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 09:56:22 -0000 On Wed, 10 Aug 2016 11:07:04 +0200 Mattia Rossi wrote: > > > ubldr will load the file described by the "fdtfile" u-boot variable (ubldr import the needed uboot variables). > > The uboot variable is hardcoded in the uboot port patch (https://svnweb.freebsd.org/ports/head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h?revision=418446&view=markup#l44). > > Alternativelly you can do from ubldr prompt : > > load -t dtb filename > > It will search for the file in /boot/dtb (or you can use the fullpath if it's elsewhere) > > > It's weird that such a thing is hardcoded.. Although it seems that it's > set through CONFIG_DEFAULT_DEVICE_TREE, so I guess it can be controlled > through a config file (Makefile?) Not weird at all since uboot is always compiled for one particular board. The CONFIG_DEFAULT_DEVICE_TREE is set in the uboot config file (configs/boardname) but it is currently not used as we override the environ in the board include file. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Aug 10 11:06:54 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04332BB445A for ; Wed, 10 Aug 2016 11:06:54 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 8721919FA for ; Wed, 10 Aug 2016 11:06:53 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id o80so8830904wme.0 for ; Wed, 10 Aug 2016 04:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:subject:references:to:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Vo9WEeh0x7hl/CUeipPZuPPDyTHDtCGxDCe2WlIDYJA=; b=NXgSCFjkHNA8TTsckzz5+6xVHhNVE0KoZo39ZF6fEhTpHPwTLuVCEUNnA85ff9wvRG mDXFmjFZKgBxpn8ySUxX+56qC4wCPyWRleHhTNffPBP9/2C/CeCthv+si+J4J77apWod +FUfE7GJykym5Hqtmj68M/D6lIs6iMRok+tpkNbFBQl1X23JcfPeFYM6W9t9F+hPaC4V bPo9T0ETT23xwFyrlUvmzS7fN0EcZSGLGQjkRRguPtXHUcO6Y9qJ9HGMhkv+Fj3Oe8ef mgCmvMpDaAXDpX7qOlYZ5R0zoTZMVxVL6YVLVrf9X3UfxEHVYIpTBrc3bPzQw9IZ03x0 6mWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=Vo9WEeh0x7hl/CUeipPZuPPDyTHDtCGxDCe2WlIDYJA=; b=NZJH+GUUCSmAUXvmNaoRcQi0j0wPSkzBrmpQGBMq77ReL5Znix6v9GELzBQtcINO1L ckmfBKsM3evVXml/I0URjuT0YxXH54sL8svB2+RWX2J80MUbCUVKn8PKFv3IpjpCdgE3 tBXk29GDIQOg7KvsGWplKf1e2z98lY5Nm8guKsc1KmlzIgkLvRaSCuhkRH2ITvzm4WAb Yo+EoYTDVfXg9EOKspfA3yH+a4ttwXbkh6V8pV7xPpJGt72iUcOfRsL2LEbBMA9Ztvao M8d8T1nuM4wX9XCDOAFh1U8A37RdeFlQ85CI1xMvjqLvYAENg5ioTaKFR6uEUY2vH4GT 3AAQ== X-Gm-Message-State: AEkoouuWh4fl/K8diWt6b9s45BktBPleQDi39uXqvxlzGcXFaUTa+Cj1Vl4SO1gCuzuJjQ== X-Received: by 10.28.169.203 with SMTP id s194mr2693632wme.95.1470827211093; Wed, 10 Aug 2016 04:06:51 -0700 (PDT) Received: from ?IPv6:2001:1620:ff0:c51:95b2:935e:144:fb36? ([2001:1620:ff0:c51:95b2:935e:144:fb36]) by smtp.gmail.com with ESMTPSA id u72sm7845313wmf.5.2016.08.10.04.06.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 04:06:50 -0700 (PDT) Reply-To: mattia.rossi.mailinglists@gmail.com Subject: Re: Allwinner H3 - OrangePi Plus Status References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org From: Mattia Rossi Message-ID: Date: Wed, 10 Aug 2016 13:06:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 11:06:54 -0000 Am 10.08.2016 um 11:56 schrieb Emmanuel Vadot: > On Wed, 10 Aug 2016 11:07:04 +0200 > Mattia Rossi wrote: > >>> ubldr will load the file described by the "fdtfile" u-boot variable (ubldr import the needed uboot variables). >>> The uboot variable is hardcoded in the uboot port patch (https://svnweb.freebsd.org/ports/head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h?revision=418446&view=markup#l44). >>> Alternativelly you can do from ubldr prompt : >>> load -t dtb filename >>> It will search for the file in /boot/dtb (or you can use the fullpath if it's elsewhere) >>> >> It's weird that such a thing is hardcoded.. Although it seems that it's >> set through CONFIG_DEFAULT_DEVICE_TREE, so I guess it can be controlled >> through a config file (Makefile?) > Not weird at all since uboot is always compiled for one particular board. > The CONFIG_DEFAULT_DEVICE_TREE is set in the uboot config file (configs/boardname) but it is currently not used as we override the environ in the board include file. > Okay, so just to get the whole picture: If I want everything set up for an OrangePi Plus 2 I need the following puzzle pieces A u-boot port which points to an orangepi plus 2 dtb An orangepi plus 2 dts/dtb (which might differ from the plus dtb, I don't know yet, there are no real specs available) An orangepi plus 2 kernel config (which like the .dts might differ from the standard allwinner config) And of course kernel support for all the (as of yet unknown) devices of the board. I'm going to work towards that, depending on how much information I can gather about the board and depending on how much it differs from the plus version. For now I'll see if the plus version of everything works :-) - wish me luck ;-) Cheers, Mat From owner-freebsd-arm@freebsd.org Wed Aug 10 12:19:24 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92C60BB5D60 for ; Wed, 10 Aug 2016 12:19:24 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EDC9C1356 for ; Wed, 10 Aug 2016 12:19:23 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id a49de5f8; Wed, 10 Aug 2016 14:19:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=HHIiiKOgAxq4fiEPDRpGTLtktvM=; b=B6HL6QnyDAzB+IfDyq9xF+Ykn+3c JCAmjyff1Fjg4D3Df5m+bxejMGfAa2zFcwwg9YCUhhW8hXyf2DcwufhrGneGNLQW fFWX+zIIywO2Jkfgwi4flSQyF6peuveDGH5XbYF5KTYl7JBew2mJUrVAYY2NM3E7 uSF/Yo+ECa4wO0Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=sPgiyGy0Jg/8Hz/m2Ner5u5Ve8gDzK/yVHZEWIhEJIFSLPPn+wCtMCrJ yu1SOKdpZ066+AhxfCo11nIYqrxx4Y0Mf3VcoKKEXR92ksYSca054nAIu3hwsKZ+ oVjx4FrjDBzgzUt9TkBEDdaC2jJh8l2D+E4ZBVyTpC/CjP/iwys= Received: from atlantis.staff.bocal.org (163.5.250.21 [163.5.250.21]) by mail.blih.net (OpenSMTPD) with ESMTPSA id a7e6d530 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 10 Aug 2016 14:19:20 +0200 (CEST) Date: Wed, 10 Aug 2016 14:19:20 +0200 From: Emmanuel Vadot To: mattia.rossi.mailinglists@gmail.com Cc: freebsd-arm@freebsd.org Subject: Re: Allwinner H3 - OrangePi Plus Status Message-Id: <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> In-Reply-To: References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 12:19:24 -0000 On Wed, 10 Aug 2016 13:06:48 +0200 Mattia Rossi wrote: > > > Am 10.08.2016 um 11:56 schrieb Emmanuel Vadot: > > On Wed, 10 Aug 2016 11:07:04 +0200 > > Mattia Rossi wrote: > > > >>> ubldr will load the file described by the "fdtfile" u-boot variable (ubldr import the needed uboot variables). > >>> The uboot variable is hardcoded in the uboot port patch (https://svnweb.freebsd.org/ports/head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h?revision=418446&view=markup#l44). > >>> Alternativelly you can do from ubldr prompt : > >>> load -t dtb filename > >>> It will search for the file in /boot/dtb (or you can use the fullpath if it's elsewhere) > >>> > >> It's weird that such a thing is hardcoded.. Although it seems that it's > >> set through CONFIG_DEFAULT_DEVICE_TREE, so I guess it can be controlled > >> through a config file (Makefile?) > > Not weird at all since uboot is always compiled for one particular board. > > The CONFIG_DEFAULT_DEVICE_TREE is set in the uboot config file (configs/boardname) but it is currently not used as we override the environ in the board include file. > > > Okay, so just to get the whole picture: > If I want everything set up for an OrangePi Plus 2 I need the following > puzzle pieces > > A u-boot port which points to an orangepi plus 2 dtb Yes, just copying the orangepi-one port and modify it should be ok (if u-boot 2016.07 have a a config for this board) > An orangepi plus 2 dts/dtb (which might differ from the plus dtb, I > don't know yet, there are no real specs available) Yes, as said earlier in this thread you will need to wait for the linux 4.7 dts import for this. > An orangepi plus 2 kernel config (which like the .dts might differ from > the standard allwinner config) No, the ALLWINNER kernel config is what you should use. > And of course kernel support for all the (as of yet unknown) devices of > the board. Yes :) > I'm going to work towards that, depending on how much information I can > gather about the board and depending on how much it differs from the > plus version. > > For now I'll see if the plus version of everything works :-) - wish me > luck ;-) > > Cheers, > > Mat -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Aug 10 15:31:07 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A78ABBB5680 for ; Wed, 10 Aug 2016 15:31:07 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 35BB815F1 for ; Wed, 10 Aug 2016 15:31:07 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id i138so10242431wmf.3 for ; Wed, 10 Aug 2016 08:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:subject:references:to:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=/WtlI4GJLUslXJuiNWt8boWfcO767pR0tqGnSdIm5lo=; b=0lU4LZMu1ZHJclXKqRVAe2T/mYvBHdqJVNFp2pCZ7IXMJgxjvJLTIiOQJqzOlBGkl1 is/ssR/f1VVuKeXxH1i2OMiXkHR3ApRZKDZZz3oWvQdPlFoYAtWs+JmVNmnBN7f7eH+K ueS1pCKE8pz6v02GI42J7mKTE2rM/JIkhae3njQ6ZdybI4ZK0SRo0b50cg9MSj0Di0wG MO2UxxSWWY2OFuiSekos3GgTS/JRAIJ3s/XL4oWKKa9N1paTZHcZDQRVOZWmWRHHWHvm AXW85w7OUrG7/DOJm3c6LQgyUsFlazyBH1WrG2Li54AfFc9AS1dX5V2Z4aNL9Xchgicg vZ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:reply-to:subject:references:to:cc :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=/WtlI4GJLUslXJuiNWt8boWfcO767pR0tqGnSdIm5lo=; b=dQ6PoI24jzWpgkf6Aj95dcRqPxqB/9nq57uVRwZ/+1Qc6uNFHZdTKBroLRkl8MVuQ1 jfXGjsJJcQcRJ7/b3OB2FnUhMPamztZYVnkfJRTT22flAXjUYWTOUQCOXjQiGEOoEG9X cFVT+N7l38Xu2//pSeMmvoiJhvik/qZsgFsK+dRnK7uuvPZZ4Kip0onxjKVKMHM/XCoE FKaPjGP3apLZpmGyOZxwfQOUKvMluatvpeJFcxUNF48JNSQ0aVcCCM9fBhDmqykgagO1 DiaQlzcgO0jFWULmFgXy7O8ixVpAY++mYpwYTsnZLt0k4YEHOcaJ0CdNtKdVCvEduhml MXfA== X-Gm-Message-State: AEkoouuAFao/HqGh1EsWJ0Nb8U3VQDq7Ms4C08199OU73erCBYgNyN0cBWK6ixVtNWqrjw== X-Received: by 10.28.65.84 with SMTP id o81mr3753770wma.83.1470843064877; Wed, 10 Aug 2016 08:31:04 -0700 (PDT) Received: from ?IPv6:2a02:aa16:1103:d300:223:18ff:fe02:54fb? ([2a02:aa16:1103:d300:223:18ff:fe02:54fb]) by smtp.googlemail.com with ESMTPSA id b203sm8901341wmh.20.2016.08.10.08.31.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 08:31:03 -0700 (PDT) From: Mattia Rossi X-Google-Original-From: Mattia Rossi Reply-To: mattia.rossi.mate@gmail.com Subject: Re: Allwinner H3 - OrangePi Plus Status References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org Message-ID: Date: Wed, 10 Aug 2016 17:31:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 15:31:07 -0000 >> For now I'll see if the plus version of everything works :-) - wish me >> luck ;-) >> No luck :( There's an issue with the MMC device (not the card), so rootfs is not available. Must be a kernel thing though I think as ubldr manages to read the .dtb file from the ufs on the SD card...But maybe it's a dts/dtb thing. Any hints? U-Boot 2016.03 (Aug 04 2016 - 14:40:02 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I) I2C: ready DRAM: 2 GiB WARNING: Caches not enabled MMC: SUNXI SD/MMC: 0 reading u-boot.env ** Unable to read "u-boot.env" from mmc0:1 ** Using default environment In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: USB EHCI 1.00 USB1: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 Booting from: mmc 0 ubldr.bin reading ubldr.bin 224956 bytes read in 56 ms (3.8 MiB/s) ## No elf image at address 0x42000000 ## Starting application at 0x42000000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0xbbf4a610 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@freebsd10, Sun Aug 7 21:04:08 CEST 2016) DRAM: 2048MB MMC Device 1 not found a10_mmc0: mem 0x1c0f000-0x1c0ffff on simplebus0 mmc0: on a10_mmc0 gpioc0: on gpio0 aw_wdog0: mem 0x1c20ca0-0x1c20cbf on simplebus0 ��uart0: mem 0x1c28000-0x1c283ff on simplebus0 uart0: console (961538,n,8,1) cryptosoft0: Timecounters tick every 1.000 msec a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: controller timeout a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: error rint: 0x00000100 a10_mmc0: error rint: 0x00000100 a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: error rint: 0x00000100 a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: error rint: 0x00000100 a10_mmc0: error rint: 0x00000100 a10_mmc0: error rint: 0x00000100 a10_mmc0: error rint: 0x00000100 a10_mmc0: error rint: 0x00000100 a10_mmc0: timeout updating clock a10_mmc0: controller timeout a10_mmc0: timeout updating clock mmc0: No compatible cards found on bus a10_mmc0: timeout updating clock Release APs WARNING: WITNESS option enabled, expect reduced performance. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> From owner-freebsd-arm@freebsd.org Thu Aug 11 03:18:08 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DCC9BB5A00 for ; Thu, 11 Aug 2016 03:18:08 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CD061B82 for ; Thu, 11 Aug 2016 03:18:06 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 4a447fc9; Thu, 11 Aug 2016 05:18:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=ZR+ViDDtea9Cclq35A/yH3V3Ojc=; b=XOcMFFiDN/9T+YEts7M2Wy3C0Wdw icr7LXxoUGp3rmamXw8mjaD7l3IiKUB3CuyHkMc0P0vd+noowRpU5Tk0OguWhksz 1quiQkfndySYLKirMVY/L6EfKBEDbWBkjrjrDxO0ICdHaRUNZKWG8XQzoiL+nBjD v/MLo3TxjH62qa0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=lPBaqRF2c/3FJ4X9MwqpVt70w6BSvFNfadY5hIh35kvZ+WcUY3I5p76g z1iboUlgRonZvM9t2DkHsZ6v3/pR1T++wH/vSB/uZNJI+Ng+VWhHsCXMVPTrBWKd uiFnX0wZu5sQBgZII7VG9B0HozwuCtlne1kjpZTzBVkUeQF0LfA= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 1f3e6758 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 11 Aug 2016 05:18:04 +0200 (CEST) Date: Thu, 11 Aug 2016 05:18:01 +0200 From: Emmanuel Vadot To: mattia.rossi.mate@gmail.com Cc: freebsd-arm@freebsd.org Subject: Re: Allwinner H3 - OrangePi Plus Status Message-Id: <20160811051801.3a8e5c1c67e978bc9e9b1531@bidouilliste.com> In-Reply-To: References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 03:18:08 -0000 On Wed, 10 Aug 2016 17:31:03 +0200 Mattia Rossi wrote: > > >> For now I'll see if the plus version of everything works :-) - wish me > >> luck ;-) > >> > No luck :( > > There's an issue with the MMC device (not the card), so rootfs is not > available. > Must be a kernel thing though I think as ubldr manages to read the .dtb > file from the ufs on the SD card...But maybe it's a dts/dtb thing. Any > hints? > Try settings the mmc pins with pullups in the dts (like this : https://github.com/evadot/freebsd/blob/orangepi-one/sys/boot/fdt/dts/arm/orangepi-one.dts#L31) I still don't know why we need to do this and not linux ... -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Aug 11 03:38:22 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9154EBB5EE2 for ; Thu, 11 Aug 2016 03:38:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x243.google.com (mail-it0-x243.google.com [IPv6:2607:f8b0:4001:c0b::243]) (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 61BD916BE for ; Thu, 11 Aug 2016 03:38:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x243.google.com with SMTP id f6so246327ith.2 for ; Wed, 10 Aug 2016 20:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RtkttFZn/vN6rp45qliEsMfGQM+dZEHrrikht3S48xI=; b=tWlljoDFpTsaFv9GnnaHnT/foDEsmBnXzacCQbFr43bjBgPqcuSC85pc6HxepxVTtt lSCVHu35ramOlMdB/U3tFJwsfyFLopSs3q7WPc1+Qnma88/irOAplsAQGluyLU9h3NtG mGPWxDxYcjjb85eowHJGxKgEN8/zL7Wfg71Cq2a4m/HSfrFQs6psF3WHfEy4XssMCHUG QoQ4kC0onEI/5fsJTVUXQNRa/y7zDcIGGvpxT6T6cXe20ZxfP6OL8QMmoo8ijfafkSWI zC+ErCs2U/roAZfHWpMUrme8mQA9qwGRhRFJcOCu5eTy+4lEBNROciu1TXX4WwgDHLVo H9yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RtkttFZn/vN6rp45qliEsMfGQM+dZEHrrikht3S48xI=; b=frQLowfod4UF4J7XDoW//Aumq+lOQkvNfpfTv3ZUn3guXvMoWBMlE6FaUN8qd6T6I0 VAnaLHhJojX3HtIM8hGXy8tI8ON8GLZ01R/5/708n+JkJf4aUTKc4Mh+7B0zLZNqmpME KuP/xOQdasWWmA6m8mBLeZ383WfHWczxpbizCxQYzi47Hophz+QEbxQFzDKRc3+dVCZ1 8gyICahg/vJJa9nukxJGgunV5VMnOzx4xtLzDZFoER6K3kWKGSnMBTlTRWexS7QHbT36 8yM0IwmDQU0AW8uPqso89QcEERrZ8oLjC/CFedMFn/ClfEm4PpBp0qp91ywK31Y9W+s2 C1mA== X-Gm-Message-State: AEkooutqMu3yhYPGUCzWIr2zj5qdEDvdZ2MLdMdUL+SUqJY9U0y8oDtmhOBAAPA+1dTRoG4F2ni/TheOd13RQQ== X-Received: by 10.36.208.143 with SMTP id m137mr7525661itg.32.1470886701348; Wed, 10 Aug 2016 20:38:21 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.36.65.105 with HTTP; Wed, 10 Aug 2016 20:38:20 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <20160811051801.3a8e5c1c67e978bc9e9b1531@bidouilliste.com> References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> <20160811051801.3a8e5c1c67e978bc9e9b1531@bidouilliste.com> From: Warner Losh Date: Wed, 10 Aug 2016 21:38:20 -0600 X-Google-Sender-Auth: IfUFvhdX82fo6T4r1jUGB8983AE Message-ID: Subject: Re: Allwinner H3 - OrangePi Plus Status To: Emmanuel Vadot Cc: mattia.rossi.mate@gmail.com, "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 03:38:22 -0000 On Wed, Aug 10, 2016 at 9:18 PM, Emmanuel Vadot wrote: > On Wed, 10 Aug 2016 17:31:03 +0200 > Mattia Rossi wrote: > >> >> >> For now I'll see if the plus version of everything works :-) - wish me >> >> luck ;-) >> >> >> No luck :( >> >> There's an issue with the MMC device (not the card), so rootfs is not >> available. >> Must be a kernel thing though I think as ubldr manages to read the .dtb >> file from the ufs on the SD card...But maybe it's a dts/dtb thing. Any >> hints? >> > > Try settings the mmc pins with pullups in the dts (like this : > https://github.com/evadot/freebsd/blob/orangepi-one/sys/boot/fdt/dts/arm/orangepi-one.dts#L31) > > I still don't know why we need to do this and not linux ... pinmux bugs, at a guess? Warner From owner-freebsd-arm@freebsd.org Thu Aug 11 03:48:04 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AEC5BB415C for ; Thu, 11 Aug 2016 03:48:04 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 582061A51 for ; Thu, 11 Aug 2016 03:48:03 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id b1836101; Thu, 11 Aug 2016 05:48:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=ynHZX6ymUoTnqstFRkoJDhguRYg=; b=X9GLaz3LBH3NwDc6UFXwWz8M3JNN VY5dwRNhi04PM7NNChh+EQkYiK3MttUrdg8DTFfJG58SBNPhjIkF5VQ4NOflqa0o 3eS6dnW5BmoRNR+bHUr5pxVVBmDkj5Jh8lTU3wW4WEEiUOr84tNjx4KrwksnlVAE zUbBgaBbw2pyAtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=eka6LV89n5aT7+6eQzU6rZUM+BBHLWq5YEya643Dv4MRSFHowY1JpkD1 OoUeVE2r4DOyoM1664aawhKTHjqDEbP1jdS9mQfl5QnJ+WWTAmX0T5/CHg+t2Z5E 4wWR4sEodOFa6F9krsOl5uxFUISyxrk2D9wHoWWGKBvM2XLXAt0= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id def9676b TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 11 Aug 2016 05:48:00 +0200 (CEST) Date: Thu, 11 Aug 2016 05:47:59 +0200 From: Emmanuel Vadot To: Warner Losh Cc: mattia.rossi.mate@gmail.com, "freebsd-arm@freebsd.org" Subject: Re: Allwinner H3 - OrangePi Plus Status Message-Id: <20160811054759.b94a47245b77ba780288352d@bidouilliste.com> In-Reply-To: References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> <20160811051801.3a8e5c1c67e978bc9e9b1531@bidouilliste.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 03:48:04 -0000 On Wed, 10 Aug 2016 21:38:20 -0600 Warner Losh wrote: > On Wed, Aug 10, 2016 at 9:18 PM, Emmanuel Vadot wrote: > > On Wed, 10 Aug 2016 17:31:03 +0200 > > Mattia Rossi wrote: > > > >> > >> >> For now I'll see if the plus version of everything works :-) - wish me > >> >> luck ;-) > >> >> > >> No luck :( > >> > >> There's an issue with the MMC device (not the card), so rootfs is not > >> available. > >> Must be a kernel thing though I think as ubldr manages to read the .dtb > >> file from the ufs on the SD card...But maybe it's a dts/dtb thing. Any > >> hints? > >> > > > > Try settings the mmc pins with pullups in the dts (like this : > > https://github.com/evadot/freebsd/blob/orangepi-one/sys/boot/fdt/dts/arm/orangepi-one.dts#L31) > > > > I still don't know why we need to do this and not linux ... > > pinmux bugs, at a guess? > > Warner Yeah probably, I did test to not change function/pud etc if it was already setup as expected (and I was sure I did commit this...) but no luck. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Aug 11 15:54:03 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02B98BB6493 for ; Thu, 11 Aug 2016 15:54:03 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 83F9F16EC for ; Thu, 11 Aug 2016 15:54:02 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id i138so27807wmf.3 for ; Thu, 11 Aug 2016 08:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:references:to:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=JY08Dw/CUGNDIbs8kWGXhtyC9GVAbDPNK5OxPYXTaWY=; b=x9xlM12bCzL7Bg7PpdYnyUybQYnapoZcpIWhUU1UPyIFPxcHWQx0LyZRwd+bX1iJfQ 6TlEilJ63eUTWLLlVlgS9kT53imfjgtZNDKMKI59sZdGA5UfXj+ABlwyZaWE5hnIFoTF BCNmTMMFfZU+1w8OrAtQyzU6vi3/l9/3cec11IwCUl6SVj3D5LyH1uTrDSsSFaqbgptt A/R+WlMcNgOK+TcD79u8wc38lA2uoYcpm1yTPTtdQs3eR1mPRyGcAmraxThn8QlWPF7/ TvZb8yMDxwCOjesYm+ib3RuFMr419tIRRWr7CANx/EZxYsFBunJ08kA+S+gn97JKy4ro LLoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:references:to:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=JY08Dw/CUGNDIbs8kWGXhtyC9GVAbDPNK5OxPYXTaWY=; b=DRSpM9GphRKyK+rQflJ5enu2z3fDV22qHhFHkRONaCxxC1E6YP3MNOv9LUh6BwpxQz i5km+gr8puEP8x0N+MY6QM86+b3v66282eSZkiOpJGIkvFnSYRFsphMZO8kP+z1J+6DO OXZyldwfm2lhwY+jIPqmcHLhFQREG+a5VXNHoJytv4zK78j4FWOaZy3xrbKIUVk2rY2C OejIcQiyuHZCxE98cI7ZfJYwdImPVRCBE9gLd7aXyTsW2GepkXLbwkYU5pXdaOtwIZWd V7qC3v19RWt24HGZQmPNp44T3V1yvOyv8XZSgaKtBtxsE82vz+8MBv9W7FOSVBOoW3XU 49ZA== X-Gm-Message-State: AEkooutAGfWuTiboQxPLfxu9q0tEKhQo5m22BDY//NuhQLENxZll+eb4t01shlio96VGgg== X-Received: by 10.28.128.15 with SMTP id b15mr10445395wmd.100.1470930840804; Thu, 11 Aug 2016 08:54:00 -0700 (PDT) Received: from ?IPv6:2a02:aa16:1103:d300:223:18ff:fe02:54fb? ([2a02:aa16:1103:d300:223:18ff:fe02:54fb]) by smtp.googlemail.com with ESMTPSA id k186sm698413wmd.13.2016.08.11.08.53.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 08:53:59 -0700 (PDT) From: Mattia Rossi X-Google-Original-From: Mattia Rossi Subject: Re: Allwinner H3 - OrangePi Plus Status References: <64ad8272-a97f-e51f-19f1-d37e12c4e4bf@gmail.com> <868ae805-bf93-50f9-e22c-1d2ea13f8555@gmail.com> <8FDE95E3-C66E-40D5-8133-67FD987BE729@cs.huji.ac.il> <3454388a-02bc-8dbe-4f8f-c33a726e406c@gmail.com> <20160810103501.0aef31d4c27cf08b6e54d20f@bidouilliste.com> <141a4b87-1914-a9f5-c15a-3173f6d4659a@gmail.com> <20160810115617.aa7ad5c9ae538660dc5cc0d8@bidouilliste.com> <20160810141920.d2994dee3c277f7b89451360@bidouilliste.com> <20160811051801.3a8e5c1c67e978bc9e9b1531@bidouilliste.com> To: Emmanuel Vadot , danny@cs.huji.ac.il Cc: freebsd-arm@freebsd.org Message-ID: Date: Thu, 11 Aug 2016 17:53:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160811051801.3a8e5c1c67e978bc9e9b1531@bidouilliste.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 15:54:03 -0000 >> No luck :( >> >> There's an issue with the MMC device (not the card), so rootfs is not >> available. >> Must be a kernel thing though I think as ubldr manages to read the .dtb >> file from the ufs on the SD card...But maybe it's a dts/dtb thing. Any >> hints? >> > Try settings the mmc pins with pullups in the dts (like this : > https://github.com/evadot/freebsd/blob/orangepi-one/sys/boot/fdt/dts/arm/orangepi-one.dts#L31) > > I still don't know why we need to do this and not linux ... > Tried to set the mmc pins, but it didn't make any difference ;( I tried Danny's prebuilt dtb and that works. Well I'm there now. Let's hack around a bit and I'll give the .dts a go again next week. Cheers, Mat From owner-freebsd-arm@freebsd.org Fri Aug 12 15:31:11 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FE3ABB7A19; Fri, 12 Aug 2016 15:31:11 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 232971C04; Fri, 12 Aug 2016 15:31:10 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net (75-101-50-44.static.sonic.net [75.101.50.44]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u7CFV6Nl005721 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 12 Aug 2016 08:31:07 -0700 Subject: Re: INTRNG (Was: svn commit: r301453....) To: Michal Meloun References: <201606051620.u55GKD5S066398@repo.freebsd.org> <57976867.6080705@FreeBSD.org> <5798E104.5020104@FreeBSD.org> <579A25BB.8070206@FreeBSD.org> <30790e40-58b4-3371-c0f0-b7545571f389@freebsd.org> <579AFFC5.1040005@FreeBSD.org> <579CD355.1050203@FreeBSD.org> <460fa0b3-ddb7-6247-2412-3d75a589d5e7@freebsd.org> <579CF7C8.1040302@FreeBSD.org> <24107713-6d50-c21d-ccf1-7dbdb36cc484@freebsd.org> <579E1BE2.7020500@FreeBSD.org> <7f053bb8-ab03-e46c-1c72-d757348e4e54@freebsd.org> <57A09F34.4050400@FreeBSD.org> <57A30B72.7070809@FreeBSD.org> <1946069a-d0f9-2c19-80a5-0b490682574b@freebsd.org> <57A5F480.20309@FreeBSD.org> Cc: "freebsd-arm@freebsd.org" , Svatopluk Kraus , "freebsd-arch@freebsd.org" From: Nathan Whitehorn Message-ID: Date: Fri, 12 Aug 2016 08:31:06 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <57A5F480.20309@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVaiUs6D2wWlKVZarfwxumtAQSSDEBOYkS4fFmVN/vA6tcLS+CRI9452pkGSaZ5Mt9mYpZXCtD1hIaw4BfJro9b7pu6rCAStT+Y= X-Sonic-ID: C;GOGTyaFg5hGwvqDx2xNB0g== M;zOjhyaFg5hGwvqDx2xNB0g== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2016 15:31:11 -0000 On 08/06/16 07:30, Michal Meloun wrote: [snip] > I have prepared working patch (it's not full, but it works on Tegra), > https://github.com/strejda/tegra/commit/2cf72e248877fb917c4fc618bcb6e46b7c1058a4 > can you, please, take look on it? > > Also, please, take in account: > - we have, currently, 20+ interrupt controllers converted to new INTRNG > PIC API. > - universal format of interrupt resources is generic part of this API. > - I'm not ready to commit any PIC API change together with above patch - > i hope that this is understandable. One other non-urgent question about PCI code: There's a new function ofw_bus_msimap() that does not seem to implement any particular part of any real binding standard. There's a .txt file in the device-tree repo, but many (most?, all?) PCI bridges don't seem to implement MSI that way. This is out-of-scope for the immediate discussion, but it would be good to fix later. If there are indeed only a handful of bridges that do MSI that way, it should probably be moved into the PCI bridge drivers that do use it. Similarly, dev/pci/pci_host_generic.c isn't actually generic and is instead a driver for some particular ARM bridges. It should be moved at some point under sys/arm. Most of the code in it also duplicates dev/ofw/ofwpci.c (but with some added bugs in handling the "ranges" property). > also, > "we must be able to add new interrupt type as simple as possible" rule > is very important for me. Adding new table (with implementation), one > bus method and one PIC method for each new type is not *simple*. > > In any case, can we concentrate to above patch first? I'm ready to > finish it in next few hours, then put it to phabricator for real review. > Have you had a chance to finish this? Is there a way I can help? I think non-MSI PCI interrupts are currently broken on ARM and it would be great to get that fixed before 11.0. -Nathan From owner-freebsd-arm@freebsd.org Sat Aug 13 19:54:51 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE24FBB971F for ; Sat, 13 Aug 2016 19:54:51 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from secure.socket.ch (secure.socket.ch [91.199.228.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB3531DE0 for ; Sat, 13 Aug 2016 19:54:51 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from 46-253-187-21.dynamic.monzoon.net ([46.253.187.21] helo=fluff-wlan.fsck.ch) by secure.socket.ch with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1bYf13-000HTK-SP for freebsd-arm@freebsd.org; Sat, 13 Aug 2016 21:54:47 +0200 Message-ID: <57AF7B06.7000806@fsck.ch> Date: Sat, 13 Aug 2016 21:54:46 +0200 From: Toby User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Updating the RPI2 firmware Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Spam-Report: Spam detection software, running on the system "secure.socket.ch", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hi I initially installed my RPI2 model B from an iso image found here: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/ (that subdir does not exist anymore after RELENG_11 has been tagged) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-SA-Exim-Connect-IP: 46.253.187.21 X-SA-Exim-Mail-From: misc.lists@fsck.ch X-SA-Exim-Scanned: No (on secure.socket.ch); SAEximRunCond expanded to false X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 19:54:52 -0000 Hi I initially installed my RPI2 model B from an iso image found here: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/ (that subdir does not exist anymore after RELENG_11 has been tagged) Since then, I updated a few times by building world directly on the pi. I however never updated the firmware files (those residing on the msdos slice). Should I update these as well? If so, where do I find the correct versions and how do I update? I did try overwrite with the files from the latest image a while ago, but that didn't work, my system didn't boot anymore. Thanks, Toby From owner-freebsd-arm@freebsd.org Sat Aug 13 20:16:49 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05D13BB8247 for ; Sat, 13 Aug 2016 20:16:49 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from secure.socket.ch (secure.socket.ch [91.199.228.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B729F12AE for ; Sat, 13 Aug 2016 20:16:48 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from 46-253-187-21.dynamic.monzoon.net ([46.253.187.21] helo=fluff-wlan.fsck.ch) by secure.socket.ch with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1bYet3-000HRh-ID for freebsd-arm@freebsd.org; Sat, 13 Aug 2016 21:46:35 +0200 Message-ID: <57AF7917.5030407@fsck.ch> Date: Sat, 13 Aug 2016 21:46:31 +0200 From: Toby User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Updating RPI2 from 11-CURRENT to RELENG_11 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Spam-Report: Spam detection software, running on the system "secure.socket.ch", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hi Now that RELENG_11 has been tagged, I want to update my RPI2 Model B, which currently is running FreeBSD 11.0-CURRENT #0 r297561: Wed Apr 6 07:28:56 CEST 2016 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-SA-Exim-Connect-IP: 46.253.187.21 X-SA-Exim-Mail-From: misc.lists@fsck.ch X-SA-Exim-Scanned: No (on secure.socket.ch); SAEximRunCond expanded to false X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 20:16:49 -0000 Hi Now that RELENG_11 has been tagged, I want to update my RPI2 Model B, which currently is running FreeBSD 11.0-CURRENT #0 r297561: Wed Apr 6 07:28:56 CEST 2016 Is there anything special to consider, or can I just check out the new tree and rebuild world? Looking in UPDATING, only the following entry looks like it might affect me. But I don't quite understand its consequences: 20160517: The armv6 port now defaults to hard float ABI. Limited support for running both hardfloat and soft float on the same system is available using the libraries installed with -DWITH_LIBSOFT. This has only been tested as an upgrade path for installworld and packages may fail or need manual intervention to run. New packages will be needed. To update an existing self-hosted armv6hf system, you must add TARGET_ARCH=armv6 on the make command line for both the build and the install steps Thanks for any help, Toby From owner-freebsd-arm@freebsd.org Sat Aug 13 20:37:17 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29F25BB8ACD for ; Sat, 13 Aug 2016 20:37:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 F24921CE1 for ; Sat, 13 Aug 2016 20:37:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x229.google.com with SMTP id f6so15467243ith.0 for ; Sat, 13 Aug 2016 13:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=x3dOedVXXYlGr1xwSXg0PaSb++KaCNLsJROod+aDxEA=; b=FhG7tyVky/YMlWduzIAnYwVQiM4zdPOHzB3hKDhXT8Uh6iuD6OQx0owIGVtMKJxQEn HtmAGo78zhCbva/fMcc89lKzjSeG8JBB2j5pnpi24cbM0e3rMBugL5WI8hpfSpbFwwJw Xcxv1ziATPA8FU5NjyreG9LJ795qY0OJJQYOx/xOl1EomyLBQFhXXhhQrh4FBDHG4Xps Z+wn1YrzCNsrv9isMgf9s799GPUD8E6NjYAhJZcJZRhCoED3XpoRffhU0pltJwK6IqNk uPPD78U4hBRqTJPkAGihAL80xWcGnPSdfpz2pyWZXsRaElzjXLgQzQmNptcbE52hczYl mI6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=x3dOedVXXYlGr1xwSXg0PaSb++KaCNLsJROod+aDxEA=; b=emE9HQl9shQiz95decPm1X+lzF6y8P84s7HLUWtKAf06m+mgvDuwCMSAOhqRZFAf/q 15kMvR/1JNHTmO/mhRkS1m0JEGgSxPdG2lC4nL3LWLIp4q20hoKhLX5yq+HYjBv8h1Jz INRlxd7Y/GbrSuo+bVH/EWFrMNxExuB1pCgg/nFBtWrPMHWUaSDdfGz4mIysxl47bMkl bH78ORM7YGaBTL5AH6VWcEhaJpbSJT0hoH097v6VfmvlT93pEGFhyW8WKYXkRujizFEx bHcMoEyjXM5cr8HkrDhkmvHwa+hyWg8XxQupiS9BYt9BvyVPgIC5qvFqnOAQSg1wJpBW 7Ubg== X-Gm-Message-State: AEkoousdQfViZNUHNNGab6Xpsd3FUWLhkyS+hsJ1padgAadBie7dgaUWs3jsDP/E4seWsrIKzlNer5H3kJ1cwQ== X-Received: by 10.36.149.193 with SMTP id m184mr6187985itd.94.1471120636181; Sat, 13 Aug 2016 13:37:16 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.36.65.105 with HTTP; Sat, 13 Aug 2016 13:37:15 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: <57AF7917.5030407@fsck.ch> References: <57AF7917.5030407@fsck.ch> From: Warner Losh Date: Sat, 13 Aug 2016 14:37:15 -0600 X-Google-Sender-Auth: R_WgWsMbFPyIvFzOdlmu9xyy_68 Message-ID: Subject: Re: Updating RPI2 from 11-CURRENT to RELENG_11 To: Toby Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 20:37:17 -0000 On Sat, Aug 13, 2016 at 1:46 PM, Toby wrote: > Hi > > Now that RELENG_11 has been tagged, I want to update my RPI2 Model B, > which currently is running > > FreeBSD 11.0-CURRENT #0 r297561: Wed Apr 6 07:28:56 CEST 2016 > > Is there anything special to consider, or can I just check out the new > tree and rebuild world? > > Looking in UPDATING, only the following entry looks like it might affect > me. But I don't quite understand its consequences: > > 20160517: > The armv6 port now defaults to hard float ABI. Limited support > for running both hardfloat and soft float on the same system > is available using the libraries installed with -DWITH_LIBSOFT. > This has only been tested as an upgrade path for installworld > and packages may fail or need manual intervention to run. New > packages will be needed. > > To update an existing self-hosted armv6hf system, you must add > TARGET_ARCH=armv6 on the make command line for both the build > and the install steps Short answer is that you'll need to re-install all packages because of this. They will work for a while, but as updates happen 'cross threading' can occur if the updates are partial unless you specifically do special things. Only extreme special needs use cases will be affected (like having only binaries linked against the soft float ABI libraries). Warner From owner-freebsd-arm@freebsd.org Sat Aug 13 20:49:14 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD37BBB6319 for ; Sat, 13 Aug 2016 20:49:14 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF44C180F for ; Sat, 13 Aug 2016 20:49:14 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=D9NicJS1mOI6LUXpNx9+hWCOt1TNCAugBObV4cIV+SU=; b=OYs6E3gYyx4xSKKVIaDyv+YzIj j4wZ5+ije4HmE6RMA1stT5Ee8kAllglGJkThOdZzCy/8niDc1/8ObdBoGlkAEBzIX2HL2N0YQSiDK joCQY5w21aIhfxG7MpSueruwcDU5kAb2eqUtVcgrna6T3D44am/AtE0Vm/sh6XKhP8ME=; Received: from [114.121.236.27] (port=45988 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1bYfrf-000jf7-1s; Sat, 13 Aug 2016 14:49:07 -0600 Date: Sun, 14 Aug 2016 04:49:01 +0800 From: Erich Dollansky To: Toby Cc: freebsd-arm@freebsd.org Subject: Re: Updating the RPI2 firmware Message-ID: <20160814044901.00f88819@X220.alogt.com> In-Reply-To: <57AF7B06.7000806@fsck.ch> References: <57AF7B06.7000806@fsck.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 20:49:15 -0000 Hi, On Sat, 13 Aug 2016 21:54:46 +0200 Toby wrote: > Hi > > I initially installed my RPI2 model B from an iso image found here: > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/ > (that subdir does not exist anymore after RELENG_11 has been tagged) > > Since then, I updated a few times by building world directly on the > pi. I however never updated the firmware files (those residing on the > msdos slice). > > Should I update these as well? If so, where do I find the correct > versions and how do I update? I did try overwrite with the files from > the latest image a while ago, but that didn't work, my system didn't > boot anymore. > > Thanks, > Toby > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" I do something like this: mount -t msdosfs /dev/mmcsd0s1 /boot/dtb make installkernel umount /boot/dtb Erich