From owner-freebsd-arm@freebsd.org Sun Jun 28 01:50:49 2015 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 55E6E98CA75 for ; Sun, 28 Jun 2015 01:50:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 3985C19F1 for ; Sun, 28 Jun 2015 01:50:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 1BB4EBFE9; Sun, 28 Jun 2015 01:50:49 +0000 (UTC) Date: Sun, 28 Jun 2015 01:50:49 +0000 To: freebsd-arm@freebsd.org From: "eadler (Eitan Adler)" Reply-to: D2378+327+81b4fa511783cd72@FreeBSD.org Subject: [Differential] [Commented On] D2378: Introduce ITS support for ARM64 Message-ID: X-Priority: 3 Thread-Topic: D2378: Introduce ITS support for ARM64 X-Herald-Rules: <28>, <31>, <32>, <34>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTc3NjU2YTNlNjQxNDIwYzYxMmJlZjFmYzJmIFWPUvk= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 01:50:49 -0000 eadler added a subscriber: eadler. eadler added a comment. just for followup https://reviews.freebsd.org/tag/phabric-admin/ fixed the diff issue. REVISION DETAIL https://reviews.freebsd.org/D2378 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: zbb, imp, ian, andrew, emaste, manpages Cc: eadler, jmg, gnn, kib, emaste, andrew, freebsd-arm-list, imp From owner-freebsd-arm@freebsd.org Mon Jun 29 00:39:40 2015 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 18FCF98FDCB for ; Mon, 29 Jun 2015 00:39:40 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (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 3A9CC105C for ; Mon, 29 Jun 2015 00:39:38 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t5T0XiHH025350; Mon, 29 Jun 2015 00:33:44 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id 9zvc6cyiqv9nxd2gcbdctd5haw; Mon, 29 Jun 2015 00:33:43 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: armv6 vs armv6hf From: Tim Kientzle In-Reply-To: <0B2332B9-EF54-4849-AA9C-9B6656CD6684@bsdimp.com> Date: Sun, 28 Jun 2015 17:33:34 -0700 Cc: =?utf-8?Q?Manuel_St=C3=BChn?= , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <558D3EC7.6030009@freenet.de> <0B2332B9-EF54-4849-AA9C-9B6656CD6684@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 00:39:40 -0000 > On Jun 26, 2015, at 10:48 AM, Warner Losh wrote: >=20 >=20 >> On Jun 26, 2015, at 6:00 AM, Manuel St=C3=BChn = wrote: >>=20 >> Hi list, >>=20 >> according to https://wiki.freebsd.org/FreeBSD/arm/crossbuild, = "[..]armv6 >> architecture is being deprecated in favor of armv6hf, which gives = better >> floating point performance." >>=20 >> What is the expected time when FreeBSD officially switches to = armv6hf? >=20 > I expect we=E2=80=99ll pull the switch in armv6 without changing the = name > by the end of July. Would that break native upgrades? (I=E2=80=99m not necessarily objecting, just curious.) Tim From owner-freebsd-arm@freebsd.org Mon Jun 29 01:46:28 2015 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 9A85598C6A8 for ; Mon, 29 Jun 2015 01:46:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) (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 685191AE5 for ; Mon, 29 Jun 2015 01:46:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by igrv9 with SMTP id v9so31410342igr.1 for ; Sun, 28 Jun 2015 18:46:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=4bWENjoMfl3Wf11dzoLSpamWSb03iyXSCGrNF1Vrh4Q=; b=lNHkFY/9tkGSsCKXJatIEj+UUsLxwhy9VQfS/0J/f6aj+d2bIhu1C3xuIxQWvMK6Sx Mw2oMIMjrX1W000xCK+uxh246WSwNxUn2flX2EageuiuqasCkQ6qCfAqpb3pAsW9xxkN FlfKFbUptBX1zshsDG8oFUEedkhXSYr2WPGBbeT/TeVqa6KUWgOC0Fw/dmqWGStTrL7t 5oXZ4YaprA3FeeL8J2cXKly+b24dofcPtvWR1VYKQoHPZ5ozMTnRj1LFjhLEO1GUdko5 qtY+O53zx4JfnFcl9vSvQYC52b2Zixo4aC43L//bG/5dFuJ8OV8ik9irlpyHD+0oMbCu JFgg== X-Gm-Message-State: ALoCoQm5xT5szGL7aiz5qubTmSwD4k8y7G5UEz78cTzXz6r1dzCUyiyMVQwOBvSG+3+AWg46iaBX X-Received: by 10.107.136.42 with SMTP id k42mr15396339iod.63.1435541940055; Sun, 28 Jun 2015 18:39:00 -0700 (PDT) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id x3sm4378603igl.2.2015.06.28.18.38.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Jun 2015 18:38:59 -0700 (PDT) Sender: Warner Losh Subject: Re: armv6 vs armv6hf Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B4B4BE06-DFA8-4A6F-AEB1-949991D5401A"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: Date: Sun, 28 Jun 2015 19:38:57 -0600 Cc: =?utf-8?Q?Manuel_St=C3=BChn?= , freebsd-arm Message-Id: <074599FF-ACEA-487D-8F60-70674559D9A3@bsdimp.com> References: <558D3EC7.6030009@freenet.de> <0B2332B9-EF54-4849-AA9C-9B6656CD6684@bsdimp.com> To: Tim Kientzle X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 01:46:28 -0000 --Apple-Mail=_B4B4BE06-DFA8-4A6F-AEB1-949991D5401A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 28, 2015, at 6:33 PM, Tim Kientzle wrote: >=20 >=20 >> On Jun 26, 2015, at 10:48 AM, Warner Losh wrote: >>=20 >>=20 >>> On Jun 26, 2015, at 6:00 AM, Manuel St=C3=BChn = wrote: >>>=20 >>> Hi list, >>>=20 >>> according to https://wiki.freebsd.org/FreeBSD/arm/crossbuild, = "[..]armv6 >>> architecture is being deprecated in favor of armv6hf, which gives = better >>> floating point performance." >>>=20 >>> What is the expected time when FreeBSD officially switches to = armv6hf? >>=20 >> I expect we=E2=80=99ll pull the switch in armv6 without changing the = name >> by the end of July. >=20 > Would that break native upgrades? >=20 > (I=E2=80=99m not necessarily objecting, just curious.) No. It wouldn=E2=80=99t for a number of reasons. First, you can often = mix hard-float and soft-float libraries with no ill effect tot he upgrade process (though not always). Second, I=E2=80=99ve implemented code in the run time linker to link in the correct hard vs soft libraries. = Third, I=E2=80=99ve implemented a libsoft that=E2=80=99s like lib32 so you can = run both types of binaries on the same system, if you need to for some reason. In fact, its so that the upgrade process results in better behavior that I=E2=80=99ve gone down this path. I have a few loose ends still to = tidy up on this, but haven=E2=80=99t had the time to push it through to completion. Warner --Apple-Mail=_B4B4BE06-DFA8-4A6F-AEB1-949991D5401A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVkKGxAAoJEGwc0Sh9sBEAQaQQAMIBZz4S9oz3B2/k8TAnr/Gy ieEpd31JReBt0cYHcx7l1rcFaKJ2p+YR/q3ALwJqH51bTlPhY359rGta/Kydlkwh lqz/+bS92OKrvTusui1iAOSzeZPBK8YYZcHiYyOnRzZvcprjRDGWtEOH7gpKZUJ5 4MFXuePMYhPCP80/wZVUwobKdc+wP/C32a1C+IH8WH3gteE7Xk/5UlEv23c2250M VBelQfLqWxc9UlMZeuIwP8mbp2SU8t74ZlNChhJ87Xs/W8R/14ylA7/3iJw/VTx3 bx8agWm/dnYshJy8Nm2lKbkNZtIgkGVWJWDr6ixFt8CN86Y903nume+zNhQViBby QNvlTDBTUPwTJB/QvF9ClO6U+i6YpAtdaATD9FjCDd/QG//SQefhV5Md8Hx7uJHt g+Xo5iCjufoCQx7pqMe7gDKAZ0lLlPG1eRfLb3PhHn3IkGj316ji6kEpivXfaG1I kwONLa+58QSs+zrPTzkdcmXDb/qux7BYooAySR/uUwP3jketS7MEbsxw8MKRR6hm 8rFZjrxO1ypNYefmft5DqoWzcux40Or3oDJqFn6hTOIayiAEVvIRQqfbqYk+coXQ IVuj5ubx13/eMb2vvR2vp4rsimt9RYGC0sgTdIr/bUcpZSDytssQiykdfIIXYwJ/ APVtfwfD0iPEFLA5n87q =AihQ -----END PGP SIGNATURE----- --Apple-Mail=_B4B4BE06-DFA8-4A6F-AEB1-949991D5401A-- From owner-freebsd-arm@freebsd.org Mon Jun 29 06:38:24 2015 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 841FE98E428 for ; Mon, 29 Jun 2015 06:38:24 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (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 1F4FE1E3D for ; Mon, 29 Jun 2015 06:38:23 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: by wicnd19 with SMTP id nd19so89466853wic.1 for ; Sun, 28 Jun 2015 23:38:16 -0700 (PDT) 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:date:message-id:subject:from :to:content-type; bh=XLCoJOn2v4kJxO8b906aQwVN0UA2+y1QNuDlBw11ccI=; b=ZKAZCyeHQbVf82i+lBEZHJpcymw37JNW/1L+rySHIilzLhH65IzekUKl+lmi+34frY jK6RAUAaQyTnK3Qn/L7pBCofOvC+0CweVjVBXvJ/Tyk0DuQZpD/boPTMucxiR/C2wNuW 8N6rH5DfT9sKYtmySOTMSlsYyNH+cxpFt4uEroyJnXx6SYm2yX8P/tQNMHd3YXkhNttL FQ4whIJmJ5isjFRO+Tnplnaa5tXGjuO+da8fSgBF0avCxMaDlE89fp+XbCx+3e2nEmgE YNYP0LzQvOmXoDv1lZU865lipEmX8/7fIXVhvBjKlElTHVyXOq7Y0rlG31jqN6jEorNL r3HA== X-Gm-Message-State: ALoCoQl5tX7pCQwV9ul7VWjRT9kShJqBZSWzuwIliDSvhxknBo4qfw96OoOfjJFBkuBIqYCF7DCb MIME-Version: 1.0 X-Received: by 10.180.182.33 with SMTP id eb1mr18795060wic.8.1435559896282; Sun, 28 Jun 2015 23:38:16 -0700 (PDT) Sender: sobomax@sippysoft.com Received: by 10.27.179.105 with HTTP; Sun, 28 Jun 2015 23:38:16 -0700 (PDT) Date: Sun, 28 Jun 2015 23:38:16 -0700 X-Google-Sender-Auth: rtO0FJ54O6RSwEozJ7qjeKnnWuA Message-ID: Subject: mmcsd0: Error indicated: 1 Timeout From: Maxim Sobolev To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 06:38:24 -0000 Hi folks, I am seeing this error with subsequent panic quite often on my Xilinx Zynq-based board. Does anyone have any ideas on possible cause and how to debug it further? Thanks! -Maxim mmcsd0: Error indicated: 1 Timeout g_vfs_done():mmcsd0s2d[READ(offset=22998757376, length=4096)]error = 5 mmcsd0: Error indicated: 1 Timeout g_vfs_done():mmcsd0s2d[READ(offset=22998761472, length=4096)]error = 5 mmcsd0: Error indicated: 1 Timeout g_vfs_done():mmcsd0s2d[READ(offset=22998769664, length=4096)]error = 5 mmcsd0: Error indicated: 1 Timeout 7_vfs_mdmocnsed(0):: mEmrcrsodr0 si2ndd[iRcEaAtDe(do:f f1s eTti=m2e2o9u9t8 77856, length=4096)]error = 5 g_vfs_done():mmcsd0s2a[READ(offset=808353792, length=28672)]error = 5 g_vfs_done():mmcsd0s2d[READ(offset=22998786048, length=4096)]error = 5 Relevant dmesg entries are below: sdhci_fdt0: mem 0xe0100000-0xe0100fff irq 56 on simplebus1 sdhci_fdt0-slot0: 125MHz HS 1bit 3.3V DMA sdhci_fdt0-slot0: ============== REGISTER DUMP ============== sdhci_fdt0-slot0: Sys addr: 0x00000000 | Version: 0x00008901 sdhci_fdt0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_fdt0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_fdt0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000000 sdhci_fdt0-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci_fdt0-slot0: Wake-up: 0x00000000 | Clock: 0x00000000 sdhci_fdt0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_fdt0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci_fdt0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_fdt0-slot0: Caps: 0x69ec0080 | Max curr: 0x00000001 sdhci_fdt0-slot0: =========================================== sdhci_fdt0: 1 slot(s) allocated sdhci_fdt0-slot0: Divider 128 for freq 244140 (max 125000000) sdhci_fdt0-slot0: Divider 2 for freq 31250000 (max 125000000) mmc0: on sdhci_fdt0 mmc0: Probing bus mmc0: SD 2.0 interface conditions: OK mmc0: SD probe: OK (OCR: 0x40ff8000) mmc0: Current OCR: 0x00ff8000 mmc0: Probing cards mmc0: New card detected (CID 03534453553332478021b69ba600da00) mmc0: New card detected (CSD 400e00325b590000edc87f800a404000) mmc0: CMD7 failed, RESULT: 1 mmc0: Card at relative address 0xaaaa added: mmc0: card: SDHC SU32G 8.0 SN 21B69BA6 MFG 10/2013 by 3 SD mmc0: bus: 4bit, 50MHz, high speed timing mmc0: memory: 62333952 blocks, erase sector 8192 blocks mmc0: setting transfer rate to 50.000MHz (high speed timing) mmcsd0: 32GB at mmc0 31.2MHz/4bit/65535-block GEOM: new disk mmcsd0 mmc0: setting bus width to 4 bits Trying to mount root from ufs:/dev/mmcsd0s2a [rw]... From owner-freebsd-arm@freebsd.org Mon Jun 29 18:21:33 2015 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 D219098F152 for ; Mon, 29 Jun 2015 18:21:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id B966B1A93 for ; Mon, 29 Jun 2015 18:21:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id B5FCEBF21; Mon, 29 Jun 2015 18:21:33 +0000 (UTC) Date: Mon, 29 Jun 2015 18:21:33 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Reply-to: D2378+327+81b4fa511783cd72@FreeBSD.org Subject: [Differential] [Commented On] D2378: Introduce ITS support for ARM64 Message-ID: <0580c15772d1d34345f369af0b96ac49@localhost.localdomain> X-Priority: 3 Thread-Topic: D2378: Introduce ITS support for ARM64 X-Herald-Rules: <28>, <31>, <32>, <34>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTc3NjU2YTNlNjQxNDIwYzYxMmJlZjFmYzJmIFWRjK0= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 18:21:33 -0000 zbb added a comment. In https://reviews.freebsd.org/D2378#57098, @eadler wrote: > just for followup https://reviews.freebsd.org/tag/phabric-admin/ fixed the diff issue. Great thanks! To the reviewers: please take a look at the code. I would really like to commit this soon. Best regards zbb REVISION DETAIL https://reviews.freebsd.org/D2378 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: zbb, imp, ian, andrew, emaste, manpages Cc: eadler, jmg, gnn, kib, emaste, andrew, freebsd-arm-list, imp From owner-freebsd-arm@freebsd.org Tue Jun 30 13:25:26 2015 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 9B82598FAEC for ; Tue, 30 Jun 2015 13:25:26 +0000 (UTC) (envelope-from leonardofogel@yahoo.com.br) Received: from nm24-vm4.bullet.mail.ne1.yahoo.com (nm24-vm4.bullet.mail.ne1.yahoo.com [98.138.91.184]) (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 69F2B1E55 for ; Tue, 30 Jun 2015 13:25:25 +0000 (UTC) (envelope-from leonardofogel@yahoo.com.br) Received: from [98.138.100.117] by nm24.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jun 2015 13:22:14 -0000 Received: from [98.138.86.157] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jun 2015 13:22:14 -0000 Received: from [127.0.0.1] by omp1015.mail.ne1.yahoo.com with NNFMP; 30 Jun 2015 13:22:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 484810.14399.bm@omp1015.mail.ne1.yahoo.com Received: (qmail 5863 invoked by uid 60001); 30 Jun 2015 13:22:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s1024; t=1435670534; bh=PC+LVezc/nvijLUwYd3yjZeHZw4q9i8ynra1GgO5a3A=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aiEZFqTBVJB5kNGK5aRxqna8dwW+gRUxStukMuo7nXuh9sAiqxh89iltleys2V3Qqz+eiOSqGnS43OlLYtZYMj0WOQLzxxvZaJaSn+9eRbJptySmPEJYjXTuzP9EI/OAGtgXHxV0ycvNcA6M1EajjcPALDLxDip7uDUtdGetbFM= X-YMail-OSG: MTc9KMEVM1keERlbet2lRrq6985TLsYvmZaVMFHLIX7wh7S sXQSnl5HDmLZwMQib_ujPzV.SCoufyeScHPRgOccQEnQ4bmAqm2fhH_4z4U4 4z_Uv_Cuy.8m48UvchsTsz11gB.iNkOCFO0ZajidX13LYzurvXT2FKK9QAij 0lV9q8FeGGep0qwtLF524fnXwTpvtO2v2.QVgBgOMWcX3K2NN5C6Xuhnw7lm 0vZUbAC5G50Vgi8_D3A5voBP6B.0lDZXt3K3wOyryiD6YeDe8bkIxbqUxmiY dNywXo.z75n0J7pUdxadMAG2pAZPBtEQynj_IshzIF4Eo53nHyWLMzl6ALMm qGD_EXou0FbeYvtUSmK3Gz7JlXHiKAt80B1Cry2m1gTuroKN.G6MLD2KrQOh BZpIcu22zKYpnegGFaV2un8CrV.F5fjyuyGoHMFWRzhQsI4sfMDbcZCKCp6x NlNcVyGMd0pLiLkUWLgwhTMYoLQCEG9gOWewPJPP4Dev3qFEV4ZiqRvYMSrg pueD8N5dsnHHlFiBfmalFaQ6VPr.UPBJ_dmMKYkZMYZwfKS3VXUoVaCOhVkb JWxSjtQamkNlswA-- Received: from [186.228.53.250] by web120806.mail.ne1.yahoo.com via HTTP; Tue, 30 Jun 2015 06:22:14 PDT X-Rocket-MIMEInfo: 002.001, SGVsbG8uDQoNCkdpdmVuIGEgcmVmZXJlbmNlIGZyZXF1ZW5jeSAoUikgYW5kIGEgdGFyZ2V0IGZyZXF1ZW5jeSAoRiksIGFtMzM1eF9sY2RfY2FsY19kaXZpc29yKFIsRikgY2FsY3VsYXRlcyB0aGUgZGl2aXNvciAoZCkgc3VjaCB0aGF0IGFicyhSL2QgLSBGKSBpcyB0aGUgbWluaW11bTsgaWRlYWxseSBSL2QgPT0gRi4NCg0KaHR0cHM6Ly9zdm53ZWIuZnJlZWJzZC5vcmcvYmFzZS9oZWFkL3N5cy9hcm0vdGkvYW0zMzV4L2FtMzM1eF9sY2QuYz9yZXZpc2lvbj0yODQ1MzQmdmlldz1tYXJrdXAjbDIzNA0KDQoBMAEBAQE- X-Mailer: YahooMailBasic/545 YahooMailWebService/0.8.203.802 Message-ID: <1435670534.33073.YahooMailBasic@web120806.mail.ne1.yahoo.com> Date: Tue, 30 Jun 2015 06:22:14 -0700 From: Leonardo Fogel Subject: Improvement to am335x_lcd_calc_divisor() To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 13:25:26 -0000 Hello. Given a reference frequency (R) and a target frequency (F), am335x_lcd_calc= _divisor(R,F) calculates the divisor (d) such that abs(R/d - F) is the mini= mum; ideally R/d =3D=3D F. https://svnweb.freebsd.org/base/head/sys/arm/ti/am335x/am335x_lcd.c?revisio= n=3D284534&view=3Dmarkup#l234 The function does a brute-force search; it tests d=3D2,...,255. I would lik= e to propose a simpler (and faster) implementation. Let r be the real number R/F, such that R/r =3D=3D F. The integer d that pr= oduces the minimum abs(R/d - F) also produces the minimum abs(r - d). The t= rivial solution is d =3D lround(r) (rounds to the nearest integer). We do not need floating point arithmetic. Let f be the fractional part of r= , namely, the real number (R%F)/F. If f >=3D 0.5, then lround(r) rounds up.= Otherwise, it rounds down. We can test whether 10*f >=3D 5. Here is the pr= oposal: =09if (freq =3D=3D 0) /* there is a bug somewhere. */ =09=09return (255); =09/* The fractional part of the real number reference/freq, times 10. */ =09fraction_x10 =3D 10*(reference%freq)/freq; =09if (fraction_x10 >=3D 5) =09=09div =3D reference/freq + 1; /* rounds up */ =09else =09=09div =3D reference/freq ; /* rounds down */ =09/* Raster mode case: divisors are in range from 2 to 255 */ =09if (div < 2) =09=09div =3D 2; =09else if (div > 255) =09=09dir =3D 255; =09return (div); If you think it is worth, I'll be glad to submit a path. I just can not tes= t it, though. Thank you. Leonardo From owner-freebsd-arm@freebsd.org Tue Jun 30 14:25:08 2015 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 3B98498E7CC for ; Tue, 30 Jun 2015 14:25:08 +0000 (UTC) (envelope-from johan.kroeckel@gmail.com) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (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 C454D1A16 for ; Tue, 30 Jun 2015 14:25:07 +0000 (UTC) (envelope-from johan.kroeckel@gmail.com) Received: by lagc2 with SMTP id c2so15731445lag.3 for ; Tue, 30 Jun 2015 07:25:05 -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:content-type; bh=RmsR52pv7gugJdBDjEFbaIslOaYdRjrr4pjBWksABXM=; b=oHWEsg6NdY0k2/4oWKL5KCjGJuyg37+pzsO2z8GHujl5a/BM7NfaVqP+8k5XOZWF3f u86tyhMXswsLddANJOwYbZDF+TEXvIFLNoBRt4avQPqUgEcrnvPIrTELY8eldgmueB+e MjvBT1MxZ9JVnEko1v3hZaOKx63Tmz2A6KIOcTw1Co3IhuTpSInQdlhgMYNE6sXQ/0L4 WohgpGf3d5fYghMaWPJLpmHfaq5BdTS4tkG7eSCQ8T7C4du4tk/AvCCpNwmDpDRYNfcV pKBLe0AVeVE5pgPPQ2VwIm38npFBHAY4PKgKud8DDL2b/JrA8nJhEcfDL2MCqpli2aN1 MxXg== X-Received: by 10.152.37.136 with SMTP id y8mr19954615laj.21.1435674305677; Tue, 30 Jun 2015 07:25:05 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Johan_Kr=C3=B6ckel?= Date: Tue, 30 Jun 2015 14:24:56 +0000 Message-ID: Subject: crochet failes to build; "-j" problem? To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 14:25:08 -0000 crochet failed with "X86GenDisassemblerTables.inc.h] Error code 137" Is that a problem with "j17" for the buildworld target or did I miss something else? From owner-freebsd-arm@freebsd.org Tue Jun 30 15:46:57 2015 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 8FA3098D40A for ; Tue, 30 Jun 2015 15:46:57 +0000 (UTC) (envelope-from leonardofogel@yahoo.com.br) Received: from nm17-vm2.bullet.mail.ne1.yahoo.com (nm17-vm2.bullet.mail.ne1.yahoo.com [98.138.91.93]) (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 545DD16E7 for ; Tue, 30 Jun 2015 15:46:56 +0000 (UTC) (envelope-from leonardofogel@yahoo.com.br) Received: from [98.138.226.178] by nm17.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jun 2015 15:44:29 -0000 Received: from [98.138.87.1] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jun 2015 15:44:29 -0000 Received: from [127.0.0.1] by omp1001.mail.ne1.yahoo.com with NNFMP; 30 Jun 2015 15:44:29 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 364858.77468.bm@omp1001.mail.ne1.yahoo.com Received: (qmail 29036 invoked by uid 60001); 30 Jun 2015 15:44:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s1024; t=1435679069; bh=CdyHsl3ES15sunNTd/SuujAhKcUjDNyHudo6XNPiWJ8=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qgOOJbp99oLEFs3v39RswvmKZp5S39D9aLBluomqDwxGExMOapu0g7DZZ+y5IK+ET06wxhdjr/izMzKmv/54ohYfaEEVil5JPMpzfsyZdZg8b38hsxxSx25+ucK96USioRb71WGuKocO8JrC+MdOrflggktOswDrfivb23ll0FA= X-YMail-OSG: OHxS8_oVM1na4lG_9RW0UhVAYCFpPgkngQhfpbOLt471gOR NP5gm7.SgOBkhUaA3cmbh9W6brGiCm_NqnmAgLyCzx9r6jf18Ae9NUf5vlqv C499h4MtQirgcUIoAbjPehaTINoMLtrruINIrY12rsE1MyN8fm3kUUYMTZiV XBerDZSCku0mCTZj3XBpqEEtknSnVFM8YrKKOVOEUVelOUUeycQPxwF0PDgL 4qwi0I9iqo2r.mVfI81Yh_XG0eDZ05Yd9dzCHT2GTNZQqzv5.9ZL40QH.Iyg gEStCIdluk2Rk9xjQBABCePUVtrc5hN49OZqrDJ5nNlyHwUXfE0NIa3Vbf0h VlyI5HEs0ZS0yITOTQusP7sdnIqmRt45RywdX.G_U8n9QTnvEcC9.504MPrk xTccAqB9fZdFUkx0_GkmuPChdRmmQiPJNHqrgmN4l3SiRos3pJRcwUmFSOqz py4p9G0ZUxPkiRQScCO0LBzUaGlEycgxARvN.BZltZvJEzfU0k1fmOahDqcQ s5L2MF9zAtMdLpDhqMNsSWIKyD1d9plap.4qf.6mKH4pZqDXFtVNpiTxXDoZ Xhe_hi.vsaZLUzy00 Received: from [186.228.53.250] by web120802.mail.ne1.yahoo.com via HTTP; Tue, 30 Jun 2015 08:44:29 PDT X-Rocket-MIMEInfo: 002.001, SSBqdXN0IHJlYWxpemVkIHRoZSBsYXN0IHByb3Bvc2FsIHdvdWxkIGRlcGVuZCBvbiA2NC1iaXQgbXVsdGlwbGljYXRpb24sIHdoaWNoIG1heSBub3QgYmUgYXZhaWxhYmxlLiBIZXJlIGlzIGFub3RoZXIgYXBwcm9hY2g6DQoNCkxldCBmIGJlIHRoZSBmcmFjdGlvbmFsIHBhcnQgb2YgciwgdGhlIHJlYWwgbnVtYmVyIChSJUYpL0YuIElmIGYgPj0gMC41LCB0aGVuIGxyb3VuZChyKSByb3VuZHMgdXAuIFdlIGNhbiB0ZXN0IHRoZSBtdWx0aXBsaWNhdGl2ZSBpbnZlcnNlIG9mIGYsIDEvZiwgRi8oUiVGKS4gSWYBMAEBAQE- X-Mailer: YahooMailBasic/545 YahooMailWebService/0.8.203.802 Message-ID: <1435679069.12329.YahooMailBasic@web120802.mail.ne1.yahoo.com> Date: Tue, 30 Jun 2015 08:44:29 -0700 From: Leonardo Fogel Subject: Improvement to am335x_lcd_calc_divisor() To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 15:46:57 -0000 I just realized the last proposal would depend on 64-bit multiplication, wh= ich may not be available. Here is another approach: Let f be the fractional part of r, the real number (R%F)/F. If f >=3D 0.5, = then lround(r) rounds up. We can test the multiplicative inverse of f, 1/f,= F/(R%F). If 1/f <=3D 2, then lround(r) rounds up. =09if (freq =3D=3D 0) /* there is a bug somewhere. */ =09=09return (255); =09if ((reference%freq > 0) && (freq/(reference%freq) <=3D 2)) =09=09div =3D reference/freq + 1; /* rounds up */ =09else =09=09div =3D reference/freq; /* rounds down */ =09/* Raster mode case: divisors are in range from 2 to 255 */ =09if (div < 2) =09=09div =3D 2; =09else if (div > 255) =09=09dir =3D 255; =09return (div); Thank you. Leonardo From owner-freebsd-arm@freebsd.org Tue Jun 30 18:10:40 2015 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 97FEB9909AF for ; Tue, 30 Jun 2015 18:10:40 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::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 621FB2000 for ; Tue, 30 Jun 2015 18:10:40 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by obdbs4 with SMTP id bs4so12107674obd.3 for ; Tue, 30 Jun 2015 11:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KNpRTa0aUtbCcpKkPs6rpBXdBlVFSZDDsXjmR7mc2ew=; b=xBMjebxT7Df/k4bGfxK15Y7BJf8ZoMT2ZlNFyCq9gwH6/9z4aZESgiVYeHRux7akmY 1ivGDOUTkdRaH4LqUWUjUuSC/rQrCdB/c4FvDaPBih/LLrQaymL+mWxnujKgPTMCanFz e3SSCztqCw0STQuBo94HeaYSPRxmJe0Df+pNKCks/0euFCyHeZkVKcDlIKmaazVWmM9o e4taCFiugX4P6vZfX2QERXLPRv2lllsQR8wH6Rv0Y/swn6kVuHqvRamotKRh+goS51er Zu4nQqJ/iXEIFVroQwCw3PKC66ukbZ/9/yd8gMou5WLB2TG+UFHezJGlo31VHHvMp8V5 HKpA== MIME-Version: 1.0 X-Received: by 10.202.0.212 with SMTP id 203mr14936817oia.58.1435687839340; Tue, 30 Jun 2015 11:10:39 -0700 (PDT) Received: by 10.76.56.242 with HTTP; Tue, 30 Jun 2015 11:10:39 -0700 (PDT) In-Reply-To: <55762A9C.7080504@gmail.com> References: <55762A9C.7080504@gmail.com> Date: Tue, 30 Jun 2015 21:10:39 +0300 Message-ID: Subject: Re: STABLE "pfctl -s states" core dumps on Beaglebone Black (was -s rules) From: Guy Yur To: Arjan van der Velde Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 18:10:40 -0000 Hi, On Tue, Jun 9, 2015 at 2:51 AM, Arjan van der Velde wrote: > Ok, I meant to say "pfctl -s states" here. Sorry for the confusion. > > -- Arjan > > > On 06/08/2015 16:54, Arjan van der Velde wrote: >> >> Hello, >> >> I'm running stable on my BBB and I noticed that pfctl core dumps when >> doing "pfctl -s rules". I am on: >> >> FreeBSD beaglebone 10.1-STABLE FreeBSD 10.1-STABLE #1 r283308 >> >> gdb doesn't seem to give me any useful information. >> >> dmesg shows: pid 4192 (pfctl), uid 0: exited on signal 10 (core dumped) >> >> and gdb: >> (snip) >> >> >> Is this a known issue? How would I go about analyzing the cause of this? The cause for the core dump is unaligned access when trying to copy struct pf_addr in print_host(). The compiler expects the struct to be aligned on 4 bytes (it contains a union of a u_int32_t array) but it is not since it is passed from inside pfsync_state struct which size is not divisible by 4. On the BeagleBone Black strict alignment fault checking is enabled. Discussion on the issue: https://lists.freebsd.org/pipermail/freebsd-arm/2014-January/007237.html I filed bug report 185617 with changes that will break KBI: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185617 >> >> Thanks. >> >> -- Arjan Regards, -- Guy From owner-freebsd-arm@freebsd.org Thu Jul 2 03:23:15 2015 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 3409C9925FC for ; Thu, 2 Jul 2015 03:23:15 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (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 0F1AB27AC for ; Thu, 2 Jul 2015 03:23:14 +0000 (UTC) (envelope-from tim@kientzle.com) Received: by paceq1 with SMTP id eq1so32780603pac.3 for ; Wed, 01 Jul 2015 20:23:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=9z1Q7NGWCB8EUMi0SctXpPMnhuf6t9UMSDJ8o+zPybc=; b=R621OdNSP54N4Kp41LzJnRrUwP3cAAW8gOmOU0V8RWoN5qv/g07R8znpW+JVqSXQQq ArK0qLnrQ87WZHCTszOk/6l8NInrg5xCy6VjuNpbwakEIlDjOWDHc1hg/WYt7+R5JKIF KOMNG/bK4PTE2n5zelBvSD/KiO1jltuxOyz1d3vndilU1ePIONuRi1vihiszz3oRzIGU lRrpLTfTesk6gxSApYIN8js+ezP/vfhFSVUXBKEIyPl2vqOLBBZs/WOc8dlFKXR1s65s 0vHhAPxemssbzKkm3J0WDK43ldYKVLaPQ92HCYS2ucD31/FSe/EqViKERa3SzdU5XFFi NIvQ== X-Gm-Message-State: ALoCoQkFBYM0+48gwGwdFnFp/DMlXcIS/d79b6/swUOg45FfhGMuYf92+jkYn3yvN62I1nMdSwf0 X-Received: by 10.66.102.41 with SMTP id fl9mr28563538pab.93.1435807388697; Wed, 01 Jul 2015 20:23:08 -0700 (PDT) Received: from [192.168.1.102] (c-24-6-220-224.hsd1.ca.comcast.net. [24.6.220.224]) by mx.google.com with ESMTPSA id dd3sm3790783pad.45.2015.07.01.20.23.06 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Jul 2015 20:23:07 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: crochet failes to build; "-j" problem? From: Tim Kientzle In-Reply-To: Date: Wed, 1 Jul 2015 20:23:05 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5B3B33DF-F6A1-4B93-8672-1F1813059165@kientzle.com> References: To: =?utf-8?Q?Johan_Kr=C3=B6ckel?= X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 03:23:15 -0000 > On Jun 30, 2015, at 7:24 AM, Johan Kr=C3=B6ckel = wrote: >=20 > crochet failed with "X86GenDisassemblerTables.inc.h] Error code 137" > Is that a problem with "j17" for the buildworld target or did I miss > something else? 1) What board are you building for? What version of FreeBSD are you = building? What version of FreeBSD is your build host? What does your = config.sh file contain? 2) Have you tried building without -j17? (I=E2=80=99m not suggesting = that -j17 is causing the problem. But the error messages are usually = easier to understand in non-parallel builds.) For what it=E2=80=99s worth, I=E2=80=99ve been doing -j4 builds of = -CURRENT for RPi2 on -CURRENT RPi2 recently with no problems. Tim From owner-freebsd-arm@freebsd.org Thu Jul 2 04:47:51 2015 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 BE837992268 for ; Thu, 2 Jul 2015 04:47:51 +0000 (UTC) (envelope-from andy.gervase@me.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id AE4281922 for ; Thu, 2 Jul 2015 04:47:51 +0000 (UTC) (envelope-from andy.gervase@me.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 02B8B1046B3B for ; Wed, 1 Jul 2015 21:48:45 -0700 (PDT) Date: Wed, 1 Jul 2015 21:47:51 -0700 (MST) From: agervase To: freebsd-arm@freebsd.org Message-ID: <1435812471361-6022231.post@n5.nabble.com> Subject: Once Booted from MMC, eMMC not found 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.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 04:47:51 -0000 I was finally able to get my Beaglebone Black to boot from FreeBSD 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 is not found. I'd very much like my BBB to boot automatically, preferably from the eMMC, however I'll take what I can! Please forgive me in advance if this question has already been addressed, as my searches have yielded nothing helpful thus far. My greatest appreciation in advance, --Andy -- View this message in context: http://freebsd.1045724.n5.nabble.com/Once-Booted-from-MMC-eMMC-not-found-tp6022231.html Sent from the freebsd-arm mailing list archive at Nabble.com. From owner-freebsd-arm@freebsd.org Thu Jul 2 05:03:09 2015 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 451BE992465 for ; Thu, 2 Jul 2015 05:03:09 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2BDBD1DD1; Thu, 2 Jul 2015 05:03:09 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id A342C13EA; Thu, 2 Jul 2015 05:03:08 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Thu, 2 Jul 2015 05:03:06 +0000 From: Glen Barber To: agervase Cc: freebsd-arm@freebsd.org Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <20150702050306.GD45214@FreeBSD.org> References: <1435812471361-6022231.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a2FkP9tdjPU2nyhF" Content-Disposition: inline In-Reply-To: <1435812471361-6022231.post@n5.nabble.com> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 05:03:09 -0000 --a2FkP9tdjPU2nyhF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: > I was finally able to get my Beaglebone Black to boot from FreeBSD > 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 is not > found. I'd very much like my BBB to boot automatically, preferably from = the > eMMC, however I'll take what I can! >=20 > Please forgive me in advance if this question has already been addressed,= as > my searches have yielded nothing helpful thus far. >=20 > My greatest appreciation in advance, Please wait until next week when several changes/fixes are committed to the stable/10 branch that can help with this. Unless you do not have a particular reason to run 10-STABLE, you can try the 11-CURRENT snapshots. See the mailing list archives for freebsd-snapshots@ for details. Glen --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlMYKAAoJEAMUWKVHj+KT01sP/0xaOOgk45BQ+InuIMhA6hH9 q1NNZH9NOJceCNYB8jMUKNqVBmy94y/5m1K+LDBRE4fPKf/40vECiZ+09yNF0DxE DFc4/xxdPfb11q+H6HVaHJTkczLsDhzP5y9MHr6Qqoy7AuBQ9krdIeXzB0NlOSr/ mNchVjG9Kpall2amM5Q0FUtUezd7V3QVLHBOPLHwHDR9ymEXkN8K6s5PK0CUc1eW 6oywSuRbhTr8Jm9h86ozT9+6enaVN1RwhZZOOtfBHI0z1IPGvp9bal91BjVWvR1t BGA31CVNPmSwkMz9KxFrMRX898KzyLhsw59+y22JVAdOhyKgtE2F5OjaAA+XvqvE ueHQ9KTc617E3w6Klmk7qJTMA9kVvTqNWfMTz0AFt9V2Ap9sNbjaoiwJoVcKjFU7 M4g7VOE2CmSZQqQqusiMleNIm9wAMBJYAa68T+gLCyg1bSVAICXg+KygVVRJ+cjK MA/88xBPrPiqtOy3XDeTWiqK1Ljk+HJSIarSOT9DwfAsEqxdZFXvakjY2z1GBuqm BhQ/ZOk2Uiv5p10BPvjEvamO0x50N5l1U5XECJ+IeltkSBWS/WsrhXU1qg8Verz5 +lAZDoCho0JjxHqWxbe3vKn4FW6goMhEfuzxBEbr/jav9N5LNVz3zzr1Wma8RjCC 1Iri3ZfyTHqM67ee5UKL =jkUv -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF-- From owner-freebsd-arm@freebsd.org Thu Jul 2 05:06:36 2015 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 527C0992493 for ; Thu, 2 Jul 2015 05:06:36 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 40E521E5B; Thu, 2 Jul 2015 05:06:36 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id B84071450; Thu, 2 Jul 2015 05:06:35 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Thu, 2 Jul 2015 05:06:34 +0000 From: Glen Barber To: agervase Cc: freebsd-arm@freebsd.org Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <20150702050634.GE45214@FreeBSD.org> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JBi0ZxuS5uaEhkUZ" Content-Disposition: inline In-Reply-To: <20150702050306.GD45214@FreeBSD.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 05:06:36 -0000 --JBi0ZxuS5uaEhkUZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: > On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: > > I was finally able to get my Beaglebone Black to boot from FreeBSD > > 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 is = not > > found. I'd very much like my BBB to boot automatically, preferably fro= m the > > eMMC, however I'll take what I can! > >=20 > > Please forgive me in advance if this question has already been addresse= d, as > > my searches have yielded nothing helpful thus far. > >=20 > > My greatest appreciation in advance, >=20 > Please wait until next week when several changes/fixes are committed to > the stable/10 branch that can help with this. >=20 > Unless you do not have a particular reason to run 10-STABLE, you can try > the 11-CURRENT snapshots. See the mailing list archives for > freebsd-snapshots@ for details. >=20 Bah, actually I think what I suggested is orthogonal to your issue, since I just realized you mentioned a script I am unaware of. Sorry for any confusion. Glen --JBi0ZxuS5uaEhkUZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlMbaAAoJEAMUWKVHj+KT3T8QAJI8CjvaOTDRX4e9FLF01gT0 5/LssCc3IUfQZPSYImOXCSVxwjkAl8MT817f976L8ZZmaHwwqiHK6oAsAVjt4exX CQXRMP38IVMHjnpnxFpIcBlydc3P8f2F32/EyAnte7zVBno7z+WlfYU3a46LRMmb 5Wo9bnTeai6W8VufMG/TU8M0SJECEgxCiuCAjrK0v+M8v1WoMI/HAnstgC8AMnyx riwI5I3wUrns5fEhdItyZCCXCeyIlTOwdN4V8ATLz9fCsiZJRJe5gErR+Y7EvW4y G+o6Tene2NLjxdnBMnFnfrsp+3VNLEdyqNZ2zTlL5B73kb5Is8mU8/Rab2+hysxp PkyiXFMafxW90eLeQLPI8jWWK9xTEZIxifofz9w74yf20v83BSIocDkxih0fasSn wEXcfbAR9YY4EOk9jxZB19D5w3HUk8N6w5R5NR3qQGHVCRftI+Hl5vLe5QzV/tCY Q2H/pBLXh9StUykm+fWCsh0j7ZT6L0uBBxAIv1rrKrS9wxFp14TDE0JOxNtGLE7D cw8jrRKz5HC7J64Cg/RjsJ9wO2nEWKQHeXLMpX2zN9GXzW9/azA6U8PcVeB/VxOH EWQVt4HpRoIVRYVmqfbsvWH9vIuLxJkS4No/+jvGsxCp3wF2Hjf38Tnnhws418Mf c7HDL93tYDZvD3PXWiPO =hpcc -----END PGP SIGNATURE----- --JBi0ZxuS5uaEhkUZ-- From owner-freebsd-arm@freebsd.org Thu Jul 2 06:31:34 2015 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 830C4992445 for ; Thu, 2 Jul 2015 06:31:34 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60F251F1A for ; Thu, 2 Jul 2015 06:31:34 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id t6262HJX048959; Wed, 1 Jul 2015 23:02:17 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id t6262GZJ048958; Wed, 1 Jul 2015 23:02:17 -0700 (PDT) (envelope-from fbsd) Date: Wed, 1 Jul 2015 23:02:16 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Mounting /usr during boot on RPI2 Message-ID: <20150702060216.GA65911@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 06:31:34 -0000 Got an RPI2 system up and running for a few weeks now. For the most part it's astoundingly robust, but there are a few small mysteries. If /etc/fstab is edited with the line /dev/da0p3 /usr ufs rw,noatime,late,failok 1 2 boot fails and drops into single user, saying device not found, as if /dev isn't fully populated yet. In single user, a manual fsck -y cleans up the problem and exit starts multiuser. Adding a mount command in /etc/rc.conf works but there are several attempts, with repeated "device busy" and "device already in use" reports. Eventually /usr mounts from the usb hard disk and everything works very well. Another oddity is that adding fsck -Cy before the mount command always seems to result in a full fsck, even when the machine went through a clean reboot. Adding swap in /etc/rc.conf likewise works, but with repeated "device already in use" reports during boot. I've tried adding SCSI_DELAY=20000 to the kernel config file in hopes it might let the usb device catch up, but the variable seems to have no effect- It looks as if the boot process runs too fast for the usb daemons to keep up. Is there some way to slow it down? For now, the solution seems to be in leaving /etc/fstab strictly alone and mount /usr in /etc/rc.conf without invoking fsck -Cy. If the /usr partition is dirty, it simply must be fsck'd and mounted by hand. Altogether the machine works astonishingly well, despite the little niggles. With my compliments and thanks to everybody involved, bob prohaska From owner-freebsd-arm@freebsd.org Thu Jul 2 08:57:00 2015 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 CC2B899334C for ; Thu, 2 Jul 2015 08:57:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 B97CB1163 for ; Thu, 2 Jul 2015 08:57:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t628v0R2087446 for ; Thu, 2 Jul 2015 08:57:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 201268] Bug in elf_trampoline with ARMv7 processors Date: Thu, 02 Jul 2015 08:57:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: soutade@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 08:57:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201268 Bug ID: 201268 Summary: Bug in elf_trampoline with ARMv7 processors Product: Base System Version: 11.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: soutade@gmail.com Created attachment 158252 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158252&action=edit Call get_cachetype_cp15() before cpu_idcache_wbinv_all() In elf_trampoline.c, we call cpu_idcache_wbinv_all() after kernel decompression. For CortexA (and KRAIT) processors, this call is mapped to armv7_idcache_wbinv_all(). armv7_idcache_wbinv_all() itself does reference to "coherency_level" and "cache_type" variables. These variables should have been initialized by get_cachetype_cp15() which is not called in our case. The attached patch fix it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@freebsd.org Thu Jul 2 12:35:52 2015 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 F408F9915FC for ; Thu, 2 Jul 2015 12:35:51 +0000 (UTC) (envelope-from andy.gervase@me.com) Received: from st13p15im-asmtp002.me.com (st13p15im-asmtp002.me.com [17.164.72.161]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEA5F10B5; Thu, 2 Jul 2015 12:35:51 +0000 (UTC) (envelope-from andy.gervase@me.com) Received: from [192.168.0.108] (c-73-173-154-59.hsd1.md.comcast.net [73.173.154.59]) by st13p15im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NQU00HAPYVCBS20@st13p15im-asmtp002.me.com>; Thu, 02 Jul 2015 11:35:37 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-07-02_09:2015-07-02,2015-07-02,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1507020188 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Andrew Gervase In-reply-to: <20150702050634.GE45214@FreeBSD.org> Date: Thu, 02 Jul 2015 07:35:36 -0400 Cc: freebsd-arm@freebsd.org Content-transfer-encoding: quoted-printable Message-id: <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 12:35:52 -0000 Thank you for your reply, Glen: To me, the script is optional. All it = does is partition and newfs a slice on mmc1, and then copies everything = via tar from mmc0 to mmc1. =20 My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I was = wondering if there is a module that needs to be loaded or compiled into = the kernel to make sure the eMMC (mmc1) is recognized. =20 Andy ideas? =E2=80=94Andy > On Jul 2, 2015, at 01:06, Glen Barber wrote: >=20 > On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: >> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: >>> I was finally able to get my Beaglebone Black to boot from FreeBSD >>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 = is not >>> found. I'd very much like my BBB to boot automatically, preferably = from the >>> eMMC, however I'll take what I can! >>>=20 >>> Please forgive me in advance if this question has already been = addressed, as >>> my searches have yielded nothing helpful thus far. >>>=20 >>> My greatest appreciation in advance, >>=20 >> Please wait until next week when several changes/fixes are committed = to >> the stable/10 branch that can help with this. >>=20 >> Unless you do not have a particular reason to run 10-STABLE, you can = try >> the 11-CURRENT snapshots. See the mailing list archives for >> freebsd-snapshots@ for details. >>=20 >=20 > Bah, actually I think what I suggested is orthogonal to your issue, > since I just realized you mentioned a script I am unaware of. >=20 > Sorry for any confusion. >=20 > Glen >=20 From owner-freebsd-arm@freebsd.org Thu Jul 2 12:42:05 2015 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 CA75B9918CC for ; Thu, 2 Jul 2015 12:42:05 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AEBAA1880; Thu, 2 Jul 2015 12:42:05 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 3238F10FF; Thu, 2 Jul 2015 12:42:05 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Thu, 2 Jul 2015 12:42:02 +0000 From: Glen Barber To: Andrew Gervase Cc: freebsd-arm@freebsd.org Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <20150702124202.GA53770@FreeBSD.org> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 12:42:06 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In theory, no. Once mmc0 is recognized, any additional mmc devices should also be available. :( Glen On Thu, Jul 02, 2015 at 07:35:36AM -0400, Andrew Gervase wrote: > Thank you for your reply, Glen: To me, the script is optional. All it = does is partition and newfs a slice on mmc1, and then copies everything via= tar from mmc0 to mmc1. =20 >=20 > My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I was w= ondering if there is a module that needs to be loaded or compiled into the = kernel to make sure the eMMC (mmc1) is recognized. =20 >=20 > Andy ideas? >=20 > =E2=80=94Andy >=20 > > On Jul 2, 2015, at 01:06, Glen Barber wrote: > >=20 > > On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: > >> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: > >>> I was finally able to get my Beaglebone Black to boot from FreeBSD > >>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 i= s not > >>> found. I'd very much like my BBB to boot automatically, preferably f= rom the > >>> eMMC, however I'll take what I can! > >>>=20 > >>> Please forgive me in advance if this question has already been addres= sed, as > >>> my searches have yielded nothing helpful thus far. > >>>=20 > >>> My greatest appreciation in advance, > >>=20 > >> Please wait until next week when several changes/fixes are committed to > >> the stable/10 branch that can help with this. > >>=20 > >> Unless you do not have a particular reason to run 10-STABLE, you can t= ry > >> the 11-CURRENT snapshots. See the mailing list archives for > >> freebsd-snapshots@ for details. > >>=20 > >=20 > > Bah, actually I think what I suggested is orthogonal to your issue, > > since I just realized you mentioned a script I am unaware of. > >=20 > > Sorry for any confusion. > >=20 > > Glen > >=20 >=20 --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlTGUAAoJEAMUWKVHj+KTsPEP/RsMcMErpCVL8136ssnTGSMG A6HXOkzxbiTABWWAIrZVOHzwK7NrgncQJ2bjUdPcGtThkWPIT69oHRyjIeapXvjA tfohBESclsjpifrXQ4GlyHMRtf/pavw11U72SUB8g+4WUNk/RKojQFcdLWZlq3sS i2jOQx89NzCITYStYhoPNAGR2H1I/rUKiDcVTr7ks6npyWj3hYq3eSlmzvI2Z3jV v09YVjbxBmmlGXwDfUYKMXDjarFhAhqJSiNjQPmPwUDm4k0Wp46zoXJfJu4jqCso ry6xeGtlGe3glsUreB+H1zKM3s5mDd19HcBtcwoH7cGVvnkSd+QOVewAqEfXe/tG ZdpkW4UzE0kjhcYKUzB3kAtWLH63rItckL2p5IyC66y79xJFNpCAW3iuKuixemKt c5KfuxYObSezAFK/HPYGBkTWcLcS7TnTUh+p2+YbyGcHA8zovBCEll3uI4rhwqKl kFIQm2h0qrlaloHbtxL0TASzNEAgeJoqBmlF2IJIkiI7C7U5EG69Lykz1Ujg98qD YXh1gQItlPHZa/XwuKRheepNdcB2xcIlUI8QaLdBI0dvCkJveWfAEFDMliRu+bc4 FAmMN75duroueDLoHPBn3f9TNs8LsI2mbuEcSC8Jup/JYB/DrouFhDxVX69/WRs9 nSL/8yG7XXin8jlpzYmR =w0Gj -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c-- From owner-freebsd-arm@freebsd.org Thu Jul 2 13:06:53 2015 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 BF129991EBA for ; Thu, 2 Jul 2015 13:06:53 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (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 8DE03266D for ; Thu, 2 Jul 2015 13:06:53 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: by igrv9 with SMTP id v9so56256791igr.1 for ; Thu, 02 Jul 2015 06:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lge7rZytsigXKXG9S29UeGqtudFr6zSzehX8LtRj1cQ=; b=RHRzGYxDt7T7zzjA+gAXmKY6dc+ZLmCgOtFJrpyhoWgedyIuUliQG/IODnJG1I+m/j hA7U3da2Naocw2uf95z80kA7e0KC9WZnyFbKO0UCcxpKlodCzewffYNQcsWDC1fBLFdD 0gt/JLxcSlSlzPIvFH8G3M6Otxmei6UpTHWgcyXvdm5kxSPn/b8W6OF4zJudpmgIOdX+ L4PElZqNnAbsXQuy260v33t6afa9cYDuQ00bhaV/aIRj8BSzNuQvmgFqj2A/XMED97rZ HIZO8WhkK+B+DK4JTVukXSCRkKi3+88bgA+NLiNmGOyV/8MJZmFAzTswRfs8JtSJFlKo uPQw== MIME-Version: 1.0 X-Received: by 10.42.113.133 with SMTP id c5mr11463858icq.67.1435842412948; Thu, 02 Jul 2015 06:06:52 -0700 (PDT) Received: by 10.36.196.68 with HTTP; Thu, 2 Jul 2015 06:06:52 -0700 (PDT) Date: Thu, 2 Jul 2015 22:06:52 +0900 Message-ID: Subject: No valid device tree blob found! with hummingboard FreeBSD-current From: Yoshiro MIHIRA To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 13:06:53 -0000 Hi all, I tried to use hummingboard-i2 and FreeBSD-11-current as below image FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150625-r284814.img However I could not boot FreeBSD with below message. Please let me know how to boot hummingboard-i2. U-Boot SPL 2013.10-rc4 (Jun 25 2015 - 21:13:52) Boot Device: UNKNOWN.. spl: error reading image u-boot.img, err - -1 Load image from RAW... U-Boot 2013.10-rc4 (Jun 25 2015 - 21:13:52) CPU: Freescale i.MX6DL rev1.1 at 792 MHz Reset cause: POR Board: MX6-HummingBoard DRAM: 1 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: FEC [PRIME] ** Unable to read file uEnv.txt ** Hit any key to stop autoboot: 0 Booting from: mmc 0 ubldr 260690 bytes read in 26 ms (9.6 MiB/s) ## Starting application at 0x12000094 ... Consoles: U-Boot console Compatible U-Boot API signature found @4f7708a8 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@releng2.nyi.freebsd.org, Thu Jun 25 21:33:03 UTC 2015) DRAM: 1024MB Number of U-Boot devices: 2 U-Boot env: loaderdev='mmc 0' Found U-Boot device: disk Checking unit=0 slice= partition=... good. / /boot/kernel/kernel data=0x5aa2dc+0x3dd24 syms=[0x4+0x5c970+0x4+0x586b1] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... No valid device tree blob found! Type '?' for a list of commands, 'help' for more detailed help. loader> fdt ls No device tree blob found! loader> Yours Yoshiro MIHIRA From owner-freebsd-arm@freebsd.org Thu Jul 2 13:25:35 2015 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 A5A9E9931EB for ; Thu, 2 Jul 2015 13:25:35 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (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 78BD71642 for ; Thu, 2 Jul 2015 13:25:35 +0000 (UTC) (envelope-from tim@kientzle.com) Received: by pdcu2 with SMTP id u2so46100915pdc.3 for ; Thu, 02 Jul 2015 06:25:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=5Z23531kJe6PzCxvq7S9jyed7EN09/EmgHy4QImFlIA=; b=JRcSixYkTNu8gq7+S/yKMWRkIyaT2IxRmZ/+XmCeaFMDcig0c0irsYzDC1kDZXgdoK 6/v5HHYRuTEC+CPpeKP2rcdZ2O2sePvB6qkb5QLCapt/qvLss+bf6K+7m0eaQH8UbPTK x4mpmKW0FrFER6UWL9Ud64dfETtWuIBb8cb43YUCG9L40SyP0y9MJWsFisSPlfe0vHM+ vxeEot+3uRjSr47Q2QNKCRVRF9dKBRDFGBrzxYGUF7bCuqhLc4Y/Olc17BVayYUKZG0a wR271yooc23qFRu5U75rgLu5PlMdohL+UIhDqLflprb6aed0H2t+nMIfnstnvV8PYMH+ K71w== X-Gm-Message-State: ALoCoQlav/+3c/9uzXu7REzdpS54fR5plAp1RhqwPvSAtj6Nm2VFtRjrHIVygBthXXHe+yNvPtCx X-Received: by 10.66.66.46 with SMTP id c14mr66705812pat.71.1435843529831; Thu, 02 Jul 2015 06:25:29 -0700 (PDT) Received: from [192.168.1.102] (c-24-6-220-224.hsd1.ca.comcast.net. [24.6.220.224]) by mx.google.com with ESMTPSA id q5sm5740369pdd.90.2015.07.02.06.25.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Jul 2015 06:25:28 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Tim Kientzle In-Reply-To: <1435812471361-6022231.post@n5.nabble.com> Date: Thu, 2 Jul 2015 06:25:25 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1435812471361-6022231.post@n5.nabble.com> To: agervase X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 13:25:35 -0000 > On Jul 1, 2015, at 9:47 PM, agervase wrote: >=20 > I was finally able to get my Beaglebone Black to boot from FreeBSD > 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 is = not > found. I'd very much like my BBB to boot automatically, preferably = from the > eMMC, however I'll take what I can! >=20 > Please forgive me in advance if this question has already been = addressed, as > my searches have yielded nothing helpful thus far. >=20 > My greatest appreciation in advance, > --Andy As Glen mentioned, this sounds like a bug in 10.1-RELEASE. Do you = specifically need to run that version? If not, please try something newer, such as 10-STABLE or 11-CURRENT. I=E2=80=99ve not personally tried eMMC booting in a while (I generally = need more disk space than eMMC provides). Tim From owner-freebsd-arm@freebsd.org Thu Jul 2 14:07:52 2015 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 5C6D29939BA for ; Thu, 2 Jul 2015 14:07:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 48ED11077 for ; Thu, 2 Jul 2015 14:07:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t62E7qS2030252 for ; Thu, 2 Jul 2015 14:07:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 197266] DWC interface panics ODROID-C1 Date: Thu, 02 Jul 2015 14:07:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: loos@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 14:07:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197266 Luiz Otavio O Souza,+55 (14) 99772-1255 changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |loos@FreeBSD.org Status|New |Closed --- Comment #3 from Luiz Otavio O Souza,+55 (14) 99772-1255 --- Fixed in r278670. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@freebsd.org Thu Jul 2 14:09:06 2015 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 281459939DF for ; Thu, 2 Jul 2015 14:09:06 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::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 DB2FF10DE for ; Thu, 2 Jul 2015 14:09:05 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdr198 with SMTP id r198so68832761ykd.3 for ; Thu, 02 Jul 2015 07:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zh4Kav2b6sYX9Vq/s6t23KTCsiy0YBXxmJiWGPqKIUU=; b=doKJBLkaLkNFJqQp5UvWJZah1oRfIFKiy9zqQNKpZx6VgsVDFFQvMKDF0Z7QjDCpeN G8FRCQiQ4As5+UWCF3pFRqa9ziJJUA1OqgN52YveZJwIQVqqXxjPvRJGsLnT1c+CDvUd AYazd5mZJQfb5OUhb6H5Ya7//I67V1kQL+gQLi5m4zj7GtmCn95FOsbeqsCZIWg+iM7w hRkKoRxVAdTfyiGEXEK92M9cElXepS8nO9N+R12jRx/YtUp12UjlloxGl8t0bfDEPBdl IIy3mDK8WRBQFCpWHavngbu9WbK+Cp7ITlbmwZEsKVgrPrB83q7RKhc/iH9spdbjtRPl WHfQ== MIME-Version: 1.0 X-Received: by 10.129.85.69 with SMTP id j66mr39702356ywb.40.1435846145034; Thu, 02 Jul 2015 07:09:05 -0700 (PDT) Received: by 10.37.10.65 with HTTP; Thu, 2 Jul 2015 07:09:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Jul 2015 16:09:04 +0200 Message-ID: Subject: Re: No valid device tree blob found! with hummingboard FreeBSD-current From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= To: Yoshiro MIHIRA Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/mixed; boundary=001a113f27986d7b320519e4fb1d X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 14:09:06 -0000 --001a113f27986d7b320519e4fb1d Content-Type: text/plain; charset=UTF-8 2015-07-02 15:06 GMT+02:00 Yoshiro MIHIRA : > Hi all, > > I tried to use hummingboard-i2 and FreeBSD-11-current as below image > > FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150625-r284814.img > > However I could not boot FreeBSD with below message. > Please let me know how to boot hummingboard-i2. > > U-Boot SPL 2013.10-rc4 (Jun 25 2015 - 21:13:52) > Boot Device: UNKNOWN.. > spl: error reading image u-boot.img, err - -1 > Load image from RAW... > > > U-Boot 2013.10-rc4 (Jun 25 2015 - 21:13:52) > > CPU: Freescale i.MX6DL rev1.1 at 792 MHz > Reset cause: POR > Board: MX6-HummingBoard > DRAM: 1 GiB > MMC: FSL_SDHC: 0 > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: FEC [PRIME] > ** Unable to read file uEnv.txt ** > Hit any key to stop autoboot: 0 > Booting from: mmc 0 ubldr > 260690 bytes read in 26 ms (9.6 MiB/s) > ## Starting application at 0x12000094 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @4f7708a8 > > FreeBSD/armv6 U-Boot loader, Revision 1.2 > (root@releng2.nyi.freebsd.org, Thu Jun 25 21:33:03 UTC 2015) > > DRAM: 1024MB > Number of U-Boot devices: 2 > U-Boot env: loaderdev='mmc 0' > Found U-Boot device: disk > Checking unit=0 slice= partition=... good. > / > /boot/kernel/kernel data=0x5aa2dc+0x3dd24 syms=[0x4+0x5c970+0x4+0x586b1] > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > No valid device tree blob found! > > Type '?' for a list of commands, 'help' for more detailed help. > loader> fdt ls > No device tree blob found! > > loader> Hi, Can you try the attached patch (against sysutils/u-boot-cubox-hummingboard), you'll have to rewrite uboot to the sdcard (see /usr/local/share/u-boot/u-boot-cubox-hummingboard/README). Also available here: http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-hummingboard.patch --001a113f27986d7b320519e4fb1d Content-Type: text/x-patch; charset=US-ASCII; name="sysutils_u-boot-cubox-hummingboard.patch" Content-Disposition: attachment; filename="sysutils_u-boot-cubox-hummingboard.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ibm9pokg0 LS0tIGZpbGVzL3BhdGNoLWJvYXJkX3NvbGlkcnVuX214Nl9fY3Vib3gtaV9teDZfX2N1Ym94LWku YwkocmV2aXNpb24gMzkxMTQ2KQorKysgZmlsZXMvcGF0Y2gtYm9hcmRfc29saWRydW5fbXg2X19j dWJveC1pX214Nl9fY3Vib3gtaS5jCSh3b3JraW5nIGNvcHkpCkBAIC0xMiw3ICsxMiw3IEBACiAg fQogIAogIHN0YXRpYyBjaGFyIGNvbnN0ICpib2FyZF90eXBlID0gInVuaW5pdGlhbGl6ZWQiOwot K3N0YXRpYyBjaGFyIGNvbnN0ICpmZHRfYm9hcmQ7Cisrc3RhdGljIGNoYXIgY29uc3QgKmZkdF9i b2FyZCA9ICJ1bmluaXRpYWxpemVkIjsKICAKICBpbnQgY2hlY2tib2FyZCh2b2lkKQogIHsK --001a113f27986d7b320519e4fb1d-- From owner-freebsd-arm@freebsd.org Thu Jul 2 14:32:39 2015 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 DAF7B993DEE for ; Thu, 2 Jul 2015 14:32:38 +0000 (UTC) (envelope-from hm@hellmuth-michaelis.de) Received: from mail.agsec.de (mail.kts.org [IPv6:2a00:14b0:f000:1::222]) (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 95C0D217E; Thu, 2 Jul 2015 14:32:38 +0000 (UTC) (envelope-from hm@hellmuth-michaelis.de) Received: from hh01.agsec.de (localhost [127.0.0.1]) by mail.agsec.de (Postfix) with ESMTP id 3826618967A; Thu, 2 Jul 2015 16:32:26 +0200 (CEST) X-Virus-Scanned-AGSEC: MailMurkxDeScraCxler at agsec.de Received: from mail.agsec.de ([194.55.156.222]) by hh01.agsec.de (hh01.agsec.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dO-kDkQXFyVF; Thu, 2 Jul 2015 16:32:23 +0200 (CEST) Received: from ernie.int.kts.org (www.hallstr.kts.org [IPv6:2001:6f8:1c56:42::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.agsec.de (Postfix) with ESMTPSA id F0F28189678; Thu, 2 Jul 2015 16:32:22 +0200 (CEST) X-Virus-Scanned-KTS: Mail-UnWroks-U-Laksler at KTS.ORG Received: from frazzle.int.kts.org (frazzle.int.kts.org [IPv6:2001:6f8:1c56:42::11]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ernie.int.kts.org (Postfix) with ESMTPSA id 0189CE2115; Thu, 2 Jul 2015 16:32:10 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Hellmuth Michaelis In-Reply-To: <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> Date: Thu, 2 Jul 2015 16:32:10 +0200 Cc: Glen Barber , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> To: Andrew Gervase X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 14:32:39 -0000 it seems booting from eMMC is currently not possible, for a discussion = of possible causes have a look at the thread = https://lists.freebsd.org/pipermail/freebsd-arm/2015-March/010598.html hellmuth > Am 02.07.2015 um 13:35 schrieb Andrew Gervase : >=20 > Thank you for your reply, Glen: To me, the script is optional. All = it does is partition and newfs a slice on mmc1, and then copies = everything via tar from mmc0 to mmc1. =20 >=20 > My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I = was wondering if there is a module that needs to be loaded or compiled = into the kernel to make sure the eMMC (mmc1) is recognized. =20 >=20 > Andy ideas? >=20 > =E2=80=94Andy >=20 >> On Jul 2, 2015, at 01:06, Glen Barber wrote: >>=20 >> On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: >>> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: >>>> I was finally able to get my Beaglebone Black to boot from FreeBSD >>>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 = is not >>>> found. I'd very much like my BBB to boot automatically, preferably = from the >>>> eMMC, however I'll take what I can! >>>>=20 >>>> Please forgive me in advance if this question has already been = addressed, as >>>> my searches have yielded nothing helpful thus far. >>>>=20 >>>> My greatest appreciation in advance, >>>=20 >>> Please wait until next week when several changes/fixes are committed = to >>> the stable/10 branch that can help with this. >>>=20 >>> Unless you do not have a particular reason to run 10-STABLE, you can = try >>> the 11-CURRENT snapshots. See the mailing list archives for >>> freebsd-snapshots@ for details. >>>=20 >>=20 >> Bah, actually I think what I suggested is orthogonal to your issue, >> since I just realized you mentioned a script I am unaware of. >>=20 >> Sorry for any confusion. >>=20 >> Glen >>=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Thu Jul 2 14:35:45 2015 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 A175A993EA1 for ; Thu, 2 Jul 2015 14:35:45 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 84C4624ED; Thu, 2 Jul 2015 14:35:45 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id D7F231927; Thu, 2 Jul 2015 14:35:44 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Thu, 2 Jul 2015 14:35:42 +0000 From: Glen Barber To: Hellmuth Michaelis Cc: Andrew Gervase , freebsd-arm@freebsd.org Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <20150702143542.GD53770@FreeBSD.org> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZJcv+A0YCCLh2VIg" Content-Disposition: inline In-Reply-To: <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 14:35:45 -0000 --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm curious - is this even necessary to do anymore? My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images "just boot." Maybe I don't understand what this script is supposed to fix. Can someone clarify that for me? Thanks. Glen On Thu, Jul 02, 2015 at 04:32:10PM +0200, Hellmuth Michaelis wrote: > it seems booting from eMMC is currently not possible, for a discussion of= possible causes have a look at the thread https://lists.freebsd.org/piperm= ail/freebsd-arm/2015-March/010598.html >=20 > hellmuth >=20 >=20 > > Am 02.07.2015 um 13:35 schrieb Andrew Gervase : > >=20 > > Thank you for your reply, Glen: To me, the script is optional. All i= t does is partition and newfs a slice on mmc1, and then copies everything v= ia tar from mmc0 to mmc1. =20 > >=20 > > My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I was= wondering if there is a module that needs to be loaded or compiled into th= e kernel to make sure the eMMC (mmc1) is recognized. =20 > >=20 > > Andy ideas? > >=20 > > =E2=80=94Andy > >=20 > >> On Jul 2, 2015, at 01:06, Glen Barber wrote: > >>=20 > >> On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: > >>> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: > >>>> I was finally able to get my Beaglebone Black to boot from FreeBSD > >>>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 = is not > >>>> found. I'd very much like my BBB to boot automatically, preferably = =66rom the > >>>> eMMC, however I'll take what I can! > >>>>=20 > >>>> Please forgive me in advance if this question has already been addre= ssed, as > >>>> my searches have yielded nothing helpful thus far. > >>>>=20 > >>>> My greatest appreciation in advance, > >>>=20 > >>> Please wait until next week when several changes/fixes are committed = to > >>> the stable/10 branch that can help with this. > >>>=20 > >>> Unless you do not have a particular reason to run 10-STABLE, you can = try > >>> the 11-CURRENT snapshots. See the mailing list archives for > >>> freebsd-snapshots@ for details. > >>>=20 > >>=20 > >> Bah, actually I think what I suggested is orthogonal to your issue, > >> since I just realized you mentioned a script I am unaware of. > >>=20 > >> Sorry for any confusion. > >>=20 > >> Glen > >>=20 > >=20 > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20 --ZJcv+A0YCCLh2VIg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlUw+AAoJEAMUWKVHj+KTUi8P/RQ7OzBOVk/4Hxl7PIF8C0E1 H/RA2guN0z1dfYvJdgf6OKiQ4eDqBqS+OCAM6HC05ctHPBSYwbmoTCZECvNSroUq jPU6HCQp3q3R1fuVES4M6zlcafaa1mDLRsumH7dNgwZ4bb15funhu7vfjewv5T7s WYfBXFsfKQWWDE8A+/hA+cqLSc/rbs9x1Tjyk0UWCx/g+EjfRxV0afCNd/myXEHL 7x87nBw/JhmU1Lo1CvPA5rmt+/Y1zrcfuzz/MwBAOXOE6DIITnOrhHn/jjCLe/4k ywWScd2ghDXt/Q/g5AcIb6ANxLkrjwlCPGJpNWHkAPcanAI+U6mnanvtDmxh8Dpe m0p0FZk3LozqvSjTwEQhIKll7ffcOFygBMwGCyY47I/iuKyX0G8Y3P2HOiWRrw/O 62Hbat9t1sWLaSNA++nxhtsWqYYTVDn+h9x8q9VL0Mdi+GALC+3qaLLovpMyXSZu GQJ+q8alwwl7pBDYAX7jklR1CwfZV7NzE49D42iTNTnVT44RVwWM1ZeIhmguVvrr 05QRxI22+M6yOCsjZYUYG84D6mpcNBuOFtBkl/OD7sJFYGKkuy2aSDm9+p8Qmd1s q6lbU+GceSh1XAIEotLjaWaV9UzsMN/+RRz5B1zFS31Nhefk+ifqbt7n33zgAnOd plb33mPdl7M5kilrecH4 =J/CO -----END PGP SIGNATURE----- --ZJcv+A0YCCLh2VIg-- From owner-freebsd-arm@freebsd.org Thu Jul 2 14:37:48 2015 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 71DD7993F4F for ; Thu, 2 Jul 2015 14:37:48 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::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 0B0A32843; Thu, 2 Jul 2015 14:37:48 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by wgjx7 with SMTP id x7so64960017wgj.2; Thu, 02 Jul 2015 07:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Q+wm6wzY/Fr3TrrqJVDeDTTNsvdDCbDP86eMgjCRDRg=; b=C6eKnXy9BGimfZAxUXrW0jhf2m5kAhkLxG2C9BV1vsbgaf+CDZF6uvW+pjHphyBo9o 8Fnoy15ijhgl0MJGIKvlLOvEjOpUV8UgpbfDzt8ozKFDeLb1yft+kJ849ydergF7n3GQ 3PD0OI2EDCeMmlh/SpfUJ1J8gDKLc2+SxzNmlUQMxkanFXyp0xvOd/jHh6Dy0hYQbDS1 O7BOrJ1CS0uUf/uzljQndQpCeHxVGYsR2K/95ei7b1Kw7mR/CUUAfVUhmnBe88Emw0Qy aUF1O8gCI8ofEDfRxRWsImqmCEvyE4Lz5an6HL32bE/S8MEdrYMeWRJDO6bOyLBTDn+x so/g== MIME-Version: 1.0 X-Received: by 10.180.23.33 with SMTP id j1mr8858235wif.44.1435847866490; Thu, 02 Jul 2015 07:37:46 -0700 (PDT) Received: by 10.194.64.102 with HTTP; Thu, 2 Jul 2015 07:37:46 -0700 (PDT) In-Reply-To: <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> Date: Thu, 2 Jul 2015 17:37:46 +0300 Message-ID: Subject: Re: Once Booted from MMC, eMMC not found From: Andrey Fesenko To: Hellmuth Michaelis Cc: Andrew Gervase , Glen Barber , "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.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 14:37:48 -0000 On Thu, Jul 2, 2015 at 5:32 PM, Hellmuth Michaelis wrote: > it seems booting from eMMC is currently not possible, for a discussion of= possible causes have a look at the thread https://lists.freebsd.org/piperm= ail/freebsd-arm/2015-March/010598.html > > hellmuth > > >> Am 02.07.2015 um 13:35 schrieb Andrew Gervase : >> >> Thank you for your reply, Glen: To me, the script is optional. All it= does is partition and newfs a slice on mmc1, and then copies everything vi= a tar from mmc0 to mmc1. >> >> My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I was = wondering if there is a module that needs to be loaded or compiled into the= kernel to make sure the eMMC (mmc1) is recognized. >> >> Andy ideas? >> >> =E2=80=94Andy >> >>> On Jul 2, 2015, at 01:06, Glen Barber wrote: >>> >>> On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: >>>> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: >>>>> I was finally able to get my Beaglebone Black to boot from FreeBSD >>>>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc1 i= s not >>>>> found. I'd very much like my BBB to boot automatically, preferably f= rom the >>>>> eMMC, however I'll take what I can! >>>>> >>>>> Please forgive me in advance if this question has already been addres= sed, as >>>>> my searches have yielded nothing helpful thus far. >>>>> >>>>> My greatest appreciation in advance, >>>> >>>> Please wait until next week when several changes/fixes are committed t= o >>>> the stable/10 branch that can help with this. >>>> >>>> Unless you do not have a particular reason to run 10-STABLE, you can t= ry >>>> the 11-CURRENT snapshots. See the mailing list archives for >>>> freebsd-snapshots@ for details. >>>> >>> >>> Bah, actually I think what I suggested is orthogonal to your issue, >>> since I just realized you mentioned a script I am unaware of. >>> >>> Sorry for any confusion. >>> >>> Glen >>> If interesting i'm build image with patch issue https://github.com/freebsd/crochet/issues/117 complete image download https://bsdnir.info/files/ From owner-freebsd-arm@freebsd.org Thu Jul 2 21:38:10 2015 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 8908999230C for ; Thu, 2 Jul 2015 21:38:10 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 6DCBD1CD2 for ; Thu, 2 Jul 2015 21:38:10 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 3A38DBACB; Thu, 2 Jul 2015 21:38:10 +0000 (UTC) Date: Thu, 2 Jul 2015 21:38:10 +0000 To: freebsd-arm@freebsd.org From: "emaste (Ed Maste)" Reply-to: D2378+327+81b4fa511783cd72@FreeBSD.org Subject: [Differential] [Commented On] D2378: Introduce ITS support for ARM64 Message-ID: X-Priority: 3 Thread-Topic: D2378: Introduce ITS support for ARM64 X-Herald-Rules: <28>, <31>, <32>, <34>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTc3NjU2YTNlNjQxNDIwYzYxMmJlZjFmYzJmIFWVr0I= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 21:38:10 -0000 emaste added inline comments. INLINE COMMENTS sys/arm64/arm64/gic_v3.c:297 Is something like GIC_LAST_LPI sensible? Or any interrupt number >= 8192 is LPI? REVISION DETAIL https://reviews.freebsd.org/D2378 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: zbb, imp, ian, andrew, emaste, manpages Cc: eadler, jmg, gnn, kib, emaste, andrew, freebsd-arm-list, imp From owner-freebsd-arm@freebsd.org Thu Jul 2 21:40:01 2015 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 6A3ED9923CB for ; Thu, 2 Jul 2015 21:40:01 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0C51F21 for ; Thu, 2 Jul 2015 21:40:01 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 4DDCEBB56; Thu, 2 Jul 2015 21:40:01 +0000 (UTC) Date: Thu, 2 Jul 2015 21:40:01 +0000 To: freebsd-arm@freebsd.org From: "emaste (Ed Maste)" Reply-to: D2378+327+81b4fa511783cd72@FreeBSD.org Subject: [Differential] [Commented On] D2378: Introduce ITS support for ARM64 Message-ID: <2c522a4a91cee9e4455ed96861936604@localhost.localdomain> X-Priority: 3 Thread-Topic: D2378: Introduce ITS support for ARM64 X-Herald-Rules: <28>, <31>, <32>, <34>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTc3NjU2YTNlNjQxNDIwYzYxMmJlZjFmYzJmIFWVr7E= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 21:40:01 -0000 emaste added a comment. I will try to look over the newly added file tonight, but I have no objection to committing the current version and addressing any newly reported issues post-commit. REVISION DETAIL https://reviews.freebsd.org/D2378 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: zbb, imp, ian, andrew, emaste, manpages Cc: eadler, jmg, gnn, kib, emaste, andrew, freebsd-arm-list, imp From owner-freebsd-arm@freebsd.org Thu Jul 2 22:03:57 2015 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 65CAC992BCC for ; Thu, 2 Jul 2015 22:03:57 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 4D69911D4 for ; Thu, 2 Jul 2015 22:03:57 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 4C3F0B6F0; Thu, 2 Jul 2015 22:03:57 +0000 (UTC) Date: Thu, 2 Jul 2015 22:03:57 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Reply-to: D2378+327+81b4fa511783cd72@FreeBSD.org Subject: [Differential] [Commented On] D2378: Introduce ITS support for ARM64 Message-ID: X-Priority: 3 Thread-Topic: D2378: Introduce ITS support for ARM64 X-Herald-Rules: <28>, <31>, <32>, <34>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTc3NjU2YTNlNjQxNDIwYzYxMmJlZjFmYzJmIFWVtU0= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 22:03:57 -0000 zbb added a comment. In https://reviews.freebsd.org/D2378#58418, @emaste wrote: > I will try to look over the newly added file tonight, but I have no objection to committing the current version and addressing any newly reported issues post-commit. Thank you Ed. That is a good idea. INLINE COMMENTS sys/arm64/arm64/gic_v3.c:297 Yes, any interrupt number >= 8192 is LPI but the upper limit is (as far as I can remember) implementation defined (the maximum for the architecture should be something like 2^32 - 1). REVISION DETAIL https://reviews.freebsd.org/D2378 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: zbb, imp, ian, andrew, emaste, manpages Cc: eadler, jmg, gnn, kib, emaste, andrew, freebsd-arm-list, imp From owner-freebsd-arm@freebsd.org Fri Jul 3 04:40:37 2015 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 8B8AA99319A for ; Fri, 3 Jul 2015 04:40:37 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (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 0CC961A44; Fri, 3 Jul 2015 04:40:36 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t634edL4043556; Fri, 3 Jul 2015 04:40:39 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id 7bqhi3ab3xsxbxdtu8rswrkaca; Fri, 03 Jul 2015 04:40:34 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Tim Kientzle In-Reply-To: <20150702143542.GD53770@FreeBSD.org> Date: Thu, 2 Jul 2015 21:40:22 -0700 Cc: Hellmuth Michaelis , freebsd-arm Message-Id: <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.2098) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 04:40:37 -0000 > On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: >=20 > I'm curious - is this even necessary to do anymore? >=20 > My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images > "just boot." >=20 > Maybe I don't understand what this script is supposed to fix. Can > someone clarify that for me? The script just copies a running system booted from SD onto the eMMC so = that a BBB can boot without an SD card. The script just does the following: * Erases the eMMC * Reformats it * Copies boot files from SD to eMMC * Copies / from SD to eMMC (excluding a few things like /usr/src, = /usr/obj that are unlikely to fit) * Tweaks a few configuration parameters on the copied system There=E2=80=99s really not much to it, as you can see for yourself: = https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/ro= ot/copy-to-emmc.sh = At one time, this worked pretty reliably, but a number of things seem to = have broken since I last tried it. Cheers, Tim >=20 > Thanks. >=20 > Glen >=20 > On Thu, Jul 02, 2015 at 04:32:10PM +0200, Hellmuth Michaelis wrote: >> it seems booting from eMMC is currently not possible, for a = discussion of possible causes have a look at the thread = https://lists.freebsd.org/pipermail/freebsd-arm/2015-March/010598.html >>=20 >> hellmuth >>=20 >>=20 >>> Am 02.07.2015 um 13:35 schrieb Andrew Gervase : >>>=20 >>> Thank you for your reply, Glen: To me, the script is optional. = All it does is partition and newfs a slice on mmc1, and then copies = everything via tar from mmc0 to mmc1. =20 >>>=20 >>> My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I = was wondering if there is a module that needs to be loaded or compiled = into the kernel to make sure the eMMC (mmc1) is recognized. =20 >>>=20 >>> Andy ideas? >>>=20 >>> =E2=80=94Andy >>>=20 >>>> On Jul 2, 2015, at 01:06, Glen Barber wrote: >>>>=20 >>>> On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: >>>>> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: >>>>>> I was finally able to get my Beaglebone Black to boot from = FreeBSD >>>>>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because = mmc1 is not >>>>>> found. I'd very much like my BBB to boot automatically, = preferably from the >>>>>> eMMC, however I'll take what I can! >>>>>>=20 >>>>>> Please forgive me in advance if this question has already been = addressed, as >>>>>> my searches have yielded nothing helpful thus far. >>>>>>=20 >>>>>> My greatest appreciation in advance, >>>>>=20 >>>>> Please wait until next week when several changes/fixes are = committed to >>>>> the stable/10 branch that can help with this. >>>>>=20 >>>>> Unless you do not have a particular reason to run 10-STABLE, you = can try >>>>> the 11-CURRENT snapshots. See the mailing list archives for >>>>> freebsd-snapshots@ for details. >>>>>=20 >>>>=20 >>>> Bah, actually I think what I suggested is orthogonal to your issue, >>>> since I just realized you mentioned a script I am unaware of. >>>>=20 >>>> Sorry for any confusion. >>>>=20 >>>> Glen >>>>=20 >>>=20 >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>=20 From owner-freebsd-arm@freebsd.org Fri Jul 3 04:46:25 2015 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 5CC16993228 for ; Fri, 3 Jul 2015 04:46:25 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 481241CC5; Fri, 3 Jul 2015 04:46:25 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id A2A911CE2; Fri, 3 Jul 2015 04:46:24 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Fri, 3 Jul 2015 04:46:22 +0000 From: Glen Barber To: Tim Kientzle Cc: Hellmuth Michaelis , freebsd-arm Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <20150703044622.GE6532@FreeBSD.org> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Oiv9uiLrevHtW1RS" Content-Disposition: inline In-Reply-To: <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 04:46:25 -0000 --Oiv9uiLrevHtW1RS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Tim, On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote: > > On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: > >=20 > > I'm curious - is this even necessary to do anymore? > >=20 > > My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images > > "just boot." > >=20 > > Maybe I don't understand what this script is supposed to fix. Can > > someone clarify that for me? >=20 > The script just copies a running system booted from SD onto the eMMC so t= hat a BBB can boot without an SD card. >=20 > The script just does the following: > * Erases the eMMC > * Reformats it > * Copies boot files from SD to eMMC > * Copies / from SD to eMMC (excluding a few things like /usr/src, /usr/= obj that are unlikely to fit) > * Tweaks a few configuration parameters on the copied system >=20 Ah, okay, this is the part I was missing. I misunderstood what the eMMC did overall, and wasn't sure how this interacted with the system in whole. Thank you for the explanation. Glen > There=E2=80=99s really not much to it, as you can see for yourself: >=20 > https://github.com/freebsd/crochet/blob/master/board/BeagleBone/overlay/r= oot/copy-to-emmc.sh >=20 > At one time, this worked pretty reliably, but a number of things seem to = have broken since I last tried it. >=20 > Cheers, >=20 > Tim >=20 >=20 >=20 > >=20 > > Thanks. > >=20 > > Glen > >=20 > > On Thu, Jul 02, 2015 at 04:32:10PM +0200, Hellmuth Michaelis wrote: > >> it seems booting from eMMC is currently not possible, for a discussion= of possible causes have a look at the thread https://lists.freebsd.org/pip= ermail/freebsd-arm/2015-March/010598.html > >>=20 > >> hellmuth > >>=20 > >>=20 > >>> Am 02.07.2015 um 13:35 schrieb Andrew Gervase : > >>>=20 > >>> Thank you for your reply, Glen: To me, the script is optional. All= it does is partition and newfs a slice on mmc1, and then copies everything= via tar from mmc0 to mmc1. =20 > >>>=20 > >>> My problem is, mmc1 doesn=E2=80=99t exist once the kernel loads. I w= as wondering if there is a module that needs to be loaded or compiled into = the kernel to make sure the eMMC (mmc1) is recognized. =20 > >>>=20 > >>> Andy ideas? > >>>=20 > >>> =E2=80=94Andy > >>>=20 > >>>> On Jul 2, 2015, at 01:06, Glen Barber wrote: > >>>>=20 > >>>> On Thu, Jul 02, 2015 at 05:03:06AM +0000, Glen Barber wrote: > >>>>> On Wed, Jul 01, 2015 at 09:47:51PM -0700, agervase wrote: > >>>>>> I was finally able to get my Beaglebone Black to boot from FreeBSD > >>>>>> 10.1-RELEASE, however the copy-to-emmc.sh script fails because mmc= 1 is not > >>>>>> found. I'd very much like my BBB to boot automatically, preferabl= y from the > >>>>>> eMMC, however I'll take what I can! > >>>>>>=20 > >>>>>> Please forgive me in advance if this question has already been add= ressed, as > >>>>>> my searches have yielded nothing helpful thus far. > >>>>>>=20 > >>>>>> My greatest appreciation in advance, > >>>>>=20 > >>>>> Please wait until next week when several changes/fixes are committe= d to > >>>>> the stable/10 branch that can help with this. > >>>>>=20 > >>>>> Unless you do not have a particular reason to run 10-STABLE, you ca= n try > >>>>> the 11-CURRENT snapshots. See the mailing list archives for > >>>>> freebsd-snapshots@ for details. > >>>>>=20 > >>>>=20 > >>>> Bah, actually I think what I suggested is orthogonal to your issue, > >>>> since I just realized you mentioned a script I am unaware of. > >>>>=20 > >>>> Sorry for any confusion. > >>>>=20 > >>>> Glen > >>>>=20 > >>>=20 > >>> _______________________________________________ > >>> freebsd-arm@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm > >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >>=20 >=20 --Oiv9uiLrevHtW1RS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlhOeAAoJEAMUWKVHj+KTiBgQAIIJYDk78SZZr/es33UheWVA 11hzsZ3s9j8XOsga36Mk7Vdr8pTXV09Onl6fhpKuW8ILQOjBELU2M7Djjx8REsla 7cZ+VTAXsbEVwMBmtUtI1SeI04lmyTgCR7+ljAD5EKukUjiXb8WVE1tRtlI6urrH 0+L5sLSakx2FQ7hqjDKdnL2KTrcImVlTdrBHeY9B6viBpfe8gn58LQ3ZKNrP1lhZ oL5UOds6yk4/i3TCp77h/9MigtJrdd1VTqgvBjTpW8koGBSK9i5HlqErFF6UbKMd w8w4hj3DzrocCPtWXZtX+9c5+b+QaFyUZT4ajHTp3Dm34usJhMt2Ebax9WtLQzBt LyFsI6dMnocY20u7YkrNyDiIOflQKRDR0I634/NvraDPz19C9C6PNdylNON7Zy1B noJ5Wjw3pNnGpq+TX0zvo7vJzoKoJXgMQv9cpRgmHMhGk889KgkBb6BPLQdeORUi JcVBVfbek96O8W3e8BB8o24viZ3Irmo4Z7w14ozUufyGrIAprIboXPZjcaesafmp 1h682lqDNDsdIn+fbs6+JbyxdXXsUo87afim4WqI2wksaBqlAFyovflXVBmA2iF6 ym5am+FivBjuRBV3Mzx2crVXinSNmMtnm90c1hIDimZrCacMOaDoDCaKJEPAA2j4 2a4t7oNGI2Bp3ZfR3RCi =Fin/ -----END PGP SIGNATURE----- --Oiv9uiLrevHtW1RS-- From owner-freebsd-arm@freebsd.org Fri Jul 3 11:31:50 2015 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 1152B994440 for ; Fri, 3 Jul 2015 11:31:50 +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 7F6421F08; Fri, 3 Jul 2015 11:31:48 +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 t63BGhZg025827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 3 Jul 2015 13:16:44 +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 t63BGfs8060502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Jul 2015 13:16:41 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t63BGedC027831; Fri, 3 Jul 2015 13:16:40 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t63BGexJ027830; Fri, 3 Jul 2015 13:16:40 +0200 (CEST) (envelope-from ticso) Date: Fri, 3 Jul 2015 13:16:40 +0200 From: Bernd Walter To: Glen Barber Cc: Tim Kientzle , freebsd-arm , Hellmuth Michaelis Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <20150703111640.GA27772@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> <20150703044622.GE6532@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150703044622.GE6532@FreeBSD.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 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.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 11:31:50 -0000 On Fri, Jul 03, 2015 at 04:46:22AM +0000, Glen Barber wrote: > Hi Tim, > > On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote: > > > On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: > > > > > > I'm curious - is this even necessary to do anymore? > > > > > > My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images > > > "just boot." > > > > > > Maybe I don't understand what this script is supposed to fix. Can > > > someone clarify that for me? > > > > The script just copies a running system booted from SD onto the eMMC so that a BBB can boot without an SD card. > > > > The script just does the following: > > * Erases the eMMC > > * Reformats it > > * Copies boot files from SD to eMMC > > * Copies / from SD to eMMC (excluding a few things like /usr/src, /usr/obj that are unlikely to fit) > > * Tweaks a few configuration parameters on the copied system > > > > Ah, okay, this is the part I was missing. I misunderstood what the eMMC > did overall, and wasn't sure how this interacted with the system in > whole. The eMMC is soldered onboard and comes with preinstalled Linux, but is first in boot order. To boot from SD card you need to push a button each time, changing boot order. The least thing you want to have is being able to write zeros to the eMMC to get rid of it's Linux and that the system boots from SD by default. If the current kernel (not tested myself) won't see the the eMMC at all that's more a problem than before. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Fri Jul 3 15:28:44 2015 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 8D9AD9938B6 for ; Fri, 3 Jul 2015 15:28:44 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery4.ore.mailhop.org (pmta2.delivery4.ore.mailhop.org [54.200.247.200]) by mx1.freebsd.org (Postfix) with SMTP id 7136D128E for ; Fri, 3 Jul 2015 15:28:44 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 3 Jul 2015 15:28:46 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t63FSgGC026197; Fri, 3 Jul 2015 09:28:42 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1435937322.1648.152.camel@freebsd.org> Subject: Re: Mounting /usr during boot on RPI2 From: Ian Lepore To: bob prohaska Cc: freebsd-arm@freebsd.org Date: Fri, 03 Jul 2015 09:28:42 -0600 In-Reply-To: <20150702060216.GA65911@www.zefox.net> References: <20150702060216.GA65911@www.zefox.net> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 15:28:44 -0000 On Wed, 2015-07-01 at 23:02 -0700, bob prohaska wrote: > Got an RPI2 system up and running for a few weeks now. For the > most part it's astoundingly robust, but there are a few small > mysteries. > > If /etc/fstab is edited with the line > /dev/da0p3 /usr ufs rw,noatime,late,failok 1 2 > boot fails and drops into single user, saying device not found, > as if /dev isn't fully populated yet. In single user, a manual > fsck -y cleans up the problem and exit starts multiuser. > > Adding a mount command in /etc/rc.conf works but there are > several attempts, with repeated "device busy" and "device > already in use" reports. Eventually /usr mounts from the > usb hard disk and everything works very well. > > Another oddity is that adding fsck -Cy before the mount > command always seems to result in a full fsck, even when > the machine went through a clean reboot. > > Adding swap in /etc/rc.conf likewise works, but with > repeated "device already in use" reports during boot. > > I've tried adding > SCSI_DELAY=20000 to the kernel config file in hopes it > might let the usb device catch up, but the variable seems > to have no effect- > > It looks as if the boot process runs too fast for the usb > daemons to keep up. Is there some way to slow it down? > > For now, the solution seems to be in leaving /etc/fstab > strictly alone and mount /usr in /etc/rc.conf without > invoking fsck -Cy. If the /usr partition is dirty, it > simply must be fsck'd and mounted by hand. > > Altogether the machine works astonishingly well, despite > the little niggles. > > With my compliments and thanks to everybody involved, > > bob prohaska > The solution to mounting a usb device as root when it takes a while to probe is to add kern.cam.boot_delay="10000" to /boot/loader.conf. You may need to rename loader.conf.sample to loader.conf first. The value is in milliseconds, so the above gives a 10 second delay, adjust as needed. -- Ian From owner-freebsd-arm@freebsd.org Fri Jul 3 17:18:00 2015 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 F14D4994CEB for ; Fri, 3 Jul 2015 17:18:00 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id D9E0524E7 for ; Fri, 3 Jul 2015 17:18:00 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id D8621B5A2; Fri, 3 Jul 2015 17:18:00 +0000 (UTC) Date: Fri, 3 Jul 2015 17:18:00 +0000 To: freebsd-arm@freebsd.org From: "jmg (John-Mark Gurney)" Reply-to: D2378+327+81b4fa511783cd72@FreeBSD.org Subject: [Differential] [Changed Subscribers] D2378: Introduce ITS support for ARM64 Message-ID: <28ee529dc3594201a50636f52ef2c22c@localhost.localdomain> X-Priority: 3 Thread-Topic: D2378: Introduce ITS support for ARM64 X-Herald-Rules: <28>, <31>, <32>, <34>, <8> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTc3NjU2YTNlNjQxNDIwYzYxMmJlZjFmYzJmIFWWw8g= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 17:18:01 -0000 jmg removed a subscriber: jmg. REVISION DETAIL https://reviews.freebsd.org/D2378 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: zbb, imp, ian, andrew, emaste, manpages Cc: eadler, gnn, kib, emaste, andrew, freebsd-arm-list, imp From owner-freebsd-arm@freebsd.org Fri Jul 3 19:00:31 2015 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 83A6699403F for ; Fri, 3 Jul 2015 19:00:31 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (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 3DB551972; Fri, 3 Jul 2015 19:00:30 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t63J0drr045783; Fri, 3 Jul 2015 19:00:39 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id pddr7vxeb7e25wdzhx7dcffwxi; Fri, 03 Jul 2015 19:00:38 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Tim Kientzle In-Reply-To: <20150703044622.GE6532@FreeBSD.org> Date: Fri, 3 Jul 2015 12:00:26 -0700 Cc: Hellmuth Michaelis , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> <20150703044622.GE6532@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 19:00:31 -0000 > On Jul 2, 2015, at 9:46 PM, Glen Barber wrote: >=20 > Hi Tim, >=20 > On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote: >>> On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: >>>=20 >>> I'm curious - is this even necessary to do anymore? >>>=20 >>> My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black = images >>> "just boot." >>>=20 >>> Maybe I don't understand what this script is supposed to fix. Can >>> someone clarify that for me? >>=20 >> The script just copies a running system booted from SD onto the eMMC = so that a BBB can boot without an SD card. >>=20 >> The script just does the following: >> * Erases the eMMC >> * Reformats it >> * Copies boot files from SD to eMMC >> * Copies / from SD to eMMC (excluding a few things like /usr/src, = /usr/obj that are unlikely to fit) >> * Tweaks a few configuration parameters on the copied system >>=20 >=20 > Ah, okay, this is the part I was missing. I misunderstood what the = eMMC > did overall, and wasn't sure how this interacted with the system in > whole. The eMMC chip is connected to the second SD/MMC interface on the SoC. = To the kernel, it should look just like a second SD/MMC card on the = second interface. BBB can boot from eMMC to create a nice self-contained system. At one = time, Crochet=E2=80=99s BBB images could be easily copied to eMMC to = boot from there without an SD card, but this doesn=E2=80=99t seem to = work anymore due to changes in FreeBSD somewhere. I stopped using the eMMC for booting myself simply because 2GB wasn=E2=80=99= t enough for the things I was trying to do. There are now BBB with 4G = eMMC chips, so that may be worth looking into again. Tim From owner-freebsd-arm@freebsd.org Fri Jul 3 19:18:18 2015 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 D829599436A for ; Fri, 3 Jul 2015 19:18:18 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (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 5ECBE240C; Fri, 3 Jul 2015 19:18:17 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t63JIPn6045841; Fri, 3 Jul 2015 19:18:25 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id wuecczr6trkvnhgsxu7aa6xjxs; Fri, 03 Jul 2015 19:18:24 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Tim Kientzle In-Reply-To: <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com> Date: Fri, 3 Jul 2015 12:18:12 -0700 Cc: Glen Barber , freebsd-arm , Hellmuth Michaelis Message-Id: References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> <20150703044622.GE6532@FreeBSD.org> <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.2098) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 19:18:19 -0000 > On Jul 3, 2015, at 12:00 PM, Tim Kientzle wrote: >=20 >=20 >> On Jul 2, 2015, at 9:46 PM, Glen Barber wrote: >>=20 >> Hi Tim, >>=20 >> On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote: >>>> On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: >>>>=20 >>>> I'm curious - is this even necessary to do anymore? >>>>=20 >>>> My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black = images >>>> "just boot." >>>>=20 >>>> Maybe I don't understand what this script is supposed to fix. Can >>>> someone clarify that for me? >>>=20 >>> The script just copies a running system booted from SD onto the eMMC = so that a BBB can boot without an SD card. >>>=20 >>> The script just does the following: >>> * Erases the eMMC >>> * Reformats it >>> * Copies boot files from SD to eMMC >>> * Copies / from SD to eMMC (excluding a few things like /usr/src, = /usr/obj that are unlikely to fit) >>> * Tweaks a few configuration parameters on the copied system >>>=20 >>=20 >> Ah, okay, this is the part I was missing. I misunderstood what the = eMMC >> did overall, and wasn't sure how this interacted with the system in >> whole. >=20 > The eMMC chip is connected to the second SD/MMC interface on the SoC. = To the kernel, it should look just like a second SD/MMC card on the = second interface. >=20 > BBB can boot from eMMC to create a nice self-contained system. At one = time, Crochet=E2=80=99s BBB images could be easily copied to eMMC to = boot from there without an SD card, but this doesn=E2=80=99t seem to = work anymore due to changes in FreeBSD somewhere. >=20 > I stopped using the eMMC for booting myself simply because 2GB = wasn=E2=80=99t enough for the things I was trying to do. There are now = BBB with 4G eMMC chips, so that may be worth looking into again. >=20 Is this bug still open? If so, that would at least partly explain the = problem. FreeBSD=E2=80=99s newfs_msdos seems to still insist on = omitting a partial final track from the total sector count and the = AM335x boot ROM has always refused to boot from an MSDOS file system = where the sector counts don=E2=80=99t match: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D183234 = Tim From owner-freebsd-arm@freebsd.org Fri Jul 3 19:18:33 2015 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 DC7F4994380 for ; Fri, 3 Jul 2015 19:18:33 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery4.ore.mailhop.org (pmta2.delivery4.ore.mailhop.org [54.200.247.200]) by mx1.freebsd.org (Postfix) with SMTP id A146A2453 for ; Fri, 3 Jul 2015 19:18:33 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 3 Jul 2015 19:18:34 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t63JIULr026486; Fri, 3 Jul 2015 13:18:30 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1435951110.1648.158.camel@freebsd.org> Subject: Re: Once Booted from MMC, eMMC not found From: Ian Lepore To: Tim Kientzle Cc: Glen Barber , freebsd-arm , Hellmuth Michaelis Date: Fri, 03 Jul 2015 13:18:30 -0600 In-Reply-To: <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> <20150703044622.GE6532@FreeBSD.org> <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com> Content-Type: text/plain; charset="iso-8859-7" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 19:18:34 -0000 On Fri, 2015-07-03 at 12:00 -0700, Tim Kientzle wrote: > > On Jul 2, 2015, at 9:46 PM, Glen Barber wrote: > > > > Hi Tim, > > > > On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote: > >>> On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: > >>> > >>> I'm curious - is this even necessary to do anymore? > >>> > >>> My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black images > >>> "just boot." > >>> > >>> Maybe I don't understand what this script is supposed to fix. Can > >>> someone clarify that for me? > >> > >> The script just copies a running system booted from SD onto the eMMC so that a BBB can boot without an SD card. > >> > >> The script just does the following: > >> * Erases the eMMC > >> * Reformats it > >> * Copies boot files from SD to eMMC > >> * Copies / from SD to eMMC (excluding a few things like /usr/src, /usr/obj that are unlikely to fit) > >> * Tweaks a few configuration parameters on the copied system > >> > > > > Ah, okay, this is the part I was missing. I misunderstood what the eMMC > > did overall, and wasn't sure how this interacted with the system in > > whole. > > The eMMC chip is connected to the second SD/MMC interface on the SoC. To the kernel, it should look just like a second SD/MMC card on the second interface. > > BBB can boot from eMMC to create a nice self-contained system. At one time, Crochet¢s BBB images could be easily copied to eMMC to boot from there without an SD card, but this doesn¢t seem to work anymore due to changes in FreeBSD somewhere. > > I stopped using the eMMC for booting myself simply because 2GB wasn¢t enough for the things I was trying to do. There are now BBB with 4G eMMC chips, so that may be worth looking into again. > > Tim Some changes in the mmc driver related to ancient msdos geometry stuff caused failures for a while (a long while). Those changes have been undone (as of r283754 about a month ago), so I would expect that the copy script would work again now. In the case of the OP's problem, it was related to using 10.1-RELEASE, and it's known that that release was broken in several ways on armv6. 10-stable (and hopefully the upcoming 10.2-RELEASE) should be fine. -- Ian From owner-freebsd-arm@freebsd.org Fri Jul 3 23:45:36 2015 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 D4EE999469B for ; Fri, 3 Jul 2015 23:45:36 +0000 (UTC) (envelope-from mike@skew.org) Received: from chilled.skew.org (chilled.skew.org [70.90.116.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.skew.org", Issuer "AlphaSSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2D9B25B0 for ; Fri, 3 Jul 2015 23:45:36 +0000 (UTC) (envelope-from mike@skew.org) Received: from chilled.skew.org (localhost [127.0.0.1]) by chilled.skew.org (8.14.7/8.14.7) with ESMTP id t63NjYqu066267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 3 Jul 2015 17:45:35 -0600 (MDT) (envelope-from mike@chilled.skew.org) Received: (from mike@localhost) by chilled.skew.org (8.14.7/8.14.7/Submit) id t63NjYYZ066266 for freebsd-arm@freebsd.org; Fri, 3 Jul 2015 17:45:34 -0600 (MDT) (envelope-from mike) Date: Fri, 3 Jul 2015 17:45:34 -0600 From: Mike Brown To: freebsd-arm@freebsd.org Subject: cpsw0: Failed to read from PHY (on BBB w/11.0-CURRENT) Message-ID: <20150703234534.GA66208@chilled.skew.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Whoa: whoa. User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 23:45:36 -0000 I'm trying to get FreeBSD working on my BeagleBone Black rev. C. 10.1-STABLE (20150617 snapshot) wouldn't boot; it couldn't mount rootfs. http://pastebin.com/7dPQFGH2 is the console log if anyone cares. I asked on Freenode #freebsd-embedded and was told to try 11-CURRENT for now. Well, 11-current boots, but I can't get networking going. ifconfig only shows the lo0 device, no cpsw0. The boot messages said: cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,0x4a101200-0x4a1012ff irq 40,41,42,43 on simplebus0 cpsw0: CPSW SS Version 1.12 (0) cpsw0: Initial queue size TX=128 RX=384 cpsw0: Failed to read from PHY. cpsw0: attaching PHYs failed device_attach: cpsw0 attach returned 6 I get the same result regardless of whether an ethernet cable is plugged in. Is this expected, or is something wrong on my end? Let me know if you need any more info. Thanks! From owner-freebsd-arm@freebsd.org Fri Jul 3 23:51:30 2015 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 27CCB994846 for ; Fri, 3 Jul 2015 23:51:30 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 16C1F2881; Fri, 3 Jul 2015 23:51:30 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 90C441EA9; Fri, 3 Jul 2015 23:51:29 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Fri, 3 Jul 2015 23:51:27 +0000 From: Glen Barber To: Mike Brown Cc: freebsd-arm@freebsd.org Subject: Re: cpsw0: Failed to read from PHY (on BBB w/11.0-CURRENT) Message-ID: <20150703235127.GB1338@FreeBSD.org> References: <20150703234534.GA66208@chilled.skew.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <20150703234534.GA66208@chilled.skew.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 23:51:30 -0000 --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 03, 2015 at 05:45:34PM -0600, Mike Brown wrote: > I'm trying to get FreeBSD working on my BeagleBone Black rev. C. >=20 > 10.1-STABLE (20150617 snapshot) wouldn't boot; it couldn't mount rootfs. > http://pastebin.com/7dPQFGH2 is the console log if anyone cares. I will be committing the fix to this shortly. Glen --H1spWtNR+x+ondvy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlx//AAoJEAMUWKVHj+KTjTcP/1Xzo9Xx7JFyyPk6RMy/pt4A TcioQkO1/fluud2pd63FxGPwv4DL64QTbcX9zZ66J8N6oC096RIT/amiKxFuJo1W /SzzAivlbMbXwc/z60kdVB2gVlSXU3JyS4HiGRUKVvLjUavz+UbaMFtV41F5GXdE Mm9F04YmegP+sz1Q8ZObwowoGb6vmuAJNSv0/d8sgmKiA3ZQsuM+v5dnwrsMxPeY DqJeWTW0SRfeeIPfPJWfg6z81vP4LaB+Ra2EvMfKhPP8riC/CuJKA1YuOSJ9i+QF dCLUfH+kCpjmU/Yi6DO/cpAPzcH3MiTYU6wzu7D2oWnQO4q44shn8XMGTpteeOZT jhb9tXOYzxt3qPj89Bb1U7c8J+h3gIbxuHSoX1aXp5CSFotdt9SBp9RCwDPhP883 sFlyrcoY3goPDtJtOkC49qlDK5wyYYV+7DsQFZlR/dGPU8kjn+tEb9Gg0zIBRbv8 VMPdkP8hT3gfifH6J5dLpcEaZsV35e1QtPp/Hvp/C2K8LLLhAB4/mC7SP2xibmgd syaRPj/tDZ6SJZVzrybgyj2yL7Yl8XYvscZ+kT56ZlMQa6t/Ga7v92vFtrxnsD8B Jqr6VSEIPTkCblEYprqYJQMFaetYjHbIcBlCdvm+pDYhDOH3tF+n1sqFEFWvY51t pX/eewi6NMCkrCyCwvfL =U4YC -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy-- From owner-freebsd-arm@freebsd.org Sat Jul 4 00:30:34 2015 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 8C764992213 for ; Sat, 4 Jul 2015 00:30:34 +0000 (UTC) (envelope-from mmitchel@gmail.com) Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::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 43AA218DD for ; Sat, 4 Jul 2015 00:30:34 +0000 (UTC) (envelope-from mmitchel@gmail.com) Received: by iebmu5 with SMTP id mu5so84244076ieb.1 for ; Fri, 03 Jul 2015 17:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NBiIK+uRw1RA1EnIt8QGMAHZUDve3wLsijHxfDOlkMg=; b=Wg65JWAVLMRg06LgtMFX16R7teqNcIkOrq/A5dWrIEYOnHaV/c8OlPoOoM7VCuRawW ZS2sYB715ybsb1HC4F2FLEcfyNCzbMoCwjMRQYMPpwaxY2rF06mOfUuoysjE2zqEm/Y4 UZ7ykOdeuyjB1LBQaa/sK5AGFjzrPOd0M4w5hJcQOfIYCBp4RjCG7PTqreEYIRgZfv48 +eqW9FAHJ2+ctDfpnG3AnAM98LlIXSd5tlbqfT0H59hHAVoP0MYeyqP04xoEqCyoyfNe oODYgxrojeoayB+SWbOmFuh6uDh31S8q0QDeEpKBBmYMv2YPj6h/N3DkRpqRD+1vTDwf xSUA== MIME-Version: 1.0 X-Received: by 10.42.120.201 with SMTP id g9mr1254788icr.23.1435969833108; Fri, 03 Jul 2015 17:30:33 -0700 (PDT) Received: by 10.107.19.200 with HTTP; Fri, 3 Jul 2015 17:30:32 -0700 (PDT) Date: Fri, 3 Jul 2015 17:30:32 -0700 Message-ID: Subject: Kernel Reported Lock Reversal From: Michael Mitchell To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 00:30:34 -0000 [image: Inline image 1] What is the normal triage method to correct these; they appear on console every now and then... lock order reversal 1 ... bufwait ... vfs_bio.c;3156 2 ... dirhash ... ufs_dirhash.c:281 --- syscall (137, ... ) Thank you. From owner-freebsd-arm@freebsd.org Sat Jul 4 18:51:43 2015 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 49AAF98CB for ; Sat, 4 Jul 2015 18:51:43 +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 3B2AE18DB; Sat, 4 Jul 2015 18:51:43 +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 DA17DD3B; Sat, 4 Jul 2015 18:51:31 +0000 (UTC) Date: Sat, 4 Jul 2015 18:51:09 +0000 (GMT) From: jenkins-admin@freebsd.org To: loos@FreeBSD.org, gnn@FreeBSD.org, bapt@FreeBSD.org, oshogbo@FreeBSD.org, araujo@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@freebsd.org Message-ID: <256618830.99.1436035884032.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #514 - 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: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 18:51:43 -0000 FreeBSD_HEAD_arm64 - Build #514 - Failure: Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD_arm64/514/ to view the results. From owner-freebsd-arm@freebsd.org Sat Jul 4 20:51:34 2015 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 C00409D4F for ; Sat, 4 Jul 2015 20:51: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 AF91711BB; Sat, 4 Jul 2015 20:51: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 19752D74; Sat, 4 Jul 2015 20:51:35 +0000 (UTC) Date: Sat, 4 Jul 2015 20:51:31 +0000 (GMT) From: jenkins-admin@freebsd.org To: jhibbits@FreeBSD.org, mav@FreeBSD.org, araujo@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@freebsd.org Message-ID: <2065517892.104.1436043094902.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <256618830.99.1436035884032.JavaMail.jenkins@jenkins-9.freebsd.org> References: <256618830.99.1436035884032.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #515 - Still Failing 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: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 20:51:34 -0000 FreeBSD_HEAD_arm64 - Build #515 - Still Failing: Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD_arm64/515/ to view the results. From owner-freebsd-arm@freebsd.org Sat Jul 4 22:51:16 2015 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 3F7A59ED7 for ; Sat, 4 Jul 2015 22:51:16 +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 2B09E154D; Sat, 4 Jul 2015 22:51:16 +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 D9E90DCF; Sat, 4 Jul 2015 22:51:15 +0000 (UTC) Date: Sat, 4 Jul 2015 22:51:11 +0000 (GMT) From: jenkins-admin@freebsd.org To: gnn@FreeBSD.org, dim@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@freebsd.org Message-ID: <1460439234.106.1436050275159.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <2065517892.104.1436043094902.JavaMail.jenkins@jenkins-9.freebsd.org> References: <2065517892.104.1436043094902.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #516 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 22:51:16 -0000 FreeBSD_HEAD_arm64 - Build #516 - Fixed: Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD_arm64/516/ to view the results.