From owner-freebsd-arm@freebsd.org Sun Mar 28 00:22:01 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05EF35AD7F9 for ; Sun, 28 Mar 2021 00:22:01 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7Gc758Fmz4t9h for ; Sun, 28 Mar 2021 00:21:59 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.16.1/8.15.2) with ESMTPS id 12S0LfNP019190 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 28 Mar 2021 11:21:47 +1100 (AEDT) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 12S0LfNP019190 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 12S0LZvi024659 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 28 Mar 2021 11:21:35 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 12S0LZw8024658; Sun, 28 Mar 2021 11:21:35 +1100 (AEDT) (envelope-from peter) Date: Sun, 28 Mar 2021 11:21:35 +1100 From: Peter Jeremy To: Andrew Mitchell Cc: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mbx/qzfkiCT+QYFe" Content-Disposition: inline In-Reply-To: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4F7Gc758Fmz4t9h X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5801:ebe:5400:1ff:fe53:30fd:from]; R_DKIM_ALLOW(-0.20)[rulingia.com:s=default]; FREEFALL_USER(0.00)[peter]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2001:19f0:5801:ebe:5400:1ff:fe53:30fd:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rulingia.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[rulingia.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[icloud.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 00:22:01 -0000 --mbx/qzfkiCT+QYFe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-Mar-27 18:26:47 +0100, Andrew Mitchell via freebsd-arm wrote: >I've seen that there are arm machines for FreeBSD other than Raspberry. =2E.. >So, if you have any suggestions for a working FreeBSD on any machine, I'd = be grateful. What functions/features do you want? I have both a Rock64 (that I'm using solely as a test/build box at present) and a RockPro64 (that I'm intending to use as a NAS). I'm quite happy with both (though the RockPro64 has a gotcha with serial console use). Both the RK3328 and RK3399 are much better publicly documented than the Broadcom chips so it's much easier to get drivers working on them. --=20 Peter Jeremy --mbx/qzfkiCT+QYFe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmBfzAlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSapg//XyFPupMmLANUq5yDhJoU3Vz4Bz5UkqraTF/HTGGhyqb4/xE/aRDbVzP2 IKyuMtag67DS66WvI6LWKWkdxcOMV0QnYHU8HiKwifQsB3dnoqMh2mDh5o5IRPlQ 0Ix1CP+nPntCWripV4SQxt7OkfhYgF0kHcE0KIevRmKbcUH9nCCJ0U+qmBJFDyDn +MSODlUn3bnmyJBUvaQZdAb4OUM/9n7l4IZcSyushpc40r7ZDgrV1IkmSjkMsrR4 XulllzXm5m/JGN03f7y9oPbHCrWPQ5yGXJafWC+6HbvEYKWe3OfMt+AY6NL6Xq+I LnZ7zH1kmBh4cNdgkvkp1kMIWx6Cg5En2C/ScKpGN8khTNdO/n6vLDRyEJGUZXWx C50Oz+zycG0EsLbqISkwooJII/3JXkFVNKwVy+PVWybIzp35KbypKVE1zjiiYaEi SR5+XkP9ivXrzWaUlk5GESOJIBsjxMayZRwQGgFXk1kKQSrCMrl2msk0bsIwCJ5a F7ZfwTMw6QjWxyr1xrXzwxTPis+OB0U5/rCF4CT2pW1iH6aSIHG6tuR+UKlj1uim Ipd2PjP47Yim6iBP2Th1ovw5SX556+mkQaESsAoJ8z2aq3Bc0DhuXcpCFwj8/sOl UblCTZHfxfVQw9vIwJkGrS59wm1Y+gnAtRxbIBAHOh9uXtkV37E= =kL2m -----END PGP SIGNATURE----- --mbx/qzfkiCT+QYFe-- From owner-freebsd-arm@freebsd.org Sun Mar 28 01:41:14 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 69D1F5B04CA for ; Sun, 28 Mar 2021 01:41:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7JMY1XNwz3Fg6 for ; Sun, 28 Mar 2021 01:41:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616895671; bh=cqb+4clbAkkEL1CdQ2o5vcTJqpZhstKvK7j9eoLGD8t=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=Hk4POPs10WuSQxj/yxgJM2KFSj+n3oh3YTwud1XZQCoPWYIUquzVWr3yX5hGZakxkxKXjxGHDjKHitRXwx86I0Mx4mKhnDoHFmnfYJzPLiSP9Luf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WakNQZ9DtLi4_H7vFSyzjlJizNpxC0M9mPGABGm64pTlLz_5mYBXa bWVrWs6N8NciPpccApOKqQ6elE1dS.gG1TinCnRbiWoxbbEqGKjVDB.u_k8jKpzy5sHgJUopacJD VS7fvkeCgx763xMSwX851M._oKWWNSLzp3sWppCSuAM7A7JccrGCqAQwcVoQsEYp9MrC2fPUbiQf 6RAz9.zlC4PX6xwVB72wWm5fTsqpsFB0IwnTfGn0MGg88Vwt85NhNcEUn50JmcoaVWnDgXC3QnDG DzIo8PMbcV66r.rY_3eHud4gIk_W9feQuW8s3DC91eNNv6Ki6jTUmNcLxwXl3NXl9WP1wNu2PbXn 6hNa.QKEKSAL2aVrzU5lZvVG4kuSo1H7JVAsUr3lCNhITOuMdKMLVUDQwvGvaEGp8A.U4uREjugE 2mhH1rwilkrGO.jlYO70K_FotvLs2pjQUz8Wzdgo.SYMjdzXlyXx5DZxaOFTwxVgvfdJ2p6aqp6e VRPvHRhlEiMEOejTYnl6TFaNFZmwMJbFq_2biCLPLINN9ROme.Y7C7mH44t98wX8oH9eG5ZnCGEg M_wqX4BqyJn3gUOdYE5qTvmxSNHatIMCn5yI9FpmVQ3WBPheODkWIbnPwwL_BebBL9DxfxHAURVq GoC1jiBPx279jD1QDdq.P2UNGZD3GDP9O3TFnhPC1eKeyaiS2b8Pj57I5QCNsvNJNGzQCWQ0yBg- - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 01:41:11 +0000 Received: by kubenode524.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID afa10a66fff20b75dc54b83ebe24b970; Sun, 28 Mar 2021 01:41:08 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPI4 clock speeds and serial port (the ~/fbsd-based-on-what-freebsd-main.sh script again) From: Mark Millard In-Reply-To: <1EF5AB68-4357-455C-AD0F-86FCCD4AC50B@yahoo.com> Date: Sat, 27 Mar 2021 18:41:07 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210318170053.GA26688@www.zefox.net> <9FFA0A51-C0B7-4121-95CA-B98669809007@yahoo.com> <1EF5AB68-4357-455C-AD0F-86FCCD4AC50B@yahoo.com> To: tech-lists X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7JMY1XNwz3Fg6 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.49 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.99)[-0.986]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.32:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 01:41:14 -0000 On 2021-Mar-25, at 10:19, Mark Millard wrote: > On 2021-Mar-25, at 08:09, tech-lists wrote: >=20 >> On Thu, Mar 18, 2021 at 12:05:54PM -0700, Mark Millard via = freebsd-arm wrote: >>=20 >>> # ~/fbsd-based-on-what-freebsd-main.sh >>=20 >> I've seen you reference this more than once. I guess it's a handy = list of git >> commands. Please tell us what's in it/what it does? >>=20 >> The reason I'm asking is i'm still trying to get my head around git. = As >> someone who is much more a sysadmin than a developer, svn did way = more >> for me than git. The commands I miss most are svn info and svn = up -r >=20 > I made the possibly-unusual choice to experiment > with having the FreeBSD patches that I use committed > in my FreeBSD git environment (in my own branches > that track FreeBSD updates from freebsd/main). [A > good portion of the patches are tied to using old > PowerMacs.] >=20 > This leads to issues reporting what official FreeBSD > version my context is based on. So I use a script > for the freebsd/main branch that traces back to a > common point and reporting back to that common > point, inclusive of the common point. >=20 > # more ~/fbsd-based-on-what-freebsd-main.sh=20 > #! /bin/sh > base=3D"`git merge-base freebsd/main HEAD`" \ > && echo "merge-base: $base" \ > && base_date=3D"`TZ=3DUTC git log --format=3Dfuller --date=3Diso-local = --no-color $base^..$base | grep CommitDate:`" \ > && echo "merge-base: $base_date" \ > && git log --oneline --no-color $base^..HEAD \ > && uname -apKU >=20 > It results in output like is shown below: >=20 > # ~/fbsd-based-on-what-freebsd-main.sh=20 > merge-base: 7381bbee29df959e88ec59866cf2878263e7f3b2 > merge-base: CommitDate: 2021-03-12 20:29:42 +0000 > def0058cc690 (HEAD -> mm-src) mm-src snapshot for mm's patched build = in git context. > 7381bbee29df (freebsd/main, freebsd/HEAD, pure-src, main) cam: Run all = XPT_ASYNC ccbs in a dedicated thread > FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm64 aarch64 1400005 1400005 >=20 > The "merge-base" lines are about the common point. > The above shows that I've one commit after that > point: my historical patches are bundled into one > commit for how I'm working. If I change the patching, > I might for a time have more than one commit showing > before the merge base commit is listed. I'm experimenting with a different order to the output, uname then newest to oldest, through merge-base, with merge-base well labeled just before its line is printed: # ~/fbsd-based-on-what-freebsd-main.sh FreeBSD FBSDFHUGE 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG amd64 amd64 1400005 1400005 def0058cc690 (HEAD -> mm-src) mm-src snapshot for mm's patched build in = git context. merge-base: 7381bbee29df959e88ec59866cf2878263e7f3b2 merge-base: CommitDate: 2021-03-12 20:29:42 +0000 7381bbee29df (freebsd/main, freebsd/HEAD, pure-src, main) cam: Run all = XPT_ASYNC ccbs in a dedicated thread The updated script looks like: # more ~/fbsd-based-on-what-freebsd-main.sh #! /bin/sh uname -apKU \ && base=3D"`git merge-base freebsd/main HEAD`" \ && git log --oneline --no-color $base..HEAD \ && base_date=3D"`TZ=3DUTC git log --format=3Dfuller --date=3Diso-local = --no-color $base^..$base | grep CommitDate:`" \ && echo "merge-base: $base" \ && echo "merge-base: $base_date" \ && git log --oneline --no-color $base^..$base =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 03:51:43 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FE915B309F for ; Sun, 28 Mar 2021 03:51:43 +0000 (UTC) (envelope-from carlj@peak.org) Received: from smtp.email-protect.gosecure.net (smtp.email-protect.gosecure.net [208.80.203.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.email-protect.gosecure.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7MG60Qh9z3MP0 for ; Sun, 28 Mar 2021 03:51:41 +0000 (UTC) (envelope-from carlj@peak.org) Received: from envoy14.neonova.net ([137.118.58.100]) by smtp.email-protect.gosecure.net ({2ebfecf6-78b9-11eb-9278-6d746e263879}) via TCP (outbound) with ESMTP id 20210328035121161_00002475 for ; Sat, 27 Mar 2021 20:51:21 -0700 X-RC-FROM: X-RC-RCPT: Received: from bay.localnet (unknown [199.58.99.76]) (Authenticated sender: carlj@peak.org) by envoy14.neonova.net (Postfix) with ESMTPA id 4F7MFd28gcz9sxV for ; Sat, 27 Mar 2021 23:51:17 -0400 (EDT) Received: from carlj by bay.localnet with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lQMSI-000B2T-9H for freebsd-arm@freebsd.org; Sat, 27 Mar 2021 20:51:14 -0700 From: Carl Johnson To: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> Date: Sat, 27 Mar 2021 20:51:14 -0700 In-Reply-To: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> (Andrew Mitchell via freebsd-arm's message of "Sat, 27 Mar 2021 18:26:47 +0100") Message-ID: <86sg4gx7f1.fsf@bay.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: greymail.email-protect.gosecure.net@137.118.58.100/32 X-Rspamd-Queue-Id: 4F7MG60Qh9z3MP0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 208.80.203.2 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.80.203.2:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.80.200.0/21]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[208.80.203.2:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:208.80.202.0/23, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 03:51:43 -0000 Andrew Mitchell via freebsd-arm writes: > Hi everyone, > I've seen that there are arm machines for FreeBSD other than > Raspberry. I've been using it with 14.0-CURRENT, and my skills are too > limited for patching it. So, I've decided to find a machine on which a > RELEASE or STABLE version would work. To my knowledge, and after many > tries, it seems that there are no FreeBSD working smoothly on RPI4 B. > So, if you have any suggestions for a working FreeBSD on any machine, I'd be grateful. > I won't discard 14.0 CURRENT, as I've done quite a few things which > were much fun. It's just for getting other experiences. > > Please, tell me. > Andy I have 13.0-RC3 working well on a RPi 4B with 8GB RAM. The only problem I have is the efifb is working with very low resolution, and that would unusable for my desktop use. It current reports "VT(efifb): resolution 592x448" on a 1280x1024 monitor, but I haven't figured out a way to use the full monitor resolution. Raspbian does work properly, and my RPi 2B running FreeBSD 12.2-RELEASE also works properly with the same monitor, but they don't use efifb. -- Carl Johnson carlj@peak.org From owner-freebsd-arm@freebsd.org Sun Mar 28 05:00:39 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A40A45B4EF6 for ; Sun, 28 Mar 2021 05:00:39 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7Nnf6Ht8z3Qk2 for ; Sun, 28 Mar 2021 05:00:38 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x429.google.com with SMTP id j7so9534312wrd.1 for ; Sat, 27 Mar 2021 22:00:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=NDyKfqVo+rYYAtwTysOQqc6ouWBmGnLGNQas9+hhGYs=; b=XRLz3oILBWkUvQK3cZXh3RfC64hIosDq8fWBq66Ae3EYIcLFXNerwXCCpxlLEB6csU p9gXuAA/SfqCdKIvEnnDttejmK8sKoRHXShdjoUmicQJqvq1NOYuyzCAWlR5QTSjZkiG Dtu+yXkjancELY8zC8uf9SI1q+vNCwOij9MI7dUG2DKfRQdYmI7NEh3RcO0IXlT/ObB9 tI6T0L3OCmEJ9X0vuJPQhvJxlzivfoII2JJwO/JRdp4ZWVFPXUfPhQbwKpBdEneXiWbQ caaWvykMz7MEr/3h7GEiP9zC3ZpTa4Nq2cwsBXyS6Y8in9lwQ7Az/biv62FQprvbUTB1 ofIQ== X-Gm-Message-State: AOAM531QFDVqWSeBT2OwvyOez5oHz9V4JAXa/FEQDSSqxBabLiZPm456 jP4W3JkPOMtSHllWmwinXjRWRBjCeewoPA== X-Google-Smtp-Source: ABdhPJwfL/0mL8mBLJq1cDWrqUkETlp17OfagAEK9gtqajbRUcssIP9fL6oABeC3Rq6vbORCyQg1rw== X-Received: by 2002:a5d:4fd0:: with SMTP id h16mr21442262wrw.178.1616907291609; Sat, 27 Mar 2021 21:54:51 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-156-067.46.114.pool.telefonica.de. [46.114.156.67]) by smtp.googlemail.com with ESMTPSA id u9sm18059894wmc.38.2021.03.27.21.54.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Mar 2021 21:54:51 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 06:54:49 +0200 References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> To: freebsd-arm@freebsd.org In-Reply-To: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7Nnf6Ht8z3Qk2 X-Spamd-Bar: +++++++++++++ X-Spamd-Result: default: False [13.34 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::429:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.156.67:received]; FROM_HAS_DN(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[46.114.156.67:received]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[46.114.156.67:received]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::429:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_SHORT(0.84)[0.839]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 05:00:39 -0000 > Am 27.03.2021 um 18:26 schrieb Andrew Mitchell via freebsd-arm = : >=20 > Any good alternative to Raspberry for Arm64?=20 the simple answer is : no=20 - The longer answer is : RPI4 is the only cheap board offering 8GB RAM (for an unbeatable price), RK3399 has a 4GB RAM-limit ( don=E2=80=99t misunderstand the Rock Pi = N10/ 8GB , because 4GB are reserved for the NPU). If you think something doesn=E2=80=99t meet your needs with the RPI4 , = you can be nearly sure=20 that other cheap boards also don=E2=80=99t for FreeBSD ( I own some = others). One limitation on the 4B is the missing PCIe- slot, which is (1x lane) = available on the CM4- I/O-board, but for the cost of the loss of USB 3.0 on the I/O-board. - The `professional` answer is : of course , starting @~$500-$700(without accessories like RAM etc.) you can buy aarch64-dev-boards which completely outperform the RPI4=20 in performance and connectivity ;-) - =E2=80=A6and last but not least=E2=80=A6 - the most interesting answer is : > Am 27.03.2021 um 18:26 schrieb Andrew Mitchell via freebsd-arm = : > =E2=80=A6.smoothly =E2=80=A6. :-) for aarch64 :=20 if you really want to be SMOOTHLY HAPPY :-)=20 : .. buy an Apple M1 machine=E2=80=A6=E2=80=A6.. and wait what u-boot, "vm-ware" and BSD-OSes will have=20 to offer (I have "heard "something of that ) =E2=80=A6.. - Regards K. From owner-freebsd-arm@freebsd.org Sun Mar 28 07:13:21 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1759C5B7C5C for ; Sun, 28 Mar 2021 07:13:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7Rkm0VRMz3n85 for ; Sun, 28 Mar 2021 07:13:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=r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e ndB6r3DP2810T_fm31e94wWTuqKdsPZ93dVr4sQdiwIrjGSFmn41QbeAkyW.Furtu0EHOlZMzuho eENyMJyvJmsgx4IrUdgwC5p23sMpcZut6a5aLZMsVAyiaYGjSxVoIKiDir5Bamn7JxmV17M_WADh Hs8WN5IRwZDFBgVrhIZYzc0M5EDWJ4vmBrq14H8v.iWo6dXcppOYtX9_pJQkFOZxz0UW14tuiAqJ XxNeiGr59JxQgHs7vbUtgd8GaD00ZJQcU5Tlf6pV2icTJILy02uRuIR9tWO9TsrN2WCAzHTQeGIA jMCmAH2WAgInxLhaEFU.9HGEJyWP_dK1A.JbfYJBO.GdovWNPoiA5_5S3qM1U5ZWD88CSTSCDXIC HMX4p7GRFMXKIChL9TeKw7nwI5I5Ib0ccf8ssSxNZoBjKtzSxJq6LsoHmvWwszupUZi2OQ_i5fPc fgtmqMsCBtqmjgePm282LnjUuK4uSMm4GTP8tBSbKY0OBKgIqx6XnVmCb.fV4.IslVm9g9XIqqfu f0_TltXU0d3hJFzvXiUoYhTX04dLsk78qD6.pOh6sbqgalRVoucEl22NxfoKnXh_YfUgc2OW_WBn 2_fP.i9YogXN_PtHCts3e3HHHAHaxkvfhUG4tM.QDdoaGjCfuSLw1sZrRMvi9P2fZLaRqvyb2rRo KREO53a396HAGai6Yd1.w0pqKQzkTDP3.dUGWtE4jGkzE.kuYTMdeHKRXFEcNSFW0dYnCvCddEXE teUNsrSgJjsZQ1wLSsLUt4ltdhrK.ye8dTh3eaTe0orxaiPbjxOpdS7VIFm4_jzZdlmLvdCXPFE2 DubzSGR.rFygxbAmWak5Hpz6h_KBA9RmZkGnOnjcNAxhtEs_X_ew_DukpwtwCQpgx70gPON4wTXH 9_1lgFmN80KetxxbJGFqWxEuBJ9ZWSfkLUNpbkgEKnpqkDb_8Kl5SXlcN X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 07:13:17 +0000 Received: by kubenode506.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9c0b05246a165f14b84448d6ddd8953a; Sun, 28 Mar 2021 07:13:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: <86sg4gx7f1.fsf@bay.localnet> Date: Sun, 28 Mar 2021 00:13:12 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <984D85B6-C7C1-4E3D-84FC-FE317AF79F71@yahoo.com> References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <86sg4gx7f1.fsf@bay.localnet> To: Carl Johnson X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7Rkm0VRMz3n85 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.82:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.64.82:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.82:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 07:13:21 -0000 On 2021-Mar-27, at 20:51, Carl Johnson wrote: > Andrew Mitchell via freebsd-arm writes: >=20 >> Hi everyone, >> I've seen that there are arm machines for FreeBSD other than >> Raspberry. I've been using it with 14.0-CURRENT, and my skills are = too >> limited for patching it. So, I've decided to find a machine on which = a >> RELEASE or STABLE version would work. To my knowledge, and after many >> tries, it seems that there are no FreeBSD working smoothly on RPI4 B. >> So, if you have any suggestions for a working FreeBSD on any machine, = I'd be grateful. >> I won't discard 14.0 CURRENT, as I've done quite a few things which >> were much fun. It's just for getting other experiences. >>=20 >> Please, tell me. >> Andy >=20 > I have 13.0-RC3 working well on a RPi 4B with 8GB RAM. The only = problem > I have is the efifb is working with very low resolution, and that = would > unusable for my desktop use. It current reports "VT(efifb): = resolution > 592x448" on a 1280x1024 monitor, but I haven't figured out a way to = use > the full monitor resolution. Raspbian does work properly, and my RPi = 2B > running FreeBSD 12.2-RELEASE also works properly with the same = monitor, > but they don't use efifb. If your RPi4B's config.txt has a line: hdmi_safe=3D1 then try commenting it out with a # or deleting it. As I understand, the line is there by default because some contexts end up with no display at all without it (blind context). But otherwise it ends up preventing the display size tracking, so there is a tradeoff to having it by default. Technically https://elinux.org/RPiconfig documents hdmi_safe=3D1 as an abbreviated way of saying: hdmi_force_hotplug=3D1 hdmi_ignore_edid=3D0xa5000080 config_hdmi_boost=3D4 hdmi_group=3D2 hdmi_mode=3D4 disable_overscan=3D0 overscan_left=3D24 overscan_right=3D24 overscan_top=3D24 overscan_bottom=3D24 so working based on part of the expanded list might be an alternative in some complicated context. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 17:13:13 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ACCCD57FF40 for ; Sun, 28 Mar 2021 17:13:13 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound5c.ore.mailhop.org (outbound5c.ore.mailhop.org [54.244.192.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7j2x17Fcz4rr8 for ; Sun, 28 Mar 2021 17:13:12 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1616951592; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=pHjnxwT2W9K0j+n9ErXhetMjpa/kKKF2a+7xc489hrfJZ/oYe6whJFLxnArWBbpAic6riUVQ+GBhC MJkhA0/mis3rOngfMszoukix6jnEA4/04yyctka3wuX/5bf6u/dVVqfXHmgfJ8bf7kBBQM00peoxqn nfZ0wJiU0FLGAc9D9437/p/xWsbHp4EX5gTOVAK7FNlQt8AQYRk3Rjm98sUNyydUuZTa/IwQeAQtg7 kyGIN2LHHvSsmptrcdnlRqemy0GPEnwwPjArzOiVfw11nXAFQiOxlBEO98f9P7GrZzZaZv70qBVNNh 37T5XMFUk0ZuJ3x3kbXZ0GAYXVP4o/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=LRkXCDsqKJBq4OUM4x4P/VLPog8k+rc4ZMPwQlUWO3o=; b=p+/PDu5fSPR2esyMaLh9gEn0zKmJTsj5O5ig9NbFMH0jKoKRqSV+IVSZkz0InG0rDPBb3xHa+YQbj KRCKt+L8WIjpwzoiVSnMzcMpTHsEnhpJRbERF0nZn1blrlxbHGuHvrLCVcTCucSQcmX+2L55gMP5lf GjmCRFW/BAl1wsjoLvahLjZ1Tx01PA1HegGVLEcDGMYtI2jZ0d7n3dVfksvTS+gXJ4Sr9dfhD1/iMt uEMJL9G+ygUmE3oVd9xDBQc8ewpgNdqlWWKI6SWkg2Jbv4uiIVw4h5iHAlOaoHc04br1Kp37aE3W4v qB2pXSZZNwQWKviXbY2mjuDMo6Q2L5g== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=LRkXCDsqKJBq4OUM4x4P/VLPog8k+rc4ZMPwQlUWO3o=; b=uSzIMSNk316Kc4dBDFfcxoDvqt0liFGTKWoBJOwIjYADAxNbe5QtJAVToKx5KvUeTp0n8WElBLn4p 066dZHrY0GdG1yeDmcuTMA3WUQVatp8/wuZArwle2UFZuQedr58dqn2FkrVdArdSH5ehXWeiB6pNv5 54YQLRqOaDGN2DXrD/ejFUc7td727RD4rvj+CuUoDHIr8zyQi613YwL6rJ0mYKKmwD4mUEWt6UGghv +UR5TKLyI6ftS8aCuquoxl+31drIX3eSBrM35HzziiPEPOnTuN9hkMD3yzmD38JKv6h7Z4taPgzzEI MZnz0KU6UbKAR/P811Tty2A3qzEqFoA== X-Originating-IP: 67.177.211.60 X-MHO-RoutePath: aGlwcGll X-MHO-User: defb8a3d-8fe8-11eb-aa45-bf9d68d023b6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id defb8a3d-8fe8-11eb-aa45-bf9d68d023b6; Sun, 28 Mar 2021 17:13:11 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 12SHD8Qp055358 for ; Sun, 28 Mar 2021 11:13:09 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <32656ebc0189f47eb98d538b559fc7a15c6fee37.camel@freebsd.org> Subject: Re: Any good alternative to Raspberry for Arm64? From: Ian Lepore To: freebsd-arm@freebsd.org Date: Sun, 28 Mar 2021 11:13:08 -0600 In-Reply-To: References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> Content-Type: text/plain; charset="iso-2022-jp" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F7j2x17Fcz4rr8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:16509, ipnet:54.244.128.0/17, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 17:13:13 -0000 On Sun, 2021-03-28 at 06:54 +0200, Klaus Kchemann via freebsd-arm wrote: > > Am 27.03.2021 um 18:26 schrieb Andrew Mitchell via freebsd-arm < > > freebsd-arm@freebsd.org>: > >=20 > > Any good alternative to Raspberry for Arm64?=20 >=20 > the simple answer is : no=20 > - >=20 That's just plain wrong. Virtually any alternative arm64 system that runs freebsd at all is a superior choice over the Rpi family. Anything else will have better support from the freebsd developers including, especially, the professional developers who are paid by companies to support freebsd on arm/arm64. Nobody is paying anybody to support freebsd on rpi, and consequently all you get in the way of support is half-baked theories and anecdotal reports from other people struggling to use an rpi with freebsd. If you're looking to save every penny possible and are willing to put up with endless frustration and things not working, get an rpi. If you want a usable arm64 computer that runs freebsd, get anything else. -- Ian > The longer answer is : >=20 > RPI4 is the only cheap board offering 8GB RAM (for an unbeatable > price), > RK3399 has a 4GB RAM-limit ( don=1B$B!G=1B(Bt misunderstand the Rock Pi N= 10/ 8GB > , because 4GB are reserved for the NPU). >=20 > If you think something doesn=1B$B!G=1B(Bt meet your needs with the RPI4 ,= you > can be nearly sure=20 > that other cheap boards also don=1B$B!G=1B(Bt for FreeBSD ( I own some ot= hers). > One limitation on the 4B is the missing PCIe- slot, which is (1x > lane) available on the CM4- I/O-board, > but for the cost of the loss of USB 3.0 on the I/O-board. > - >=20 > The `professional` answer is : >=20 > of course , starting @~$500-$700(without accessories like RAM etc.) > you can buy aarch64-dev-boards which completely outperform the RPI4=20 > in performance and connectivity ;-) >=20 > - >=20 > =1B$B!D=1B(Band last but not least=1B$B!D=1B(B >=20 > - > the most interesting answer is : >=20 > > Am 27.03.2021 um 18:26 schrieb Andrew Mitchell via freebsd-arm < > > freebsd-arm@freebsd.org>: > > =1B$B!D=1B(B.smoothly =1B$B!D=1B(B. >=20 >=20 > :-) >=20 > for aarch64 :=20 > if you really want to be SMOOTHLY HAPPY :-)=20 > : .. buy an Apple M1 machine=1B$B!D!D=1B(B.. > and wait what u-boot, "vm-ware" and BSD-OSes will have=20 > to offer (I have "heard "something of that ) =1B$B!D=1B(B.. >=20 > - >=20 > Regards >=20 > K. >=20 From owner-freebsd-arm@freebsd.org Sun Mar 28 18:41:19 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B15FE5A9F14 for ; Sun, 28 Mar 2021 18:41:19 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 4F7l0Z5cvfz3CcC for ; Sun, 28 Mar 2021 18:41:18 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) X-Originating-IP: 10.200.201.23 Received: from webmail.gandi.net (webmail23.sd4.0x35.net [10.200.201.23]) (Authenticated sender: daniel.engberg@pyret.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPA id 49DCDC0004; Sun, 28 Mar 2021 18:41:16 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 28 Mar 2021 20:41:16 +0200 From: Daniel Engberg To: freebsd-arm@freebsd.org Cc: andy.mitchell.fr@icloud.com Subject: Re: Any good alternative to Raspberry for Arm64? User-Agent: Roundcube Webmail/1.4.11 Message-ID: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> X-Sender: daniel.engberg.lists@pyret.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F7l0Z5cvfz3CcC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of daniel.engberg.lists@pyret.net designates 217.70.183.198 as permitted sender) smtp.mailfrom=daniel.engberg.lists@pyret.net X-Spamd-Result: default: False [-1.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[217.70.183.198:from]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28:c]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.183.198:from]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.70.183.198:from]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[pyret.net]; SPAMHAUS_ZRD(0.00)[217.70.183.198:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[icloud.com]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 18:41:19 -0000 Hi, Since you're asking about RPi I'm going assume that you're looking for something in the same ballpark. The fastest SoC would most likely be Rockchip RK3399, it's a 6-core SoC which supports up to 4Gb of RAM and another SoC is Allwinner A64 (H5 is also pretty similar) which is a quad core SoC. Since you don't outline your goals I'm going to be short about general support. Video support is in the works regarding Panfrost (Mali video driver), you can get video output via framebuffer but it's slow and not ideal usable for desktop usage. This page sums it up pretty good otherwise https://wiki.freebsd.org/arm/RockChip The above pretty much also applies for Allwinner Rock Pi 4(a) and RockPro64 works well in general, I also have a few Allwinner boards (H3/H5) and they also work well. While the package repo is starting to look pretty good for aarch64 I would recommend you to get a 4Gb variant along with external storage as you may end up needing to compile some software on your own unless you usable "buildbox" around. As others have mentioned, if you can find a port of u-boot you can expect support to be pretty good in general. I would also recommend you to pick up serial adapter as you may need one since video output may not always be available / work. https://wiki.freebsd.org/USB/Peripherals/Serial Best regards, Daniel From owner-freebsd-arm@freebsd.org Sun Mar 28 18:44:02 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81F3A5A9F36 for ; Sun, 28 Mar 2021 18:44:02 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7l3j5n3wz3CsC; Sun, 28 Mar 2021 18:44:01 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x42d.google.com with SMTP id x16so10628264wrn.4; Sun, 28 Mar 2021 11:44:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=fCGWHWln0B8O9DyreySclLn3zyH6E4R421bEMtLuqBQ=; b=FZowgI1mG8yA6VIQqeZvgZhIiHCKj2ualx4wjtyZ9Jb5HiSoZFye/mf6u0FXz+1Gpi CcvGjBqF5+cl3GYnY7OaIcHpHgRgx0fbPH12+UGPZ8vdUTyFjr1kKiR8lO4d7XRK7Kil hZi7Pe0cFXP9zatv1Ee5t+xAruKThMBmTnojycD6J4QY156UW6nxEetJVFevDg9cdzKt xDClPSXafARcDnK1l9n4A4oq3Z8TIdr7GJeYJ56j99jHy7F48Pa87O+INpQmhn0PMfTq Mzsgiz1wLUFd/tjdbkXvdVh6huO+xfNAfeLITHSeW3D4jhf5VJjbAvO8wTD4fw2fyJI/ pqyA== X-Gm-Message-State: AOAM533jYchUAKr0pfRFtmRNu2WhdYr4S1FrdQAbH4RiwWXOQMzklFYE epIvE8/2WuHYY6Xth7piDrCT9eOrWKw= X-Google-Smtp-Source: ABdhPJyqEtaO0cNcc/ORG6zQEg9EctlcZCHmwEABxUPbRBvk0Q8cHoE4Ab5ijC8gKtIFilZEI/nKfw== X-Received: by 2002:a5d:5007:: with SMTP id e7mr7700735wrt.10.1616957040013; Sun, 28 Mar 2021 11:44:00 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-157-239.46.114.pool.telefonica.de. [46.114.157.239]) by smtp.googlemail.com with ESMTPSA id m132sm21153013wmf.45.2021.03.28.11.43.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 11:43:59 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 20:43:57 +0200 References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <32656ebc0189f47eb98d538b559fc7a15c6fee37.camel@freebsd.org> To: Ian Lepore , freebsd-arm@freebsd.org In-Reply-To: <32656ebc0189f47eb98d538b559fc7a15c6fee37.camel@freebsd.org> Message-Id: <4F449CAA-F542-4D85-8669-538A8AAF6FF5@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7l3j5n3wz3CsC X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.157.239:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 18:44:02 -0000 > Am 28.03.2021 um 19:13 schrieb Ian Lepore : > =E2=80=A6.. Virtually any alternative arm64 system that > runs freebsd at all is a superior choice over the Rpi family. =20 :-), 2 years ago I would have said that you=E2=80=99re right=E2=80=A6. = the times they are a changing , scoobidoo... > Anything > else will have better support from the freebsd developers including, > especially, the professional developers who are paid by companies to > support freebsd on arm/arm64. your paid colleagues support aarch64 in general, RPI4 is aarch64. You vastly underestimate your other colleagues who developed special = rpi4-drivers&hacks ! > Nobody is paying anybody to support > freebsd on rpi, and consequently all you get in the way of support is > half-baked theories and anecdotal reports from other people struggling > to use an rpi with freebsd. Rpi4 is "full-baked=E2=80=9C-supported :-) , 8GB RAM, genet, pcie(USB = 3.0) , Supports JTAG, netboot etc. , it never crashed for me the last = months/years. While some drivers still missing, that=E2=80=99s also the case for other = boards. As a =E2=80=9Epower to serve=E2=80=9C-cheap-board it`s fully supported, = no problems (since the beginning of the 1st cpu-hack)! > If you're looking to save every penny possible and are willing to put > up with endless frustration and things not working, get an rpi. If = you > want a usable arm64 computer that runs freebsd, get anything else. >=20 you mean the missing documentation-frustration? While there=E2=80=99s even a little docs available, but e.g. Crowston = didn=E2=80=99t need docs, he used JTAG :-) Ha Ha=20 For still missing drivers the documentation is in other BSDs or = tux.(e.g. genet -driver was based on other BSD-driver). I didn=E2=80=99t save every penny, have RK3388, RK3399 and some other = archs, even Risc-V. None of the other boards can be considered as =E2=80=9ESMOOTHLY=E2=80=9C = working because of paid developers, Long list of examples available , but that`not the topic. Some people(and developers) didn=E2=80=99t understand the closed source = environment of rpi-firmware. ( and other things like u-boot,eeprom)... That=E2=80=99s why we are here and do support the RPI4 by full-baked = theories, anecdotal reports, mystical patches and extraordinary = configuration-hints. Ha Ha :-) Regards K. From owner-freebsd-arm@freebsd.org Sun Mar 28 18:55:58 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C16FC5AA6B6 for ; Sun, 28 Mar 2021 18:55:58 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7lKT6PFcz3Dqk for ; Sun, 28 Mar 2021 18:55:57 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x431.google.com with SMTP id k8so10666580wrc.3 for ; Sun, 28 Mar 2021 11:55:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=lAk3LIe4HWYbhqrspfOytqRKQH7GJa0I/MecZYNgxWg=; b=maUdLXwTZyXfor9Hhno1fni4Ye6TA+wcSKrUiRmuqL+ayQSqhNcGn0yU9Z8Lyp87w8 vvIMZ4n/SAaWMkvp9XvhaQ8jdZkIYxF5zBLmbQjBDZFHuaYscQ6J/QF7OCTyZNM4CF0F 6z5zaIwi6Rw/a3cm7lIQZlwlH1TG3RWFqo0HFbXC+b5r+v6hLlYqACwQmpyKO3YpmohE jFwlb/7e+7WAvntLcw6HCJA/1h1Xf+90HqruKnn4vh59jf0APsZoGXLJxNrs1jcqRtl8 0Ol3iAtD6p3ywbVMuwV39Tl+C/QmtKyUuO0ZJbWqifgKFat84WooExJ0ogVflP3Jmqt3 msRw== X-Gm-Message-State: AOAM530Bg0uPEwKxejXJmLkobVdolJEesGohAKfsupvwLWXsVr2bEBeU vVkLX2ePnbcoGNMFwnq6ZE9LvMie+4k= X-Google-Smtp-Source: ABdhPJz8bR5DiR4cC540FWaCgVjuA3EqYqE5qjzT85vRERbo4m1T2fZOwr7RDl5Z7kpOqz/eV67ZCg== X-Received: by 2002:a5d:5051:: with SMTP id h17mr24593263wrt.80.1616957756654; Sun, 28 Mar 2021 11:55:56 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-157-239.46.114.pool.telefonica.de. [46.114.157.239]) by smtp.googlemail.com with ESMTPSA id l8sm25386170wrx.83.2021.03.28.11.55.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 11:55:56 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 20:55:54 +0200 References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> To: Daniel Engberg , freebsd-arm@freebsd.org In-Reply-To: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> Message-Id: <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7lKT6PFcz3Dqk X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::431:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.157.239:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::431:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::431:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 18:55:58 -0000 > Am 28.03.2021 um 20:41 schrieb Daniel Engberg = : >=20 > =E2=80=A6.RockPro64 works well in general=E2=80=A6. Mine was toasted by one-touch static charge, so suspected relatively low = hardware-quality, I would recommend to use 12v/5a(not 3a) and be very careful by touching = that board when power is on. `have otherRK3399 with M.2-slot(Rock960(no more available on the market) = while direct nvme -connection-support by=20 u-boot&FreeBSD is quite complicate , to say it kindly( Rock960 boots = from nvme but hangs @ mountroot> (nvme, nda, nvd seem to have problems) = . By the way, I doubt that RK3399 is faster than RPI4(tested by build = world). powerd doesn=E2=80=99t scale correctly with RK3399 to 1800 for the big = of big.LITTLE , so it=E2=80=99s to set manually=E2=80=A6... Regards K.= From owner-freebsd-arm@freebsd.org Sun Mar 28 19:02:15 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 53C4D5AABBF for ; Sun, 28 Mar 2021 19:02:15 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7lSj4j1rz3FBG for ; Sun, 28 Mar 2021 19:02:13 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1616958125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T522cRMqzPEr3aQmyS7JDvdu2cfTHRVMSlxdsoLMAwU=; b=qG/9BSYu02vE6r08R+dCmvfRL+drmOu2RmMUWYbKiTelYMy0MUxrjfGkrL2c5AHoUr46yG dKMIqxVFyuXbGOu96kt63gTxQwerQ2y3GzEkKYGLqckJWTvt/UVo4TRaCtTwR4VQWqy7g/ pUoSUr7xSlMm7m427S0b0ry8xVXOegA= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 48c9bfc3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Mar 2021 19:02:05 +0000 (UTC) Date: Sun, 28 Mar 2021 21:02:05 +0200 From: Emmanuel Vadot To: Daniel Engberg Cc: freebsd-arm@freebsd.org, andy.mitchell.fr@icloud.com Subject: Re: Any good alternative to Raspberry for Arm64? Message-Id: <20210328210205.dc2efe83f4b36e2e06a1685a@bidouilliste.com> In-Reply-To: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F7lSj4j1rz3FBG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=qG/9BSYu; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[freebsd.org,icloud.com]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:02:15 -0000 On Sun, 28 Mar 2021 20:41:16 +0200 Daniel Engberg wrote: > Hi, > > Since you're asking about RPi I'm going assume that you're looking for > something in the same ballpark. The fastest SoC would most likely be > Rockchip RK3399, it's a 6-core SoC which supports up to 4Gb of RAM and > another SoC is Allwinner A64 (H5 is also pretty similar) which is a quad > core SoC. Since you don't outline your goals I'm going to be short about > general support. > > Video support is in the works regarding Panfrost (Mali video driver), > you can get video output via framebuffer but it's slow and not ideal > usable for desktop usage. Mali is only the GPU part, 2D acceleration and proper resolution etc ... is provided by the KMS driver. Some are ready for Allwinner and NVidia here : https://github.com/evadot/drm-subtree/ A few stuff needs to be done before we can include it in FreeBSD. > This page sums it up pretty good otherwise > https://wiki.freebsd.org/arm/RockChip > The above pretty much also applies for Allwinner > > Rock Pi 4(a) and RockPro64 works well in general, I also have a few > Allwinner boards (H3/H5) and they also work well. While the package repo > is starting to look pretty good for aarch64 I would recommend you to get > a 4Gb variant along with external storage as you may end up needing to > compile some software on your own unless you usable "buildbox" around. > > As others have mentioned, if you can find a port of u-boot you can > expect support to be pretty good in general. > > I would also recommend you to pick up serial adapter as you may need one > since video output may not always be available / work. > https://wiki.freebsd.org/USB/Peripherals/Serial > > Best regards, > Daniel > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Mar 28 19:13:03 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91B215AB17B for ; Sun, 28 Mar 2021 19:13:03 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7ljB3DKCz3Fh5 for ; Sun, 28 Mar 2021 19:13:02 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (87-95-57-131.bb.dnainternet.fi [87.95.57.131]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 12SJCqRi027116 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 28 Mar 2021 19:12:53 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-57-131.bb.dnainternet.fi [87.95.57.131] claimed to be [192.168.1.151] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 22:12:47 +0300 References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> To: freebsd-arm@freebsd.org In-Reply-To: <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> Message-Id: <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7ljB3DKCz3Fh5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[kronometrix.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:13:03 -0000 > `have otherRK3399 with M.2-slot(Rock960(no more available on the = market) while direct nvme -connection-support by=20 > u-boot&FreeBSD is quite complicate , to say it kindly( Rock960 boots = from nvme but hangs @ mountroot> (nvme, nda, nvd seem to have problems) = . By the way, I doubt that RK3399 is faster than RPI4(tested by build = world). > powerd doesn=E2=80=99t scale correctly with RK3399 to 1800 for the big = of big.LITTLE , so it=E2=80=99s to set manually=E2=80=A6.. So to summarize: these are the SBC supported by FreeBSD: = https://wiki.freebsd.org/arm64#Single_Boards = I agree part with Ian, RBPI is a mixed bag. Many things are not working = (Wifi, BLE) but for our product RBPI 3B/3B+ has been working without a = problem outdoor and indoors. Is there any hope to see Wifi / BLE working on this board RBPI 3B/4B ? Are there any other SBC supported by FreeBSD 13/CURRENT ? Are there any other ARM64 industrial boards (1/2/4GB RAM, RTC, -40C - = 80C) supported by FreeBSD ? Is NetBSD a better choice than FreeBSD for ARM64 SBC ?=20 Thanks, Stefan From owner-freebsd-arm@freebsd.org Sun Mar 28 19:13:05 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A7A75AAECC for ; Sun, 28 Mar 2021 19:13:05 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7ljD4473z3FsQ; Sun, 28 Mar 2021 19:13:04 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1616958782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XzmsWQlvOZX4rPQa/xDIaGphT179t6OcZrwiAvy2Ano=; b=ZrX21zcffOPcGyisr8vZBjdtC9ipWtJfBeSecq4hTOHWqB+3hs0AooRd/FgGf5zZZ2vR+r kK7aE+KEM2Hxr7rwC0xbtVXYHDiNMhil2YPw1HIaeOZfB5n+MzjzNax8OLUsGPETCtlquh ql9Z0POXwJK0EvyvEOBRiu0dRveEiOo= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 55e08f7c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Mar 2021 19:13:02 +0000 (UTC) Date: Sun, 28 Mar 2021 21:13:02 +0200 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: Klaus =?ISO-8859-1?Q?K=FCchemann?= via freebsd-arm , Ian Lepore Subject: Re: Any good alternative to Raspberry for Arm64? Message-Id: <20210328211302.7410e65c1ba17aecc1daabcd@bidouilliste.com> In-Reply-To: <4F449CAA-F542-4D85-8669-538A8AAF6FF5@googlemail.com> References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <32656ebc0189f47eb98d538b559fc7a15c6fee37.camel@freebsd.org> <4F449CAA-F542-4D85-8669-538A8AAF6FF5@googlemail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F7ljD4473z3FsQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:13:05 -0000 On Sun, 28 Mar 2021 20:43:57 +0200 Klaus K=FCchemann via freebsd-arm wrote: >=20 > > Am 28.03.2021 um 19:13 schrieb Ian Lepore : > > ?.. Virtually any alternative arm64 system that > > runs freebsd at all is a superior choice over the Rpi family. =20 >=20 > :-), 2 years ago I would have said that you?re right?. the times they are= a changing , scoobidoo... And yet RPI clock support is still non-existant which is required to have proper SoC support for any kind of use (video, audio, any proper spi or i2c support and of power usage reduction etc ...) >=20 > > Anything > > else will have better support from the freebsd developers including, > > especially, the professional developers who are paid by companies to > > support freebsd on arm/arm64. >=20 > your paid colleagues support aarch64 in general, RPI4 is aarch64. And any other SoC benefits from that developement too. > You vastly underestimate your other colleagues who developed special rpi4= -drivers&hacks ! >=20 > > Nobody is paying anybody to support > > freebsd on rpi, and consequently all you get in the way of support is > > half-baked theories and anecdotal reports from other people struggling > > to use an rpi with freebsd. >=20 > Rpi4 is "full-baked?-supported :-) , 8GB RAM, genet, pcie(USB 3.0) , > Supports JTAG, netboot etc. , it never crashed for me the last months/yea= rs. > While some drivers still missing, that?s also the case for other boards. > As a ?power to serve?-cheap-board it`s fully supported, no problems (sinc= e the beginning of the 1st cpu-hack)! lol > > If you're looking to save every penny possible and are willing to put > > up with endless frustration and things not working, get an rpi. If you > > want a usable arm64 computer that runs freebsd, get anything else. > >=20 > you mean the missing documentation-frustration? > While there?s even a little docs available, but e.g. Crowston didn?t need= docs, he used JTAG :-) Ha Ha=20 The day I have to use JTAG to write a driver for one platform is the day I'll stop working on this platform. > For still missing drivers the documentation is in other BSDs or tux.(e.g= . genet -driver was based on other BSD-driver). That's not documentation. I shouldn't have to read Linux source code to write a driver for FreeBSD. > I didn?t save every penny, have RK3388, RK3399 and some other archs, even= Risc-V. > None of the other boards can be considered as ?SMOOTHLY? working because = of paid developers, > Long list of examples available , but that`not the topic. Well, no, it is the topic. > Some people(and developers) didn?t understand the closed source environme= nt of rpi-firmware. ( and other things like u-boot,eeprom)... What is there to understand ? You have blobs, they sometimes works, they sometimes doesn't and since it's closed source there is nothing you can do about it. > That?s why we are here and do support the RPI4 by full-baked theories, an= ecdotal reports, mystical patches and extraordinary configuration-hints. Ha= Ha :-) >=20 > Regards >=20 >=20 > K. >=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Mar 28 19:16:26 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8395B5AB29C for ; Sun, 28 Mar 2021 19:16:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7ln53vsHz3Ft5 for ; Sun, 28 Mar 2021 19:16:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1616958983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YZyVDMMnb9W//DgiQ+sB1zUVyVVxeOu/BsvqcAhOkbI=; b=aELzIiFmloLKfKiPon0MAbwJj7JbqyasUUVUhxHTQ/s0zMWEMLZyNk8LtrNLRFoOQZcpqa vSkdMQx4Z9Ru+9s42yDE1f6s7T4BLlJ+QlcJwAko2fgwWeiOIJajUklRWu0t22icGW4EJi RRSo/nYK+kYYSX3yxnp68bXW6eh3mC0= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 49d31ed7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Mar 2021 19:16:23 +0000 (UTC) Date: Sun, 28 Mar 2021 21:16:23 +0200 From: Emmanuel Vadot To: Andrew Mitchell Cc: Andrew Mitchell via freebsd-arm Subject: Re: Any good alternative to Raspberry for Arm64? Message-Id: <20210328211623.be9560354fa3f10efd0de56d@bidouilliste.com> In-Reply-To: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F7ln53vsHz3Ft5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=aELzIiFm; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[icloud.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:16:26 -0000 Hi Andrew, On Sat, 27 Mar 2021 18:26:47 +0100 Andrew Mitchell via freebsd-arm wrote: > Hi everyone, > I've seen that there are arm machines for FreeBSD other than Raspberry. I've been using it with 14.0-CURRENT, and my skills are too limited for patching it. What patching did you needed ? > So, I've decided to find a machine on which a RELEASE or STABLE version > would work. > To my knowledge, and after many tries, it seems that there are no FreeBSD working smoothly on RPI4 B. > So, if you have any suggestions for a working FreeBSD on any machine, I'd be grateful. > I won't discard 14.0 CURRENT, as I've done quite a few things which were much fun. It's just for getting other experiences. > > Please, tell me. > Andy As other have asked, please say your use case. All the SoC that we support in FreeBSD have different market targets and also different support by FreeBSD. Cheers, -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Mar 28 19:20:12 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D4C775AB487 for ; Sun, 28 Mar 2021 19:20:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7lsS0xfQz3G55 for ; Sun, 28 Mar 2021 19:20:11 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1616959209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bEiF4Mprw1YV8ll8kSLkE8YVjBxXCH9SdxWjMimh6Ig=; b=l+WEB5kvX4Akgr65UMSKPQ5JYNTrga5AMlmeiiAUReca6gykRU0YZ1ZEqnlL/IuHUELZ65 sgLBs3xcO3KC3UoNFa26QRbZ2652qdRPduTbbmnSAk+1rqgqvlQp6zRd7TtnRTMJWWQ3VE kM7BNEEGeN0JHkDO9+Br1bROynfeQik= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id f4ed40e7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Mar 2021 19:20:09 +0000 (UTC) Date: Sun, 28 Mar 2021 21:20:09 +0200 From: Emmanuel Vadot To: Stefan Parvu Cc: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? Message-Id: <20210328212009.1b6b3ad98f26256a3490b063@bidouilliste.com> In-Reply-To: <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F7lsS0xfQz3G55 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=l+WEB5kv; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:20:12 -0000 On Sun, 28 Mar 2021 22:12:47 +0300 Stefan Parvu wrote: >=20 > > `have otherRK3399 with M.2-slot(Rock960(no more available on the market= ) while direct nvme -connection-support by=20 > > u-boot&FreeBSD is quite complicate , to say it kindly( Rock960 boots f= rom nvme but hangs @ mountroot> (nvme, nda, nvd seem to have problems) . By= the way, I doubt that RK3399 is faster than RPI4(tested by build world). > > powerd doesn?t scale correctly with RK3399 to 1800 for the big of big.L= ITTLE , so it?s to set manually?.. >=20 > So to summarize: >=20 > these are the SBC supported by FreeBSD: https://wiki.freebsd.org/arm64#Si= ngle_Boards >=20 > I agree part with Ian, RBPI is a mixed bag. Many things are not working (= Wifi, BLE) but for our product RBPI 3B/3B+ has been working without a probl= em outdoor and indoors. >=20 > Is there any hope to see Wifi / BLE working on this board RBPI 3B/4B ? >=20 > Are there any other SBC supported by FreeBSD 13/CURRENT ? A lot, you can consider any Allwinner H5/A64 and RockChip RK3328/RK3399 as supported. Some even have some dedicated image. > Are there any other ARM64 industrial boards (1/2/4GB RAM, RTC, -40C - 80C= ) supported by FreeBSD ? You might want to look at IMX8 boards. Allwinner, RockChip and RPI aren't made for industrial grade. > Is NetBSD a better choice than FreeBSD for ARM64 SBC ?=20 Better choice for what ? > Thanks, > Stefan >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Mar 28 19:24:00 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3E5D5AB270 for ; Sun, 28 Mar 2021 19:24:00 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 4F7lxq5yWMz3GVp for ; Sun, 28 Mar 2021 19:23:59 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) X-Originating-IP: 10.200.201.23 Received: from webmail.gandi.net (webmail23.sd4.0x35.net [10.200.201.23]) (Authenticated sender: daniel.engberg@pyret.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id C94DBE0002; Sun, 28 Mar 2021 19:23:57 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 28 Mar 2021 21:23:57 +0200 From: Daniel Engberg To: =?UTF-8?Q?Klaus_K=C3=BCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? In-Reply-To: <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> X-Sender: daniel.engberg.lists@pyret.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4F7lxq5yWMz3GVp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of daniel.engberg.lists@pyret.net designates 217.70.183.196 as permitted sender) smtp.mailfrom=daniel.engberg.lists@pyret.net X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28:c]; RWL_MAILSPIKE_GOOD(0.00)[217.70.183.196:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.183.196:from]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.70.183.196:from]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[pyret.net]; SPAMHAUS_ZRD(0.00)[217.70.183.196:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:24:00 -0000 On 2021-03-28 20:55, Klaus Küchemann wrote: >> Am 28.03.2021 um 20:41 schrieb Daniel Engberg >> : >> >> ….RockPro64 works well in general…. > > Mine was toasted by one-touch static charge, so suspected relatively > low hardware-quality, > I would recommend to use 12v/5a(not 3a) and be very careful by > touching that board when power is on. > `have otherRK3399 with M.2-slot(Rock960(no more available on the > market) while direct nvme -connection-support by > u-boot&FreeBSD is quite complicate , to say it kindly( Rock960 boots > from nvme but hangs @ mountroot> (nvme, nda, nvd seem to have > problems) . By the way, I doubt that RK3399 is faster than RPI4(tested > by build world). > powerd doesn’t scale correctly with RK3399 to 1800 for the big of > big.LITTLE , so it’s to set manually…... > > Regards > > K. ESD can kill any type of hardware, there are multiple reasons why you shouldn't play around with live hardware and powered off for that matter without any protection regarding ESD. Pretty much all hardware comes with clear instructions and warnings about it. Without getting too technical I say that I have a 3A PSU the runs fine at least for me however quality of PSUs is a different story. It's a RockPro64 paired with a dual port PCIe NIC however I would recommend higher rated one if you plan to attach non external powered USB devices. We only support mainline u-boot, if you're using forks and/or patched versions you're kinda "on your own" and there's no (to my knowledge) support (yet) upstream for booting off NVME or SATA/AHCI. No one said that support is perfect, it's WIP but of everyday use it's fine at least for me and others. I cannot give you exact performance comparisons as I don't own any RPi hardware but from what I can gather from searching using Google it seems to be pretty similar and you also have hw crypto support which the Broadcom SoC lacks which may be of interest depending on your application. Best regards, Daniel From owner-freebsd-arm@freebsd.org Sun Mar 28 19:31:43 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9911B5ABBAB for ; Sun, 28 Mar 2021 19:31:43 +0000 (UTC) (envelope-from pkk@spth.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7m6j6FCKz3Gwj for ; Sun, 28 Mar 2021 19:31:41 +0000 (UTC) (envelope-from pkk@spth.de) Received: from [192.168.1.51] ([93.3.108.52]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mj8eD-1m5Pzi3jfB-00fAjw for ; Sun, 28 Mar 2021 21:31:39 +0200 Subject: Re: Any good alternative to Raspberry for Arm64? To: freebsd-arm@freebsd.org References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> From: Philipp Klaus Krause Message-ID: Date: Sun, 28 Mar 2021 21:31:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:DNVd/e0SgOSgStExWsYspxpQwWYTGxjHQKX3cCna1Blcl9xNm5q nN+3iRThOdfk0aXrkuchoybis3Kk5QycLoEmIfMPZgygaAWqwETlZ9J6+ezjX/DlfDApI24 /XZ110WBtieBuTqwR8Mqgs5996iVMTDtI7H3TYS3xpgQQ8zg/HuSY9RzzqZCPyPdMTE0Pyq JmOzIS+gtJTAoDtkbNLtQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rzZNfB0ooPw=:yPCiIw+ujBkPTxsM3Rtf0T Du2VW8UBZW5txWk4xyYT9D3ioNJ6Fw9x3YucgsnN5Mm1JAGGLHGjKRVRNF+Z+RfUDZ7YK0k1i ZUf8Poi92crFQi0XS0MivxM8bEXuBlExozvutFvuEf+T4rFNC4YTDQXljzkHJZHUqB8dadS4V +L7xpkmJHEJucmTQrJ6qQ0LZ8wUEVLmq2y6iwAftxD3lJitOg+/Wdrm2tevlW/BBbUvejUcj6 Gu31S6OedVND1uNCkX8ciUcQ6ZsCum1G37hu71RtSPmvD9EEpNL+yeQWG5AAHYC4BeK7Jz5+t SWAFwb5TOq3thzVTfJhAzapBUSdpzNkY5rX7DQWyQ/FXOL4H3sl7MlksIzPy8gQQPPCF06E+/ E37KZ9enD/U6D9wiXa/g4hVuL+Z3cKFXro0S+Whk6misbpL+IG+3na15eXY/FkqYtjd6RZArb zrTByJUMHwAxXaPcVljBvrAOdAE7RVo= X-Rspamd-Queue-Id: 4F7m6j6FCKz3Gwj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of pkk@spth.de has no SPF policy when checking 212.227.126.133) smtp.mailfrom=pkk@spth.de X-Spamd-Result: default: False [-1.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[93.3.108.52:received]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.126.133:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.126.133:from:127.0.2.255]; DMARC_NA(0.00)[spth.de]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.133:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.133:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:31:43 -0000 Am 28.03.21 um 06:54 schrieb Klaus Küchemann via freebsd-arm: > > The `professional` answer is : > > of course , starting @~$500-$700(without accessories like RAM etc.) > you can buy aarch64-dev-boards which completely outperform the RPI4 > in performance and connectivity ;-) But isn't there a big risk that those exotic powerful boards might not work or not work well with FreeBSD, since few developers have them, and no one considers them important enoug to make sure releases work on them? From owner-freebsd-arm@freebsd.org Sun Mar 28 19:35:27 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05AE85AC016 for ; Sun, 28 Mar 2021 19:35:27 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7mC243Jkz3H54 for ; Sun, 28 Mar 2021 19:35:26 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id b9so10690909wrt.8 for ; Sun, 28 Mar 2021 12:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Tg+6uFaHDtseCGVRewXY0rhL/Vc7+Ro+EQ9VuP/HiKc=; b=BEnPO2aqfb9Op8wfRE5GgQUw8vDnJl8XCZDb5Ays60jQ5LdpC96HuKY7qtx8BRhBef h9b0NnervPSmIaLZEqxyskAHf6uCGf+VA75Oo2K96mpZJc4XmUPqC99F+41mU79g/kxF 5lydRs0g73TU2rIt9CWRnS9XRL7iromdoo3R7rgqLmXeJGl24EyUxzMSqMvhWSzA/K1H fyRG/vRF90vDRp3ab5UtG/WRDOwzjEK1tGEHjY5yrvMkUwXhCCn2Yr3iwObHbox+lx4G KZSpod4NosuMTu56GCSnR5rES3Jw38h3ltlNPaIvTsFfEjCHlDoGufqHCPJrO342JdC/ vvrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Tg+6uFaHDtseCGVRewXY0rhL/Vc7+Ro+EQ9VuP/HiKc=; b=tPb0lHZD/jicNL8AXxdh46O6gWQbgfsRVAp/irthzhSd1JEv4E/KC1bdm0hDo9a+mU F2hLfirnWtmQ6TmD+/yjCQZkLPG2wDZBztvt6W7sDAyqTCXkrve1GvEthbppIBeI6zuW /Idi79Ifgy7WYYwNsStESAmPKRUJrKWicC7A5at5r0lK8a4HAzDDHsquztuNls5OgErO F1nm81gSd50q9uoJwBYuKkWTKM113U9JlA2freBfy/UhGixMsNRVcHDmqAJV+bYaWqZP Unc3eV2aUfrFh8oGzWIU7viRaBc/M7tHWC3sc/4BTc5lpQPLnRIJNPuvoUTPuUn8vQL3 Vbnw== X-Gm-Message-State: AOAM531nC8oWdwjySiuyMHj9HEl/Fplg9Xcaym4tG1yg930K7ahKaD/O Wx9oha5eZMdBK2Iglhuzd6TccXzDyJk= X-Google-Smtp-Source: ABdhPJzWAFAtDyGBavD1d989+bB8ygoRdpHYvP5OAtPAlEnHGARPIhhsZXmqW7or4nVOD1eGnhlT9A== X-Received: by 2002:adf:b355:: with SMTP id k21mr25432534wrd.156.1616960125307; Sun, 28 Mar 2021 12:35:25 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id a4sm26196236wrx.86.2021.03.28.12.35.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 12:35:24 -0700 (PDT) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 21:35:24 +0200 In-Reply-To: <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> Cc: =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm@freebsd.org To: Daniel Engberg References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4F7mC243Jkz3H54 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BEnPO2aq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::432 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::432:from]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::432:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::432:from]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:35:27 -0000 On 28 Mar 2021, at 21.23, Daniel Engberg = wrote: > ESD can kill any type of hardware, there are multiple reasons why you = shouldn't play around with live hardware and powered off for that matter = without any protection regarding ESD. Pretty much all hardware comes = with clear instructions and warnings about it. Without getting too = technical I say that I have a 3A PSU the runs fine at least for me = however quality of PSUs is a different story. It's a RockPro64 paired = with a dual port PCIe NIC however I would recommend higher rated one if = you plan to attach non external powered USB devices. >=20 > We only support mainline u-boot, if you're using forks and/or patched = versions you're kinda "on your own" and there's no (to my knowledge) = support (yet) upstream for booting off NVME or SATA/AHCI. Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. If you put u-boot into the SPI-flash it will boot from any of the above = media. -- S=C3=B8ren Schmidt sos@deepcore.dk / sos@freebsd.org "So much code to hack, so little time" From owner-freebsd-arm@freebsd.org Sun Mar 28 19:48:16 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4372D5AC1AD for ; Sun, 28 Mar 2021 19:48:16 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7mTq27qbz3HYf for ; Sun, 28 Mar 2021 19:48:14 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x329.google.com with SMTP id 12so5521893wmf.5 for ; Sun, 28 Mar 2021 12:48:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=Rx+zg6W3JDmEqiLLZY/qfKXH3NG/X6e/B6UkaPpAXbA=; b=Q9Y9j4uy1G4jy1IOvoPdRwKyVjD/j31CZ0GYA90uK5DO+0pGyVq0ySvWfypgVqTEBE udryChWhEyy6xMENWdffSs95SjJMcvRMCkwUrKfnCg035By15wPIqEkXJMW3jPjhqaTf tWDUvTgva656RgWM0msiYjODaGIKtMBCkF0w1scLmQrlHa7SGR80N7dIk8VAfUH1BPTj GrcNCsluCb+S2cGGesLi1LqOG4UuErDK+XX7czgslIicWyIixgq1rB3fopqb7Cp11mXF T92LDNvfWOaQGJ0nRLsF646o79oAaMDHbG1lE07Wujo76k12V/+hxZ4L4xHsI0qDo8qy 5Bxw== X-Gm-Message-State: AOAM531Vm8rSOBH6O/sHB777NcqU5aLvKJwDvyk0GFBGuySa7J/DR0Gm iEgtsojTRhrumRhu23CZk0w= X-Google-Smtp-Source: ABdhPJxRL8zp/htScP0HkE1DUEAitSwah9WfBIs/Moq03Qcly9nIGVHd2veSRcbr58tfY0hfnvQ3nA== X-Received: by 2002:a7b:c5c8:: with SMTP id n8mr21666471wmk.63.1616960893452; Sun, 28 Mar 2021 12:48:13 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-157-239.46.114.pool.telefonica.de. [46.114.157.239]) by smtp.googlemail.com with ESMTPSA id a4sm26251623wrx.86.2021.03.28.12.48.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 12:48:12 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 21:48:11 +0200 References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: =?utf-8?Q?S=C3=B8ren_Schmidt?= , freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7mTq27qbz3HYf X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::329:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.157.239:received]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::329:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:48:16 -0000 > Am 28.03.2021 um 21:35 schrieb S=C3=B8ren Schmidt = : >=20 > On 28 Mar 2021, at 21.23, Daniel Engberg = wrote: >=20 >> ESD can kill any type of hardware, there are multiple reasons why you = shouldn't play around with live hardware and powered off for that matter = without any protection regarding ESD. Pretty much all hardware comes = with clear instructions and warnings about it. Without getting too = technical I say that I have a 3A PSU the runs fine at least for me = however quality of PSUs is a different story. It's a RockPro64 paired = with a dual port PCIe NIC however I would recommend higher rated one if = you plan to attach non external powered USB devices. >>=20 >> We only support mainline u-boot, if you're using forks and/or patched = versions you're kinda "on your own" and there's no (to my knowledge) = support (yet) upstream for booting off NVME or SATA/AHCI. >=20 > Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. > If you put u-boot into the SPI-flash it will boot from any of the = above media. >=20 > -- > S=C3=B8ren Schmidt > sos@deepcore.dk / sos@freebsd.org > "So much code to hack, so little time=E2=80=9C >=20 yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange = thing on Rock960-board was that it needed some reboots=20 until nvme was scanned correctly in u-boot-prompt. Thean it boots FreeBSD straight up and then hangs on mountroot> ( = because there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). I presume an electrical issue since it was once(only once) detected by = adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80=9C= in rc.conf.=20 The u-boot patch related to nvme on that board also was based on a = voltage-change . =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 Anyone successfully booting from nvme on any aarch64-board ?? Regards K. From owner-freebsd-arm@freebsd.org Sun Mar 28 19:53:47 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BFCBA5AC2E8 for ; Sun, 28 Mar 2021 19:53:47 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7mcB42qfz3JC1 for ; Sun, 28 Mar 2021 19:53:46 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (87-95-57-131.bb.dnainternet.fi [87.95.57.131]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 12SJrfLK079801 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 28 Mar 2021 19:53:42 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-57-131.bb.dnainternet.fi [87.95.57.131] claimed to be [192.168.1.151] From: Stefan Parvu Message-Id: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 22:53:36 +0300 In-Reply-To: <20210328212009.1b6b3ad98f26256a3490b063@bidouilliste.com> Cc: freebsd-arm@freebsd.org To: Emmanuel Vadot References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> <20210328212009.1b6b3ad98f26256a3490b063@bidouilliste.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7mcB42qfz3JC1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-1.80 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 19:53:47 -0000 >=20 > You might want to look at IMX8 boards. Allwinner, RockChip and RPI > aren't made for industrial grade. Right, thank you for pointer. Are there ready images for these boards? = Do you guys have these boards and are these supported? >=20 >> Is NetBSD a better choice than FreeBSD for ARM64 SBC ?=20 >=20 > Better choice for what ? I meant, does NetBSD has a better support for BLE, Wifi on ARM64 SBC = than FreeBSD? More ready images available for different SBCs? Thanks, Stefan From owner-freebsd-arm@freebsd.org Sun Mar 28 20:02:43 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6CBB5ACF85 for ; Sun, 28 Mar 2021 20:02:43 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7mpW1bTmz3JmP for ; Sun, 28 Mar 2021 20:02:42 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id u5-20020a7bcb050000b029010e9316b9d5so5622308wmj.2 for ; Sun, 28 Mar 2021 13:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xEc4gU0x7ShQBULELxF4Vt/kjgEgCunmURX2HSs1H9Q=; b=fFDOn9ZXW2tON4/SckJpbaj//IIJquzbmLUP6Eo50RNTey+Ap1+5aPbgoxhHlhoQ1H H878//sWHj+NzZB8YQKQL3GMH1rHLCV4TBnfSFQsscUVq+O8xCun0yTzbXBBF+m6hq2p Fsxnt9xQg1F4017Jf0E5oUbTll2ZicisleODHSB6oHYdeYuC727vUzZjZsSGKWv+8l5o /PLQIidl4ULuAg8mx1BcGP44m19pijb0TGxa/7DIrqm6ySn2tTgyb+BSU7pmhIgInuaP OwdHffE8sO1ehUOx8tTcVfBZ3k17JlAyQevZqPhIL52UyqTKckZcpOhy7E2UNS/71hnZ VjOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xEc4gU0x7ShQBULELxF4Vt/kjgEgCunmURX2HSs1H9Q=; b=ESdYnw2pAqpb9JMBpC2gk/2sodS0GzDrkogUxJUY8Fz5xf3YBTAmZvUaAFNI0qSDp8 Du9zD0xazjYAmqSrH6jvat0m5jaPHP1SCDshUFzFly9e5sWxTAhqKapwQuFGnRvwTJ0K mI8OUQuuCIQ06xaDR4mtYrT6quJEg8VryzdGdCyDBzYyzRUzL2ZsNlN3Ln47MGayBHfh P2nEieqXdbtFPGbRpP2zewDR8iIPis91AWO9CVpiGzHpa7X5ODTXa9GzJqSL4lDBwPK4 ygOv4xJzMyraZLAyrLJPqqHH7N4smRoIAUWIQzvkcm7pHPs1Vnb5iq2sGErlTXh9PSx7 5xIw== X-Gm-Message-State: AOAM5336cK4mwsYn9ODxT+3DLXMGX4W54xiz/XlLA74PqnY4c4KWWeMl Wia2aDRlOnekxLKNhQXcOqxaBx6gqNc= X-Google-Smtp-Source: ABdhPJx3yOolKhqtd6v+BGT6cB7mNGlKRN3eGHqFVXzbVuBlT/xiBifo0iwoJwhONcj67IBeFI4bhg== X-Received: by 2002:a7b:c357:: with SMTP id l23mr21700501wmj.152.1616961760757; Sun, 28 Mar 2021 13:02:40 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id h25sm25427471wml.32.2021.03.28.13.02.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 13:02:40 -0700 (PDT) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 22:02:39 +0200 In-Reply-To: Cc: freebsd-arm@freebsd.org To: =?utf-8?Q?Klaus_K=C3=BCchemann?= References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4F7mpW1bTmz3JmP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fFDOn9ZX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 20:02:43 -0000 On 28 Mar 2021, at 21.48, Klaus K=C3=BCchemann = wrote: >>=20 >> Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. >> If you put u-boot into the SPI-flash it will boot from any of the = above media. >>=20 >> -- >> S=C3=B8ren Schmidt >> sos@deepcore.dk / sos@freebsd.org >> "So much code to hack, so little time=E2=80=9C >>=20 >=20 > yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange = thing on Rock960-board was that it needed some reboots=20 > until nvme was scanned correctly in u-boot-prompt. > Thean it boots FreeBSD straight up and then hangs on mountroot> ( = because there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). > I presume an electrical issue since it was once(only once) detected by = adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80=9C= in rc.conf.=20 > The u-boot patch related to nvme on that board also was based on a = voltage-change . > =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 >=20 > Anyone successfully booting from nvme on any aarch64-board ?? Yes, both my rockpro64=E2=80=99s and my pinebookpro boots of NVMe just = fine, there is one caveat though, for it to work it needs to be a NVMe = device that uses as little power as possible (I use older Intel 660 IIRC = uses only 3.5W max), otherwise the HW cant cope.. S=C3=B8ren Schmidt sos@deepcore.dk / sos@freebsd.org "So much code to hack, so little time" From owner-freebsd-arm@freebsd.org Sun Mar 28 20:14:57 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB0375AD484 for ; Sun, 28 Mar 2021 20:14:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7n4c66s6z3KHG for ; Sun, 28 Mar 2021 20:14:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616962494; bh=e+TLDC9Wp/OwVaH33wdmmSnF79vik9A/M1XmPtpOlFn=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=PEaAtc/zG1vFooLqS6as33ikr+BZB2n4ERAPngtBatSlbffvMHNhhEPqahmD4+ik2ISPAj2HzabOfHtop4bfXqqRDdf4gJR1YYZgjMQij3r8t0mWBx9xb3uG2S5j4TtmdMk3uWbs2IaLJaevdlBM7Kch00qGi+extgB3dMXtBM9b5F2HRwDjc8P7KSkfH9Lp2xjV1HVDEn2wmG0wSv5IAnYqFMrQwxpnwIPOjrWGWf0XccaBcavQjslZu3rjwy62SsudGt61QPa63jh6XtdyWpWfex2g7iQ6hz3Ip8n3/jM4No8D/g2EYVbyaKu+PkzBVgagHZ5/w8EbuqJC8mJ1zg== X-YMail-OSG: heUy6hkVM1nX9fR.SzNtKQK9K8QaZqtFSt6wmLYLyukg1GmUPIFurqoqYe3vfyK 2vATlgac.ZaIEmNDIZzvjEAMIN8UpHS0GAUOy6lOz7AsmHiyVG5eSKlmpwFymotr6Ct06HVb0.1Y DHUbtxYpjRal5B.kFhLizV3vDUyqdQDSJH36t4Z1GO6JCocdY617HYfM5gUgNbM3Na6.rZj4G0FY Kn9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1CkSavs0HdIOS0p4PiB3ncbU4X.ti5HMxcOD0UId7N2JBtMbL7yYd3ZOP7Ub9hQe2m BGRrsTa1.T9CGgiG0nvl8m38.IOF4nB9OVZj7paULtbSvh47en0JEO.k24CGfnKHS_TL4xSvsXHj tvQf54VR5Zj6uOpiKK7TP7pllNAtx8e5yi1Iw8nBwKI2Id_fvRbJ7KLbav5FsUzggY1QE2HlwYLa w.3jhy4J0M5NAc.TH7BAi1VVkuqoaQwDmpq8MPNOI2w-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 20:14:54 +0000 Received: by kubenode510.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 35ae31ce6f3a98c9c5989cec9bb3e113; Sun, 28 Mar 2021 20:14:50 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: Date: Sun, 28 Mar 2021 13:14:47 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: =?utf-8?Q?Klaus_K=C3=BCchemann?= X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7n4c66s6z3KHG X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.66.146:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.66.146:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.146:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.146:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 20:14:58 -0000 On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = wrote: >=20 >> Am 28.03.2021 um 21:35 schrieb S=C3=B8ren Schmidt = : >>=20 >> On 28 Mar 2021, at 21.23, Daniel Engberg = wrote: >>=20 >>> ESD can kill any type of hardware, there are multiple reasons why = you shouldn't play around with live hardware and powered off for that = matter without any protection regarding ESD. Pretty much all hardware = comes with clear instructions and warnings about it. Without getting too = technical I say that I have a 3A PSU the runs fine at least for me = however quality of PSUs is a different story. It's a RockPro64 paired = with a dual port PCIe NIC however I would recommend higher rated one if = you plan to attach non external powered USB devices. >>>=20 >>> We only support mainline u-boot, if you're using forks and/or = patched versions you're kinda "on your own" and there's no (to my = knowledge) support (yet) upstream for booting off NVME or SATA/AHCI. >>=20 >> Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. >> If you put u-boot into the SPI-flash it will boot from any of the = above media. >>=20 >> -- >> S=C3=B8ren Schmidt >> sos@deepcore.dk / sos@freebsd.org >> "So much code to hack, so little time=E2=80=9C >>=20 >=20 > yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange = thing on Rock960-board was that it needed some reboots=20 > until nvme was scanned correctly in u-boot-prompt. > Thean it boots FreeBSD straight up and then hangs on mountroot> ( = because there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). > I presume an electrical issue since it was once(only once) detected by = adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80=9C= in rc.conf.=20 > The u-boot patch related to nvme on that board also was based on a = voltage-change . > =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 >=20 > Anyone successfully booting from nvme on any aarch64-board ?? As reported on the list earlier, I plugged a Optane 480 GiByte into a MACCHIATObin Double Shot's PCIe in a system that's microsd card had the EDK2-variant build from: = https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-2= 020-07-01-mainline-tfa.bin and the system just worked (/dev/nda0). I updated the FreeBSD in this configuration and that booted too. (The Optane was originally initialized while in a amd64 system and so was boot-ready when first plugged into an aarch64.) This is not the MACCHIATObin's normal configuration and things were put back to normal after the experiment. The MACCHIATObin Double Shot has 4 Cortex-A72 cores. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 21:00:39 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCFE35AEE87 for ; Sun, 28 Mar 2021 21:00:39 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7p5M4Rsqz3P19 for ; Sun, 28 Mar 2021 21:00:39 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A5D92694F for ; Sun, 28 Mar 2021 21:00:39 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SL0djm093063 for ; Sun, 28 Mar 2021 21:00:39 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SL0dxe093062 for freebsd-arm@FreeBSD.org; Sun, 28 Mar 2021 21:00:39 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202103282100.12SL0dxe093062@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 28 Mar 2021 21:00:39 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 21:00:40 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off Open | 239673 | Spurious Interrupt message from /dev/led/led1 2 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Sun Mar 28 21:05:51 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC59E5AF879 for ; Sun, 28 Mar 2021 21:05:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.gq1.yahoo.com (sonic302-22.consmr.mail.gq1.yahoo.com [98.137.68.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7pCL5HZxz3QF3 for ; Sun, 28 Mar 2021 21:05:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616965549; bh=6wMSYTpyWiRGxmL1bq15tdPuI+H8IqFYwvYxkTU1ovW=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=RQF+jiya6z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TO47xvyI4hMCwUn_9jezNAa.T7doNl ugkJtqdPf0fE5y9hmGF_yWoOs.VSkVzgMT_2086v_6Oi9sqUgl.vpLkSDqSsGEq6jxASnfvUFi5H VCnzf9YXZ6PwZn3tEg.YXEM74ea2y1tyNRnAvLxJAo3s1m89qK4iREL6Aq6FoTX4E63Vav3qoEZG HV.UA4OO0gB_eH2Q1eUWz7Kuw_tLchl3wXWA9RALLBvphVSWa9CyrcZ.aF6DEkrumbDYhOtq3Ppy Kqm86evrrd6yzTdU59DnE4BdELvuLm3QJlTTrLNFniTF2SoXSi5RX0gvLh2GJw2bin1c3Lsv6GW2 EiDQ5r3ZAOsJQs9EVx52I74xxW60EI_DRRNaF5ZnPBFn1xXWQEE27tyR0poM697EyEbVNNYqB7iL 4H8AF8brqiD00CXtcD0NITMRUNljdLVEbocFS2febsRCn7CPEossmGzL0sIxx3WjKFwuXRumXfwe nTIVAeLo1_zRPY7OVdcyYBMZHrMwhm9pFZgatIpc3jez6mNcd3aPSc_0_4jlB7iUMyIaOsuoYqMM qHb6q94M5Gj5dOH6XyMZE9s2iuopkP7Ovj1wK2LfidcgWlYs1t1L4mF5loct49v7ej8rT5dTNBMJ ktCo6U_nBPMZ8YHI50iRCcRZqU1VQeVg5r4TqQmAfmwbdlHLlUddQZySTmZ3GLfGWo7xWqnPxGaD gqa3DYE5ubotC8.MTD.fuhiArjRZdkwzaHDs9VV0OX9LwpUVAnKx2ifX46.uTFjQsF9amqe_IX9V eQdiNcaAdNnHo6tc- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 21:05:49 +0000 Received: by smtp423.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b687f4a26a81b996c549d469450b7219; Sun, 28 Mar 2021 21:05:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: Date: Sun, 28 Mar 2021 14:05:44 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> <20210328212009.1b6b3ad98f26256a3490b063@bidouilliste.com> To: Stefan Parvu X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7pCL5HZxz3QF3 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.148:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.148:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.148:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 21:05:51 -0000 On 2021-Mar-28, at 12:53, Stefan Parvu = wrote: >>=20 >> You might want to look at IMX8 boards. Allwinner, RockChip and RPI >> aren't made for industrial grade. >=20 > Right, thank you for pointer. Are there ready images for these boards? = Do you guys have these boards and are these supported? >=20 >>=20 >>> Is NetBSD a better choice than FreeBSD for ARM64 SBC ?=20 >>=20 >> Better choice for what ? >=20 > I meant, does NetBSD has a better support for BLE, Wifi on ARM64 SBC = than FreeBSD? More ready images available for different SBCs? I do not know about the supported devices and such but the distribution of pre-built images is handled via: https://www.armbsd.org/arm/ (by Jared McNeill), spanning both aarch64 and armv7. NetBSD 9 lists 32 images (one being for Amazon AWS). NetBSD-current lists 33. In both contexts, there is a Generic 32-bit image and a Generic 64-bit image. So 29+ SBCs each. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 21:24:55 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 135315B03D3 for ; Sun, 28 Mar 2021 21:24:55 +0000 (UTC) (envelope-from denis@ovsienko.info) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7pdK3xF3z3RJr for ; Sun, 28 Mar 2021 21:24:52 +0000 (UTC) (envelope-from denis@ovsienko.info) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ovsienko.info; s=selector1; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date; bh=rS/vgLWgQrxFpkMwgg4e3mfmy1t/BGHweuv6lZQGNXc=; b=Efvo/m7RHUqexMdIwK1Vk0TOD8 BbRuwGYrM9y65TbzTEN4szMIX6Z3JCldjl9K4h92QAIWZIAbhOJQZIHGmjrYLEVNJoSZsWX3ZsOym bXuEPs+iNIDnfU5DVcZYpwF+hDQNZ97rrSdcoLDLvKB5W3ZZNrxkfgKBu8n7unHHA9X+f3IFtywSA 6eur9nCcad2U3jjZVNU3JuGMtAtIJ4uVqVL+YZq7dBYlCmJeAmxwNUVqhJb0WWnkAZqN0y0k9ecy4 xe+OJ24Gjy1rJO4G5lK+0BC9QgDWw8S5AMdtwAYSSUotuXDzAX0BJ6A2m3kefd0tOWkK7k3FxqsZ+ rLUm6w3g==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1lQctu-0006KX-Et for freebsd-arm@freebsd.org; Sun, 28 Mar 2021 23:24:50 +0200 Received: by submission03.runbox with esmtpsa [Authenticated alias (984599)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1lQctj-0000WC-6w for freebsd-arm@freebsd.org; Sun, 28 Mar 2021 23:24:39 +0200 Date: Sun, 28 Mar 2021 22:23:30 +0100 From: Denis Ovsienko To: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: <20210328222330.26dd034c@basepc> In-Reply-To: References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> <20210328212009.1b6b3ad98f26256a3490b063@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F7pdK3xF3z3RJr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ovsienko.info header.s=selector1 header.b=Efvo/m7R; dmarc=none; spf=pass (mx1.freebsd.org: domain of denis@ovsienko.info designates 91.220.196.211 as permitted sender) smtp.mailfrom=denis@ovsienko.info X-Spamd-Result: default: False [-2.10 / 15.00]; MID_RHS_NOT_FQDN(0.50)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.220.196.211:from]; R_DKIM_ALLOW(-0.20)[ovsienko.info:s=selector1]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.220.196.211]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.220.196.211:from:127.0.2.255]; DMARC_NA(0.00)[ovsienko.info]; DKIM_TRACE(0.00)[ovsienko.info:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 21:24:55 -0000 > I meant, does NetBSD has a better support for BLE, Wifi on ARM64 SBC > than FreeBSD? More ready images available for different SBCs? Ironically, the latest NetBSD release does not support RPI4B (RPI3 is acceptable). Also ironically, the latest OpenBSD release supports RPI4B, so long as you are happy to supply a separate UEFI bootloader, to run the installer through the TTL console and to keep the root filesystem on USB storage instead of the SD card. I had looked into the other BSDs' ARM mailing lists not long ago, and my impression was that RPI4B progress there is going through a similar churn (this revision of this DT file plus this revision of this bootloader fix this thing on this Pi model, but break that thing on another model, and the other way around the next week). Fortunately, my use case is a headless setup and requires only the wired Ethernet connection, so I managed to get Linux, NetBSD, FreeBSD and OpenBSD on AArch64 using a set of RPIs. If your use case depends on other hardware (USB, GPIO, GPU, wireless etc.), flipping between operating systems will likely trade one surprises for others, but will not take RPI4B away from the bleeding edge immediately and completely. RPI3 seems to be old enough to be supported everywhere, but it is notably slower. Other SBCs may be better supported, but I don't have this information. One thing I find useful about FreeBSD on RPI4B is that it seems to work 2-3 times faster than Linux and OpenBSD given the same workload, which is C compilation with ccache on tmpfs. The difference is mainly due to a very fast Autoconf stage on FreeBSD, the main C compiler performance is actually a tiny bit lower. -- Denis Ovsienko From owner-freebsd-arm@freebsd.org Sun Mar 28 22:53:06 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EBE8D5B282A for ; Sun, 28 Mar 2021 22:53:06 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7rb54XJSz3lyT for ; Sun, 28 Mar 2021 22:53:04 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qk1-x72e.google.com with SMTP id z10so10812499qkz.13 for ; Sun, 28 Mar 2021 15:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=zXxLDMyYW09AyD9zdzGlciv0eAI+BnhRt/uDaygPhrg=; b=02hR08NWXyLMfo1OGrpNemdyXRxgxgDa0K8jdeGqrBOd4aPxTNIcwqCyVBCLSrQtfc mKkE2byeSHmjqm29ebwEThyC31ikO3LYpUJyjKnSuAy0bs/YYh8n5L9FIUY9+rVMPBFr 67BQ0F3fHiZ2B6nIflnpIC0hdPQ9qc3moRf7IqCsghI4wW38jTTALRbksXGVPwS0/XvS /lzivS7pq0O/tGWTVFG8brE4M+YdkkwvDxWluR3han9sVJ3ReWm2VB4NxA35vW/pnTkQ eP+VQSf9NA0YZ6t1Z3W5toyIKlm3+druuzVJl75qbbQXnBXSAKrhc8oCsb1s6anZNz/1 VnFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=zXxLDMyYW09AyD9zdzGlciv0eAI+BnhRt/uDaygPhrg=; b=aq008iV9DQDG+S8oxu42HNF6Y6Qu1ojUwtGH+3gLMoDDAS9A75NYwKRJLGILa8VRo9 d6kAXLCmWJVeKfXYWR3GeaAEgjdvxahqiDMNRqV7dz17c7/tJGJiuHpYVtETP+AHZIoZ /fu/KVT5oZCjoIux5NFm24jVB9XG9Khtp8Jlqq0bYFwwx8uZM6y14pkEZotY9wpfjyVZ GFkoxBuQ5DrswGJ/GxFIwr9ZeVq1caJD3xrbc/eyez1muMK9d72CRYkUJLHJjn4itVE9 dgDVO9bNkJGmT0jdM3Lj7ecLVz3A6f7WbEwXiev8ZZ4Y+25PkV22wQdYxwsvTNLrfV6C pXDw== X-Gm-Message-State: AOAM532h5BOkJgABygQRO9bh2mxiEpxJ0y/zEL7sM1XnInLgszLFooPd 89l+OQIai18i5TZItxrgHO7q2ZefYoRjPKtpY8gCJHQLYzCqww== X-Google-Smtp-Source: ABdhPJwMISokWABPl5yGpNnzJKCNNCKK4ARAyk7LP40Eak1RbCrHuhP1wdrf3RRvC8orUM1AWNJ6r5/dEsQmgCh8it8= X-Received: by 2002:a37:6243:: with SMTP id w64mr22091116qkb.295.1616971984159; Sun, 28 Mar 2021 15:53:04 -0700 (PDT) MIME-Version: 1.0 References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> In-Reply-To: From: Marcin Wojtas Date: Mon, 29 Mar 2021 00:52:53 +0200 Message-ID: Subject: Re: Any good alternative to Raspberry for Arm64? To: Mark Millard Cc: =?UTF-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F7rb54XJSz3lyT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=02hR08NW; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::72e) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-2.13 / 15.00]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.83)[-0.825]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::72e:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[mw]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[semihalf.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::72e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72e:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 22:53:07 -0000 H Mark, niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm napisa=C5=82(a): > > On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm wrote: > > > >> Am 28.03.2021 um 21:35 schrieb S=C3=B8ren Schmidt : > >> > >> On 28 Mar 2021, at 21.23, Daniel Engberg wrote: > >> > >>> ESD can kill any type of hardware, there are multiple reasons why you= shouldn't play around with live hardware and powered off for that matter w= ithout any protection regarding ESD. Pretty much all hardware comes with cl= ear instructions and warnings about it. Without getting too technical I say= that I have a 3A PSU the runs fine at least for me however quality of PSUs= is a different story. It's a RockPro64 paired with a dual port PCIe NIC ho= wever I would recommend higher rated one if you plan to attach non external= powered USB devices. > >>> > >>> We only support mainline u-boot, if you're using forks and/or patched= versions you're kinda "on your own" and there's no (to my knowledge) suppo= rt (yet) upstream for booting off NVME or SATA/AHCI. > >> > >> Well, at least u-boot2021.01 has all the needed support to boot a rock= pro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. > >> If you put u-boot into the SPI-flash it will boot from any of the abov= e media. > >> > >> -- > >> S=C3=B8ren Schmidt > >> sos@deepcore.dk / sos@freebsd.org > >> "So much code to hack, so little time=E2=80=9C > >> > > > > yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange t= hing on Rock960-board was that it needed some reboots > > until nvme was scanned correctly in u-boot-prompt. > > Thean it boots FreeBSD straight up and then hangs on mountroot> ( becau= se there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). > > I presume an electrical issue since it was once(only once) detected by = adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80=9C = in rc.conf. > > The u-boot patch related to nvme on that board also was based on a volt= age-change . > > =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess p= cie has mem alloc issue from dmesg)=E2=80=A6 > > > > Anyone successfully booting from nvme on any aarch64-board ?? > > As reported on the list earlier, I plugged a Optane 480 GiByte > into a MACCHIATObin Double Shot's PCIe in a system that's microsd > card had the EDK2-variant build from: > > https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-= 2020-07-01-mainline-tfa.bin > > and the system just worked (/dev/nda0). I updated the FreeBSD in > this configuration and that booted too. > > (The Optane was originally initialized while in a amd64 system > and so was boot-ready when first plugged into an aarch64.) > > This is not the MACCHIATObin's normal configuration and things > were put back to normal after the experiment. > > The MACCHIATObin Double Shot has 4 Cortex-A72 cores. > MacchiatoBin has fully opensource firmware, with the mainline edk2/TF-A one can boot FreeBSD with DT or ACPI. The referenced image from Greg should also be fine. The only significant interface missing is the built-in PP2 NIC. EspressoBin (and Armada 3720 in general) is very well supported - apart from PCIE, everything should work. Best regards, Marcin From owner-freebsd-arm@freebsd.org Sun Mar 28 23:12:29 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A4365B31AC for ; Sun, 28 Mar 2021 23:12:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-25.consmr.mail.gq1.yahoo.com (sonic311-25.consmr.mail.gq1.yahoo.com [98.137.65.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7s1R6TTPz3mjp for ; Sun, 28 Mar 2021 23:12:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616973145; bh=7nCN9X0KQczUTcTA8ax3PPUl/YNdZHw6/2I14+YU/Zt=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=RgSnHCm5y8HSLYFvU2x7xvXAYv7xrakOY7iiKGPQHrzf5WYH2nBhwMViNgWQdJB73JWy2QaXDo0xZUK54h0xWg/HI7jfMoSmyh5mMFg1aM9HnLWznVuz9XBjzF+UbvD8pyEDW9Y9rBmMl3wzihOXhpSwVmkE2iqiZuF7OWhT/uhI+kro9fhji21180aKh47oPPIEqUuY9P52Gp+crIgvEoLqbvvvZzu8mC6QF/76QJBxYaX8uh8ykM7bYWhd7e5LELyYcCDE0+5+oXUilP+uVeL3EPbGqe163FRkZ3k76Unjq7JbOm4hvX/ztx7MD6NHjECFO8HsuRJ4y3mHKGSNbA== X-YMail-OSG: jpFXAjIVM1l6Kxn72GM.kSksRnZtUx1GmZ6LtJviAEcZ1kYr1CYZjEFK7cXcdG2 99E5YDLT7ZbKgOCfBsFnfIZYgLypBaLhWFVtzN_mABpX9_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EOE7GP.K3m f1RccnTxcrbysGWajJbQiZnr5t9RtMASgbor1nfaiQD2kMvcF92UewNSqJYMWQgEJP.oeeynEtsq SViBMkTNxPVfxSASIqvuCLSGrptl0Z73Ma.thKCPXbMF35hbjMagP7W3O23iYdSZzTv56EsbY7UT kCPJwFRUofemAOZ93W7SYlshPRSlgtKI7lUHV2jqFtyK2NTyPrZKkkQ84cPzhDvR.mePSD30vI9P Ix6MqzuvWI7xOI7WeN2F0NuPVnqjjQUFfXe0vIOsOX90tZ8jgYENlOu3GX5jgOu9P42dAqPWdHIZ RxkYp0.95fO5G X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 23:12:25 +0000 Received: by kubenode558.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8938978768d5445b4be0bc6490eb2608; Sun, 28 Mar 2021 23:12:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: <20210328222330.26dd034c@basepc> Date: Sun, 28 Mar 2021 16:12:19 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <74820291-0E4B-4047-B6D4-7A25C1E2E340@yahoo.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <4F30ABFD-66D2-4515-A3BB-F13F767F8FB9@kronometrix.org> <20210328212009.1b6b3ad98f26256a3490b063@bidouilliste.com> <20210328222330.26dd034c@basepc> To: Denis Ovsienko X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7s1R6TTPz3mjp X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.206:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.65.206:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.206:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 23:12:29 -0000 On 2021-Mar-28, at 14:23, Denis Ovsienko wrote: >> I meant, does NetBSD has a better support for BLE, Wifi on ARM64 SBC >> than FreeBSD? More ready images available for different SBCs? > > Ironically, the latest NetBSD release does not support RPI4B (RPI3 is > acceptable). NetBSD-current does support the RPi4B but you need to to use the EDK2 UEFI/ACPI firmware, such as adding it to the Generic 64-bit image's installed materials. (I've used RPi4B's via NetBSD on and off for a fairly long time, but mostly as a cross check on behavior.) NetBSD-current got GENET support (EtherNet) in the EDK2 UEFI/ACPI context back on 2020-Feb-21 (date announced, asking for testing). NetBSD 9.0 was announced 2020-Feb-14, while initial support of the RPi4B was still being worked on (before GENET was available, for example). The RPi4B has not been subject to an MFC-like operation to my knowledge. > Also ironically, the latest OpenBSD release supports RPI4B, > so long as you are happy to supply a separate UEFI bootloader, to run > the installer through the TTL console and to keep the root filesystem on > USB storage instead of the SD card. > > I had looked into the other BSDs' ARM mailing lists not long ago, and my > impression was that RPI4B progress there is going through a similar > churn (this revision of this DT file plus this revision of this > bootloader fix this thing on this Pi model, but break that thing on > another model, and the other way around the next week). > > Fortunately, my use case is a headless setup and requires only the wired > Ethernet connection, so I managed to get Linux, NetBSD, FreeBSD and > OpenBSD on AArch64 using a set of RPIs. If your use case depends on > other hardware (USB, GPIO, GPU, wireless etc.), flipping between > operating systems will likely trade one surprises for others, but will > not take RPI4B away from the bleeding edge immediately and completely. I've always booted NetBSD on the RPi4B's using USB3 SSD media for the root file system. Any issues seemed to be tied to RPi firmware vintage problems and I controlled what vintage I used to be that known to be working well for the EDK2 implementation. (The issue is not NetBSD specific.) I also updated to not needing to use microsd card media at all for booting when the RPi4B updates to support such were made. (I currently do not have a NetBSD RPi4B configuration set up.) > RPI3 seems to be old enough to be supported everywhere, but it is > notably slower. Other SBCs may be better supported, but I don't have > this information. > > One thing I find useful about FreeBSD on RPI4B is that it seems to work > 2-3 times faster than Linux and OpenBSD given the same workload, which > is C compilation with ccache on tmpfs. The difference is mainly due to a > very fast Autoconf stage on FreeBSD, the main C compiler performance is > actually a tiny bit lower. If one has the heatsinks, fan (cooling), and appropriate power then a from scratch buildworld buildkernel with "Not bootstrapping a cross-compiler" and "Not bootstrapping a cross-linker" status that only targets code generation for aarch64 and 32-bit arm can complete in somewhat under 7 hrs. To get this I use: over_voltage=6 arm_freq=2000 sdram_freq_min=3200 force_turbo=1 in config.txt . It appears that not using force_turbo=1 but using powerd eventually ends up with force_turbo set anyway and the times work out nearly the same. I'll note that an RPi engineer/forum-moderator published on on a RPi forum that the RPi4B's are not subject the the warrantee bit being set for for force_turbo use with over_voltage use. See: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=283911&p=1719405 My context has USB3 SSD media and 8 GiByte of RAM for these results. I expect 4 GiByte to not be much different. The context is main [14] built without debugging facilities, running a build that was also configured that way. (Letting support for all the default instruction sets build added about 0.5 hr to the build.) With neither force_turbo=1 nor powerd set up, my build times were somewhat under 15 hr 45 min. So there is more than a factor of 2 difference in the times. For those not wanting to overclock, just adding the force_turbo=1 or use of powerd should get such a build down to more like, say, 9 hrs, presuming the media used do not slow thing significantly. This ends up being based on an implicit/default arm_freq=1500 . (The time estimate is based on other's reported build times, not on my testing the combination.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 23:13:55 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51B3E5B31CB for ; Sun, 28 Mar 2021 23:13:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7s356NxGz3mpq for ; Sun, 28 Mar 2021 23:13:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616973232; bh=vORIAvic1asSTXtyO1khBgthOwHLh1Sbz7jUfGEN0IE=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b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F5Cq8mjCi.xicieRck2UdC.XjBkRW3xNV p6JbG5wu.jnfIlIgWKol1FGoiBjrbs7yinTbFQMJ_Tdfcd5VpXqpYzfydB64QcxJTAUwiyscAi.j StUv4G4cMrSTYFSKg10KBt5lVgEbSVbh_oO9AR8b0iokyE8O736Kw4lbMaZGn9dBt6NXUxPLW9XV .cLPTwB2KaX0kMXRDKbEx.sASFoas54vvnxcyyvK5TRWtsXVsgJ6lz1PZjBXSlyf7wsCthwN_P43 PvN06KX.Lv_WqjxmWbjoUbbXJy2keKAVNHZL0_xToy.vbQ.R0hHSWaXBSui7gqJDqDtgj2XM.68. 6bfaNIdzVNagcyBayffXV2sa6VE4c.7Waf8CRG.TK_0V2qpGM55d4AWsxLxUJm3IoHjBg4tz_J82 nsf9Cr7Yj8EKhcJOqeqDWL5jBTQUUWoQ3MPV3SyH5eiS3m3NVO2DcSfHv.451E64RQAqnA_OPM0s zNbT_tKOUIZD0E3Hy63q1nyvJoHq8GUGI5LkrMKCyDME6iVsmYGPOSK9mwDKx.XSfjUlvImKRqNn gbpd03zjfFLh0SiyX8IGnFHpIEEDjNvbCVEAt76LlRKFVI5jxs2TVDgJJkiGe2Lcjic8szWZdk38 YaWAdmYld2_VZvMTy_hw6eN3pBRnV83q.NxOxeDutdrid0X5XWjfaWIwoPOLBh0NZ3OCS97.cb3j UWCQumboxFKlTsxyAH9YVmwLPZT8hytqLlCmE2d.yFLRZ4eD_b2rKb3OBtNWG68VLr1M9KLVuEba shO9kFrAfWrIRvJs0nOtYjIufTpePXVebIVkFBv4Mg_lkEd_oQeFp7l6N2WJQF1zu4haB7wRxj_q iZQKUnsi7tJyEidOBM54Lo9UkX_jT9txSmEBP8rjyxlGSC_gZBAJU X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 23:13:52 +0000 Received: by kubenode508.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2cbf2130740de0a156e016580b669a89; Sun, 28 Mar 2021 23:13:50 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: Date: Sun, 28 Mar 2021 16:13:48 -0700 Cc: =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <206AFC1E-88CA-4F3B-897B-14444CE0905C@yahoo.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: Marcin Wojtas X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7s356NxGz3mpq X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 23:13:55 -0000 On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: H Mark, niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm napisa=C5=82(a): >=20 > On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = wrote: >>=20 >>> Am 28.03.2021 um 21:35 schrieb S=C3=B8ren Schmidt = : >>>=20 >>> On 28 Mar 2021, at 21.23, Daniel Engberg = wrote: >>>=20 >>>> ESD can kill any type of hardware, there are multiple reasons why = you shouldn't play around with live hardware and powered off for that = matter without any protection regarding ESD. Pretty much all hardware = comes with clear instructions and warnings about it. Without getting too = technical I say that I have a 3A PSU the runs fine at least for me = however quality of PSUs is a different story. It's a RockPro64 paired = with a dual port PCIe NIC however I would recommend higher rated one if = you plan to attach non external powered USB devices. >>>>=20 >>>> We only support mainline u-boot, if you're using forks and/or = patched versions you're kinda "on your own" and there's no (to my = knowledge) support (yet) upstream for booting off NVME or SATA/AHCI. >>>=20 >>> Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. >>> If you put u-boot into the SPI-flash it will boot from any of the = above media. >>>=20 >>> -- >>> S=C3=B8ren Schmidt >>> sos@deepcore.dk / sos@freebsd.org >>> "So much code to hack, so little time=E2=80=9C >>>=20 >>=20 >> yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange = thing on Rock960-board was that it needed some reboots >> until nvme was scanned correctly in u-boot-prompt. >> Thean it boots FreeBSD straight up and then hangs on mountroot> ( = because there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). >> I presume an electrical issue since it was once(only once) detected = by adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80= =9C in rc.conf. >> The u-boot patch related to nvme on that board also was based on a = voltage-change . >> =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 >>=20 >> Anyone successfully booting from nvme on any aarch64-board ?? >=20 > As reported on the list earlier, I plugged a Optane 480 GiByte > into a MACCHIATObin Double Shot's PCIe in a system that's microsd > card had the EDK2-variant build from: >=20 > = https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-2= 020-07-01-mainline-tfa.bin >=20 > and the system just worked (/dev/nda0). I updated the FreeBSD in > this configuration and that booted too. >=20 > (The Optane was originally initialized while in a amd64 system > and so was boot-ready when first plugged into an aarch64.) >=20 > This is not the MACCHIATObin's normal configuration and things > were put back to normal after the experiment. >=20 > The MACCHIATObin Double Shot has 4 Cortex-A72 cores. >=20 MacchiatoBin has fully opensource firmware, with the mainline edk2/TF-A one can boot FreeBSD with DT or ACPI. The referenced image from Greg should also be fine. The only significant interface missing is the built-in PP2 NIC. EspressoBin (and Armada 3720 in general) is very well supported - apart from PCIE, everything should work. Best regards, Marcin =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 23:44:32 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB4EE5B3E81 for ; Sun, 28 Mar 2021 23:44:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7skR3np7z3pGh for ; Sun, 28 Mar 2021 23:44:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616975069; bh=QzWEaZ1YtEEr5h6mw0LN7DXfC7iREeLrNs10PLkFN8O=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=AyPfMH2Ni4i3U2tMwFjBTTjFRHYurhL077MmaQN9Qr76f1hj0ujrRQXUmyWSjV2XR091I3OvFIjdTlS7Cb8YtVY3QlKunC7q2OvnhLxa0q+5x0F9YeXcM4RU16VjGu+46rsM6pUIGHxE/8Wgsbe8IRAxkz+c2r3yZvGtFCwcwEqCIXcsh2M1cmb+CkbZjn5WNDwFcw9SnVY9f9bnbeBlhfYo/7eLmM0FD12kKDWfvfoWPS5UYKaWxI9t430IF+Id6mz6dc4C32wu88R0akXFW0H/YyhAa4g6hfYICeVsJDmn4VDJ4y1gPaBRORSpc+N3TTbWY2cDQKreCvW6Vuw93g== X-YMail-OSG: b7jdWZ8VM1lLKRxthJ2ZzyqXZm6aYaNWEcdJfZ9CLV9F6CX2m9Isp5lm0Y0Lcf. mJcMirsbQ1wmOTvF2cpeSOYn1nfsdVlq05G7oSCMXjWBNV.6vJofxRlglgfN353iZWy4.E27Klwf su_nz7xaPCahiHR81izhe9Hhcax3mkMytEnQLWK0kWMGfGtRFFf4W.XQAsHh8G35Pvm21wwlaHtr BSKa19PAftxZH9HJZgyyxAwLqdYPCiOpHdfmN56GNFBKNS1.C.7zVm7FiDWwrtP_lvTIXYRPPTYW loT2WQm4CrgraX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QN2KYkco6_Y0ZQEEoPCIu53R6u2m3f2xResFY2vILwEkr fTzLsB_IHcaRgtAZ.sBuIfmHBPElbAWou_j4hWVCQCjg4ARH7cL.0neTSuebGnvRr1RyHGZ_imkd H12PrY61VL8IXmaAdH1Qbwg1EeNIWPS0qf4fVM.rALJyj0nBx.nxReKnzLuzh2OYWsQwjzoJAc1i Tm_C.sGJ28I16AJ2iovaEY_m4f5adAiFjisOH0UUjDGR3Ra0xyF0n X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 23:44:29 +0000 Received: by kubenode565.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 099842d7bcc7d599f1b841227055c575; Sun, 28 Mar 2021 23:44:28 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: Date: Sun, 28 Mar 2021 16:44:25 -0700 Cc: =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: Marcin Wojtas X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7skR3np7z3pGh X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.32:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; SPAMHAUS_ZRD(0.00)[98.137.68.32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 23:44:32 -0000 [Sorry for the accidental send of an reply I'd not started to edit yet.] On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: > H Mark, >=20 > niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm > napisa=C5=82(a): >>=20 >> On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = wrote: >>>=20 >>>> . . . >>>=20 >>> Anyone successfully booting from nvme on any aarch64-board ?? >>=20 >> As reported on the list earlier, I plugged a Optane 480 GiByte >> into a MACCHIATObin Double Shot's PCIe in a system that's microsd >> card had the EDK2-variant build from: >>=20 >> = https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-2= 020-07-01-mainline-tfa.bin >>=20 >> and the system just worked (/dev/nda0). I updated the FreeBSD in >> this configuration and that booted too. >>=20 >> (The Optane was originally initialized while in a amd64 system >> and so was boot-ready when first plugged into an aarch64.) >>=20 >> This is not the MACCHIATObin's normal configuration and things >> were put back to normal after the experiment. >>=20 >> The MACCHIATObin Double Shot has 4 Cortex-A72 cores. >>=20 >=20 > MacchiatoBin has fully opensource firmware, with the mainline > edk2/TF-A one can boot FreeBSD with DT or ACPI. The referenced image > from Greg should also be fine. The only significant interface missing > is the built-in PP2 NIC. My memory was that there was some issue of "legacy" PCIe devices showing up as duplicated and some change was put in that avoided that --but prevented "modern" PCIe devices from working. As I remember, disabling the change was one reason Greg created his variant: upstream choose which type of devices it wanted to support and Greg went the other way. (No one has support covering both contexts on the MACCHIATObin Double Short?) Looking, there was a Greg edk2-platforms update called "remove ECAM shift" that seems to be involved with that area. (Also, removal of a headless flag in FADT and adding 3 PCIe defines and some MDEPKG_NDEBUG #if changes and having some CLANG DLINK flags. My context was still actually headless but I noticed no problems from that.) There were also edk2 additions of 3 lines involving something like: MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf plus some other stuff that might be for other issues. More enabling of clang use as well. I've not tested a mainline build to check on the status of such things. But back on 2020-Jul-01 when the commits were made, Greg appearently throught that they were necessary to get his context to work. (My test context seemed to be covered as well but I did not prove Greg's variation was necessary for coverage.) > EspressoBin (and Armada 3720 in general) is very well supported - > apart from PCIE, everything should work. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sun Mar 28 23:48:19 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1EB6C5B3F5E for ; Sun, 28 Mar 2021 23:48:19 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7spp1fDLz3pMn for ; Sun, 28 Mar 2021 23:48:17 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x333.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso7619306wmi.3 for ; Sun, 28 Mar 2021 16:48:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=j3N9M2lRQQL+4d8gOdLJjDzupcNi4o4BuXKcP8mwQFo=; b=p872UphJJiU8vpRxOmvAxGTpbAsdE3DG65gHxjDfrA6vJaBoZ5Cs6qchCk6z/X6ktH wIutoBhIIZKWvwkcoL7W2Etts6IASypRP4RWALJRObzB5wlQryqjQAWYcodXzsOFAY8i bIF8CxTyotPyDb4tvKjdBgvBNoHe4vAXK+irhQBS7tu/RqdiZ9BPWAzHZL1fzcei4jO5 3JFtaq0yNsCLaqu6hIEv4+rMx9jFKNl2ogTR+nQ9O0dzs1IjpYUMk0QYjpNahz4ViHof +6gw9FhUGXuIQ0OOoxl7ILU4jpR9SyHCihHDH1pOQE1ELXd9ZM30duCWm+9/HaY5lvn/ PjTA== X-Gm-Message-State: AOAM533t8CqRCpjxaOZtoY8waEfZTvQEx4y6XoctTu6ICCctrQtC7Ptk ENd+o2u5RVT/ClA10U1ABd4= X-Google-Smtp-Source: ABdhPJx+kWDrrYRZ1DFoBwURVSxtw6hXzZ80UQak9oeoJXBrYwqehej0SE4xas0jscQ5FibEOIUHSA== X-Received: by 2002:a05:600c:2945:: with SMTP id n5mr22349442wmd.78.1616975295479; Sun, 28 Mar 2021 16:48:15 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-157-239.46.114.pool.telefonica.de. [46.114.157.239]) by smtp.googlemail.com with ESMTPSA id z66sm23357977wmc.4.2021.03.28.16.48.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 16:48:15 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Mon, 29 Mar 2021 01:48:13 +0200 References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> To: Philipp Klaus Krause , freebsd-arm@freebsd.org, myfreeweb , dan.kotowski@a9development.com In-Reply-To: Message-Id: <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7spp1fDLz3pMn X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::333:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.157.239:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::333:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::333:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 23:48:19 -0000 > Am 28.03.2021 um 21:31 schrieb Philipp Klaus Krause : >=20 > Am 28.03.21 um 06:54 schrieb Klaus K=C3=BCchemann via freebsd-arm: >=20 >>=20 >> The `professional` answer is : >>=20 >> of course , starting @~$500-$700(without accessories like RAM etc.) >> you can buy aarch64-dev-boards which completely outperform the RPI4=20= >> in performance and connectivity ;-) >=20 > But isn't there a big risk that those exotic powerful boards might not > work or not work well with FreeBSD, since few developers have them, = and > no one considers them important enoug to make sure releases work on = them? e.g. you can ask 'the unrelenting myfreeweb-man=E2=80=98 :-) & the = board-owner Dan K. (added to CC) for the =E2=80=9Ewhat works, what = doesn=E2=80=99t=E2=80=9C- status of the LX2K =E2=80=A6 while I would call it less a risk then more a challenge to work with = boards like that(that=E2=80=99s why you would buy one). well=E2=80=A6 so many topics in one thread.. funny...see you later... Regards K. From owner-freebsd-arm@freebsd.org Mon Mar 29 00:36:25 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F1F65B5374 for ; Mon, 29 Mar 2021 00:36:25 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (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 4F7ttH3nPPz3rPD for ; Mon, 29 Mar 2021 00:36:22 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Mon, 29 Mar 2021 00:36:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1616978173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f0UruD0hujZfjWyjISA3iCvJaFAeXYK5YRi0sYAEcoE=; b=qAmQwUxg7vQoQomO6HajI+PHLQGUqCx202ojEAY5kdAoN9QaHcZPiS43mhnqgvwxru5HXF FrPI4PhbfvjETO470l4s1pcwHGhOWfcCH1IF9/6NB/VcVJWHL/9D8K3QReCgSYglzH9hvY bucOYcPsrqTsjM+rczlvN8Pee2nHr48PEibrpsvns6y5mh2ddZBxdcesPVQGKb18x5Bndj u8g/1ZSNrFZed6d2ZlCD3xdMNXhoEGT/cApq0YP1F9SWWOk1W3w2DvlamCrTQ6/0n9ezgX flA0GnULARB4pS52VdMkwoStlBJ3XR/fHd+OjXz7kUHb9k+cwJ7kfYq6YJmBPA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Greg V To: Mark Millard , Marcin Wojtas CC: freebsd-arm Subject: Re: Any good alternative to Raspberry for Arm64? In-Reply-To: <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> Message-ID: <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: greg@unrelenting.technology X-Rspamd-Queue-Id: 4F7ttH3nPPz3rPD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=key1 header.b=qAmQwUxg; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 2001:41d0:2:863f:: as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:2:863f:::from]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=key1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:2:863f::]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2001:41d0:2:863f:::from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-0.98)[-0.980]; FREEMAIL_TO(0.00)[yahoo.com,semihalf.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 00:36:25 -0000 On March 28, 2021 11:44:25 PM UTC, Mark Millard via freebsd-arm wrote: >On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: > >> H Mark, >>=20 >> niedz=2E, 28 mar 2021 o 22:15 Mark Millard via freebsd-arm >> napisa=C5=82(a): >>>=20 >>> On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm wrote: >>>>=20 >>>>> =2E =2E =2E >>>>=20 >>>> Anyone successfully booting from nvme on any aarch64-board ?? >>>=20 >>> As reported on the list earlier, I plugged a Optane 480 GiByte >>> into a MACCHIATObin Double Shot's PCIe in a system that's microsd >>> card had the EDK2-variant build from: >>>=20 >>> https://unrelentingtech=2Es3=2Edualstack=2Eeu-west-1=2Eamazonaws=2Ecom= /flash-image-2020-07-01-mainline-tfa=2Ebin >>>=20 >>> and the system just worked (/dev/nda0)=2E I updated the FreeBSD in >>> this configuration and that booted too=2E >>>=20 >>> (The Optane was originally initialized while in a amd64 system >>> and so was boot-ready when first plugged into an aarch64=2E) >>>=20 >>> This is not the MACCHIATObin's normal configuration and things >>> were put back to normal after the experiment=2E >>>=20 >>> The MACCHIATObin Double Shot has 4 Cortex-A72 cores=2E >>>=20 >>=20 >> MacchiatoBin has fully opensource firmware, with the mainline >> edk2/TF-A one can boot FreeBSD with DT or ACPI=2E The referenced image >> from Greg should also be fine=2E The only significant interface missing >> is the built-in PP2 NIC=2E Interestingly, OpenBSD already has a mvpp2 driver=2E I don't really have t= he motivation to port it right now, but hey, someone could=E2=80=A6 >My memory was that there was some issue of "legacy" >PCIe devices showing up as duplicated and some change >was put in that avoided that --but prevented "modern" >PCIe devices from working=2E As I remember, disabling >the change was one reason Greg created his variant: >upstream choose which type of devices it wanted to >support and Greg went the other way=2E (No one has >support covering both contexts on the MACCHIATObin >Double Short?) Last thing I remember, Marcin promised to make a setup menu toggle for the= offset ;) > removal of a headless flag in FADT=20 I don't know if that even affects anything, I probably just copied the cha= nge from somewhere, but I like it out of a pure desire for correctness=2E >There were also edk2 additions of 3 lines >involving something like: > >MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe=2Einf This might've happened upstream too by now, but yes, this is necessary to = boot from NVMe=2E From owner-freebsd-arm@freebsd.org Mon Mar 29 01:50:13 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B43FC5B7DFA for ; Mon, 29 Mar 2021 01:50:13 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7wWS4y1vz3wLM for ; Mon, 29 Mar 2021 01:50:12 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x429.google.com with SMTP id j7so11209914wrd.1 for ; Sun, 28 Mar 2021 18:50:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=TOjXwbaqhwHuKzxEqmfXdCZ26kIkLdhFa/85z5B2iDU=; b=tGRXPSU5qQ9L9pGT40pSAbvSbE8yNoq3gMby6oC4qvu/mg3WcWfuQHh31EqPAo1htd 2s4XgfcOUqd1MJx2SCENVPNZj1lAM0ETsD8jf0K0juthF6ENRGtyeS+U2D89+F1nO8co hO/xe1KXVj+UqwirC0ilvSnrTRGrWo/Pc8zBSuqU6a011gQJMz/Ksa+00WgXfjgED+6E E/vtjEozT+VNpox6GL9ineGbhntVQXnjqgD2IosnBfiXl9ZZygPxS40D0QzFXdVxop8P zIjpKZaKa7ucUhUWgsJxQGijKpla8nEtclN7NmkzP+IJAF118X0/RfJn0runejLB6DxR lQgQ== X-Gm-Message-State: AOAM530ulmmbqDf1rxMuGXxZfkuG1/hg+1O1iA8NrhKLq2WQPGFgxmrp cp7QMWL/pWyhx/QGlUnRtKI= X-Google-Smtp-Source: ABdhPJz/Vjn1UrPlZ+n3713e1Nept+29DoDf+9Uwj4IcYTkWIsTs+iLqVMw1+GYwmE/OQZsWFTSgvg== X-Received: by 2002:adf:dc4e:: with SMTP id m14mr26814024wrj.248.1616982611144; Sun, 28 Mar 2021 18:50:11 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-157-239.46.114.pool.telefonica.de. [46.114.157.239]) by smtp.googlemail.com with ESMTPSA id e17sm29868853wra.65.2021.03.28.18.50.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 18:50:10 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Mon, 29 Mar 2021 03:50:08 +0200 References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: =?utf-8?Q?S=C3=B8ren_Schmidt?= , freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7wWS4y1vz3wLM X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.15 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.65)[-0.648]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::429:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.157.239:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::429:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 01:50:13 -0000 > Am 28.03.2021 um 22:02 schrieb S=C3=B8ren Schmidt = : >=20 >=20 > On 28 Mar 2021, at 21.48, Klaus K=C3=BCchemann = wrote: >>>=20 >>> Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. >>> If you put u-boot into the SPI-flash it will boot from any of the = above media. >>>=20 >>> -- >>> S=C3=B8ren Schmidt >>> sos@deepcore.dk / sos@freebsd.org >>> "So much code to hack, so little time=E2=80=9C >>>=20 >>=20 >> yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange = thing on Rock960-board was that it needed some reboots=20 >> until nvme was scanned correctly in u-boot-prompt. >> Thean it boots FreeBSD straight up and then hangs on mountroot> ( = because there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). >> I presume an electrical issue since it was once(only once) detected = by adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80= =9C in rc.conf.=20 >> The u-boot patch related to nvme on that board also was based on a = voltage-change . >> =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 >>=20 >> Anyone successfully booting from nvme on any aarch64-board ?? >=20 >=20 > Yes, both my rockpro64=E2=80=99s and my pinebookpro boots of NVMe just = fine, there is one caveat though, for it to work it needs to be a NVMe = device that uses as little power as possible (I use older Intel 660 IIRC = uses only 3.5W max), otherwise the HW cant cope.. >=20 >=20 > S=C3=B8ren Schmidt > sos@deepcore.dk / sos@freebsd.org > "So much code to hack, so little time=E2=80=9C >=20 > On 28 Mar 2021, at 21.48, Klaus K=C3=BCchemann = wrote: >>>=20 >> =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 This is one of the next hours :-). : with uSD plugged in(fbsd installed on it ) : rock960 =3D> pci rockchip_pcie pcie@f8000000: PCIe link training gen1 timeout! No such bus rock960 =3D> boot (from uSD)... --dmesg :--- ... pcib0: mem = 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0 pcib0: Gen1 link training timeouted: 0x00180001. pci0: on pcib0 pcib1: at device 0.0 on pci0 pcib0: failed to reserve resource for pcib1 pcib1: failed to allocate initial memory window: 0-0xfffff pci1: on pcib1 ... --- root@generic:~ # cat /boot/loader.conf ... nvme_load=3D"YES" nvd_load=3D"YES" .. root@generic:~ # reboot ( !!!)=20 -- U-Boot TPL 2021.04-rc4 (Mar 28 2021 - 22:44:49) Channel 0: LPDDR3, 800MHz BW=3D32 Col=3D10 Bk=3D8 CS0 Row=3D15 CS1 Row=3D15 CS=3D2 Die BW=3D16 = Size=3D2048MB Channel 1: LPDDR3, 800MHz BW=3D32 Col=3D10 Bk=3D8 CS0 Row=3D15 CS1 Row=3D15 CS=3D2 Die BW=3D16 = Size=3D2048MB 256B stride Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2021.04-rc4 (Mar 28 2021 - 22:44:49 +0000) Trying to boot from MMC2 NOTICE: BL31: v2.4(release): NOTICE: BL31: Built : 22:59:19, Jan 30 2021 U-Boot 2021.04-rc4 (Mar 28 2021 - 22:44:49 +0000) SoC: Rockchip rk3399 Reset cause: RST Model: 96boards Rock960 DRAM: 3.9 GiB PMIC: RK808=20 MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... *** Warning - bad CRC, using default = environment In: serial Out: serial Err: serial Model: 96boards Rock960 starting USB...net found. Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3a0000: USB OHCI 1.0 Bus usb@fe3c0000: USB EHCI 1.00 Bus usb@fe3e0000: USB OHCI 1.0 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0=20 rock960 =3D> pci Scanning PCI devices on bus 0 BusDevFun VendorId DeviceId Device Class Sub-Class _____________________________________________________________ 00.00.00 0x1d87 0x0100 Bridge device 0x04 rock960 =3D> nvme scan rock960 =3D> nvme info Device 0: Vendor: 0x15b7 Rev: 211070WD Prod: 20251C807274 =20 Type: Hard Disk Capacity: 238475.1 MB =3D 232.8 GB (488397168 x 512) =E2=80=94=E2=80=94 Now I swap out the uSD while device-power is on ( so that only the nvme = has freebsd installed) ( u-boot is on the eMMC !!) : rock960 =3D> run nvme_boot =E2=80=A6.. =E2=80=A6. OK lsdev=20 disk devices: disk0: 249737216 X 512 blocks (removable) efipart_readwrite: rw=3D1, blk=3D0 size=3D1 status=3D7 disk1: 59768832 X 512 blocks (removable) disk1p1: Unknown disk1p2: Unknown disk1p3: Unknown disk1p4: EFI disk1p5: Unknown disk2: 488397168 X 512 blocks ( this is the nvme-drive !!!) disk2s1: DOS/Windows disk2s2: FreeBSD disk2s2a: FreeBSD UFS http: (unknown) net devices: - OK show currdev disk2p2: -- OK boot disk2p2:/boot/kernel/kernel .... !!!!!!!Definitely boots from nvme !!!!! .... Bla bla bla ..... pcib0: mem = 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0 pcib0: Gen1 link training timeouted: 0x00180001. pci0: on pcib0 pcib1: at device 0.0 on pci0 pcib0: failed to reserve resource for pcib1 pcib1: failed to allocate initial memory window: 0-0xfffff pci1: on pcib1 .......... mountroot: waiting for device /dev/ufs/rootfs... Mounting from ufs:/dev/ufs/rootfs failed with error 19. ... mountroot> ? ... shows only partitions of the eMMC ... = FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210318-a771bf748f9-245511.img.xz = is dd`d to the nvme-drive .. previously cleanly new formatted with = dd(/dev/zero) & gpart ... not sure to post an freebsd-bug-report because it could be u-boot or = hardware-related like S=C3=B8ren Schmidt described : <<(I use older = Intel 660 IIRC uses only 3.5W max), otherwise the HW cant cope..>> Drive is a WD-blue nvme (M-key), directly plugged into the M.2-slot of = the Rock960 , Doesn't matter whether 12V/2a (default plug) or 12V/3a is used . The real strange thing is that it definitely boots up from nvme. Original u-boot-patch is : https://lists.denx.de/pipermail/u-boot/2020-April/408490.html Thanks for reading=20 K. From owner-freebsd-arm@freebsd.org Mon Mar 29 02:00:38 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 401B35B82F1 for ; Mon, 29 Mar 2021 02:00:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7wlT0Jlmz4R5X for ; Mon, 29 Mar 2021 02:00:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616983233; bh=33bt0BcSr7u4+IcOa2lhqakrq+R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Mon, 29 Mar 2021 02:00:33 +0000 Received: by kubenode530.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 27d7f33b4a517e22f51205b40f1f3bf3; Mon, 29 Mar 2021 02:00:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology> Date: Sun, 28 Mar 2021 19:00:28 -0700 Cc: Marcin Wojtas , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology> To: Greg V X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7wlT0Jlmz4R5X X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.31:from]; SPAMHAUS_ZRD(0.00)[98.137.65.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 02:00:38 -0000 On 2021-Mar-28, at 17:36, Greg V wrote: > On March 28, 2021 11:44:25 PM UTC, Mark Millard via freebsd-arm = wrote: >> On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: >>=20 >>> H Mark, >>>=20 >>> niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm >>> napisa=C5=82(a): >>>>=20 >>>> On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = wrote: >>>>>=20 >>>>>> . . . >>>>>=20 >>>>> Anyone successfully booting from nvme on any aarch64-board ?? >>>>=20 >>>> As reported on the list earlier, I plugged a Optane 480 GiByte >>>> into a MACCHIATObin Double Shot's PCIe in a system that's microsd >>>> card had the EDK2-variant build from: >>>>=20 >>>> = https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-2= 020-07-01-mainline-tfa.bin >>>>=20 >>>> and the system just worked (/dev/nda0). I updated the FreeBSD in >>>> this configuration and that booted too. >>>>=20 >>>> (The Optane was originally initialized while in a amd64 system >>>> and so was boot-ready when first plugged into an aarch64.) >>>>=20 >>>> This is not the MACCHIATObin's normal configuration and things >>>> were put back to normal after the experiment. >>>>=20 >>>> The MACCHIATObin Double Shot has 4 Cortex-A72 cores. >>>>=20 >>>=20 >>> MacchiatoBin has fully opensource firmware, with the mainline >>> edk2/TF-A one can boot FreeBSD with DT or ACPI. The referenced image >>> from Greg should also be fine. The only significant interface = missing >>> is the built-in PP2 NIC. >=20 > Interestingly, OpenBSD already has a mvpp2 driver. I don't really have = the motivation to port it right now, but hey, someone could=E2=80=A6 >=20 >> My memory was that there was some issue of "legacy" >> PCIe devices showing up as duplicated and some change >> was put in that avoided that --but prevented "modern" >> PCIe devices from working. As I remember, disabling >> the change was one reason Greg created his variant: >> upstream choose which type of devices it wanted to >> support and Greg went the other way. (No one has >> support covering both contexts on the MACCHIATObin >> Double Short?) >=20 > Last thing I remember, Marcin promised to make a setup menu toggle for = the offset ;) = https://github.com/tianocore/edk2-platforms/blob/master/Silicon/Marvell/Ar= mada7k8k/AcpiTables/Armada80x0McBin/Pcie.h has not changed since 2019-Jul-23 . So if something was done that covers this, it was done elsewhere without changes here. (I've no general knowledge of the edk2 software structure to know where else to possibly look.) >> removal of a headless flag in FADT=20 >=20 > I don't know if that even affects anything, I probably just copied the = change from somewhere, but I like it out of a pure desire for = correctness. >=20 >> There were also edk2 additions of 3 lines >> involving something like: >>=20 >> MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf >=20 > This might've happened upstream too by now, but yes, this is necessary = to boot from NVMe. There are no longer separate *Ia32.dsc and *Ia32X64.dsc files but UefiPayloadPkg.dsc does have such a line. The .fdf has the related INF line as well. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Mar 29 03:50:45 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C8035BAB27 for ; Mon, 29 Mar 2021 03:50:45 +0000 (UTC) (envelope-from carlj@peak.org) Received: from smtp.email-protect.gosecure.net (smtp.email-protect.gosecure.net [208.80.203.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.email-protect.gosecure.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7zBX2bpVz4X2h for ; Mon, 29 Mar 2021 03:50:43 +0000 (UTC) (envelope-from carlj@peak.org) Received: from envoy14.neonova.net ([137.118.58.100]) by smtp.email-protect.gosecure.net ({fd08d174-78b7-11eb-85da-e3f82af716ed}) via TCP (outbound) with ESMTP id 20210329035026925_00002452 for ; Sun, 28 Mar 2021 20:50:26 -0700 X-RC-FROM: X-RC-RCPT: Received: from bay.localnet (unknown [199.58.99.76]) (Authenticated sender: carlj@peak.org) by envoy14.neonova.net (Postfix) with ESMTPA id 4F7zB66LC8z9sxV for ; Sun, 28 Mar 2021 23:50:22 -0400 (EDT) Received: from carlj by bay.localnet with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lQiuq-000CNE-Oe for freebsd-arm@freebsd.org; Sun, 28 Mar 2021 20:50:12 -0700 From: Carl Johnson To: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <86sg4gx7f1.fsf@bay.localnet> Date: Sun, 28 Mar 2021 20:50:12 -0700 In-Reply-To: <86sg4gx7f1.fsf@bay.localnet> (Carl Johnson's message of "Sat, 27 Mar 2021 20:51:14 -0700") Message-ID: <86im5awrd7.fsf@bay.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: greymail.email-protect.gosecure.net@137.118.58.100/32 X-Rspamd-Queue-Id: 4F7zBX2bpVz4X2h X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 208.80.203.1 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.80.203.1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.80.200.0/21]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[208.80.203.1:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; RCVD_IN_DNSWL_NONE(0.00)[208.80.203.1:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:208.80.202.0/23, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 03:50:45 -0000 Carl Johnson writes: > Andrew Mitchell via freebsd-arm writes: > >> Hi everyone, >> I've seen that there are arm machines for FreeBSD other than >> Raspberry. I've been using it with 14.0-CURRENT, and my skills are too >> limited for patching it. So, I've decided to find a machine on which a >> RELEASE or STABLE version would work. To my knowledge, and after many >> tries, it seems that there are no FreeBSD working smoothly on RPI4 B. >> So, if you have any suggestions for a working FreeBSD on any machine, I'd be grateful. >> I won't discard 14.0 CURRENT, as I've done quite a few things which >> were much fun. It's just for getting other experiences. >> >> Please, tell me. >> Andy > > I have 13.0-RC3 working well on a RPi 4B with 8GB RAM. The only problem > I have is the efifb is working with very low resolution, and that would > unusable for my desktop use. It current reports "VT(efifb): resolution > 592x448" on a 1280x1024 monitor, but I haven't figured out a way to use > the full monitor resolution. Raspbian does work properly, and my RPi 2B > running FreeBSD 12.2-RELEASE also works properly with the same monitor, > but they don't use efifb. Just for the record, I now have efifb working at full resolution. Mark Millard had suggested off-list that I comment out the 'hdmi_safe=1' line in the /boot/msdos/config.txt file, and it then worked after the next reboot. I also should have mentioned that I am just using the downloaded binary image from freebsd.org that I burned to an SD card. -- Carl Johnson carlj@peak.org From owner-freebsd-arm@freebsd.org Mon Mar 29 04:06:41 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 567CD5BB085 for ; Mon, 29 Mar 2021 04:06:41 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7zXw31tnz4XPT for ; Mon, 29 Mar 2021 04:06:39 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x434.google.com with SMTP id j18so11360545wra.2 for ; Sun, 28 Mar 2021 21:06:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=3ksYxlphdHCy2pbWYHEbuAXEYolLAMZMvBst6fa1Y1g=; b=Ue3hc1EFIIf1sRzG/7W43/+qUqYuwi1hLaJxB93kCaV33LetbJ8n5X2gqXozK9JymG 7Q4BV9rZIRoegdqWRwTGYrBuXMHLgL6zd705N1CD4RsBHszcYbPRFPTKJnQ0aYR0WB1d L7iFV7E9YCJ6Z7o3fg5N3SQgK06344GdDNUDyohcmt4Pt/mZ5dyk4laA0aCfIC+SzD0d /Yo5+W/LAdbkwW8/H4mVw4OmQHMiTPDGTPIIPm5RLi6PwCcKSPTsc98kyJeAGJrrZVI3 gsH8YSNR7Fpga0v/keRyZ2cXEXRikYQLR4aw9jA2a26FADSFgNs9CWwiNV7hxzrRzBe/ 9cbw== X-Gm-Message-State: AOAM530V8nzeUj6n7BfcP2/bt3/6Lr9Jmjv336koeTYFsyNa6sXcS92Q TLdTbAKU0MV+2w2BKUSjCGpY+xQM/CCHCw== X-Google-Smtp-Source: ABdhPJx4O8VxmOTKBWPQRTS1Qh+CikDGY90V6yFubpZstKzdO0krqxx0YRIV1V8UtdYnEa5Y8Ri/1w== X-Received: by 2002:a5d:46d1:: with SMTP id g17mr26273437wrs.342.1616990798626; Sun, 28 Mar 2021 21:06:38 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-157-239.46.114.pool.telefonica.de. [46.114.157.239]) by smtp.googlemail.com with ESMTPSA id t188sm24264015wma.25.2021.03.28.21.06.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 21:06:37 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Mon, 29 Mar 2021 06:06:36 +0200 References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <6A771145-692F-4AD7-9E54-22DA4907D303@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7zXw31tnz4XPT X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::434:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.157.239:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::434:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 04:06:41 -0000 >=20 >> On 28 Mar 2021, at 21.48, Klaus K=C3=BCchemann = wrote: >>>>=20 >>> =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 = (`guess pcie has mem alloc issue from dmesg)=E2=80=A6 >=20 > =E2=80=A6..Bla bla bla bla=E2=80=A6 problems with nvme on the = M.2-slot=E2=80=A6 bla bla bla... >=20 > Mounting from ufs:/dev/ufs/rootfs failed with error 19. > ..bla bla bla=E2=80=A6 The same nvme-drive in an external enclosure, directly plugged=20 Into the USB-port of the Rock960 : Model: 96boards Rock960 Net: No ethernet found. ....Bla bla bla.... ...Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found = (!!!!!!!!!!!) Hit any key to stop autoboot: 0=20 -- ... not detected ... Now the same nvme-drive in an external enclosure, plugged=20 into an USB3.0-hub WITH OR WITHOUT EXTERNAL POWER connected to the = Rock960`s USB-port : SoC: Rockchip rk3399 Reset cause: POR Model: 96boards Rock960 DRAM: 3.9 GiB PMIC: RK808=20 MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... Card did not respond to voltage select! = : -110 *** Warning - No block device, using default envronment In: serial Out: serial Err: serial Model: 96boards Rock960 Net: No ethernet found. starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3a0000: USB OHCI 1.0 Bus usb@fe3c0000: USB EHCI 1.00 Bus usb@fe3e0000: USB OHCI 1.0 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... cannot reset port 3!? 6 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found = (!!!!) - =E2=80=A6detected... ....rock960 =3D> boot ...root@generic:~ # uname -a FreeBSD generic 14.0-CURRENT FreeBSD 14.0-CURRENT #0 = main-n245511-a771bf748f9: Thu Mar 18 08:07:18 UTC 2021 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC = arm64 ... Last but not least : the same nvme-drive in an external enclosure, directly plugged=20 into the USB-port of the RPI4b 4GB=20 ( WITHOUT external Hub! ) (same result for the 8GB-model) : U-Boot 2021.04-rc4 (Mar 28 2021 - 17:33:35 +0000) DRAM: 3.9 GiB RPI 4 Model B (0xc03111) MMC: mmc@7e300000: 1, emmc2@7e340000: 0 Loading Environment from FAT... In: serial Out: vidconsole Err: vidconsole Net: eth0: ethernet@7d580000 PCIe BRCM: link up, 5.0 Gbps x1 (SSC) starting USB... Bus xhci_pci: Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 scanning bus xhci_pci for devices... 6 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found = (!!) ... --- =E2=80=A6.detected ... that clearly proves the s m o o t h l y power to serve of the RPI4b = compared to everything else on the market .. > Am 28.03.2021 um 21:13 schrieb Emmanuel Vadot : > =E2=80=A6=E2=80=A6 =20 > lol .. Ha Ha :-)=20 K. From owner-freebsd-arm@freebsd.org Mon Mar 29 06:22:42 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B0725BD991 for ; Mon, 29 Mar 2021 06:22:42 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F82Ys2x74z4fMR for ; Mon, 29 Mar 2021 06:22:40 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (87-95-57-131.bb.dnainternet.fi [87.95.57.131]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 12T6MbRE015852 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 29 Mar 2021 06:22:38 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-57-131.bb.dnainternet.fi [87.95.57.131] claimed to be [192.168.1.151] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: iMX8 SBC boards Message-Id: Date: Mon, 29 Mar 2021 09:22:31 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F82Ys2x74z4fMR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_NA(0.00)[kronometrix.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 06:22:42 -0000 Hi, What SBC iMX8 (64bit) based configurations could we use with FreeBSD to = test our product? We need a decent industrial based SBC (support for RTC = and 1/2/4 GBRAM).=20 Anyone any ideas, pointers?=20 Thanks, Stefan From owner-freebsd-arm@freebsd.org Tue Mar 30 02:14:26 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4AB535B57BB for ; Tue, 30 Mar 2021 02:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8Y0y1bN5z3Kdg for ; Tue, 30 Mar 2021 02:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 29B9A1E628 for ; Tue, 30 Mar 2021 02:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12U2EQJc075280 for ; Tue, 30 Mar 2021 02:14:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12U2EQ5Z075279 for freebsd-arm@FreeBSD.org; Tue, 30 Mar 2021 02:14:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254651] Failed to translate resource 0-ffffffffffffffff type 3 for ahci Date: Tue, 30 Mar 2021 02:14:26 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: daniel@morante.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org 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: quoted-printable 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.34 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 Mar 2021 02:14:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254651 Bug ID: 254651 Summary: Failed to translate resource 0-ffffffffffffffff type 3 for ahci Product: Base System Version: 13.0-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: daniel@morante.net Created attachment 223700 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223700&action= =3Dedit R281-T91_13.0-RC3_dmesg.boot When booting off any of the installation ISO images the OS is failing to lo= ad or detect the onboard SATA controller. I'm not sure exactly what this error means. The system is a new Gigabyte R281-T91. It's a dual Cavium ThunderX2 ARM64 = CPU, and the controller having trouble is the "CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controller". The full output of dmesg.boot and pciconf are attached, but here are the relevant sections: ``` ahci0: mem 0x42220000-0x4222ffff at device 16.0 numa-domain 0 on pci0 pcib0: Failed to translate resource 0-ffffffffffffffff type 3 for ahci0 ahci0: 0x10000 bytes of rid 0x18 res 3 failed (0, 0xffffffffffffffff). device_attach: ahci0 attach returned 6 ahci0: mem 0x42200000-0x4220ffff at device 16.1 numa-domain 0 on pci0 pcib0: Failed to translate resource 0-ffffffffffffffff type 3 for ahci0 ahci0: 0x10000 bytes of rid 0x18 res 3 failed (0, 0xffffffffffffffff). device_attach: ahci0 attach returned 6 ``` ``` none0@pci0:0:16:0: class=3D0x010601 rev=3D0x00 hdr=3D0x00 vendor=3D0x14e4 device=3D0x9027 subvendor=3D0x0000 subdevice=3D0x0000 vendor =3D 'Broadcom Inc. and subsidiaries' device =3D 'CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controll= er' class =3D mass storage subclass =3D SATA cap 11[80] =3D MSI-X supports 4 messages Table in map 0x18[0x0], PBA in map 0x18[0x8000] cap 09[90] =3D vendor (length 112) none1@pci0:0:16:1: class=3D0x010601 rev=3D0x00 hdr=3D0x00 vendor=3D0x14e4 device=3D0x9027 subvendor=3D0x0000 subdevice=3D0x0000 vendor =3D 'Broadcom Inc. and subsidiaries' device =3D 'CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controll= er' class =3D mass storage subclass =3D SATA cap 11[80] =3D MSI-X supports 4 messages Table in map 0x18[0x0], PBA in map 0x18[0x8000] cap 09[90] =3D vendor (length 112) ``` The problem occurs on 13.0-RC3 and 13.0-RC4. I also see it occurring on a 14.0-CURRENT snapshot from 2021-Mar-18. On 12.2-RELEASE it just kernel pan= ics when trying to load the driver. For troubleshooting purposes I am able to install and boot the OS from a vo= lume attached to the onboard LSI SAS RAID controller (after doing "kldload mpr"). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Mar 30 09:59:01 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 52ACB5C143C for ; Tue, 30 Mar 2021 09:59:01 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8lK111kHz4WK2 for ; Tue, 30 Mar 2021 09:59:01 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 2149E5C12BF; Tue, 30 Mar 2021 09:59:01 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 210CB5C132F for ; Tue, 30 Mar 2021 09:59:01 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8lJz5MtKz4WMX for ; Tue, 30 Mar 2021 09:58:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=dTQpdHIBFCTv6gUTE/WpMNTzKdWpvvKOcy6T+mOZebY=; b=12bC2qOc2XvlRF/JGFfzA0zJIkyL8B3nPZsH/2jbuIr11Ml8tKRAgJBhtN41TYclDfTwXJOi8MFob8abtlzxYt5jNgk+3ZJp1cN3OE3m2xkbcc2C593HgjxRdv4zsXVIVKN6V7lKnOc3v85ydF7PBAQcXxcfsR2YR6NpRn8c9K70iKeHRS2uTW3nOvfQ/ZO+nFH+VAMOnUB9OBnjRmc4TMYsVxssMts1lM2xJWVs9Az/Dx4ww9JqJ4NWl5ls+on2r6y3dwpOfHWXR6usJ8dOd7pPB3MvvlBFkF6FGgs3OX49P11BhJ92eZgcmla46+PAv8U8WAurF9rFF1sXDmlltA==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1lRB98-000IhH-Uh for arm@freebsd.org; Tue, 30 Mar 2021 12:58:50 +0300 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: i2c/twsi/allwinner problems. Message-Id: Date: Tue, 30 Mar 2021 12:58:50 +0300 To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F8lJz5MtKz4WMX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=12bC2qOc; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[132.65.116.210:from]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FREEFALL_USER(0.00)[danny]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[132.65.116.210:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 09:59:01 -0000 hi all, after some time, I decided to try FreeBSD 13 on my all winner (nano neo) = and got it working only with debugging on, so I started cherry picking till I got it working, = replacing printfs with DELAY and this is is now working, of course not the correct solution, but if = someone with better i2c knowledge can propose a better solution I=E2=80=99m willing to test = if with my program (it reads RFIDs using a board with PN532), this are the diffs: diff --git a/sys/dev/iicbus/twsi/twsi.c b/sys/dev/iicbus/twsi/twsi.c index a606c2aef..8ede62073 100644 --- a/sys/dev/iicbus/twsi/twsi.c +++ b/sys/dev/iicbus/twsi/twsi.c @@ -86,6 +86,8 @@ __FBSDID("$FreeBSD$"); #define TWSI_DEBUG #undef TWSI_DEBUG +#define debug_(dev, fmt, args...) device_printf(dev, "%s: " fmt, = __func__, ##args) + #ifdef TWSI_DEBUG #define debugf(dev, fmt, args...) device_printf(dev, "%s: " fmt, = __func__, ##args) #else @@ -103,6 +105,7 @@ TWSI_READ(struct twsi_softc *sc, bus_size_t off) { uint32_t val; + DELAY(1000); // danny: needed=20 val =3D bus_read_4(sc->res[0], off); debugf(sc->dev, "read %x from %lx\n", val, off); return (val); @@ -165,15 +168,14 @@ twsi_clear_iflg(struct twsi_softc *sc) static int twsi_poll_ctrl(struct twsi_softc *sc, int timeout, uint32_t mask) { - timeout /=3D 10; - debugf(sc->dev, "Waiting for ctrl reg to match mask %x\n", = mask); + debug_(sc->dev, "Waiting for ctrl reg to match mask %x = timeout=3D%d\n", mask, timeout); while (!(TWSI_READ(sc, sc->reg_control) & mask)) { - DELAY(10); + // DELAY(10); if (--timeout < 0) return (timeout); } - debugf(sc->dev, "done\n"); + debug_(sc->dev, "done\n"); return (0); } @@ -212,7 +214,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, DELAY(1000); if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout sending %sSTART condition\n", + debug_(dev, "timeout sending %sSTART condition\n", mask =3D=3D TWSI_STATUS_START ? "" : "repeated "); return (IIC_ETIMEOUT); } @@ -221,7 +223,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, debugf(dev, "status=3D%x\n", status); if (status !=3D mask) { - debugf(dev, "wrong status (%02x) after sending %sSTART = condition\n", + debug_(dev, "wrong status (%02x) after sending %sSTART = condition\n", status, mask =3D=3D TWSI_STATUS_START ? "" : = "repeated "); return (IIC_ESTATUS); } @@ -231,7 +233,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, DELAY(1000); if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout sending slave address = (timeout=3D%d)\n", timeout); + debug_(dev, "timeout sending slave address = (timeout=3D%d)\n", timeout); return (IIC_ETIMEOUT); } @@ -239,7 +241,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, status =3D TWSI_READ(sc, sc->reg_status); if (status !=3D (read_access ? TWSI_STATUS_ADDR_R_ACK : TWSI_STATUS_ADDR_W_ACK)) { - debugf(dev, "no ACK (status: %02x) after sending slave = address\n", + debug_(dev, "no ACK (status: %02x) after sending slave = address\n", status); return (IIC_ENOACK); } @@ -405,7 +407,8 @@ twsi_read(device_t dev, char *buf, int len, int = *read, int last, int delay) int last_byte, rv; sc =3D device_get_softc(dev); - + debug_(dev, "twsi_read: len=3D%d delay=3D%d", len, delay); // = danny +=09 mtx_lock(&sc->mutex); *read =3D 0; while (*read < len) { @@ -423,7 +426,7 @@ twsi_read(device_t dev, char *buf, int len, int = *read, int last, int delay) DELAY(1000); if (twsi_poll_ctrl(sc, delay, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout reading data (delay=3D%d)\n",= delay); + debug_(dev, "timeout reading data (delay=3D%d)\n",= delay); rv =3D IIC_ETIMEOUT; goto out; } @@ -431,7 +434,7 @@ twsi_read(device_t dev, char *buf, int len, int = *read, int last, int delay) status =3D TWSI_READ(sc, sc->reg_status); if (status !=3D (last_byte ? TWSI_STATUS_DATA_RD_NOACK : = TWSI_STATUS_DATA_RD_ACK)) { - debugf(dev, "wrong status (%02x) while = reading\n", status); + debug_(dev, "wrong status (%02x) while = reading\n", status); rv =3D IIC_ESTATUS; goto out; } @@ -462,14 +465,14 @@ twsi_write(device_t dev, const char *buf, int len, = int *sent, int timeout) twsi_clear_iflg(sc); DELAY(1000); if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout writing data = (timeout=3D%d)\n", timeout); + debug_(dev, "timeout writing data = (timeout=3D%d)\n", timeout); rv =3D IIC_ETIMEOUT; goto out; } status =3D TWSI_READ(sc, sc->reg_status); if (status !=3D TWSI_STATUS_DATA_WR_ACK) { - debugf(dev, "wrong status (%02x) while = writing\n", status); + debug_(dev, "wrong status (%02x) while = writing\n", status); rv =3D IIC_ESTATUS; goto out; } @@ -496,8 +499,12 @@ twsi_transfer(device_t dev, struct iic_msg *msgs, = uint32_t nmsgs) sc->control_val =3D TWSI_CONTROL_TWSIEN | TWSI_CONTROL_INTEN | TWSI_CONTROL_ACK; TWSI_WRITE(sc, sc->reg_control, sc->control_val); - debugf(dev, "transmitting %d messages\n", nmsgs); - debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); +#if 0 + debug_(dev, "transmitting %d messages\n", nmsgs); + debug_(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); +#else + DELAY(8000); +#endif sc->nmsgs =3D nmsgs; sc->msgs =3D msgs; sc->msg_idx =3D 0; @@ -519,15 +526,24 @@ twsi_transfer(device_t dev, struct iic_msg *msgs, = uint32_t nmsgs) debugf(sc->dev, "pause finish\n"); if (sc->error) { - debugf(sc->dev, "Error, aborting (%d)\n", sc->error); + debug_(sc->dev, "Error, aborting (%d)\n", sc->error); TWSI_WRITE(sc, sc->reg_control, 0); } /* Disable module and interrupts */ - debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); +#if 0 + debug_(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); = // TWSI_WRITE(sc, sc->reg_control, 0); - debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); - + debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); = // + debugf(sc->dev, "error=3D%d\n", sc->error); // danny +#else + int status; + DELAY(8000); // danny: works! + status =3D TWSI_READ(sc, sc->reg_status); + TWSI_WRITE(sc, sc->reg_control, 0); + status =3D TWSI_READ(sc, sc->reg_status); + //debug_(sc->dev, "status=3D%x\n", TWSI_READ(sc, = sc->reg_status)); +#endif return (sc->error); } @@ -581,7 +597,7 @@ twsi_intr(void *arg) case TWSI_STATUS_ADDR_W_NACK: case TWSI_STATUS_ADDR_R_NACK: - debugf(sc->dev, "No ack received after transmitting the = address\n"); + debug_(sc->dev, "No ack received after transmitting the = address\n"); sc->transfer =3D 0; sc->error =3D IIC_ENOACK; sc->control_val =3D 0; @@ -662,7 +678,7 @@ twsi_intr(void *arg) break; default: - debugf(sc->dev, "status=3D%x hot handled\n", status); + debug_(sc->dev, "status=3D%x hot handled\n", status); sc->transfer =3D 0; sc->error =3D IIC_EBUSERR; sc->control_val =3D 0; From owner-freebsd-arm@freebsd.org Tue Mar 30 14:39:28 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B5785788F2 for ; Tue, 30 Mar 2021 14:39:28 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8sXb3hTMz4pbQ for ; Tue, 30 Mar 2021 14:39:27 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Tue, 30 Mar 2021 14:39:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1617115163; bh=gmhtwiLe2vi2qhq8PZH1+aKj2FOfG1tIBPna41a+amI=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=mNaop9hUOsfN7NZvG3GlBFGUxYjPBHUBDz+r+MiMYdUDm1ZjY5bbx1UBw53FUSbV7 i2OFJ6LwNoI6LmcIPO/Q26DEu7qrzcWDlQWGyYNTn0eS+gfDjRZHYwJVWdYLisiiD8 iUnzM5bOvEFUFBGtEPWXBiZ6BdcETxmuu1eJ6WOE= To: =?utf-8?Q?Klaus_K=C3=BCchemann?= From: Dan Kotowski Cc: Philipp Klaus Krause , freebsd-arm@freebsd.org, myfreeweb Reply-To: Dan Kotowski Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: In-Reply-To: <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4F8sXb3hTMz4pbQ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=a9development.com header.s=protonmail header.b=mNaop9hU; dmarc=pass (policy=none) header.from=a9development.com; spf=none (mx1.freebsd.org: domain of dan.kotowski@a9development.com has no SPF policy when checking 185.70.40.22) smtp.mailfrom=dan.kotowski@a9development.com X-Spamd-Result: default: False [-0.90 / 15.00]; HAS_REPLYTO(0.00)[dan.kotowski@a9development.com]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[a9development.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.22:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[a9development.com:+]; DMARC_POLICY_ALLOW(-0.50)[a9development.com,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[googlemail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.22:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 14:39:28 -0000 > > > of course , starting @~$500-$700(without accessories like RAM etc.) > > > > > > you can buy aarch64-dev-boards which completely outperform the RPI4 > > > > > > in performance and connectivity ;-) > > > > But isn't there a big risk that those exotic powerful boards might not > > > > work or not work well with FreeBSD, since few developers have them, and > > > > no one considers them important enoug to make sure releases work on the= m? > > e.g. you can ask 'the unrelenting myfreeweb-man=E2=80=98 :-) & the board-= owner Dan K. (added to CC) for the =E2=80=9Ewhat works, what doesn=E2=80= =99t=E2=80=9C- status of the LX2K =E2=80=A6 > > while I would call it less a risk then more a challenge to work with boar= ds like that(that=E2=80=99s why you would buy one). > > well=E2=80=A6 so many topics in one thread.. funny...see you later... > > Regards > > K. SolidRun's Honeycomb (HC), built around NXP's LX2K SoC, is pretty phenomena= l. Firmware still has a few changes in the works, but it's mostly cosmetic = stuff at this point and I've been happily daily-driving mine for about a mo= nth - yes, it sufficiently replaced my aging desktop built around a Core i7= -3770K! In fact, there's a handful of us using HCs as FreeBSD-13.0 desktops= now. However: * no built-in GPU, so if you want a desktop you'll need to get one of those= and that'll eat up your x8 slot * no onboard NIC drivers because they're connected via DPAA2 which we don't= have any support for and I just don't have the time or expertise to write = those myself : From owner-freebsd-arm@freebsd.org Tue Mar 30 16:20:57 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1CB4057CD28 for ; Tue, 30 Mar 2021 16:20:57 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8vnh2PQ4z4xtm for ; Tue, 30 Mar 2021 16:20:55 +0000 (UTC) (envelope-from rebecca@bsdio.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=8IpPFpHTEgM2yr5IAvziCz6/wzVFikrls1Xu1yemjec=; b=JTTJgmIG0npA0LzprBnfaCl1S5 yLO1H0gXBLopVb+CzFGfTXc8GYrojNdUSDEgY1UE4nCrgmI97qDIbA7jwjrNG/YVHXx2SLeYjD0hU 6BF/zsxEHc6fTAXm9u4qEChzYw1fz3WwKvwgwk3GCraz4aW+KmntQGLz/YLWg9NvqpxU=; Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lRH6r-005EQn-Oq; Tue, 30 Mar 2021 10:20:53 -0600 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in02.mta.xmission.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lRH6q-002QzJ-QW; Tue, 30 Mar 2021 10:20:53 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id 963AA50126A; Tue, 30 Mar 2021 10:20:52 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id N7Aajch3RhmR; Tue, 30 Mar 2021 10:20:52 -0600 (MDT) Received: from [10.0.10.142] (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id 6D60B50126E; Tue, 30 Mar 2021 10:20:52 -0600 (MDT) To: Dan Kotowski , =?UTF-8?Q?Klaus_K=c3=bcchemann?= Cc: freebsd-arm@freebsd.org References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> From: Rebecca Cran Message-ID: <123a1b51-7109-4dc9-7deb-c10520b938b5@bsdio.com> Date: Tue, 30 Mar 2021 10:20:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-XM-SPF: eid=1lRH6q-002QzJ-QW; ; ; mid=<123a1b51-7109-4dc9-7deb-c10520b938b5@bsdio.com>; ; ; hst=in02.mta.xmission.com; ; ; ip=166.70.13.68; ; ; frm=rebecca@bsdio.com; ; ; spf=none X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa03.xmission.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,NICE_REPLY_A,T_TM2_M_HEADER_IN_MSG,TooManyTo_001 autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4953] * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa03 1397; IP=ok Body=1 Fuz1=1] [Fuz2=1] * -0.0 NICE_REPLY_A Looks like a legit reply (A) X-Spam-DCC: XMission; sa03 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: =?ISO-8859-1?Q?; Dan Kotowski , Klaus K=c3=bcchemann ?= X-Spam-Relay-Country: X-Spam-Timing: total 460 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 3.8 (0.8%), b_tie_ro: 2.6 (0.6%), parse: 0.80 (0.2%), extract_message_metadata: 3.0 (0.6%), get_uri_detail_list: 0.49 (0.1%), tests_pri_-1000: 1.99 (0.4%), tests_pri_-950: 1.10 (0.2%), tests_pri_-900: 0.84 (0.2%), tests_pri_-90: 140 (30.4%), check_bayes: 138 (30.1%), b_tokenize: 4.3 (0.9%), b_tok_get_all: 5 (1.2%), b_comp_prob: 1.50 (0.3%), b_tok_touch_all: 124 (27.0%), b_finish: 0.80 (0.2%), tests_pri_0: 299 (65.0%), check_dkim_signature: 0.41 (0.1%), check_dkim_adsp: 156 (33.9%), poll_dns_idle: 151 (32.8%), tests_pri_10: 1.87 (0.4%), tests_pri_500: 6 (1.3%), rewrite_mail: 0.00 (0.0%) Subject: Re: Any good alternative to Raspberry for Arm64? X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) X-Rspamd-Queue-Id: 4F8vnh2PQ4z4xtm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdio.com header.s=xmission header.b=JTTJgmIG; dmarc=none; spf=none (mx1.freebsd.org: domain of rebecca@bsdio.com has no SPF policy when checking 166.70.13.231) smtp.mailfrom=rebecca@bsdio.com X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.70.13.231:from]; DKIM_TRACE(0.00)[bsdio.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[a9development.com,googlemail.com]; RCVD_IN_DNSWL_LOW(-0.10)[166.70.13.231:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[166.70.13.231:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:6315, ipnet:166.70.0.0/16, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[6]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bsdio.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdio.com:s=xmission]; SPAMHAUS_ZRD(0.00)[166.70.13.231:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[174.52.16.57:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-arm] X-Mailman-Approved-At: Tue, 30 Mar 2021 18:30:46 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 16:20:57 -0000 On 3/30/21 8:39 AM, Dan Kotowski wrote: > SolidRun's Honeycomb (HC), built around NXP's LX2K SoC, is pretty phenomenal. Firmware still has a few changes in the works, but it's mostly cosmetic stuff at this point and I've been happily daily-driving mine for about a month - yes, it sufficiently replaced my aging desktop built around a Core i7-3770K! In fact, there's a handful of us using HCs as FreeBSD-13.0 desktops now. > > However: > * no built-in GPU, so if you want a desktop you'll need to get one of those and that'll eat up your x8 slot > * no onboard NIC drivers because they're connected via DPAA2 which we don't have any support for and I just don't have the time or expertise to write those myself : There's been some discussion about PCIe bifurcation on the Discord etc., so it _might_ be possible to split the x8 slot and install two cards? -- Rebecca Cran From owner-freebsd-arm@freebsd.org Tue Mar 30 18:44:19 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 511DA5A965A for ; Tue, 30 Mar 2021 18:44:19 +0000 (UTC) (envelope-from pkk@spth.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8yz62w3Qz57cT for ; Tue, 30 Mar 2021 18:44:17 +0000 (UTC) (envelope-from pkk@spth.de) Received: from [192.168.178.44] ([77.189.37.98]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mo6WJ-1lxa0y2LhD-00peCt; Tue, 30 Mar 2021 20:44:15 +0200 Subject: Re: Any good alternative to Raspberry for Arm64? To: =?UTF-8?Q?Klaus_K=c3=bcchemann?= Cc: freebsd-arm@freebsd.org References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> From: Philipp Klaus Krause Message-ID: <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> Date: Tue, 30 Mar 2021 20:43:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:gcbnDf6T/akmcqaER0UJkTH7NbMTog0k4TQ1LDTDbUUUqCeqVeG dk7y/uMFQfV0JFnvfha7+38Hu9QxAKOAisgZM8p45eKTjhqOmV2nEoDG0J6priFkBEsVnT7 nH5ZJueDOFEypcsVZhv3vLqfmO9ntpkWRUnFmsKN+wS7kXV+rWze4ONG0waeeY/0rxVJE/k 3SQBXYAU6wb+CV7ByO7EQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8IaeJ/hENpU=:38QFTbNUjXQzhyd3GKOVjm /eD1TiN7pJAZ+8msKbZBkSxyZooMI6JmHuZXnr6yUx6z4TCt3yUFUCEV3fo3Kts5OCsf76INh 8ayn3+PbvKwE7j50yR4eSSgFr8R3A9ofvIl+a5vqFqZBeWDgockJrj82T/fLfm4XebBJnnjSK QNnJJO4Iy2hBqwR2JlKZ2yvAWzXNgMepZO4vdOIvhXzXGJMJqSvAirKSIdz3o/8z6jirX16uO zX73/4A18f8xlTVHh5hTCzvXVA/MiYZfFNNgrIhGjpn/4nFQQxLRkotTO3lQW+WfjvjTup9KV SOcxbaC3Qn1ONQXQ38oeLwDpBbToqmxTH4GINhepR/6OYkktMnBkNgakfaYCYmMpOM4A6DWkr XxDvaOJLkmbihvtaM3xk6u6+/w+ajaM0fOnU5XrFBwOhcvaoEhc/bRy90+F2S1Nzt6eTubBfF gw25QIHxzH0NLJyjh3fsZZKpRs76blA= X-Rspamd-Queue-Id: 4F8yz62w3Qz57cT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of pkk@spth.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=pkk@spth.de X-Spamd-Result: default: False [-0.05 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[77.189.37.98:received]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.126.187:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[spth.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.05)[0.053]; SPAMHAUS_ZRD(0.00)[212.227.126.187:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.187:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.187:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 18:44:19 -0000 Am 30.03.21 um 16:39 schrieb Dan Kotowski: > > SolidRun's Honeycomb (HC), built around NXP's LX2K SoC, is pretty phenomenal. Firmware still has a few changes in the works, but it's mostly cosmetic stuff at this point and I've been happily daily-driving mine for about a month - yes, it sufficiently replaced my aging desktop built around a Core i7-3770K! In fact, there's a handful of us using HCs as FreeBSD-13.0 desktops now. > > However: > * no built-in GPU, so if you want a desktop you'll need to get one of those and that'll eat up your x8 slot > * no onboard NIC drivers because they're connected via DPAA2 which we don't have any support for and I just don't have the time or expertise to write those myself : > Would running Debian GNU/Linux as host OS with FreeBSD guest in qemu/kvm be a workaorund for the missing network support? Philipp From owner-freebsd-arm@freebsd.org Tue Mar 30 22:30:10 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 68F8E5B0765 for ; Tue, 30 Mar 2021 22:30:10 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F93zj2BT8z3hxn for ; Tue, 30 Mar 2021 22:30:08 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x42d.google.com with SMTP id j9so16011219wrx.12 for ; Tue, 30 Mar 2021 15:30:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=5qEQIcz2Ev62+Y+7Y5h9Krl9CYsdXJHCwfdM6+CURQQ=; b=Q5r9866qYzRJ+5MaAp4A+ikeHtVS25HET3QXIz6xh0jszVA9w4Otn5cpUII0M2EYYB DOq+EuxuUwJlQ4/pEso3rqZjfdQdhIGw3sgFzZZ/JS3aHZ/uFobJwpjHDU0qYQRjdudz 04TdKzyQYa5/spFjFyJ7IKe6kf2B04NgYoK1cpWej/cs7pcx3yN1JN3egZ5CNRoegeEW YrEBRrZbQeciBxZdNffr4haLu5UES5Y3pES/sS8494+t1+pLanyspOpFLHxgVDT7sV/U VAWzugD6adFSPwA1+c4AQ1trrdDOqriigzVd/4jStueGz//0CNyRz8iUPr2Img7K2nJ7 TLbA== X-Gm-Message-State: AOAM533zdiP4FKF6Ze/rToS9zlBdILbaDUnDWwDJhmruEUdq7ihi9WWS rmEzpfJBbBOaIP7RArANjU/3bsIPzYsVLQ== X-Google-Smtp-Source: ABdhPJzI3QYLy1oSexZyPP3v37Iafv/nLlcIsZ/INmxBm+eFyUf7TjCdTtqXWj5VldjGN4LCwbeX0A== X-Received: by 2002:adf:f1c4:: with SMTP id z4mr213908wro.404.1617143407809; Tue, 30 Mar 2021 15:30:07 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-152-218.46.114.pool.telefonica.de. [46.114.152.218]) by smtp.googlemail.com with ESMTPSA id j16sm9749153wmi.2.2021.03.30.15.30.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Mar 2021 15:30:06 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Wed, 31 Mar 2021 00:30:04 +0200 References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> To: Philipp Klaus Krause , dan.kotowski@a9development.com, freebsd-arm@freebsd.org In-Reply-To: <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> Message-Id: <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F93zj2BT8z3hxn X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.152.218:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 22:30:10 -0000 > Am 30.03.2021 um 20:43 schrieb Philipp Klaus Krause : >=20 > Am 30.03.21 um 16:39 schrieb Dan Kotowski: >>=20 >> SolidRun's Honeycomb (HC), built around NXP's LX2K SoC, is pretty = phenomenal. Firmware still has a few changes in the works, but it's = mostly cosmetic stuff at this point and I've been happily daily-driving = mine for about a month - yes, it sufficiently replaced my aging desktop = built around a Core i7-3770K! In fact, there's a handful of us using HCs = as FreeBSD-13.0 desktops now. >>=20 >> However: >> * no built-in GPU, so if you want a desktop you'll need to get one of = those and that'll eat up your x8 slot >> * no onboard NIC drivers because they're connected via DPAA2 which we = don't have any support for and I just don't have the time or expertise = to write those myself : >>=20 >=20 > Would running Debian GNU/Linux as host OS with FreeBSD guest in = qemu/kvm > be a workaorund for the missing network support? >=20 > Philipp to replace RJ45 Gbe you can simply plug an $10 uSB->Gbe-Dongle , `guess SFP+ would need more special driver-attention ... from quick reading around the web I guess the DPAA2 also needs a closed = source binary blob. they support both edkII & u-boot : https://github.com/SolidRun/lx2160a_build As a potential buyer I simply would send an email to SolidRun with = those questions, they want to sell, so why they shouldn=E2=80=99t provide support? You could report the answer here and then it were possible to estimate = if that=E2=80=99s(sfp+) portable to fbsd. There=E2=80=99s also a 24-core A53 -board from 96boards: https://www.96boards.org/product/developerbox/ Same as with the lx2k: I don=E2=80=99t own, so no clue what works or = not=E2=80=A6 > Am 30.03.2021 um 16:39 schrieb Dan Kotowski = : >=20 > * no built-in GPU, so if you want a desktop you'll need to get one of = those and that'll eat up your x8 slot in such or other cases I would use Xvnc ( = https://www.freebsd.org/cgi/man.cgi?query=3DXvnc&sektion=3D1&apropos=3D0&m= anpath=3DFreeBSD+7.2-RELEASE+and+Ports = ) for basic desktop-usage( 10 open shells the same time or so ) =E2=80=A6. It=E2=80=99s real fun to have e.g. a wireless remote-desktop on the iPad = sent from a headless system and switching from xterm to xterm with an = Apple Pencil :-) K.= From owner-freebsd-arm@freebsd.org Tue Mar 30 22:52:54 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 55D315B1393 for ; Tue, 30 Mar 2021 22:52:54 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F94Tx3tZgz3kM5 for ; Tue, 30 Mar 2021 22:52:53 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Tue, 30 Mar 2021 22:52:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1617144770; bh=wTsBD4q5fdmVd2HfWcnyZ0ogX5HeztCjQfw4mNPmhFE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=ZsurmpV8yUatTERozynyOtpB+gOYZyPPyRNUB36ANknk6IUS4jql1kUvgP7PV2XxL 3cnVDWD/b1oG8PXoo5OmIQ1wBrzyc+DFYfAoDe040MnMdsPNtJZ1iQytDeW027Rj9q w81aomJxwlylIlawAtqMxrC0lnCiVd3ZLFWnEieU= To: =?utf-8?Q?Klaus_K=C3=BCchemann?= From: Dan Kotowski Cc: Philipp Klaus Krause , freebsd-arm@freebsd.org Reply-To: Dan Kotowski Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: In-Reply-To: <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4F94Tx3tZgz3kM5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=a9development.com header.s=protonmail header.b=ZsurmpV8; dmarc=pass (policy=none) header.from=a9development.com; spf=none (mx1.freebsd.org: domain of dan.kotowski@a9development.com has no SPF policy when checking 185.70.40.18) smtp.mailfrom=dan.kotowski@a9development.com X-Spamd-Result: default: False [-1.80 / 15.00]; HAS_REPLYTO(0.00)[dan.kotowski@a9development.com]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[a9development.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[a9development.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FREEMAIL_TO(0.00)[googlemail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; AUTOGEN_PHP_SPAMMY(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.18:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[a9development.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_PHPMAILER_SIG(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.18:from]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 22:52:54 -0000 Pj4gQW0gMzAuMDMuMjAyMSB1bSAyMDo0MyBzY2hyaWViIFBoaWxpcHAgS2xhdXMgS3JhdXNlIDxw a2tAc3B0aC5kZT46Cj4+Cj4+IEFtIDMwLjAzLjIxIHVtIDE2OjM5IHNjaHJpZWIgRGFuIEtvdG93 c2tpOgo+Pgo+Pj4gKiBubyBvbmJvYXJkIE5JQyBkcml2ZXJzIGJlY2F1c2UgdGhleSdyZSBjb25u ZWN0ZWQgdmlhIERQQUEyIHdoaWNoIHdlIGRvbid0IGhhdmUgYW55IHN1cHBvcnQgZm9yIGFuZCBJ IGp1c3QgZG9uJ3QgaGF2ZSB0aGUgdGltZSBvciBleHBlcnRpc2UgdG8gd3JpdGUgdGhvc2UgbXlz ZWxmIDoKPj4KPj4gV291bGQgcnVubmluZyBEZWJpYW4gR05VL0xpbnV4IGFzIGhvc3QgT1Mgd2l0 aCBGcmVlQlNEIGd1ZXN0IGluIHFlbXUva3ZtCj4+IGJlIGEgd29ya2FvcnVuZCBmb3IgdGhlIG1p c3NpbmcgbmV0d29yayBzdXBwb3J0PwoKWWVzLiBUaGlzIG1pZ2h0IHdvcmssIGJ1dCBpdCdzIGZh ciBmcm9tIGlkZWFsLgoKPiB0byByZXBsYWNlIFJKNDUgR2JlIHlvdSBjYW4gc2ltcGx5IHBsdWcg YW4gJDEwIHVTQi0+R2JlLURvbmdsZSAsCgpZZXMsIEknbSBjdXJyZW50bHkgc3dhcHBpbmcgYmV0 d2VlbiBhIENBQ0UgQWlyUGNhcCBOWCAob3R1cykgYW5kIGEgTWljcm9jaGlwIExBTjc4MDAgRVZ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ciBlZGtpaTog aHR0cHM6Ly9naXRodWIuY29tL1NvbGlkUnVuL2x4MjE2MGFfdWVmaQoKPiB0aGV5IHdhbnQgdG8g c2VsbCwgc28gd2h5IHRoZXkgc2hvdWxkbuKAmXQgcHJvdmlkZSBzdXBwb3J0PwoKVGhleSBkbyBm b3IgTGludXggYnV0IHdlJ3JlIGJsYXppbmcgbmV3IHRyYWlscyBvdmVyIGhlcmUgb24gRnJlZUJT RC4= From owner-freebsd-arm@freebsd.org Tue Mar 30 23:32:24 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97B5D5B29A0 for ; Tue, 30 Mar 2021 23:32:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound4s.ore.mailhop.org (outbound4s.ore.mailhop.org [54.185.97.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F95MX0GX1z3mKM for ; Tue, 30 Mar 2021 23:32:23 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1617147143; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=Jp+vAN1q6UvVBTo2vAl0usjvCCBV5Bc2NMAPXnzakfDQCoMtIZzN9AdPXxi1cDBnorGSkydxu7uzi JosntRfQPEohVZrLGgjjQaWuhxfZNM9eGdPXgN+cPaVFrgJ9J29szEKEIe/BFCNcnTq8tXXhJwoyPN xMzlpfVw5gT+Y4VyH3W+M5xanXVX4dtlUuhPrCxcXhUicbMz1LmBf9JaPTZHKHVeKK9nNHCO2X0uyW CRrTmh+ku1pDlxoBXUZsTBvil3Km6T1cZdeDuA+Va0A++0sSWs1IigthxZoQCr1vmlEWpwRZISGGXH F8q1EUgg/G93Gb9f7IB03OPOpcjpmew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=or+z6c/0hu/LFeV0G3rcp/smfX56U4ire5vZqJw/pvo=; b=g3Y3GJqDAvEIC4PY/GFx7W4eKcyVG32VXlmupUOQBEsrkGF1c7Z1F3Vz4+yOO4n1i6OA9uyJL0VOm N712AvOKcvumwAQFUeuyw7HaJxIRtEEwPU8h+RRhV6kAngAYHmP16g88JvC00UIEcSi1jSSdq6L8st JjGjjG8y4+jnUlR8jrQrAt1OQMDUp+W4eJZIr4o/ELVwJAxwWiGNL+S1Anky7WNMgTTRcrFDKLFlOT d2UUXfYz4eB2ZE8ql++62bb7/mFQqHjFBYv0tnFzEiuWV7qi8QIZoPuRSJJiKP86frtnzIExYuPman 3/+m+diU97kKZdAgIMmJJEzE8vZwIPg== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=or+z6c/0hu/LFeV0G3rcp/smfX56U4ire5vZqJw/pvo=; b=dWGJny8YcVLntQzjwVJkAI8wmDFDvnQqzSctANRPDyqMCtAbfiFzvJhR55uZ5OfBrlOw8Jb6Ta5u1 +g3RoymBpWpHMI28abwIgxVrE4TXud3f5NUuemlfm/0EjG9roUOkmIIza9YbETdbp/k6dPgnSvy9lW 4UgBguHmEhhTwPg52vH0dqDjcCzhyt8z6rpfz7xORLIXSqGqTQzsSXaH7eheJGC1PbXdsP1CgCuhTu y/ykJHvUfRftT0avNuqqW90Py6vVvpPL079DJZLXO7/NaJUeQwfH1EcHfbEnW1OgLdrNkHDXlQ1/zS C6G0i9v1xi5F+x+Y3d2kBeTk8QzK1jw== X-Originating-IP: 67.177.211.60 X-MHO-RoutePath: aGlwcGll X-MHO-User: 2c087138-91b0-11eb-a600-89389772cfc7 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 2c087138-91b0-11eb-a600-89389772cfc7; Tue, 30 Mar 2021 23:32:21 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 12UNWKlI064597; Tue, 30 Mar 2021 17:32:20 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> Subject: Re: Any good alternative to Raspberry for Arm64? From: Ian Lepore To: Dan Kotowski , Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Date: Tue, 30 Mar 2021 17:32:20 -0600 In-Reply-To: References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F95MX0GX1z3mKM X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:16509, ipnet:54.184.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 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 Mar 2021 23:32:24 -0000 On Tue, 2021-03-30 at 22:52 +0000, Dan Kotowski wrote: > > `guess SFP+ would need more special driver-attention ... > > from quick reading around the web I guess the DPAA2 also needs a > > closed source binary blob. > > So this actually comes from NXP, not SolidRun. Linux already has > some/most of what's needed, and the license is GPL-2.0+ OR BSD-3- > Clause so there's hope, but I haven't heard a peep from NXP and > SolidRun doesn't really have the manpower to port to FreeBSD > themselves. > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/freescale/dpaa2/ That's actually very good news. If it's dual-licensed it can be included in freebsd without any drama. Still needs porting work, or maybe it could run using the linuxkpi stuff? -- Ian From owner-freebsd-arm@freebsd.org Wed Mar 31 00:14:11 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 008C75B3A03 for ; Wed, 31 Mar 2021 00:14:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F96Hj3jCZz3nxj for ; Wed, 31 Mar 2021 00:14:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617149646; bh=KZuE+XYiAAgbinuFutLnevBoFx/9SxLYYqzV4hDMasE=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=gIge7njzpbhvVR6s2o0QHfm8iaWZoVfBpxWvT3GrQ2+nkW1bYz2GkF5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p1ZytXOAA3H8GI0_Vyfie_wB CthG_Nt61WdaDodqlviAaMa69Ck.wSRV82Qpagm.tSbNylyiOQug48uVaW8OhUJbGH6dBXLnzAc5 aNoVRIEYdoerbMJV3j36vVuQfz.Dwu6HNyLgx9UTj4UgR_LUEGCgW5CiSa2ZOBsyXyfToOqGD3Qz Pph3xmZqdGuR7H0B8bYfFRvcIVhJBkL1JGP6r_iAny0Afej9q8jJqVwNJKTvECZ7bC3NuUATrpdA fu5Yu3FEjbDExDiFS.FMKspseMHZVn.hqQuHj.MSt2DFd6TSSacM2SUL94L7wgImZG.yEVTmGnp. udtcuR3yroO_1IDGBBhtiJ4vv2aeuCQXEJGgaonelOp0OzdeMdpR98Vw6p96OJwozuSlHWwvwjoG dC2qzUTascRqfYdv4YlFJC8ND.ksBfozOgV50KsFlYFXiHGJgRY8plskZ7G4PBKZguUCZK_M_Z2J Cz_wN06KCN60PRYTf.A26bSE9.7b01QYf9z7_gK2Oxgn_bZr5kJFQA7yMG4.WjG5Dmt_FF7Ng001 tFEK5k3y0J0NnEqxiGipNYT5fvLPD4wt48ZMoyijMo7nRX7CBPWN2KXkA2OvV8pEH5JgzFj57EVx 8o7VuHc_s4mwuMnqbucznckAw0zvZ6ZnG6ee4d_MAeOK0kQyEvs_oBjZCbsFp1u8kBy6f7L4TucK cMKzDPtBnwP30evlZA.dWQo0GeXa_UFzS3ZQwPQYDXdGFqB1vstrjibgUSo0SlTdCUfFVtrTQzBj kM8L.dtgZia5pPFAfQNAc2WQaL.zJsLlay.oXh744NLSPaXk7JCJu5S2jizGFNrSQvaGv622V_5x utUNLsRKoS53P2PxWiGLxiT903.EM4NYI7FsGoe260CL9bl04rDw21qNeyQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 00:14:06 +0000 Received: by kubenode532.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID ee7a932879842f6a129cce565a14afd1; Wed, 31 Mar 2021 00:14:04 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> Date: Tue, 30 Mar 2021 17:14:01 -0700 Cc: Dan Kotowski , =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F96Hj3jCZz3nxj X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.84:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; SPAMHAUS_ZRD(0.00)[98.137.68.84:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.84:from]; FREEMAIL_CC(0.00)[a9development.com,googlemail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 00:14:11 -0000 On 2021-Mar-30, at 16:32, Ian Lepore wrote: > On Tue, 2021-03-30 at 22:52 +0000, Dan Kotowski wrote: >>> `guess SFP+ would need more special driver-attention ... >>> from quick reading around the web I guess the DPAA2 also needs a >>> closed source binary blob. >>=20 >> So this actually comes from NXP, not SolidRun. Linux already has >> some/most of what's needed, and the license is GPL-2.0+ OR BSD-3- >> Clause so there's hope, but I haven't heard a peep from NXP and >> SolidRun doesn't really have the manpower to port to FreeBSD >> themselves. >>=20 >>=20 > = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/driv= ers/net/ethernet/freescale/dpaa2/ >=20 > That's actually very good news. If it's dual-licensed it can be > included in freebsd without any drama. Still needs porting work, or > maybe it could run using the linuxkpi stuff? >=20 The files there are a mix: a few list just: # SPDX-License-Identifier: GPL-2.0-only or: # SPDX-License-Identifier: GPL-2.0 or: // SPDX-License-Identifier: GPL-2.0 or: /* SPDX-License-Identifier: GPL-2.0 */ ( Kconfig Makefile dpaa2-ptp.[ch] dprtc-cmd.h dprtc.[ch] ) The others (most) list: // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) or: /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ The Copyrights seem to be Freescale Semiconductor Inc. and/or NXP when documented on a file. May be they would be willing to add the BSD-3-Clause where it is missing? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 00:56:49 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CC3A5B63E2 for ; Wed, 31 Mar 2021 00:56:49 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dignus.com (adsl-065-013-223-202.sip.rdu.bellsouth.net [65.13.223.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "office.dignus.com", Issuer "office.dignus.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F97Dw5LDsz3s3P; Wed, 31 Mar 2021 00:56:48 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from office.dignus.com (localhost [127.0.0.1]) by dignus.com (8.16.1/8.16.1) with ESMTPS id 12V0hFmi023325 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 30 Mar 2021 20:43:15 -0400 (EDT) (envelope-from rivers@office.dignus.com) X-Authentication-Warning: office.dignus.com: Host localhost [127.0.0.1] claimed to be office.dignus.com Received: (from rivers@localhost) by office.dignus.com (8.16.1/8.16.1/Submit) id 12V0hFqg023324; Tue, 30 Mar 2021 20:43:15 -0400 (EDT) (envelope-from rivers) Date: Tue, 30 Mar 2021 20:43:15 -0400 (EDT) From: Thomas David Rivers Message-Id: <202103310043.12V0hFqg023324@office.dignus.com> To: dan.kotowski@a9development.com, ian@freebsd.org, maciphone2@googlemail.com Subject: Re: Any good alternative to Raspberry for Arm64? Cc: freebsd-arm@freebsd.org In-Reply-To: <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on office.dignus.com X-Rspamd-Queue-Id: 4F97Dw5LDsz3s3P X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of rivers@dignus.com has no SPF policy when checking 65.13.223.202) smtp.mailfrom=rivers@dignus.com X-Spamd-Result: default: False [5.94 / 15.00]; HFILTER_HOSTNAME_4(2.50)[adsl-065-013-223-202.sip.rdu.bellsouth.net]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_TO(0.00)[a9development.com,freebsd.org,googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.13.223.202:from]; ASN(0.00)[asn:7018, ipnet:65.13.220.0/22, country:US]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.20)[-0.202]; FREEFALL_USER(0.00)[rivers]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.96)[0.957]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dignus.com]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[65.13.223.202:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.79)[0.786]; SUBJECT_ENDS_QUESTION(1.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 00:56:49 -0000 I'm wondering why the Mac M1 machines haven't been mentioned? (Like the newest MacMini...) Would they not make a good ARM64 machine? - Dave Rivers - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com From owner-freebsd-arm@freebsd.org Wed Mar 31 05:06:18 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0EB715BAFBC for ; Wed, 31 Mar 2021 05:06:18 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9Dmn446pz4Zp8 for ; Wed, 31 Mar 2021 05:06:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 897265BB175; Wed, 31 Mar 2021 05:06:17 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 880DE5BAFBB for ; Wed, 31 Mar 2021 05:06:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9Dml5tCfz4b8T for ; Wed, 31 Mar 2021 05:06:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Message-Id:Resent-To:Resent-Date:Content-Transfer-Encoding:Date:Resent-From:From:Subject:Mime-Version:Content-Type; bh=dTQpdHIBFCTv6gUTE/WpMNTzKdWpvvKOcy6T+mOZebY=; b=Zc1Q5gTMd/9Vmvt49LnhXgrjXT7JJf+QHoDgvwD3t0SzGIgO56tiDlnfS6EanwvIB7Gfco6Z3WcqNZQUiQv2aLzOMERl+8h/Ypt2FVkEmk1y3lSUKSJsBlFaPudF8Vw2YbDcCqBFTmcvJ/NGPFAE0TC6RH5o27aUIzPWVK1ZT3ZvLIlH//YtR9vmHpQnytRs0pDCPPWNTZtqs55UnDfh00jKa6ZbICr3hGfuyeRoPvMLyUDT32v3Dazp7StPyfHew9qXad+Fu8OWswa9ql81MDAeEgtkT/eGtYNJ8SEouJGNZwN4ar0tKcCHpaSaK9K93T4WH6xUWmHuFdlAqbzuqg==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1lRT3T-000Jie-SD for arm@freebsd.org; Wed, 31 Mar 2021 08:06:11 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: i2c/twsi/allwinner problems. From: Daniel Braniss Resent-From: Daniel Braniss Date: Tue, 30 Mar 2021 12:58:50 +0300 Content-Transfer-Encoding: quoted-printable Resent-Date: Wed, 31 Mar 2021 08:06:11 +0300 Resent-To: "freebsd-arm@freebsd.org" Message-Id: To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9Dml5tCfz4b8T X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=Zc1Q5gTM; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[132.65.116.210:from]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FREEFALL_USER(0.00)[danny]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[132.65.116.210:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 05:06:18 -0000 hi all, after some time, I decided to try FreeBSD 13 on my all winner (nano neo) = and got it working only with debugging on, so I started cherry picking till I got it working, = replacing printfs with DELAY and this is is now working, of course not the correct solution, but if = someone with better i2c knowledge can propose a better solution I=E2=80=99m willing to test = if with my program (it reads RFIDs using a board with PN532), this are the diffs: diff --git a/sys/dev/iicbus/twsi/twsi.c b/sys/dev/iicbus/twsi/twsi.c index a606c2aef..8ede62073 100644 --- a/sys/dev/iicbus/twsi/twsi.c +++ b/sys/dev/iicbus/twsi/twsi.c @@ -86,6 +86,8 @@ __FBSDID("$FreeBSD$"); #define TWSI_DEBUG #undef TWSI_DEBUG +#define debug_(dev, fmt, args...) device_printf(dev, "%s: " fmt, = __func__, ##args) + #ifdef TWSI_DEBUG #define debugf(dev, fmt, args...) device_printf(dev, "%s: " fmt, = __func__, ##args) #else @@ -103,6 +105,7 @@ TWSI_READ(struct twsi_softc *sc, bus_size_t off) { uint32_t val; + DELAY(1000); // danny: needed=20 val =3D bus_read_4(sc->res[0], off); debugf(sc->dev, "read %x from %lx\n", val, off); return (val); @@ -165,15 +168,14 @@ twsi_clear_iflg(struct twsi_softc *sc) static int twsi_poll_ctrl(struct twsi_softc *sc, int timeout, uint32_t mask) { - timeout /=3D 10; - debugf(sc->dev, "Waiting for ctrl reg to match mask %x\n", = mask); + debug_(sc->dev, "Waiting for ctrl reg to match mask %x = timeout=3D%d\n", mask, timeout); while (!(TWSI_READ(sc, sc->reg_control) & mask)) { - DELAY(10); + // DELAY(10); if (--timeout < 0) return (timeout); } - debugf(sc->dev, "done\n"); + debug_(sc->dev, "done\n"); return (0); } @@ -212,7 +214,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, DELAY(1000); if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout sending %sSTART condition\n", + debug_(dev, "timeout sending %sSTART condition\n", mask =3D=3D TWSI_STATUS_START ? "" : "repeated "); return (IIC_ETIMEOUT); } @@ -221,7 +223,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, debugf(dev, "status=3D%x\n", status); if (status !=3D mask) { - debugf(dev, "wrong status (%02x) after sending %sSTART = condition\n", + debug_(dev, "wrong status (%02x) after sending %sSTART = condition\n", status, mask =3D=3D TWSI_STATUS_START ? "" : = "repeated "); return (IIC_ESTATUS); } @@ -231,7 +233,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, DELAY(1000); if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout sending slave address = (timeout=3D%d)\n", timeout); + debug_(dev, "timeout sending slave address = (timeout=3D%d)\n", timeout); return (IIC_ETIMEOUT); } @@ -239,7 +241,7 @@ twsi_locked_start(device_t dev, struct twsi_softc = *sc, int32_t mask, status =3D TWSI_READ(sc, sc->reg_status); if (status !=3D (read_access ? TWSI_STATUS_ADDR_R_ACK : TWSI_STATUS_ADDR_W_ACK)) { - debugf(dev, "no ACK (status: %02x) after sending slave = address\n", + debug_(dev, "no ACK (status: %02x) after sending slave = address\n", status); return (IIC_ENOACK); } @@ -405,7 +407,8 @@ twsi_read(device_t dev, char *buf, int len, int = *read, int last, int delay) int last_byte, rv; sc =3D device_get_softc(dev); - + debug_(dev, "twsi_read: len=3D%d delay=3D%d", len, delay); // = danny +=09 mtx_lock(&sc->mutex); *read =3D 0; while (*read < len) { @@ -423,7 +426,7 @@ twsi_read(device_t dev, char *buf, int len, int = *read, int last, int delay) DELAY(1000); if (twsi_poll_ctrl(sc, delay, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout reading data (delay=3D%d)\n",= delay); + debug_(dev, "timeout reading data (delay=3D%d)\n",= delay); rv =3D IIC_ETIMEOUT; goto out; } @@ -431,7 +434,7 @@ twsi_read(device_t dev, char *buf, int len, int = *read, int last, int delay) status =3D TWSI_READ(sc, sc->reg_status); if (status !=3D (last_byte ? TWSI_STATUS_DATA_RD_NOACK : = TWSI_STATUS_DATA_RD_ACK)) { - debugf(dev, "wrong status (%02x) while = reading\n", status); + debug_(dev, "wrong status (%02x) while = reading\n", status); rv =3D IIC_ESTATUS; goto out; } @@ -462,14 +465,14 @@ twsi_write(device_t dev, const char *buf, int len, = int *sent, int timeout) twsi_clear_iflg(sc); DELAY(1000); if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) { - debugf(dev, "timeout writing data = (timeout=3D%d)\n", timeout); + debug_(dev, "timeout writing data = (timeout=3D%d)\n", timeout); rv =3D IIC_ETIMEOUT; goto out; } status =3D TWSI_READ(sc, sc->reg_status); if (status !=3D TWSI_STATUS_DATA_WR_ACK) { - debugf(dev, "wrong status (%02x) while = writing\n", status); + debug_(dev, "wrong status (%02x) while = writing\n", status); rv =3D IIC_ESTATUS; goto out; } @@ -496,8 +499,12 @@ twsi_transfer(device_t dev, struct iic_msg *msgs, = uint32_t nmsgs) sc->control_val =3D TWSI_CONTROL_TWSIEN | TWSI_CONTROL_INTEN | TWSI_CONTROL_ACK; TWSI_WRITE(sc, sc->reg_control, sc->control_val); - debugf(dev, "transmitting %d messages\n", nmsgs); - debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); +#if 0 + debug_(dev, "transmitting %d messages\n", nmsgs); + debug_(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); +#else + DELAY(8000); +#endif sc->nmsgs =3D nmsgs; sc->msgs =3D msgs; sc->msg_idx =3D 0; @@ -519,15 +526,24 @@ twsi_transfer(device_t dev, struct iic_msg *msgs, = uint32_t nmsgs) debugf(sc->dev, "pause finish\n"); if (sc->error) { - debugf(sc->dev, "Error, aborting (%d)\n", sc->error); + debug_(sc->dev, "Error, aborting (%d)\n", sc->error); TWSI_WRITE(sc, sc->reg_control, 0); } /* Disable module and interrupts */ - debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); +#if 0 + debug_(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); = // TWSI_WRITE(sc, sc->reg_control, 0); - debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); - + debugf(sc->dev, "status=3D%x\n", TWSI_READ(sc, sc->reg_status)); = // + debugf(sc->dev, "error=3D%d\n", sc->error); // danny +#else + int status; + DELAY(8000); // danny: works! + status =3D TWSI_READ(sc, sc->reg_status); + TWSI_WRITE(sc, sc->reg_control, 0); + status =3D TWSI_READ(sc, sc->reg_status); + //debug_(sc->dev, "status=3D%x\n", TWSI_READ(sc, = sc->reg_status)); +#endif return (sc->error); } @@ -581,7 +597,7 @@ twsi_intr(void *arg) case TWSI_STATUS_ADDR_W_NACK: case TWSI_STATUS_ADDR_R_NACK: - debugf(sc->dev, "No ack received after transmitting the = address\n"); + debug_(sc->dev, "No ack received after transmitting the = address\n"); sc->transfer =3D 0; sc->error =3D IIC_ENOACK; sc->control_val =3D 0; @@ -662,7 +678,7 @@ twsi_intr(void *arg) break; default: - debugf(sc->dev, "status=3D%x hot handled\n", status); + debug_(sc->dev, "status=3D%x hot handled\n", status); sc->transfer =3D 0; sc->error =3D IIC_EBUSERR; sc->control_val =3D 0; From owner-freebsd-arm@freebsd.org Wed Mar 31 07:06:51 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E4415BD69F for ; Wed, 31 Mar 2021 07:06:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9HRv3gnNz4gtM for ; Wed, 31 Mar 2021 07:06:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7E34B5BCF6A; Wed, 31 Mar 2021 07:06:51 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DF955BD784 for ; Wed, 31 Mar 2021 07:06:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (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 4F9HRv1yLwz4gYy for ; Wed, 31 Mar 2021 07:06:50 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (Authenticated sender: andriy.gapon@uabsd.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 335B4200005; Wed, 31 Mar 2021 07:06:47 +0000 (UTC) Subject: Re: i2c/twsi/allwinner problems. To: Daniel Braniss , "freebsd-arm@freebsd.org" References: From: Andriy Gapon Message-ID: <4e386f9f-33aa-fa91-0fc3-fd44b34632ed@FreeBSD.org> Date: Wed, 31 Mar 2021 10:06:47 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4F9HRv1yLwz4gYy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 07:06:51 -0000 On 30/03/2021 12:58, Daniel Braniss wrote: > |hi all, after some time, I decided to try FreeBSD 13 on my all winner (nano > neo) and got it working only with debugging on, so I started cherry picking till > I got it working, replacing printfs with DELAY and this is is now working, of > course not the correct solution, but if someone with better i2c knowledge can > propose a better solution I’m willing to test if with my program (it reads RFIDs > using a board with PN532),| I see quite a lot of those "cherry-picks" and they are a mix of explicit delays and printfs (via debug_). Also, the driver has completely separate code paths for polling mode and interrupt mode. I see that both are heavily modified. Do you actually use both modes? -- Andriy Gapon From owner-freebsd-arm@freebsd.org Wed Mar 31 08:04:12 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2CA0E5BF412; Wed, 31 Mar 2021 08:04:12 +0000 (UTC) (envelope-from info@ohdata.se) Received: from mail01.ohdata.se (46-22-124-5.ip.axbyte.se [46.22.124.5]) (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 4F9Jk31HRMz4kbK; Wed, 31 Mar 2021 08:04:10 +0000 (UTC) (envelope-from info@ohdata.se) Received: from localhost (localhost [127.0.0.1]) by mail01.ohdata.se (Postfix) with ESMTP id DCDD75E7F; Wed, 31 Mar 2021 09:58:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail01.ohdata.se Received: from mail01.ohdata.se ([127.0.0.1]) by localhost (mail01.ohdata.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WQmmUS5SyXUd; Wed, 31 Mar 2021 09:58:22 +0200 (CEST) Received: from webmail.ohdata.se (unknown [10.0.38.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01.ohdata.se (Postfix) with ESMTPSA id 6C53B5E6E; Wed, 31 Mar 2021 09:58:22 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 31 Mar 2021 10:16:08 +0200 From: Oskar Holmlund To: Stefan Parvu Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org Subject: Re: iMX8 SBC boards Organization: OH Data In-Reply-To: References: Message-ID: <68c7a8f5a772c9d2e2874c9d0d84689b@ohdata.se> X-Sender: info@ohdata.se User-Agent: Roundcube Webmail/1.3.6 X-Rspamd-Queue-Id: 4F9Jk31HRMz4kbK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of info@ohdata.se designates 46.22.124.5 as permitted sender) smtp.mailfrom=info@ohdata.se X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[46.22.124.5:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ohdata.se]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[46.22.124.5:from:127.0.2.255]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:43853, ipnet:46.22.112.0/20, country:SE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm,owner-freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 08:04:12 -0000 2021-03-29 08:22 skrev Stefan Parvu: > Hi, > > What SBC iMX8 (64bit) based configurations could we use with FreeBSD > to test our product? We need a decent industrial based SBC (support > for RTC and 1/2/4 GBRAM). > > Anyone any ideas, pointers? > > Thanks, > Stefan > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" Maybe hummingboard can be an option to consider: https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/hummingboard-m/ -- Bästa Hälsningar Oskar Holmlund Tel 070-3220292 From owner-freebsd-arm@freebsd.org Wed Mar 31 08:49:50 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DC2C5C0921; Wed, 31 Mar 2021 08:49:50 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9Kkj04bGz4mPp; Wed, 31 Mar 2021 08:49:48 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [10.71.42.86] (188-127-211-174.cust.suomicom.net [188.127.211.174]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 12V8ne82046652 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 31 Mar 2021 08:49:41 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 188-127-211-174.cust.suomicom.net [188.127.211.174] claimed to be [10.71.42.86] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: iMX8 SBC boards From: Stefan Parvu In-Reply-To: <68c7a8f5a772c9d2e2874c9d0d84689b@ohdata.se> Date: Wed, 31 Mar 2021 11:49:40 +0300 Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8A42376D-EB48-49A5-AEC5-E7B2FCA8074E@kronometrix.org> References: <68c7a8f5a772c9d2e2874c9d0d84689b@ohdata.se> To: Oskar Holmlund X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9Kkj04bGz4mPp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[kronometrix.org]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[owner-freebsd-arm,freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 08:49:50 -0000 > Maybe hummingboard can be an option to consider: > = https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/humming= board-m/ Thank you. These are also looking very good. These are 64-bit Armv8 = based boards. The RAM is not ECC, right ? Stefan From owner-freebsd-arm@freebsd.org Wed Mar 31 09:35:05 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9ACD85C154F; Wed, 31 Mar 2021 09:35:05 +0000 (UTC) (envelope-from info@ohdata.se) Received: from mail01.ohdata.se (46-22-124-5.ip.axbyte.se [46.22.124.5]) (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 4F9Lkw6zDFz4q2N; Wed, 31 Mar 2021 09:35:04 +0000 (UTC) (envelope-from info@ohdata.se) Received: from localhost (localhost [127.0.0.1]) by mail01.ohdata.se (Postfix) with ESMTP id B95FB5E7F; Wed, 31 Mar 2021 11:29:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail01.ohdata.se Received: from mail01.ohdata.se ([127.0.0.1]) by localhost (mail01.ohdata.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SToNqpSZvKuX; Wed, 31 Mar 2021 11:29:24 +0200 (CEST) Received: from webmail.ohdata.se (unknown [10.0.38.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01.ohdata.se (Postfix) with ESMTPSA id B7C9F5E6E; Wed, 31 Mar 2021 11:29:24 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 31 Mar 2021 11:47:11 +0200 From: Oskar Holmlund To: Stefan Parvu Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org Subject: Re: iMX8 SBC boards Organization: OH Data In-Reply-To: <8A42376D-EB48-49A5-AEC5-E7B2FCA8074E@kronometrix.org> References: <68c7a8f5a772c9d2e2874c9d0d84689b@ohdata.se> <8A42376D-EB48-49A5-AEC5-E7B2FCA8074E@kronometrix.org> Message-ID: <9a27e50df349d8bb189d241c4a11b025@ohdata.se> X-Sender: info@ohdata.se User-Agent: Roundcube Webmail/1.3.6 X-Rspamd-Queue-Id: 4F9Lkw6zDFz4q2N X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of info@ohdata.se designates 46.22.124.5 as permitted sender) smtp.mailfrom=info@ohdata.se X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ohdata.se]; RBL_DBL_DONT_QUERY_IPS(0.00)[46.22.124.5:from]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[46.22.124.5:from:127.0.2.255]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:43853, ipnet:46.22.112.0/20, country:SE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm,owner-freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 09:35:05 -0000 2021-03-31 10:49 skrev Stefan Parvu: >> Maybe hummingboard can be an option to consider: >> https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/hummingboard-m/ > > Thank you. These are also looking very good. These are 64-bit Armv8 > based boards. The RAM is not ECC, right ? > > Stefan You have to ask solid-run about ECC. https://www.nxp.com/docs/en/supporting-information/IMX8LAYERCMPR.pdf The NXP i.MX 8M Plus support ECC memory so you have to combine the hummingboard ("the baseboard") with the "plus model" SoM. (still need to ask solid-run what type of memory they have put into their SoM or if its special order for ECC) https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/imx8m-plus-som/#specifications https://developer.solid-run.com/knowledge-base/i-mx8m-plus-som/?_ga=2.2782448.1993230988.1617174496-1730643533.1617174496 -- Bästa Hälsningar Oskar Holmlund Tel 070-3220292 From owner-freebsd-arm@freebsd.org Wed Mar 31 10:22:22 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C97D45C2AF7 for ; Wed, 31 Mar 2021 10:22:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9MnV52hSz4sQ4 for ; Wed, 31 Mar 2021 10:22:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A067217ED0 for ; Wed, 31 Mar 2021 10:22:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VAMMU6059064 for ; Wed, 31 Mar 2021 10:22:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VAMMkk059063 for freebsd-arm@FreeBSD.org; Wed, 31 Mar 2021 10:22:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 253339] device_attach: virtio_pci0 attach returned 6 (Parallels Desktop on Apple M1) Date: Wed, 31 Mar 2021 10:22:22 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yarshure@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 10:22:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253339 yarshure changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Mar 31 10:28:56 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B3DB05C2BDE; Wed, 31 Mar 2021 10:28:56 +0000 (UTC) (envelope-from info@ohdata.se) Received: from mail01.ohdata.se (46-22-124-5.ip.axbyte.se [46.22.124.5]) (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 4F9Mx362FXz4sbd; Wed, 31 Mar 2021 10:28:54 +0000 (UTC) (envelope-from info@ohdata.se) Received: from localhost (localhost [127.0.0.1]) by mail01.ohdata.se (Postfix) with ESMTP id E48B95E81; Wed, 31 Mar 2021 12:23:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail01.ohdata.se Received: from mail01.ohdata.se ([127.0.0.1]) by localhost (mail01.ohdata.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hKxjHdrBkKKp; Wed, 31 Mar 2021 12:23:14 +0200 (CEST) Received: from webmail.ohdata.se (unknown [10.0.38.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01.ohdata.se (Postfix) with ESMTPSA id 97AF25E6E; Wed, 31 Mar 2021 12:23:14 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 31 Mar 2021 12:41:01 +0200 From: Oskar Holmlund To: Stefan Parvu Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org Subject: Re: iMX8 SBC boards Organization: OH Data In-Reply-To: <9a27e50df349d8bb189d241c4a11b025@ohdata.se> References: <68c7a8f5a772c9d2e2874c9d0d84689b@ohdata.se> <8A42376D-EB48-49A5-AEC5-E7B2FCA8074E@kronometrix.org> <9a27e50df349d8bb189d241c4a11b025@ohdata.se> Message-ID: <8510ae297d299608ac87f1241a6ec67f@ohdata.se> X-Sender: info@ohdata.se User-Agent: Roundcube Webmail/1.3.6 X-Rspamd-Queue-Id: 4F9Mx362FXz4sbd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of info@ohdata.se designates 46.22.124.5 as permitted sender) smtp.mailfrom=info@ohdata.se X-Spamd-Result: default: False [-1.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ohdata.se]; RBL_DBL_DONT_QUERY_IPS(0.00)[46.22.124.5:from]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[46.22.124.5:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:43853, ipnet:46.22.112.0/20, country:SE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm,owner-freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 10:28:56 -0000 2021-03-31 11:47 skrev Oskar Holmlund: > 2021-03-31 10:49 skrev Stefan Parvu: >>> Maybe hummingboard can be an option to consider: >>> https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/hummingboard-m/ >> >> Thank you. These are also looking very good. These are 64-bit Armv8 >> based boards. The RAM is not ECC, right ? >> >> Stefan > > You have to ask solid-run about ECC. > > https://www.nxp.com/docs/en/supporting-information/IMX8LAYERCMPR.pdf > > The NXP i.MX 8M Plus support ECC memory so you have to combine the > hummingboard ("the baseboard") with the "plus model" SoM. (still need > to ask solid-run what type of memory they have put into their SoM or > if its special order for ECC) > https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/imx8m-plus-som/#specifications > https://developer.solid-run.com/knowledge-base/i-mx8m-plus-som/?_ga=2.2782448.1993230988.1617174496-1730643533.1617174496 https://cgit.freebsd.org/src/commit/sys/arm64/freescale?id=94bc2117b4adaf7101cc412f4277e5812ad61ae2 nitrogen 8m seems to be a more tested board. -- Bästa Hälsningar Oskar Holmlund Tel 070-3220292 From owner-freebsd-arm@freebsd.org Wed Mar 31 10:48:15 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 720385C3339; Wed, 31 Mar 2021 10:48:15 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9NML2szJz4t94; Wed, 31 Mar 2021 10:48:14 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (87-95-50-37.bb.dnainternet.fi [87.95.50.37]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 12VAm9n3072419 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 31 Mar 2021 10:48:11 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-50-37.bb.dnainternet.fi [87.95.50.37] claimed to be [192.168.1.151] From: Stefan Parvu Message-Id: <876863C2-CB39-46B2-B0C2-4E97958D30FC@kronometrix.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: iMX8 SBC boards Date: Wed, 31 Mar 2021 13:48:03 +0300 In-Reply-To: <8510ae297d299608ac87f1241a6ec67f@ohdata.se> Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org To: Oskar Holmlund References: <68c7a8f5a772c9d2e2874c9d0d84689b@ohdata.se> <8A42376D-EB48-49A5-AEC5-E7B2FCA8074E@kronometrix.org> <9a27e50df349d8bb189d241c4a11b025@ohdata.se> <8510ae297d299608ac87f1241a6ec67f@ohdata.se> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9NML2szJz4t94 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[owner-freebsd-arm,freebsd-arm] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 10:48:15 -0000 > = https://cgit.freebsd.org/src/commit/sys/arm64/freescale?id=3D94bc2117b4ada= f7101cc412f4277e5812ad61ae2 = >=20 > nitrogen 8m seems to be a more tested board. Thanks for all info on solid sbc. Yes, got some heads-up on nitrogen sbc and Im already looking to = nitrogen 8m.=20 Looks good. This will probable be compatible with FreeBSD 13 and up. = Right?=20 Stefan From owner-freebsd-arm@freebsd.org Wed Mar 31 11:05:46 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74D285C3F17 for ; Wed, 31 Mar 2021 11:05:46 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9NlZ1wsxz4vNt for ; Wed, 31 Mar 2021 11:05:46 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Wed, 31 Mar 2021 11:05:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1617188744; bh=lcn7SIV/4P7xa1k1rL5jDlaQVJbOrA0qHFaeLXvj3y4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=NDzATgNtHWgAWY1l25tZCWC5GunXoA1N4yxUgwq9GzA0u3fFDzmpB3iLZ5nOCcBId hRpjtsOSSXG5PcqP8y80FiKjoQQhEldZMU8P3c2xFwEiFXUick5XPNZOcswdQEJ/OW zTZ2Rlx1fwWGi1EaKfV45jLFdgDWJzqol4XtBlks= To: Mark Millard From: Dan Kotowski Cc: Ian Lepore , =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm@freebsd.org Reply-To: Dan Kotowski Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: <-YvpJdjIrp7HJ_d7ZGA6k9L6k2gtUogxqMTpulm8bhNzX-GJNoGS4zg9CwRpK7BxdeLzApgWueudWfYX9W9gmvnND0F31jkNlesiI4Tufd8=@a9development.com> In-Reply-To: References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4F9NlZ1wsxz4vNt X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 11:05:46 -0000 > > On Tue, 2021-03-30 at 22:52 +0000, Dan Kotowski wrote: > > > > > > `guess SFP+ would need more special driver-attention ... > > > > > > > > from quick reading around the web I guess the DPAA2 also needs a > > > > > > > > closed source binary blob. > > > > > > So this actually comes from NXP, not SolidRun. Linux already has > > > > > > some/most of what's needed, and the license is GPL-2.0+ OR BSD-3- > > > > > > Clause so there's hope, but I haven't heard a peep from NXP and > > > > > > SolidRun doesn't really have the manpower to port to FreeBSD > > > > > > themselves. > > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/d= rivers/net/ethernet/freescale/dpaa2/ > > > > That's actually very good news. If it's dual-licensed it can be > > > > included in freebsd without any drama. Still needs porting work, or > > > > maybe it could run using the linuxkpi stuff? > > The files there are a mix: a few list just: > > SPDX-License-Identifier: GPL-2.0-only > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > or: > > SPDX-License-Identifier: GPL-2.0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > or: > > // SPDX-License-Identifier: GPL-2.0 > > or: > > /* SPDX-License-Identifier: GPL-2.0 / > > ( Kconfig Makefile dpaa2-ptp.[ch] dprtc-cmd.h dprtc.[ch] ) > > The others (most) list: > > // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) > > or: > > / SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ > > The Copyrights seem to be Freescale Semiconductor Inc. and/or > > NXP when documented on a file. May be they would be willing > > to add the BSD-3-Clause where it is missing? > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Mark Millard > > marklmi at yahoo.com > > ( dsl-only.net went > > away in early 2018-Mar) And if that fails, NXP documented everything pretty well: https://www.nxp.com/docs/en/user-guide/DPAA2UM.pdf From owner-freebsd-arm@freebsd.org Wed Mar 31 12:18:25 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E7B7A5C6327 for ; Wed, 31 Mar 2021 12:18:25 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) (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 4F9QMP5j5bz3GcY for ; Wed, 31 Mar 2021 12:18:25 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Wed, 31 Mar 2021 12:18:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1617193095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mz//zxwl9c3cmzdUJdBqyubaoKGSQX+1KDpD/+UxXJQ=; b=gaoMmhr/9LjhyMr+M42gQIbmJB6Iko9yU3NAncQp9Xw4q1xNzxGOUMTSmHk1SRKzsN9nlN 5NlLurCuXx7GxDIet+y7e3HX4f6UaeU0ZhAWAbAIfc9D9MDWd6KV5l4paF8zHwxLq7KZy6 EiMNNreVhTlrmgVfwfM3GZTg92YUO7NpOGZuoBj2a07Wwx9ZUfit/NYujkpiZG+Rr8JQG5 SoVFyKfK6mAIJ2ep2db8xy3AeO3eNRf12PWML8Zpk4YqL8s+y/nMkzL2g6b1cYC/DeZGt2 woWEPgZgr1U5pQUj2fmCLkgZI2rhgqJsoIOpTZkvGyM1752ZGD/lmwLRAUwRCQ== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Greg V To: freebsd-arm@freebsd.org, Thomas David Rivers Subject: Re: Any good alternative to Raspberry for Arm64? In-Reply-To: <202103310043.12V0hFqg023324@office.dignus.com> References: <202103310043.12V0hFqg023324@office.dignus.com> Message-ID: <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: greg@unrelenting.technology X-Rspamd-Queue-Id: 4F9QMP5j5bz3GcY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 12:18:26 -0000 On March 31, 2021 12:43:15 AM UTC, Thomas David Rivers wrote: >I'm wondering why the Mac M1 machines haven't been mentioned? >(Like the newest MacMini=2E=2E=2E) > >Would they not make a good ARM64 machine? Currently only using virtualization=2E Someone would have to make lots of drivers to run bare metal=2E OpenBSD an= d NetBSD have some already, but I'm not aware of any efforts in FreeBSD yet= =2E Apple hardware is *very* non-standard, they don't even use the GIC, having= a custom interrupt controller instead=2E From owner-freebsd-arm@freebsd.org Wed Mar 31 14:22:03 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DA1F579BDA for ; Wed, 31 Mar 2021 14:22:03 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9T622Rwlz3QZg for ; Wed, 31 Mar 2021 14:22:02 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x42e.google.com with SMTP id z2so19874226wrl.5 for ; Wed, 31 Mar 2021 07:22:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=u8bJl94JXGmo55/EOzmlbIft8wyuqOyZO6yFqolNKc0=; b=tPsDcUVs+60kFyg3b5AWJCLYcyO8tD/+fQVlnqw1GEYjEt5y/hpD+04OBSAP7wwOGW PnPn6GfzDHHJNyYv2jIcxlAQqKEjOGr/ZQoRjd2j5GQ9B3VXENriH+jBNM9gXODv4R6i qoMPWfsarF83ggGt+FtvTSaxfDGjIgF4HdVJOhOPp+fySynCkN+STasI67cN5FJyBe1D 6hu5Jh+trZLp+t9SpCYzT7ShokNMrvoC8hOMR4AXLEY7Y9PIElJSTYD9VXkEXdeiW9vT 445Fq+LqyyHMcJ5PvbJ/5fyc5rP3CfAXdO5lG80qjB4T2M9311hHf2IUD38qYd/Tj/cK JTpw== X-Gm-Message-State: AOAM533m4coT902vkl78eP30G2ucul2Z6S1RiYP7+IlFKYruXx9+iVCk TWrZkiSo7qgCOUOenLi4Uls95f8eRIp6jw== X-Google-Smtp-Source: ABdhPJwKxTmO7EJzgPi6npg1N4F4NlzL7SAYSpVKMaKpkdFDFugLSczQ+4CqdeAKii8IDVIEnt2YMw== X-Received: by 2002:adf:f48d:: with SMTP id l13mr4074484wro.311.1617200519828; Wed, 31 Mar 2021 07:21:59 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-152-195.46.114.pool.telefonica.de. [46.114.152.195]) by smtp.googlemail.com with ESMTPSA id n3sm4209241wmi.7.2021.03.31.07.21.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Mar 2021 07:21:59 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Wed, 31 Mar 2021 16:21:57 +0200 References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> To: Greg V , freebsd-arm@freebsd.org, dan.kotowski@a9development.com, rivers@dignus.com In-Reply-To: <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> Message-Id: <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9T622Rwlz3QZg X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42e:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.152.195:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42e:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 14:22:03 -0000 > Am 31.03.2021 um 14:18 schrieb Greg V : >=20 > On March 31, 2021 12:43:15 AM UTC, Thomas David Rivers = wrote: >> I'm wondering why the Mac M1 machines haven't been mentioned? >> (Like the newest MacMini...) >>=20 >> Would they not make a good ARM64 machine? >=20 > Currently only using virtualization. >=20 > Someone would have to make lots of drivers to run bare metal. OpenBSD = and NetBSD have some already, but I'm not aware of any efforts in = FreeBSD yet. >=20 > Apple hardware is *very* non-standard, they don't even use the GIC, = having a custom interrupt controller instead. well, I have mentioned M1 in post #9 of this long thread as the most = interesting =E2=80=A6.. really interesting : https://reviews.freebsd.org/R10:3a314eb5bb444ec019457e5aefaabb656fcb3d54 > Am 31.03.2021 um 00:52 schrieb Dan Kotowski = : >=20 > Yes, I'm currently swapping between a CACE AirPcap NX (otus) and a = Microchip LAN7800 EVB (muge) from = https://www.microchip.com/Developmenttools/ProductDetails/EVB-LAN7800. # > They're ugly but functional. lol, that made my day :-) Ha Ha =E2=80=A6 my whole desk is cluttered with all the ugly crap, but thanks to Apple, it looks impressive all in all :-) Regards K. From owner-freebsd-arm@freebsd.org Wed Mar 31 17:26:50 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D64D25A97E6 for ; Wed, 31 Mar 2021 17:26:50 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dignus.com (adsl-065-013-223-202.sip.rdu.bellsouth.net [65.13.223.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "office.dignus.com", Issuer "office.dignus.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9YCG1nk9z3vDB for ; Wed, 31 Mar 2021 17:26:49 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from office.dignus.com (localhost [127.0.0.1]) by dignus.com (8.16.1/8.16.1) with ESMTPS id 12VGtxNQ036894 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 31 Mar 2021 12:55:59 -0400 (EDT) (envelope-from rivers@office.dignus.com) X-Authentication-Warning: office.dignus.com: Host localhost [127.0.0.1] claimed to be office.dignus.com Received: (from rivers@localhost) by office.dignus.com (8.16.1/8.16.1/Submit) id 12VGtx3T036893; Wed, 31 Mar 2021 12:55:59 -0400 (EDT) (envelope-from rivers) Date: Wed, 31 Mar 2021 12:55:59 -0400 (EDT) From: Thomas David Rivers Message-Id: <202103311655.12VGtx3T036893@office.dignus.com> To: freebsd-arm@freebsd.org, rivers@dignus.com Subject: 32-bit executables on aarch64? X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on office.dignus.com X-Rspamd-Queue-Id: 4F9YCG1nk9z3vDB X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of rivers@dignus.com has no SPF policy when checking 65.13.223.202) smtp.mailfrom=rivers@dignus.com X-Spamd-Result: default: False [5.29 / 15.00]; GREYLIST(0.00)[pass,body]; HFILTER_HOSTNAME_4(2.50)[adsl-065-013-223-202.sip.rdu.bellsouth.net]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7018, ipnet:65.13.220.0/22, country:US]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.13.223.202:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[rivers]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.999]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dignus.com]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[65.13.223.202:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.89)[0.891]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 17:26:50 -0000 I'm playing around with a (rather-old now) 13.0-pre-pre-pre release on Raspberry PI 4B. I was naively thinking I could just use -m32 to create a 32-bit executable... but the LLVM there promptly told me it didn't recognize -m32. I installed the gcc V9 port and it said the same thing. This begged the question, is there no support of 32-bit ARM (armv7) executables in the aarch64 environment? Just curious... - Thanks! - - Dave Rivers - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com From owner-freebsd-arm@freebsd.org Wed Mar 31 17:31:26 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EBCF5A99C1 for ; Wed, 31 Mar 2021 17:31:26 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) (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 4F9YJY1MWfz3vLb for ; Wed, 31 Mar 2021 17:31:24 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Wed, 31 Mar 2021 17:31:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1617211876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xMFbkCSyGKmUXkW8zOK4OLJJDha7Q8Ni4k5EMmaOBD0=; b=EWz2ymnkBtI5parKVtuTXjKyYtaOZdu0FPuDhstQTpmlf6CspHxwv0YZP3c9/tcS0MxqpN aTT4YrmtxBDTanSGFH9t2jN9pk0KR31stG6b8msQxQiMfOHgFwSbWlCfoHxvwLtiA3z//m 2pprgyCXfAq4VBixL36xyg9t90gaXcPe6lJEiXzFoit8cJcp9Y6WKYEy/vA32KEGsKJ7Ij +7y0Ywrsj0S2lLk8xA7O+WzFMj7Wc3lJIsGJNW6bQKnSt3NEO5LPxEG5AxPOCYpayB6oTx KgCxpp16z3Q5hf0fmxAtbWRWizESztJeAxJliXCjnxLYAFXNNKlSTMd2pQsaWQ== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Greg V To: =?ISO-8859-1?Q?Klaus_K=FCchemann?= , freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? In-Reply-To: <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> Message-ID: <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: greg@unrelenting.technology X-Rspamd-Queue-Id: 4F9YJY1MWfz3vLb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=key1 header.b=EWz2ymnk; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 2001:41d0:2:267:: as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:2:267:::from]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=key1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:2:267::]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2001:41d0:2:267:::from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com,freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 17:31:26 -0000 On March 31, 2021 2:21:57 PM UTC, "Klaus K=C3=BCchemann" wrote: > >> Am 31=2E03=2E2021 um 14:18 schrieb Greg V : >>=20 >> On March 31, 2021 12:43:15 AM UTC, Thomas David Rivers wrote: >>> I'm wondering why the Mac M1 machines haven't been mentioned? >>> (Like the newest MacMini=2E=2E=2E) >>>=20 >>> Would they not make a good ARM64 machine? >>=20 >> Currently only using virtualization=2E >>=20 >> Someone would have to make lots of drivers to run bare metal=2E OpenBSD= and NetBSD have some already, but I'm not aware of any efforts in FreeBSD = yet=2E >>=20 >> Apple hardware is *very* non-standard, they don't even use the GIC, hav= ing a custom interrupt controller instead=2E > >well, I have mentioned M1 in post #9 of this long thread as the most inte= resting =E2=80=A6=2E=2E > > really interesting : >https://reviews=2Efreebsd=2Eorg/R10:3a314eb5bb444ec019457e5aefaabb656fcb3= d54 This commit does nothing for *running* on Apple Silicon=2E This is about *building* FreeBSD *from macOS* on Apple Silicon=2E Some peo= ple want cross-builds from anything to work=2E These things are completely orthogonal=2E Someone working on the *running* part would generally have no reason to bu= ild FreeBSD on macOS specifically=2E From owner-freebsd-arm@freebsd.org Wed Mar 31 17:46:44 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BC7D45AA0DE for ; Wed, 31 Mar 2021 17:46:44 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9YfC5DVNz3wMt for ; Wed, 31 Mar 2021 17:46:43 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 12VHkZW7048573 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 31 Mar 2021 19:46:35 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 12VHkZUK048572 for freebsd-arm@freebsd.org; Wed, 31 Mar 2021 19:46:35 +0200 (CEST) (envelope-from fuz) Date: Wed, 31 Mar 2021 19:46:35 +0200 From: Robert Clausecker To: freebsd-arm@freebsd.org Subject: Re: 32-bit executables on aarch64? Message-ID: References: <202103311655.12VGtx3T036893@office.dignus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202103311655.12VGtx3T036893@office.dignus.com> X-Rspamd-Queue-Id: 4F9YfC5DVNz3wMt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-0.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:8:e508::1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:8:e508::1:from:127.0.2.255]; DMARC_NA(0.00)[fuz.su]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 17:46:44 -0000 Hi Thomas, Unfortunately, there is no support for running armv7 executables on arm64, though it would technically be possible to implement. I myself would really like to have this sort of thing but I lack the knowledge to have it. Perhaps someone feels adventurous enough to look into implementing support for this sort of thing. For historical reasons, the i386 and amd64 ports of gcc and clang have a largely shared code base and are essentially the same port. So options -m32, -m64 can be used to switch between them. The same is not possible for armv7 and arm64 which are distinct ports with little to no shared backend code. Consider using -target armv7 instead. Yours, Robert Clausecker Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David Rivers: > > I'm playing around with a (rather-old now) 13.0-pre-pre-pre release > on Raspberry PI 4B. > > I was naively thinking I could just use -m32 to create a 32-bit > executable... but the LLVM there promptly told me it didn't recognize > -m32. > > I installed the gcc V9 port and it said the same thing. > > This begged the question, is there no support of 32-bit ARM (armv7) > executables in the aarch64 environment? > > Just curious... > > - Thanks! - > - Dave Rivers - > > > -- > rivers@dignus.com Work: (919) 676-0847 > Get your mainframe programming tools at http://www.dignus.com > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments From owner-freebsd-arm@freebsd.org Wed Mar 31 17:57:38 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B42835AA6C0 for ; Wed, 31 Mar 2021 17:57:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9Ytn4cWZz4Qn5 for ; Wed, 31 Mar 2021 17:57:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617213455; bh=9RsJXI6WCHqqQG+wcxD7sdKJ2I8tOajdzkljkAPWk5c=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=Dm2bAegVrP4sFal1skMIWc5p95gKON/+D+q5q4M3Lqn8JemzUdCxColhzSThokLTKYdJVSNJXq9o4ZV3L6P0VTK1IDQuNfBG/3N5u4/HMl3kI8xhj1IXjs0bArm0OgEE2m7Uiu3smgTXICWpKRLjvNk9w50SKzKNkX2FVE5tD/MqVE/bZy8R2q66tNIaZvrv8cvO/66nXmmCbaC9+GN754NiMpW3oLHcjZJfmgvrlUh3akXZBFLjCYbEaULO1WUOenCAODLCToB8B0SRKF2R7Hh/Lkawi4r+ql+2tKkvLk0E6nXG0W7vZKAdxFuP/tvA4lKMBJvfTRn/Dv+FehIBWw== X-YMail-OSG: EZ_FCPEVM1ku7t.BpP4GuU9KVMkV8JR_YoSyUsxgRieToDqvwYQ0GVRMZGgpIzt YGlm40KgWAssWCtTlozNEM.Lip1mtgS3SCTzMycI2JSxrnNvyBaxn8xFo2MQhqikAGmt5G0uQ2v0 xdIEn19H3q0RqNUKK.VhQUXzyvxIys3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gOdByLDPQOKljSHLDb_1x_y50 kPXs0PkaKvc0hsS.SXIGLyYCqClS6UIDVvc59OE.e.H58NYxGQiYg31ta_qVf4Gjb20WBEo2Md.D h.w69rJB1.jSmEDhpya43BP6sXsgRi7XCSX7wXba_HaQQZi2hOh4ZzulqN9aoG7WDWT1gfq8bhVv PP2cr1XXgwk9anDN__lxL74h.O0A9Jxdn9wxINV03qe6AJ8E7U02UGM2pf.aKjr6gotyh4NnJXIo hrdjFR3o9fPSPBmZ.bcj0BfxKNq7H.IgFtmgVGQD2I_tdbQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 17:57:35 +0000 Received: by kubenode549.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f1a1da790ad8cb692f29740bb36b7c9e; Wed, 31 Mar 2021 17:57:32 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 32-bit executables on aarch64? From: Mark Millard In-Reply-To: <202103311655.12VGtx3T036893@office.dignus.com> Date: Wed, 31 Mar 2021 10:57:30 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3C61C02F-3402-4C96-819D-856ED65F9CDE@yahoo.com> References: <202103311655.12VGtx3T036893@office.dignus.com> To: Thomas David Rivers X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9Ytn4cWZz4Qn5 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.147:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[98.137.65.147:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 17:57:38 -0000 On 2021-Mar-31, at 09:55, Thomas David Rivers = wrote: > I'm playing around with a (rather-old now) 13.0-pre-pre-pre release > on Raspberry PI 4B. >=20 > I was naively thinking I could just use -m32 to create a 32-bit > executable... but the LLVM there promptly told me it didn't recognize > -m32. >=20 > I installed the gcc V9 port and it said the same thing. >=20 > This begged the question, is there no support of 32-bit ARM (armv7) > executables in the aarch64 environment? Not that you would pick to use the same paths but in my context I have: # ls -Tld /usr/obj/DESTDIRs/clang-armv7-on-aarch64/ drwxr-xr-x 18 root wheel 512 Mar 3 19:14:42 2021 = /usr/obj/DESTDIRs/clang-armv7-on-aarch64/ that contains an armv7 world installed for use with chroot. Starting without a chroot active . . . # file `which uname` /usr/bin/uname: ELF 64-bit LSB pie executable, ARM aarch64, version 1 = (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for = FreeBSD 14.0 (1400005), FreeBSD-style, not stripped # uname -apKU FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm64 aarch64 1400005 1400005 # chroot /usr/obj/DESTDIRs/clang-armv7-on-aarch64/ armv7# file `which uname` /usr/bin/uname: ELF 32-bit LSB executable, ARM, EABI5 version 1 = (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, = FreeBSD-style, for FreeBSD 14.0 (1400005), not stripped armv7# uname -apKU FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm armv7 1400005 1400005 (I did both buildworld builds from the same source.) There is no lib32 implementation for aarch64. So, direct execution of code for armv7 FreeBSD without being in such a chroot is not available. (I ignore qemu and the like here.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 18:05:53 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39C185AA613 for ; Wed, 31 Mar 2021 18:05:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9Z4J1flZz4RYQ for ; Wed, 31 Mar 2021 18:05:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-S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0T qYDAnN0UZKteR8WqCDAV9anNcMARczCRA8sA0zLXnKhYDfm46LQu86EE.sCy2HMNDIPIgQpJKSSM nj7AZmoBtWeweDOJ8yBdnSBY9p9ylz9_3bB3qdj3A5MEjUqS40LUwp0E7KZJ81Aaz0vC5sxbXikt rtj.JuucXXr7Kh97QuCsmyVczYx3mOF3va2m_af25lSy2wmx4z6jjuliDMpBK7quX1Hu_Q99K4HO Z_Ye.uN05lb5Dw_n6WGDW1cseRDrehhj2nXQ2bdpMmE18.nc7120p9r.sVZT2NVLd79fxtykKz9E dkveufLW1S7rkjzR.WWEP.r7x9yDaXIpMOfxFnxGnrkWWSkKuwe.XSl_BynDbNc3fP3kf0lW1l6B AtzX4L3A7Jhn1UaK7xOCOk3LHm85U3eNDnHYo2ihIDYOhLcIpPBTvfyESZoGdaFZ_hBZ5soOoY96 yOw7KNzLseyNMRiYX7qyK7Lj1pb.gg.25Bmma3EAZfDmAzrDeIJ5zOoG_eMjLnYNn5BTYFFYXrEy _jjtqSrbPKua2ZZEe1jb7k3aYNWAFqaEv.ER.np_80pNXarUA.wDYNJ_TWOqcDTxF0NI72N19e5z AxgguPWvJFNVhpH1wmut.1fFlBy16jQI4.a5VeSF96aUV4O10Oe9f_B3GYTNu5cHSCJEBqrNtGJ2 qu9qXc5cA8ufCFoURShIXU11HUeoUWElQv2udpheASePyVx6UyPIGe5br.wNQg7_4g7aiJd5X4Qh BwQ5eRBmpDqAlJFxZMsKAhrFkYvBg2pt7ZWJW9Au0q96WZROymsr9NmcYifdRbgxA08x5pqUqMWD bvzhZY0jl4LIajsvwXkp.rWJsW1fU3R0sZcsIQl7Ryk28v3K8qU9ZGGxp1UCqvJZoY85tiIHDZuj lAy04wQcQdzJmaEqPkP0AEfcb3quANyiemK.TzfU- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 18:05:50 +0000 Received: by kubenode532.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fd45ff717e18a8a428aa5b8661930a78; Wed, 31 Mar 2021 18:05:48 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 32-bit executables on aarch64? From: Mark Millard In-Reply-To: Date: Wed, 31 Mar 2021 11:05:45 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <202103311655.12VGtx3T036893@office.dignus.com> To: Robert Clausecker X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9Z4J1flZz4RYQ X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 18:05:53 -0000 On 2021-Mar-31, at 10:46, Robert Clausecker wrote: > Hi Thomas, > > Unfortunately, there is no support for running armv7 executables > on arm64, though it would technically be possible to implement. > I myself would really like to have this sort of thing but I lack > the knowledge to have it. Perhaps someone feels adventurous > enough to look into implementing support for this sort of thing. aarch64 FreeBSD supports having an armv7 world installed in a directory tree for use with chroot. I've a separate reply to the original submittal showing a use of such. aarch64 FreeBSD lacks lib32 for more direct execution of armv7 FreeBSD code without involving a chroot use (or qemu use or other such). > For historical reasons, the i386 and amd64 ports of gcc and clang > have a largely shared code base and are essentially the same port. > So options -m32, -m64 can be used to switch between them. The same > is not possible for armv7 and arm64 which are distinct ports with > little to no shared backend code. Consider using -target armv7 > instead. > > Yours, > Robert Clausecker > > Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David Rivers: >> >> I'm playing around with a (rather-old now) 13.0-pre-pre-pre release >> on Raspberry PI 4B. >> >> I was naively thinking I could just use -m32 to create a 32-bit >> executable... but the LLVM there promptly told me it didn't recognize >> -m32. >> >> I installed the gcc V9 port and it said the same thing. >> >> This begged the question, is there no support of 32-bit ARM (armv7) >> executables in the aarch64 environment? > === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 18:27:02 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0201C5AB937 for ; Wed, 31 Mar 2021 18:27:02 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dignus.com (adsl-065-013-223-202.sip.rdu.bellsouth.net [65.13.223.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "office.dignus.com", Issuer "office.dignus.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9ZXj2vvXz4SsY for ; Wed, 31 Mar 2021 18:26:59 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from office.dignus.com (localhost [127.0.0.1]) by dignus.com (8.16.1/8.16.1) with ESMTPS id 12VIQw8G038078 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 31 Mar 2021 14:26:58 -0400 (EDT) (envelope-from rivers@office.dignus.com) X-Authentication-Warning: office.dignus.com: Host localhost [127.0.0.1] claimed to be office.dignus.com Received: (from rivers@localhost) by office.dignus.com (8.16.1/8.16.1/Submit) id 12VIQwxD038077; Wed, 31 Mar 2021 14:26:58 -0400 (EDT) (envelope-from rivers) Date: Wed, 31 Mar 2021 14:26:58 -0400 (EDT) From: Thomas David Rivers Message-Id: <202103311826.12VIQwxD038077@office.dignus.com> To: marklmi@yahoo.com, rivers@dignus.com Subject: Re: 32-bit executables on aarch64? Cc: freebsd-arm@freebsd.org In-Reply-To: <3C61C02F-3402-4C96-819D-856ED65F9CDE@yahoo.com> X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on office.dignus.com X-Rspamd-Queue-Id: 4F9ZXj2vvXz4SsY X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of rivers@dignus.com has no SPF policy when checking 65.13.223.202) smtp.mailfrom=rivers@dignus.com X-Spamd-Result: default: False [5.40 / 15.00]; GREYLIST(0.00)[pass,meta]; HFILTER_HOSTNAME_4(2.50)[adsl-065-013-223-202.sip.rdu.bellsouth.net]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com,dignus.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7018, ipnet:65.13.220.0/22, country:US]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.13.223.202:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[rivers]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dignus.com]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[65.13.223.202:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 18:27:02 -0000 marklmi@yahoo.com wrote: > armv7# file `which uname` > /usr/bin/uname: ELF 32-bit LSB executable, ARM, EABI5 version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, FreeBSD-style, for FreeBSD 14.0 (1400005), not stripped > > armv7# uname -apKU > FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT mm-src-n245445-def0058cc690 GENERIC-NODBG arm armv7 1400005 1400005 > > (I did both buildworld builds from the same source.) > > There is no lib32 implementation for aarch64. > So, direct execution of code for armv7 FreeBSD > without being in such a chroot is not available. > (I ignore qemu and the like here.) > > === > Mark Millard Ah! So, the kernel _can_ run a 32-bit executable... but we just can't build one on an aarch64 machine... I wonder if I can "cross-build" an LLVM/dcc for armv7 and just cross-compile to get a 32-bit executable that executes on a 64-bit kernel.. perhaps with -static to avoid any runtime problems? - Dave R. - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com From owner-freebsd-arm@freebsd.org Wed Mar 31 18:38:37 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EBD715AC09D for ; Wed, 31 Mar 2021 18:38:37 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9Zp43WY4z4Tj8 for ; Wed, 31 Mar 2021 18:38:36 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32a.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so1626853wml.2 for ; Wed, 31 Mar 2021 11:38:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=qQMF9QHRIGwcDr6TdflbEd4hKJgU+9KpQuAhSqZVHZ8=; b=slbe3Uhrn/kZKIJwN9rUV3fQJnJI0gzu9xDYZ3Uj52y++MaaoSEQRqbRrIPAWCx7vx TRFVaGVeBWVGHh4P5D8aa4PRNTrFclvghLmexJ8DuA+VP4C/sYVE7VnDqmACWdS3pKJX 9ZPDssk3r8e/HmvCM5fWD7vAb9C8BhJ22fJqU04ZNhrKqTNFUyIVdAebm836F9zYPbaN fxgpBOW4BXeMeKrPjYK5Xvn2aC9uQbxU3vsNKxHsREkcB3qo3UQyZcmm/tpPJmKfEu7q wSJPz7bCJRalSO7WD23FHr3SSVK74AVciFB/gmtJ0bTLmDVjPsI0uSbCS3SLqY8QsLB7 ujWQ== X-Gm-Message-State: AOAM5324gDWrbEJ9+uDo+3oiNkU66xX6bgiB+DiOq6OFQVTGyzbKRSKf gLsD/e4D1Jfhv5z32mMLUaMbANxEvKjR+g== X-Google-Smtp-Source: ABdhPJxznbu92XQretRYzFVUC943TAqAk9478hKh3+c8qu1VTseIQ5Mx1/Qzbkok0q0ZKi2v3k++ZA== X-Received: by 2002:a7b:c186:: with SMTP id y6mr4498589wmi.84.1617215914645; Wed, 31 Mar 2021 11:38:34 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-153-135.46.114.pool.telefonica.de. [46.114.153.135]) by smtp.googlemail.com with ESMTPSA id o62sm19964368wmo.3.2021.03.31.11.38.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Mar 2021 11:38:33 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Wed, 31 Mar 2021 20:38:32 +0200 References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> To: Greg V , freebsd-arm@freebsd.org In-Reply-To: <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> Message-Id: <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9Zp43WY4z4Tj8 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32a:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.153.135:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 18:38:38 -0000 > On March 31, 2021 2:21:57 PM UTC, "Klaus K=C3=BCchemann" = wrote: >>=20 >> really interesting : >> = https://reviews.freebsd.org/R10:3a314eb5bb444ec019457e5aefaabb656fcb3d54 > Am 31.03.2021 um 19:31 schrieb Greg V : > This commit does nothing for *running* on Apple Silicon. >=20 > This is about *building* FreeBSD *from macOS* on Apple Silicon. Some = people want cross-builds from anything to work. >=20 > These things are completely orthogonal. >=20 > Someone working on the *running* part would generally have no reason = to build FreeBSD on macOS specifically. of course has nothing to do with *running* fbsd-OS natively on the M1. But when I=E2=80=99m thinking of buying a machine for ~$1000 or even = much more , I expect some=20 useful features of it. Being able to run fbsd-builds from MacOS is one = of those features. Afaik currently fbsd runs in QEMU/Parallels(don=E2=80=99t know whether = VMware has released something) and kettenis@ of OpenBSD made it "*running*"(for development) from = u-boot. https://twitter.com/bluerise/status/1359644736483655683... =E2=80=A6something from the tux: https://lwn.net/Articles/848307/ Well, compared to the Lx2k the currently max. of 16GB RAM and less cores = of the M1 is something=20 to think about =E2=80=A6 running native fbsd with 16 cores/64GB RAM = seems to be interesting=E2=80=A6 but Dan K. was right : so many ugly gadgets lying around, and then so = much dollars for yet another ugly board ? :-) .. Ha Ha..while also a lot = of SFP-cables still lying around here I=E2=80=99m actually so happy that = they=E2=80=99re no more in use :-) 10 GB SFP+ vs. 40GB thunderbolt 3 =E2=80=A6 well, many things to consider when we think about what to waste our = money on next :-)=E2=80=A6. K. From owner-freebsd-arm@freebsd.org Wed Mar 31 19:39:37 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B965C5AD81A for ; Wed, 31 Mar 2021 19:39:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9c8S47GHz4XDb for ; Wed, 31 Mar 2021 19:39:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617219574; bh=s8JtVn5mkjG7E6meB8vAqieFIOdeFi6T86qjzpbGnuW=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=HaZF9tcLcy8HJtTcbH51/oxRImU4G2UhXQdkY1Ny8SEFRgMe+SKigQOkJvIvtMlB3RvpAncaEX46fhvGweYV02dKxbs93g/+4g8/n0+xxI+Idi4vH9ua43fYid7xclLRArk7B4Vv3cPnGOslx7HouGy81z8LJP1/pmw8LjjJQNBVJaNJ3y9g2FV8wM7KUloaD7B1W0mmX+mcENHZ+VrS9GIZ78R3Jp5+CBtFoCCCVH6a6JDkWCU58QKtU7Z6iJzsz4ZZ5HfCO9GGSz9ZbFgESz2xiyEPO7nt/EAJRdWd4AR2i2i7JoIIU31FWUYsDwSwZ+cli4dc8jp+7klWvj6pJw== X-YMail-OSG: HuBV9ewVM1mI17LSQRTDwffREe_rLEqiNDksKLdT2DfJvKAXnYhhXMAB40f_2US TokpIV_sZqFT6RCrFBitMqmVsoPm2U3VzdCO3Dn6mplpVqmRrM9KGqDFoonGu9Ro9EPz3.BqVyya 0U2hCYhn5U6G4Gn68JTFJC2QJnNCVZMh6q_GMtkqJclP2wyjbhq5AUHB9yXAx67q58TWYvKf0T1G .eAk01cwGB22ZIC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Q2S3MFKcA7BCnjWWWE8oIZyoQgZBCeJ9qhusx xNOk8YDKv2FH7bWZC0EHx4TT669NuwV2QMrKCLn_jaEnFcV2c3heaAGElStEQmjW18pvcrfycgoo o7lWln8rDLuH1rla63o5xLls21RXUcNVL1ga1ZgoWWfFlZO_ENLtb_he3jsTVh8TTdtfnR6ubHpN g37O4BIR8L0B68.Q9uTWenTcljfCkBpB1UOtfSBk9VpE5sAg- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 19:39:34 +0000 Received: by kubenode541.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 1b3dba9e371ce9f07d0c7fa67cbb9886; Wed, 31 Mar 2021 19:39:32 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 32-bit executables on aarch64? From: Mark Millard In-Reply-To: <202103311826.12VIQwxD038077@office.dignus.com> Date: Wed, 31 Mar 2021 12:39:30 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202103311826.12VIQwxD038077@office.dignus.com> To: Thomas David Rivers X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9c8S47GHz4XDb X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.31:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.65.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 19:39:37 -0000 On 2021-Mar-31, at 11:26, Thomas David Rivers = wrote: > marklmi@yahoo.com wrote: >> armv7# file `which uname` >> /usr/bin/uname: ELF 32-bit LSB executable, ARM, EABI5 version 1 = (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, = FreeBSD-style, for FreeBSD 14.0 (1400005), not stripped >>=20 >> armv7# uname -apKU >> FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm armv7 1400005 1400005 >>=20 >> (I did both buildworld builds from the same source.) >>=20 >> There is no lib32 implementation for aarch64. >> So, direct execution of code for armv7 FreeBSD >> without being in such a chroot is not available. >> (I ignore qemu and the like here.) >>=20 >> =3D=3D=3D >> Mark Millard >=20 > Ah! >=20 > So, the kernel _can_ run a 32-bit executable... Only in a chroot to an armv7 world, not directly. You can use the chroot's system compiler/toolchain to build armv7 materials for use in the chroot. powerpc64 FreeBSD on on PowerMacs has a lib32 in the powerpc64 world and so allows 32-bit powerpc FreeBSD coded to be used either with or without a choot being in use to do so. amd64 and i386 are similar. More than the kernel is involved in avoiding the need for a chroot to be in use. powerpc64 allows building without lib32 and without it the handling is like for aarch64 and armv7. > but we just can't > build one on an aarch64 machine... Without a lib32 in the aarch64 world, the armv7 FreeBSD code use has to be from inside an appropriate chroot as far as I know. > I wonder if I can "cross-build" an LLVM/dcc for armv7 and just > cross-compile to get a 32-bit executable that executes on=20 > a 64-bit kernel.. perhaps with -static to avoid any runtime problems? armv7 FreeBSD code use: only in an appropriate chroot unless the lib32 has been implmented (as is installed). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 20:11:05 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3AF45AE98A for ; Wed, 31 Mar 2021 20:11:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9crm58qJz4ZM2 for ; Wed, 31 Mar 2021 20:11:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617221462; bh=WlmGWSbiEIyJCiERkkEBfq5RkKPjpUcson7D9oHQBtL=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=TPxzbvQPEPiEtr9ORbiqfJjxlq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1v60gHO5qb_QT7LIln03VkTJG_EHOauGSojRU8NGxKPN3hcS1wIOJkKaiGf7KPGOOtIed65oZ 79Q9NHAWf.PJWfEeyrGfAGP237iYLwP39ELItnFk49iI1jsDTQuEXc5uIP2O.A1GgL_1nce4SR2v 2Xyc8dym0xUp20ZerHhIB1dW7vgbsGqVA7gwgG7ltCKv5D1JHxWZGiclXNwCZCpiP3DPSmRn1I8u tl9vUCq5wntXE4HOSXrUw5EZweLcbLHaxVINGq7b4L9zfg_qKyp.7m8nqWYOLv211TBS_DdfjhyY p4hPRktdg2RFWBIMd8UjDwK2zbW9cF890NPbXcrs5VtGoIZBKrlj5g5Z_gwXr2o4yaNkfVasUalN lf0qQNT7H3Viq0YQcxb1pytat8Q8dUF.uJtZtpL_F6DDxUCFaEkVfE1UmOl0XCrwrVmyJlMICRbf OYqsslay7gdFEFxjgbuXs8r40Sp7ylT0xNU0_pOEl69Xqcs5KfBJunVy8guYd1hqqHPUfZe0Y0kZ HTSF82LO6HeWPg8y1_p_0j8_d_tnkDldntNOcphYXaELmfmN7PJwMTfFBm2fqPK9fVwIkTPhhOWA FUZHC2VGCDMQaoQTNaIsvO9_52eRPWV7q6w3xVGQdqN1JyZysLEbjshLQIrVIXjg2tEA0Ir5OLQK UDpNCGQhb1RK6m5eRKQN7WGS6geowU.nM0ic7vQ6VT27auqpNxxwVpp0.NEFy2kSzFw2ong-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 20:11:02 +0000 Received: by kubenode581.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8573a8067d7d51e92929274a44224ff7; Wed, 31 Mar 2021 20:10:58 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 32-bit executables on aarch64? From: Mark Millard In-Reply-To: Date: Wed, 31 Mar 2021 13:10:58 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202103311826.12VIQwxD038077@office.dignus.com> To: Thomas David Rivers X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9crm58qJz4ZM2 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.205:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.65.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.205:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 20:11:06 -0000 On 2021-Mar-31, at 12:39, Mark Millard wrote: > On 2021-Mar-31, at 11:26, Thomas David Rivers = wrote: >=20 >> marklmi@yahoo.com wrote: >>> armv7# file `which uname` >>> /usr/bin/uname: ELF 32-bit LSB executable, ARM, EABI5 version 1 = (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, = FreeBSD-style, for FreeBSD 14.0 (1400005), not stripped >>>=20 >>> armv7# uname -apKU >>> FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm armv7 1400005 1400005 >>>=20 >>> (I did both buildworld builds from the same source.) >>>=20 >>> There is no lib32 implementation for aarch64. >>> So, direct execution of code for armv7 FreeBSD >>> without being in such a chroot is not available. >>> (I ignore qemu and the like here.) >>>=20 >>> =3D=3D=3D >>> Mark Millard >>=20 >> Ah! >>=20 >> So, the kernel _can_ run a 32-bit executable... >=20 > Only in a chroot to an armv7 world, not directly. > You can use the chroot's system compiler/toolchain > to build armv7 materials for use in the chroot. >=20 > powerpc64 FreeBSD on on PowerMacs has a lib32 in > the powerpc64 world and so allows 32-bit powerpc > FreeBSD coded to be used either with or without > a choot being in use to do so. amd64 and i386 are > similar. More than the kernel is involved in > avoiding the need for a chroot to be in use. >=20 > powerpc64 allows building without lib32 and > without it the handling is like for aarch64 > and armv7. >=20 >> but we just can't >> build one on an aarch64 machine... >=20 > Without a lib32 in the aarch64 world, the armv7 > FreeBSD code use has to be from inside an > appropriate chroot as far as I know. >=20 >> I wonder if I can "cross-build" an LLVM/dcc for armv7 and just >> cross-compile to get a 32-bit executable that executes on=20 >> a 64-bit kernel.. perhaps with -static to avoid any runtime problems? >=20 > armv7 FreeBSD code use: only in an appropriate > chroot unless the lib32 has been implmented > (as is installed). Some powerpc64 vs. aarch64 comparisons/contrasts: powerpc64 (built with lib32): # ls -ldt /libexec/*ld* -r-xr-xr-x 1 root wheel 143412 Mar 3 19:12 /libexec/ld-elf32.so.1 -r-xr-xr-x 1 root wheel 151528 Mar 3 19:12 /libexec/ld-elf.so.1 The ld-elf32.so.1 is generated by the lib32 build during buildworld (and later is installed). # file /libexec/ld-elf*.so.1 /libexec/ld-elf.so.1: ELF 64-bit MSB shared object, 64-bit PowerPC or = cisco 7500, OpenPOWER ELF V2 ABI, version 1 (FreeBSD), dynamically = linked, for FreeBSD 14.0 (1400005), not stripped /libexec/ld-elf32.so.1: ELF 32-bit MSB shared object, PowerPC or cisco = 4500, version 1 (FreeBSD), dynamically linked, for FreeBSD 14.0 = (1400005), not stripped aarch64 (no option to build lib32): # ls -ldt /libexec/*ld* -r-xr-xr-x 1 root wheel 136600 Mar 3 20:37 /libexec/ld-elf.so.1 # file /libexec/ld-elf*.so.1 /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, ARM aarch64, = version 1 (FreeBSD), dynamically linked, for FreeBSD 14.0 (1400005), not = stripped So aarch64 FreeBSD just does not have the supporting infrastructure in place to run armv7 FreeBSD code directly. But powerpc64 built with lib32 also has: # ls -Tld /usr/lib32/* | more -r--r--r-- 1 root wheel 7816 Mar 12 14:07:13 2021 = /usr/lib32/Scrt1.o -r--r--r-- 1 root wheel 7772 Mar 12 14:07:13 2021 = /usr/lib32/crt1.o -r--r--r-- 1 root wheel 3488 Mar 12 14:07:13 2021 = /usr/lib32/crtbegin.o -r--r--r-- 1 root wheel 3852 Mar 12 14:07:13 2021 = /usr/lib32/crtbeginS.o -r--r--r-- 1 root wheel 3488 Mar 12 14:07:13 2021 = /usr/lib32/crtbeginT.o -r--r--r-- 1 root wheel 2828 Mar 12 14:07:13 2021 = /usr/lib32/crtend.o -r--r--r-- 1 root wheel 2896 Mar 12 14:07:13 2021 = /usr/lib32/crtendS.o -r--r--r-- 1 root wheel 2184 Mar 12 14:07:13 2021 = /usr/lib32/crti.o -r--r--r-- 1 root wheel 1664 Mar 12 14:07:13 2021 = /usr/lib32/crtn.o -r--r--r-- 1 root wheel 8900 Mar 12 14:07:13 2021 = /usr/lib32/crtsavres.o drwxr-xr-x 2 root wheel 512 Mar 12 21:29:28 2021 = /usr/lib32/dtrace drwxr-xr-x 2 root wheel 512 Mar 12 21:29:28 2021 = /usr/lib32/engines -r--r--r-- 1 root wheel 8100 Mar 12 14:07:13 2021 = /usr/lib32/gcrt1.o drwxr-xr-x 2 root wheel 512 Mar 12 21:29:28 2021 /usr/lib32/geom drwxr-xr-x 2 root wheel 1536 Mar 12 21:29:28 2021 /usr/lib32/i18n -r--r--r-- 1 root wheel 56050 Mar 3 19:13:13 2021 = /usr/lib32/lib80211.a lrwxr-xr-x 1 root wheel 13 Mar 12 14:07:13 2021 = /usr/lib32/lib80211.so -> lib80211.so.1 -r--r--r-- 1 root wheel 22604 Mar 12 14:07:13 2021 = /usr/lib32/lib80211.so.1 -r--r--r-- 1 root wheel 57348 Mar 3 19:13:13 2021 = /usr/lib32/lib80211_p.a -r--r--r-- 1 root wheel 494894 Mar 3 19:13:12 2021 = /usr/lib32/lib9p.a lrwxr-xr-x 1 root wheel 10 Mar 12 14:07:13 2021 = /usr/lib32/lib9p.so -> lib9p.so.1 -r--r--r-- 1 root wheel 119288 Mar 12 14:07:13 2021 = /usr/lib32/lib9p.so.1 -r--r--r-- 1 root wheel 502702 Mar 3 19:13:12 2021 = /usr/lib32/lib9p_p.a -r--r--r-- 1 root wheel 28658 Mar 3 19:13:12 2021 = /usr/lib32/libBlocksRuntime.a lrwxr-xr-x 1 root wheel 21 Mar 12 14:07:13 2021 = /usr/lib32/libBlocksRuntime.so -> libBlocksRuntime.so.0 -r--r--r-- 1 root wheel 12796 Mar 12 14:07:13 2021 = /usr/lib32/libBlocksRuntime.so.0 -r--r--r-- 1 root wheel 30794 Mar 3 19:13:12 2021 = /usr/lib32/libBlocksRuntime_p.a -r--r--r-- 1 root wheel 217736 Mar 3 19:13:12 2021 = /usr/lib32/libalias.a lrwxr-xr-x 1 root wheel 13 Mar 12 14:07:13 2021 = /usr/lib32/libalias.so -> libalias.so.7 . . . lrwxr-xr-x 1 root wheel 15 Mar 12 14:07:13 2021 = /usr/lib32/pam_rhosts.so -> pam_rhosts.so.6 -r--r--r-- 1 root wheel 5748 Mar 12 14:07:13 2021 = /usr/lib32/pam_rhosts.so.6 lrwxr-xr-x 1 root wheel 15 Mar 12 14:07:13 2021 = /usr/lib32/pam_rootok.so -> pam_rootok.so.6 -r--r--r-- 1 root wheel 5132 Mar 12 14:07:13 2021 = /usr/lib32/pam_rootok.so.6 lrwxr-xr-x 1 root wheel 18 Mar 12 14:07:13 2021 = /usr/lib32/pam_securetty.so -> pam_securetty.so.6 -r--r--r-- 1 root wheel 6228 Mar 12 14:07:13 2021 = /usr/lib32/pam_securetty.so.6 lrwxr-xr-x 1 root wheel 13 Mar 12 14:07:13 2021 = /usr/lib32/pam_self.so -> pam_self.so.6 -r--r--r-- 1 root wheel 5612 Mar 12 14:07:13 2021 = /usr/lib32/pam_self.so.6 lrwxr-xr-x 1 root wheel 12 Mar 12 14:07:13 2021 = /usr/lib32/pam_ssh.so -> pam_ssh.so.6 -r--r--r-- 1 root wheel 15504 Mar 12 14:07:13 2021 = /usr/lib32/pam_ssh.so.6 lrwxr-xr-x 1 root wheel 16 Mar 12 14:07:13 2021 = /usr/lib32/pam_tacplus.so -> pam_tacplus.so.6 -r--r--r-- 1 root wheel 11036 Mar 12 14:07:13 2021 = /usr/lib32/pam_tacplus.so.6 lrwxr-xr-x 1 root wheel 13 Mar 12 14:07:13 2021 = /usr/lib32/pam_unix.so -> pam_unix.so.6 -r--r--r-- 1 root wheel 16324 Mar 12 14:07:13 2021 = /usr/lib32/pam_unix.so.6 lrwxr-xr-x 1 root wheel 16 Mar 12 14:07:13 2021 = /usr/lib32/pam_zfs_key.so -> pam_zfs_key.so.6 -r--r--r-- 1 root wheel 20492 Mar 12 14:07:13 2021 = /usr/lib32/pam_zfs_key.so.6 where aarch64 has: # ls -Tld /usr/lib32/* ls: /usr/lib32/*: No such file or directory =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 21:12:07 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D3C45B109A for ; Wed, 31 Mar 2021 21:12:07 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9fCB2ZlLz4fZS for ; Wed, 31 Mar 2021 21:12:06 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 12VLC47K060920 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 31 Mar 2021 23:12:04 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 12VLC4gP060919 for freebsd-arm@freebsd.org; Wed, 31 Mar 2021 23:12:04 +0200 (CEST) (envelope-from fuz) Date: Wed, 31 Mar 2021 23:12:04 +0200 From: Robert Clausecker To: freebsd-arm@freebsd.org Subject: Re: 32-bit executables on aarch64? Message-ID: References: <202103311655.12VGtx3T036893@office.dignus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4F9fCB2ZlLz4fZS X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-0.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:8:e508::1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:8:e508::1:from:127.0.2.255]; DMARC_NA(0.00)[fuz.su]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 21:12:07 -0000 Hi Mark, This is news to me. Excellent news! I can't say how grateful I am for having this pointed out by you. Can now go ahead and throw out my dedicated armv7 test machine which has caused me a lot of head aches with world builds and all that. Yours, Robert Clausecker Am Wed, Mar 31, 2021 at 11:05:45AM -0700 schrieb Mark Millard: > > On 2021-Mar-31, at 10:46, Robert Clausecker wrote: > > > Hi Thomas, > > > > Unfortunately, there is no support for running armv7 executables > > on arm64, though it would technically be possible to implement. > > I myself would really like to have this sort of thing but I lack > > the knowledge to have it. Perhaps someone feels adventurous > > enough to look into implementing support for this sort of thing. > > aarch64 FreeBSD supports having an armv7 world installed > in a directory tree for use with chroot. > > I've a separate reply to the original submittal showing > a use of such. > > aarch64 FreeBSD lacks lib32 for more direct execution > of armv7 FreeBSD code without involving a chroot use (or > qemu use or other such). > > > For historical reasons, the i386 and amd64 ports of gcc and clang > > have a largely shared code base and are essentially the same port. > > So options -m32, -m64 can be used to switch between them. The same > > is not possible for armv7 and arm64 which are distinct ports with > > little to no shared backend code. Consider using -target armv7 > > instead. > > > > Yours, > > Robert Clausecker > > > > Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David Rivers: > >> > >> I'm playing around with a (rather-old now) 13.0-pre-pre-pre release > >> on Raspberry PI 4B. > >> > >> I was naively thinking I could just use -m32 to create a 32-bit > >> executable... but the LLVM there promptly told me it didn't recognize > >> -m32. > >> > >> I installed the gcc V9 port and it said the same thing. > >> > >> This begged the question, is there no support of 32-bit ARM (armv7) > >> executables in the aarch64 environment? > > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments From owner-freebsd-arm@freebsd.org Wed Mar 31 22:02:33 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6176D5B2358 for ; Wed, 31 Mar 2021 22:02:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-21.consmr.mail.gq1.yahoo.com (sonic317-21.consmr.mail.gq1.yahoo.com [98.137.66.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9gKN23rJz4jCW for ; Wed, 31 Mar 2021 22:02:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617228149; bh=anPwKjgNy2f1kQRcyHCcPry04+1bG/0AaR2OIPUVBAU=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=VFNIgzxwC49aZ6hy7V6uVClM8WePc+Zt2dDByYFluJvWQQODhnltqg7hG2SLTwVXZmO7NrhM53Wz+R/JzBbc2SXHU+bv+9qMlubPFuSYblV9yxLU/UvSIFe+gf823nbiRQwSknVRiPXO+Nv3qKBRrhBGiWvpxmA1+3tCpg77wxAeowvT7BASmcKpPXjFTHOhYlgOIIC/RhaAqGirOteU7oJUU7BsxPtyihFyMr7cr60J7vqYD9WIPorXBxreaqp55HzFq+L3wggXpMXlTmcnjqAAHITMaIjagb1TegPJtkMTtgyMqQRx1FlicMmJGEJjzuaZTXWqJSg3I6DvuR8/6Q== X-YMail-OSG: 5642tlcVM1n1QNCGztk1GfC1vSW7Ha0Lq.2wlcvcDQ8FCcuQGacsk.7Ox08sOjb YajAhronFiErEdtKbeNmZiSD_30Dpca0obQgS5nSVh_hdbwtN6KdQGYgh.vQJLx219nDg.ko5EB9 yVNBdzSlnAcJal0YB5xfX8CkSkiB2Q6PrBWSv5FkdOOmiqq84ReZCcLj.j3OILw7ENnGvlDFAG6a t37GkJkP.D9oTAhQpFQxKmihPZUCwv.kyMUpYo96.ObVu93C1u4tz9IhY7xXI8uVfixRM58rsIV9 .3.Wmu1o9zmZ2cecnAfnjQaLMyZTAiRVNlV5bjNNd_q3yebZfjMrkcKQEn3pgmpJOJohkC2zT.6H 9zt_56iG7Pt8MUe0nsmIPasGL_zESrIEjIKtX3ccs.wc4U.A.uwj7BTRpfLGh5KAznCAK6NqlfX8 nB0GsTxvKPRZB.XbdNy1Iu8Ivfd8esbYmjuXpB29bs_dyInSjXWgOPHj_SVvRrP4qrHbDJLH64Pb 1VE_Bc9.RzQ9RKHnw8BysE0WzRhO2DMJZ8crRe8mwP36p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ixsTwImjpcuSYtIMp542G0wuvuiKhTcyZQD m37CX48sooMo59yQbcK93UeEzngVXgI5xkskpLczMqBGG5P2v6l6UeFcIjExNiLc6N0dLn9wJC06 0uBXOR5GvZQfbLtyJoJzrZY1wFagISROd2ZRvVu_ewNAtjSwzW.Aw09ELbB9RPVAlpV66G2ODsFu 81Dn6NwkvU1dazVNDuv.Un2L3BJkSTYkcBKXpLb44zM.D5qbMNcO64pG6bY2Ifp.27xlaeAIvrYH h4VL4oqLslDSNzTSsKWLLfMuqfAiCm7e8SiqHgiBr9LwB0jaQ02ql.qTm9RGy.nO_HCDG1yq1LPf ifs55lGkdfmRv2cjT_iE22lJ.s.opVThceOmv4_BLuyJrEEi9_.eWCoyioVUyGXLvsneQ7TiIlry UbvTYIeHf7l3EzSLLDY2In7WNiig0PPt.2FKIIk21peC5aIjgbVW1fKO9gkvkt_ksnugG7.VlbHu sB2T0Vuz_NNRyos7EPKIue5nuLnMqTgXc5ZQxgkU_g84AzZQiM8UkhdX0AiQDB69Pp3ByQdT60e3 kjydsVtblA.3v7AHmNUUszghDJNBbHwpLAcuNiVsFZyjLNcc5EuhbOy_BXOLyAVnjE9iP1dp8mZf 3S4PnTfu9DtaWmkRBl64PwJ0X6jIdfb.0oQ0uKcAOvZYvZKL_.eOR.fHqglWbq_PC_JoMpOpXqNi _XiEHyw09FGhOn04Ra9kYBZtci2tnzPt3BVYf490EZeLsDUls3hDT652Hve7ms_Uj_YVfSuYO01y RAg_o0o.q_eeFlxRgt1sNxFyFxvbYLwok7Ix6Ym74p2HMrpQ6r2GR1SfqUT863LQHhMxMrAoH3v0 jleUy9Mz_roBBuYdDZiaJipBxe4SYYIJvoFzGl162iIEVF2yOhQmGLeiqJfR. X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 22:02:29 +0000 Received: by kubenode516.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8e3fee5b1f59537d0c3ce9446beadc83; Wed, 31 Mar 2021 22:02:28 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 32-bit executables on aarch64? From: Mark Millard In-Reply-To: Date: Wed, 31 Mar 2021 15:02:27 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <202103311655.12VGtx3T036893@office.dignus.com> To: Robert Clausecker X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9gKN23rJz4jCW X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.66.147:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.66.147:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.147:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 22:02:33 -0000 On 2021-Mar-31, at 14:12, Robert Clausecker wrote: > Hi Mark, > > This is news to me. Excellent news! I can't say how grateful I am > for having this pointed out by you. Can now go ahead and throw out > my dedicated armv7 test machine which has caused me a lot of > head aches with world builds and all that. > > Somewhat depends on the type/intent of the testing activity. If testing the armv7 kernel is part of the point, then building might be done on the likely faster (and more RAM across processes) aarch64 environment in the chroot and some testing there as well. But for armv7 kernel testing, it would take use in an environment that was running actual armv7 FreeBSD kernel and world. If such is needed, you can still buildworld, buildkernel, and build ports in a faster/more-RAM environment. One way to have an armv7 chroot available in aarch64 is to have the media that is used for the actual armv7 system temporarily connected to the aarch64 system and mount the file system and chroot into it to do the builds and installs and such. (Might not be as easy if the armv7 system context is split into multiple mount points.) Later exit the chroot, dismount, connect back up to the armv7 system, and boot. (I'm not addressing special handling of u-boot or an msdos file system's contents or the like here.) As for installkernel installworld, etcupdate, etc. if instead a cross build was made outside a chroot, the installs and such can target a mounted file system (DESTDIR= and the like is involved). This also avoids some of the technical issues that can be involved for live updating the same system that is running. Building armv7 ports on aarch64 would always involve a chroot (possibly implicitly via poudriere's cross build way of working for such). It is rare that I build for armv7 on an armv7. It is also rare that I build for aarch64 on slower aarch64 machines. A similar point was always been true for my historical powerpc64 and 32-bit powerpc activities. > > Am Wed, Mar 31, 2021 at 11:05:45AM -0700 schrieb Mark Millard: >> >> On 2021-Mar-31, at 10:46, Robert Clausecker wrote: >> >>> Hi Thomas, >>> >>> Unfortunately, there is no support for running armv7 executables >>> on arm64, though it would technically be possible to implement. >>> I myself would really like to have this sort of thing but I lack >>> the knowledge to have it. Perhaps someone feels adventurous >>> enough to look into implementing support for this sort of thing. >> >> aarch64 FreeBSD supports having an armv7 world installed >> in a directory tree for use with chroot. >> >> I've a separate reply to the original submittal showing >> a use of such. >> >> aarch64 FreeBSD lacks lib32 for more direct execution >> of armv7 FreeBSD code without involving a chroot use (or >> qemu use or other such). >> >>> For historical reasons, the i386 and amd64 ports of gcc and clang >>> have a largely shared code base and are essentially the same port. >>> So options -m32, -m64 can be used to switch between them. The same >>> is not possible for armv7 and arm64 which are distinct ports with >>> little to no shared backend code. Consider using -target armv7 >>> instead. >>> >>> Yours, >>> Robert Clausecker >>> >>> Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David Rivers: >>>> >>>> I'm playing around with a (rather-old now) 13.0-pre-pre-pre release >>>> on Raspberry PI 4B. >>>> >>>> I was naively thinking I could just use -m32 to create a 32-bit >>>> executable... but the LLVM there promptly told me it didn't recognize >>>> -m32. >>>> >>>> I installed the gcc V9 port and it said the same thing. >>>> >>>> This begged the question, is there no support of 32-bit ARM (armv7) >>>> executables in the aarch64 environment? >>> > === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 22:45:47 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4A415B35ED for ; Wed, 31 Mar 2021 22:45:47 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9hHG6m68z4lPf for ; Wed, 31 Mar 2021 22:45:46 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 12VMjiQM066875 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 1 Apr 2021 00:45:44 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 12VMjifX066874 for freebsd-arm@freebsd.org; Thu, 1 Apr 2021 00:45:44 +0200 (CEST) (envelope-from fuz) Date: Thu, 1 Apr 2021 00:45:44 +0200 From: Robert Clausecker To: freebsd-arm@freebsd.org Subject: Re: 32-bit executables on aarch64? Message-ID: References: <202103311655.12VGtx3T036893@office.dignus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4F9hHG6m68z4lPf X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-2.09 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:8:e508::1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:8:e508::1:from:127.0.2.255]; DMARC_NA(0.00)[fuz.su]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.79)[-0.791]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 22:45:47 -0000 Hi Mark, The intent is to test and develop software that only runs on armv7 (specifically, Mecrisp Stellaris, a Forth system written in ARM assembly). This is best done natively. It's actually kinda annoying that no binary release tarballs are provided for armv7, so setting up the jail involves an annoying make world step. For amd64 jails, I can just unpack the binary tarballs and fix the configuration and I'm good to go. The problem with the armv7 machine was that it didn't have enough RAM to make world (and setting up swap on an SD card is a surefire way to send it to an early grave, so I'd rather avoid that). Ended up having to swap over NFS and wait more than a week for make world to complete. And that only because there is no other way to upgrade the machine remotely. If only there were binary release tarballs... But surely, lib32 support for arm64 would be even better in this regard. Yours, Robert Clausecker Am Wed, Mar 31, 2021 at 03:02:27PM -0700 schrieb Mark Millard: > > > On 2021-Mar-31, at 14:12, Robert Clausecker wrote: > > > Hi Mark, > > > > This is news to me. Excellent news! I can't say how grateful I am > > for having this pointed out by you. Can now go ahead and throw out > > my dedicated armv7 test machine which has caused me a lot of > > head aches with world builds and all that. > > > > > > Somewhat depends on the type/intent of the testing activity. > If testing the armv7 kernel is part of the point, then > building might be done on the likely faster (and more RAM > across processes) aarch64 environment in the chroot and > some testing there as well. But for armv7 kernel testing, > it would take use in an environment that was running actual > armv7 FreeBSD kernel and world. > > If such is needed, you can still buildworld, buildkernel, > and build ports in a faster/more-RAM environment. > > One way to have an armv7 chroot available in aarch64 is to > have the media that is used for the actual armv7 system > temporarily connected to the aarch64 system and mount the > file system and chroot into it to do the builds and > installs and such. (Might not be as easy if the armv7 > system context is split into multiple mount points.) > Later exit the chroot, dismount, connect back up to the > armv7 system, and boot. (I'm not addressing special > handling of u-boot or an msdos file system's contents > or the like here.) > > As for installkernel installworld, etcupdate, etc. if > instead a cross build was made outside a chroot, the > installs and such can target a mounted file system > (DESTDIR= and the like is involved). This also avoids > some of the technical issues that can be involved for > live updating the same system that is running. > > Building armv7 ports on aarch64 would always involve a > chroot (possibly implicitly via poudriere's cross build > way of working for such). > > It is rare that I build for armv7 on an armv7. It is also > rare that I build for aarch64 on slower aarch64 machines. > A similar point was always been true for my historical > powerpc64 and 32-bit powerpc activities. > > > > > Am Wed, Mar 31, 2021 at 11:05:45AM -0700 schrieb Mark Millard: > >> > >> On 2021-Mar-31, at 10:46, Robert Clausecker wrote: > >> > >>> Hi Thomas, > >>> > >>> Unfortunately, there is no support for running armv7 executables > >>> on arm64, though it would technically be possible to implement. > >>> I myself would really like to have this sort of thing but I lack > >>> the knowledge to have it. Perhaps someone feels adventurous > >>> enough to look into implementing support for this sort of thing. > >> > >> aarch64 FreeBSD supports having an armv7 world installed > >> in a directory tree for use with chroot. > >> > >> I've a separate reply to the original submittal showing > >> a use of such. > >> > >> aarch64 FreeBSD lacks lib32 for more direct execution > >> of armv7 FreeBSD code without involving a chroot use (or > >> qemu use or other such). > >> > >>> For historical reasons, the i386 and amd64 ports of gcc and clang > >>> have a largely shared code base and are essentially the same port. > >>> So options -m32, -m64 can be used to switch between them. The same > >>> is not possible for armv7 and arm64 which are distinct ports with > >>> little to no shared backend code. Consider using -target armv7 > >>> instead. > >>> > >>> Yours, > >>> Robert Clausecker > >>> > >>> Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David Rivers: > >>>> > >>>> I'm playing around with a (rather-old now) 13.0-pre-pre-pre release > >>>> on Raspberry PI 4B. > >>>> > >>>> I was naively thinking I could just use -m32 to create a 32-bit > >>>> executable... but the LLVM there promptly told me it didn't recognize > >>>> -m32. > >>>> > >>>> I installed the gcc V9 port and it said the same thing. > >>>> > >>>> This begged the question, is there no support of 32-bit ARM (armv7) > >>>> executables in the aarch64 environment? > >>> > > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments From owner-freebsd-arm@freebsd.org Wed Mar 31 23:20:42 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 537C35B49A4 for ; Wed, 31 Mar 2021 23:20:42 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9j3Y21LGz4mwJ for ; Wed, 31 Mar 2021 23:20:40 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by mail-qk1-x729.google.com with SMTP id o5so594734qkb.0 for ; Wed, 31 Mar 2021 16:20:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=06WcYbfT2hEI2/scbTORvRElrUkY7Aeg7dFq87T7Gvs=; b=J6g1N5wsujlNacQTlnrK6uHEQNH9EFr1sxsM7XPn+rHqg3kaxxNK4RMKiO+JzCa2St Ip+nkhLPYInhw8fsZFHbddC4eiKhdDEkS1fvQGBES3IXDBt0x44wsjk6AQ+zzLco5zq2 upR/ouDGISm2Vj58+cd4zlo1Szxqr2wAO4Fwp8FczRuOwxXQViUJ/RE9yaYMa27jVy5R m6n4oW3/OcEKq27qLgth7VCsfD2iLE4Vi3heHQeKEomfTOGAaVpDNJp/LOp+wn/4Lawu J5/UB1GXwurtyHw2kCltpU+QHz0TW8l8Myj08rrq8PpRTGnnpAQHRAXWRt8ZSfl12yW0 NtzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=06WcYbfT2hEI2/scbTORvRElrUkY7Aeg7dFq87T7Gvs=; b=KRrtj53y2Ndyc+3HF4jZmiI/fP72VO8jWZC0rbqFTHjEFA4NS39q3MCcGOPbSQ8whB f0caXH/B16/cEu1JHuStVl5mj4qAvfAkXA8bPR57Ip6a9o7m2vXAoZ4m3hYNTKXCB/8Y cMDFTDTTFKtnR+1unXGAAiH3dWPy3bGCHOJ6924iRgv9PR0AhUTiLI3kyl7AvTee+AMg h/Euir0OsQAtZCEFt91i2+s8mx4QhU9CN1YiAfauFF04xwR+uP5yQQOsuNSQqeHUOIL2 sQf4it8+c4UZf0kpb8+w2jeNfi7FMaK3tS/GjFxtb5AdXwLlbpBFxvnNG+WEYjGv6r7a giZA== X-Gm-Message-State: AOAM5302aid39WK3sABGwInI2wZ8g7waQ0EWAWvaafTqLv9ulMSW2tnx yiXV7peKljmKp3DoqwlAfWsxCdoiHWA= X-Google-Smtp-Source: ABdhPJzoiitLfCXGHX34M4OXLkTgpUbDkfn3+qpo4C2hzv8qH5J0dYpQRSAKHKmCdzx3zeHCqYcPAQ== X-Received: by 2002:ae9:e912:: with SMTP id x18mr5764394qkf.475.1617232839222; Wed, 31 Mar 2021 16:20:39 -0700 (PDT) Received: from kan ([2601:18f:700:9240:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id m13sm2491399qkk.16.2021.03.31.16.20.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 16:20:38 -0700 (PDT) Date: Wed, 31 Mar 2021 19:20:36 -0400 From: Alexander Kabaev To: freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: <20210331192030.3fb9314f@kan> In-Reply-To: References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F9j3Y21LGz4mwJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=J6g1N5ws; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kabaev@gmail.com designates 2607:f8b0:4864:20::729 as permitted sender) smtp.mailfrom=kabaev@gmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::729:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::729:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::729:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 23:20:42 -0000 On Tue, 30 Mar 2021 17:14:01 -0700 Mark Millard via freebsd-arm wrote: > On 2021-Mar-30, at 16:32, Ian Lepore wrote: > > > On Tue, 2021-03-30 at 22:52 +0000, Dan Kotowski wrote: > >>> `guess SFP+ would need more special driver-attention ... > >>> from quick reading around the web I guess the DPAA2 also needs a > >>> closed source binary blob. > >> > >> So this actually comes from NXP, not SolidRun. Linux already has > >> some/most of what's needed, and the license is GPL-2.0+ OR BSD-3- > >> Clause so there's hope, but I haven't heard a peep from NXP and > >> SolidRun doesn't really have the manpower to port to FreeBSD > >> themselves. > >> > >> > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/freescale/dpaa2/ > > > > That's actually very good news. If it's dual-licensed it can be > > included in freebsd without any drama. Still needs porting work, or > > maybe it could run using the linuxkpi stuff? > > > > The files there are a mix: a few list just: > > # SPDX-License-Identifier: GPL-2.0-only > or: > # SPDX-License-Identifier: GPL-2.0 > or: > // SPDX-License-Identifier: GPL-2.0 > or: > /* SPDX-License-Identifier: GPL-2.0 */ > > ( Kconfig Makefile dpaa2-ptp.[ch] dprtc-cmd.h dprtc.[ch] ) > > The others (most) list: > > // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) > or: > /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ > > The Copyrights seem to be Freescale Semiconductor Inc. and/or > NXP when documented on a file. May be they would be willing > to add the BSD-3-Clause where it is missing? > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" If one does not need to run custom firmware on DPAA2 subsystem, then the only binary blob one needs if an MC firmware which is and always will be the binary-only thing, per our NXP contacts. MC provides intermediate layer API that abstracts hardware configuration at somewhat higher level that DPAA from older Layerscape chips did. MC blob is freely downloadable and NXP documents MC and DPAA2 interfaces quite well, but it is a sizable code to write to get things properly integrated. NXP also ships a lot of their low-level code as part of DPDK, which is licensed liberally and can be referenced for the inspiration. Most of fls_dp* files are available there. -- Alexander Kabaev From owner-freebsd-arm@freebsd.org Wed Mar 31 23:36:18 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C92515B4BD3 for ; Wed, 31 Mar 2021 23:36:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9jPY6G0Gz4nfZ for ; Wed, 31 Mar 2021 23:36:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617233775; bh=7U0yJKkcn8dtXMHy1Rlx2e3FDt0VNEpwSKeJe+ugvXO=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=th8gEc1gqnBDue2bNPkRCI3AI9f1K4sxUCvdHc4ZvZlVxG8fXNnFdHzJvzfOZPVUnLxX2QGg8xCFNxFdcgQyI0zsSxuImlGj6VbJcdxBwIGyNIT6YXX6xLkRmVtb7ftfCUjG+MM+pO0iXGzsFJmyw/2ZTwrAF0ZJK8AG9lUUx1VviCLO9xn2Reem2CS73D/txEZIFOfb4SVmwdLk94dFu5gCHtcalokuXIGVcpxksw7lOO4LlhnNa6xiHx6HzpQzdOP3f7ZVv6/sMkOEuysCvQIEt79IPIQq4kn+2UVjXF5Q2vbtSscujdCISZctZvi3jG8OrUimAY0kTXrNJhBR8A== X-YMail-OSG: ZcYUgAEVM1m2Mk6Z0CzRKqoPZZ84d77nWIqhfmddwsvlpK8W39v6cW9AY5HqdN3 jVWn3FgWxTIFHqILXbnjoD9VD7ELP.tFYYt7VFTbXtMb1d7i.NbsfaC4cqLGV.r3BxoTuWg53pwQ pl9F7s4abPf61dCeYT9JwwhKwSD3x5Gqf_H0QYDQSxx283hpM0tpb34CUB0wxee_T5z9MuC7szdX 0EDbztRv_tlpAq_r0MnNsk7JJbSLOV.al2dXVcSXJz2Sbnix74S1wI0IddBvb_BIerDBy5G._g7r bUrcjD8DmVdopZcMc0A.OujiotqJJf8E8g8nUWCxQkxUgRnfckUceArCMsOBGvqUxhbTsbZYJN14 0Muc2jJCQ1tobYHpJ6dwDQqiLXSsq3mWaz2ImR7zMxp1XJM.ImvfviD9zbHjr__krgrBfZEajB5j b.2SIQHVZMSyR9paZ57OHCSWD38PyLaovjCr4uWY56jGQpDDMrFXhNOCs6rKzDGHXDqDMVvoACkQ Sky1T__sblWIHXKNPr2qZivH6vn3vSCUl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X.l4n4jNyQZUKJayVKa3xiGFwaDePWTR8wnLQ0CwL FCRDfGpWRrL.qiQAmW0AaPIijr_OkUcp4rc6Y2EUvf1DLcf13sXO7aP3QUEW_6.7O701gmDnbsv1 BckJla9bH_iUyozIxxy2GkqJvCOV4dR4X.5.dAIhATY8YyI.gZVcREZtRrwM.QdcbSGj45Rnup3. G3OdeK5kNH2I13WxnQm7RvunJp9_IIzHTu9qAEAoUaiB0Dmg5sQEH7i8cOEXIgfVIBokYlq4vQA1 s7x__9PaLr0gQpTnlqPT5EOI2qPjIEZAfxus_jBnUN6rla2kFQ1QcSo56QODDZVc8gYS_yeXvXYk KvpagnS4BjnpVMsKGpTpKoy_hg39rmalu1JbOiesBePe7bXQ7EHq9JdnumPqay4O6PTSBewlbahp YdpgiKsnJVJAUgIZb7i4J2.gvrrbOJGLdOz8hymBWhEGyn3AdoRXxUoalcsGiFbkW0YROxV74xJG Iooma6moGbdVxoQw5cap8Vgcdo51jwwUD8qCEA1ASXcV3dQnEsTTwhQrUXHle42STp23T8r5nitl tCNeMvsBppa0SMKgt8if3tPE7muGtSSqYEmnq8vU6QqC3kBQLQqQhAnLciTCZHr3sQlyQglQU_f0 Fho1qMTQggrymo6W49OwwV_M10vVlx78zw0EFCiEtvB9kkAzQ803ORnSVcqmezK2RlQk1qQVSjPI TwA1SL6NbI.ybzxH.8uj3rHyLlvDXAKkK9EArzXtUdDkwvR6ohOP0xC4eCv9c8dVUekCUEgnVoam pEHdbQ0.kWUTYvHwuHr6VtkKWSnLtN1x0Z.xcjoFOUcr.g0x8uPCar_.7d0n4.PJXIvba7qXAA4b txAqnxOi0Hyty5KTNgLsphWfGjam_NpJT.KDlBWd7ATt8tHyo0gaXGdcjsVDvI6mbSxWlLcNvwh5 UBbP3tB35K.G3Ah36oMx3Az9C306fTx0Ru.hWWFY- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Mar 2021 23:36:15 +0000 Received: by kubenode542.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 851c21fc3363c8fc4dd101533dc20a08; Wed, 31 Mar 2021 23:36:10 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 32-bit executables on aarch64? From: Mark Millard In-Reply-To: Date: Wed, 31 Mar 2021 16:36:08 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1BF8C073-2913-4AA9-83DB-64CD3791147A@yahoo.com> References: <202103311655.12VGtx3T036893@office.dignus.com> To: Robert Clausecker X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9jPY6G0Gz4nfZ X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.84:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.64.84:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 23:36:18 -0000 On 2021-Mar-31, at 15:45, Robert Clausecker wrote: > The intent is to test and develop software that only runs on > armv7 (specifically, Mecrisp Stellaris, a Forth system written > in ARM assembly). This is best done natively. >=20 > It's actually kinda annoying that no binary release tarballs > are provided for armv7, so setting up the jail involves an > annoying make world step. For amd64 jails, I can just unpack > the binary tarballs and fix the configuration and I'm good to go. >=20 > The problem with the armv7 machine was that it didn't have > enough RAM to make world (and setting up swap on an SD card is > a surefire way to send it to an early grave, so I'd rather avoid > that). Ended up having to swap over NFS and wait more than a > week for make world to complete. And that only because there is > no other way to upgrade the machine remotely. If only there were > binary release tarballs... >=20 > But surely, lib32 support for arm64 would be even better in this > regard. [There is no lib32 support, only the chroot support. (jail use may well inherit such chroot properties and also work. I've never explicitly used a jail.)] There are armv7 tarballs around --but exactly which stable/13 or main or whatever commits will happen to be available is more of a grab bag, depending on what the ci.freebsd.org builds happened to do. Example 2021-Mar-31 stable/13 armv7 .txz files are at: = https://artifact.ci.freebsd.org/snapshot/stable-13/a25c17022e2d6344dcbc619= 2af276d2798d76d44/arm/armv7/ Example 2021-Mar-31 main armv7 .txz files are at: = https://artifact.ci.freebsd.org/snapshot/main/006a01374f59b839ca1c900efd27= 4a3b92044b15/arm/armv7/ Multiple builds for the same day are possible. It is common for a give commit that only some of the architectures end up with a build. So finding what is available for a given architecture is messy. But it may well be worth the effort if you do not require releng or weekly snaphot builds or other special examples. Such .txz areas tend to stick around for much of a year. So once you have found one that you are willing to use, it should still be around to re-find for a while. I tend to sort the browser display for looking to find something of use, since git hashes do not sort usefully. For example: https://artifact.ci.freebsd.org/snapshot/main/?C=3DM&O=3DD Of course the paths for pre-git look different in some respects but they are there, such as: https://artifact.ci.freebsd.org/snapshot/main/r368818/arm/armv7/ > Yours, > Robert Clausecker >=20 > Am Wed, Mar 31, 2021 at 03:02:27PM -0700 schrieb Mark Millard: >>=20 >>=20 >> On 2021-Mar-31, at 14:12, Robert Clausecker wrote: >>=20 >>> Hi Mark, >>>=20 >>> This is news to me. Excellent news! I can't say how grateful I am >>> for having this pointed out by you. Can now go ahead and throw out >>> my dedicated armv7 test machine which has caused me a lot of >>> head aches with world builds and all that. >>>=20 >>>=20 >>=20 >> Somewhat depends on the type/intent of the testing activity. >> If testing the armv7 kernel is part of the point, then >> building might be done on the likely faster (and more RAM >> across processes) aarch64 environment in the chroot and >> some testing there as well. But for armv7 kernel testing, >> it would take use in an environment that was running actual >> armv7 FreeBSD kernel and world. >>=20 >> If such is needed, you can still buildworld, buildkernel, >> and build ports in a faster/more-RAM environment. >>=20 >> One way to have an armv7 chroot available in aarch64 is to >> have the media that is used for the actual armv7 system >> temporarily connected to the aarch64 system and mount the >> file system and chroot into it to do the builds and >> installs and such. (Might not be as easy if the armv7 >> system context is split into multiple mount points.) >> Later exit the chroot, dismount, connect back up to the >> armv7 system, and boot. (I'm not addressing special >> handling of u-boot or an msdos file system's contents >> or the like here.) >>=20 >> As for installkernel installworld, etcupdate, etc. if >> instead a cross build was made outside a chroot, the >> installs and such can target a mounted file system >> (DESTDIR=3D and the like is involved). This also avoids >> some of the technical issues that can be involved for >> live updating the same system that is running. >>=20 >> Building armv7 ports on aarch64 would always involve a >> chroot (possibly implicitly via poudriere's cross build >> way of working for such). >>=20 >> It is rare that I build for armv7 on an armv7. It is also >> rare that I build for aarch64 on slower aarch64 machines. >> A similar point was always been true for my historical >> powerpc64 and 32-bit powerpc activities. >>=20 >>>=20 >>> Am Wed, Mar 31, 2021 at 11:05:45AM -0700 schrieb Mark Millard: >>>>=20 >>>> On 2021-Mar-31, at 10:46, Robert Clausecker wrote: >>>>=20 >>>>> Hi Thomas, >>>>>=20 >>>>> Unfortunately, there is no support for running armv7 executables >>>>> on arm64, though it would technically be possible to implement. >>>>> I myself would really like to have this sort of thing but I lack >>>>> the knowledge to have it. Perhaps someone feels adventurous >>>>> enough to look into implementing support for this sort of thing. >>>>=20 >>>> aarch64 FreeBSD supports having an armv7 world installed >>>> in a directory tree for use with chroot. >>>>=20 >>>> I've a separate reply to the original submittal showing >>>> a use of such. >>>>=20 >>>> aarch64 FreeBSD lacks lib32 for more direct execution >>>> of armv7 FreeBSD code without involving a chroot use (or >>>> qemu use or other such). >>>>=20 >>>>> For historical reasons, the i386 and amd64 ports of gcc and clang >>>>> have a largely shared code base and are essentially the same port. >>>>> So options -m32, -m64 can be used to switch between them. The = same >>>>> is not possible for armv7 and arm64 which are distinct ports with >>>>> little to no shared backend code. Consider using -target armv7 >>>>> instead. >>>>>=20 >>>>> Yours, >>>>> Robert Clausecker >>>>>=20 >>>>> Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David = Rivers: >>>>>>=20 >>>>>> I'm playing around with a (rather-old now) 13.0-pre-pre-pre = release >>>>>> on Raspberry PI 4B. >>>>>>=20 >>>>>> I was naively thinking I could just use -m32 to create a 32-bit >>>>>> executable... but the LLVM there promptly told me it didn't = recognize >>>>>> -m32. >>>>>>=20 >>>>>> I installed the gcc V9 port and it said the same thing. >>>>>>=20 >>>>>> This begged the question, is there no support of 32-bit ARM = (armv7) >>>>>> executables in the aarch64 environment? >>>>>=20 >>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 31 23:49:02 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2B4C5B4F7A for ; Wed, 31 Mar 2021 23:49:02 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9jhG6PH1z4p2F for ; Wed, 31 Mar 2021 23:49:02 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id CDD3ED70C for ; Wed, 31 Mar 2021 23:49:02 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: by mail-yb1-f182.google.com with SMTP id 8so22987674ybc.13 for ; Wed, 31 Mar 2021 16:49:02 -0700 (PDT) X-Gm-Message-State: AOAM5338dvgc8K+qwDBpcKwPxhZNtyS8hnSJfUOF3kG7m+OW8Xdf57IX oTbdpxFAc5RK4pfPw0HNBAJTtndCheBPm3cZ4qM= X-Google-Smtp-Source: ABdhPJxPptIXne5KM5xxjtD3zTz76jcWcNuvZeRJhM8zhUtY5QVVxXGEakhk3DTDBjLAq+rTZ8FOgLuYmuVZt5Ki2uk= X-Received: by 2002:a25:3854:: with SMTP id f81mr8049867yba.466.1617234542311; Wed, 31 Mar 2021 16:49:02 -0700 (PDT) MIME-Version: 1.0 References: <202103311655.12VGtx3T036893@office.dignus.com> In-Reply-To: From: Mitchell Horne Date: Wed, 31 Mar 2021 20:48:50 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 32-bit executables on aarch64? To: Robert Clausecker Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 23:49:03 -0000 On Wed, Mar 31, 2021 at 7:45 PM Robert Clausecker wrote: > > Hi Mark, > > The intent is to test and develop software that only runs on > armv7 (specifically, Mecrisp Stellaris, a Forth system written > in ARM assembly). This is best done natively. > > It's actually kinda annoying that no binary release tarballs > are provided for armv7, so setting up the jail involves an > annoying make world step. For amd64 jails, I can just unpack > the binary tarballs and fix the configuration and I'm good to go. > This issue about lack of distribution sets for armv7 has come up a couple of times. It wouldn't take much to start producing them officially, so I plan to submit a patch for this once re@ is done with the 13.0 release. Cheers, Mitchell > The problem with the armv7 machine was that it didn't have > enough RAM to make world (and setting up swap on an SD card is > a surefire way to send it to an early grave, so I'd rather avoid > that). Ended up having to swap over NFS and wait more than a > week for make world to complete. And that only because there is > no other way to upgrade the machine remotely. If only there were > binary release tarballs... > > But surely, lib32 support for arm64 would be even better in this > regard. > > Yours, > Robert Clausecker > > Am Wed, Mar 31, 2021 at 03:02:27PM -0700 schrieb Mark Millard: > > > > > > On 2021-Mar-31, at 14:12, Robert Clausecker wrote: > > > > > Hi Mark, > > > > > > This is news to me. Excellent news! I can't say how grateful I am > > > for having this pointed out by you. Can now go ahead and throw out > > > my dedicated armv7 test machine which has caused me a lot of > > > head aches with world builds and all that. > > > > > > > > > > Somewhat depends on the type/intent of the testing activity. > > If testing the armv7 kernel is part of the point, then > > building might be done on the likely faster (and more RAM > > across processes) aarch64 environment in the chroot and > > some testing there as well. But for armv7 kernel testing, > > it would take use in an environment that was running actual > > armv7 FreeBSD kernel and world. > > > > If such is needed, you can still buildworld, buildkernel, > > and build ports in a faster/more-RAM environment. > > > > One way to have an armv7 chroot available in aarch64 is to > > have the media that is used for the actual armv7 system > > temporarily connected to the aarch64 system and mount the > > file system and chroot into it to do the builds and > > installs and such. (Might not be as easy if the armv7 > > system context is split into multiple mount points.) > > Later exit the chroot, dismount, connect back up to the > > armv7 system, and boot. (I'm not addressing special > > handling of u-boot or an msdos file system's contents > > or the like here.) > > > > As for installkernel installworld, etcupdate, etc. if > > instead a cross build was made outside a chroot, the > > installs and such can target a mounted file system > > (DESTDIR= and the like is involved). This also avoids > > some of the technical issues that can be involved for > > live updating the same system that is running. > > > > Building armv7 ports on aarch64 would always involve a > > chroot (possibly implicitly via poudriere's cross build > > way of working for such). > > > > It is rare that I build for armv7 on an armv7. It is also > > rare that I build for aarch64 on slower aarch64 machines. > > A similar point was always been true for my historical > > powerpc64 and 32-bit powerpc activities. > > > > > > > > Am Wed, Mar 31, 2021 at 11:05:45AM -0700 schrieb Mark Millard: > > >> > > >> On 2021-Mar-31, at 10:46, Robert Clausecker wrote: > > >> > > >>> Hi Thomas, > > >>> > > >>> Unfortunately, there is no support for running armv7 executables > > >>> on arm64, though it would technically be possible to implement. > > >>> I myself would really like to have this sort of thing but I lack > > >>> the knowledge to have it. Perhaps someone feels adventurous > > >>> enough to look into implementing support for this sort of thing. > > >> > > >> aarch64 FreeBSD supports having an armv7 world installed > > >> in a directory tree for use with chroot. > > >> > > >> I've a separate reply to the original submittal showing > > >> a use of such. > > >> > > >> aarch64 FreeBSD lacks lib32 for more direct execution > > >> of armv7 FreeBSD code without involving a chroot use (or > > >> qemu use or other such). > > >> > > >>> For historical reasons, the i386 and amd64 ports of gcc and clang > > >>> have a largely shared code base and are essentially the same port. > > >>> So options -m32, -m64 can be used to switch between them. The same > > >>> is not possible for armv7 and arm64 which are distinct ports with > > >>> little to no shared backend code. Consider using -target armv7 > > >>> instead. > > >>> > > >>> Yours, > > >>> Robert Clausecker > > >>> > > >>> Am Wed, Mar 31, 2021 at 12:55:59PM -0400 schrieb Thomas David Rivers: > > >>>> > > >>>> I'm playing around with a (rather-old now) 13.0-pre-pre-pre release > > >>>> on Raspberry PI 4B. > > >>>> > > >>>> I was naively thinking I could just use -m32 to create a 32-bit > > >>>> executable... but the LLVM there promptly told me it didn't recognize > > >>>> -m32. > > >>>> > > >>>> I installed the gcc V9 port and it said the same thing. > > >>>> > > >>>> This begged the question, is there no support of 32-bit ARM (armv7) > > >>>> executables in the aarch64 environment? > > >>> > > > > > > > === > > Mark Millard > > marklmi at yahoo.com > > ( dsl-only.net went > > away in early 2018-Mar) > > > > -- > () ascii ribbon campaign - for an 8-bit clean world > /\ - against html email - against proprietary attachments > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Thu Apr 1 05:46:35 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A430B5B8751 for ; Thu, 1 Apr 2021 05:46:35 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9scq3Pbbz4b5V for ; Thu, 1 Apr 2021 05:46:35 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 74CC65B884F; Thu, 1 Apr 2021 05:46:35 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7499B5B83BB for ; Thu, 1 Apr 2021 05:46:35 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9scq225Fz4bBW; Thu, 1 Apr 2021 05:46:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=aIrOUtEH1sGr5RJcJjlSVHupYsyvQ0z4CP5Lojk4SWE=; b=E27ddbM6u7iTM9J+Dz0ZXWklRuh9jtcB7G4uWpd4OxQwOXrqNWmrStwuy95cIzEyc3Crd3G2aLvwqTYvQ64IgoTRy7ruCy8InvL5p8Efdy57Fp1B2NeE8l36qDcXlOd9d1cY42YWrUnZJj8VxwJ0LkXEYyYtEjJwMTeMaQLLYtVvofoHBuM6oA7HL3xVtMYY789s4HUEkgbeiZp8EX0GQAvHp4R4alrienhacf+/hgPe0bJt8YFvwmNZWa8cKnez6La3JAbJkl1zf1yjisHlcqcAMKgrjAzTxXF81zY3o0FBR6H32x2KXouCZ39aT6uM3K+OfcJqh5wIckZn0N7BSA==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1lRq9y-0006Wm-Mk; Thu, 01 Apr 2021 08:46:26 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: i2c/twsi/allwinner problems. From: Daniel Braniss In-Reply-To: <4e386f9f-33aa-fa91-0fc3-fd44b34632ed@FreeBSD.org> Date: Thu, 1 Apr 2021 08:46:26 +0300 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <7F808A6C-B109-459C-975C-AB4769AD8226@cs.huji.ac.il> References: <4e386f9f-33aa-fa91-0fc3-fd44b34632ed@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F9scq225Fz4bBW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 05:46:35 -0000 > On 31 Mar 2021, at 10:06, Andriy Gapon wrote: >=20 > On 30/03/2021 12:58, Daniel Braniss wrote: >> |hi all, after some time, I decided to try FreeBSD 13 on my all = winner (nano >> neo) and got it working only with debugging on, so I started cherry = picking till >> I got it working, replacing printfs with DELAY and this is is now = working, of >> course not the correct solution, but if someone with better i2c = knowledge can >> propose a better solution I=E2=80=99m willing to test if with my = program (it reads RFIDs >> using a board with PN532),| >=20 > I see quite a lot of those "cherry-picks" and they are a mix of = explicit delays > and printfs (via debug_). > Also, the driver has completely separate code paths for polling mode = and > interrupt mode. I see that both are heavily modified. > Do you actually use both modes? >=20 > --=20 > Andriy Gapon i need to enable the second i2c, but my old overlay no longer works, can = someone=20 please send me the overlay needed to enable it? thanks, danny From owner-freebsd-arm@freebsd.org Thu Apr 1 08:37:43 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDDFE5C4498; Thu, 1 Apr 2021 08:37:43 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9xQG46Hcz4vt2; Thu, 1 Apr 2021 08:37:42 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Thu, 1 Apr 2021 10:37:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1617266260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Pg4dtYPOBLHNhiBeiP67RxP4+0cfDmoRm8Xchz4YVzg=; b=OqVLMGtxrE/gF6dCmR9cFDYlNrNq5sGsFCrZfI7WiLTAjvPs88mpRAlz7OoXWmO3nh/R4w WcUDjL5H7+8I8za8ZgLpI2TA6h/hSSNoAOV9bMN2cP08s1lZsQRlH1X7HOv4TGhihy92Fe RDMVG8rC5p8ewUzTFGWNL56ZGvImxerEDCo8jjXCxYVcD/h5nZQNKTodtE6p8rC3oJDATv lNTuUXlmFvhfyYWxdT6Gxv1V9PqPwoLZowInLkpqmO2IwXaWS4gXk5TSmYvEdE50VzQ+Vh ymzBigGbsXt3tdtzzCRM4gXB0pPOvegXg0YcsXijUyfJt48arhHoQpwV/bFBNA== From: Ronald Klop To: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Message-ID: <1071728798.124.1617266260257@localhost> Subject: Illegal instruction on new port mongodb49 on arm64 MIME-Version: 1.0 X-Mailer: Realworks (554.128.db2b1297238) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4F9xQG46Hcz4vt2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=OqVLMGtx; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-ports] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 08:37:44 -0000 Hi, I created a new port for mongodb49: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254631 It compiles fine: https://www.klop.ws/mongodb49-4.9.0.r0.log When I run an application I get "Illegal Instruction" error. ============================================================== [root@rpi4 /tmp]# lldb /usr/local/bin/mongo (lldb) target create "/usr/local/bin/mongo" Current executable set to '/usr/local/bin/mongo' (aarch64). (lldb) run Process 55420 launching Process 55420 launched: '/usr/local/bin/mongo' (aarch64) Process 55420 stopped * thread #1, name = 'mongo', stop reason = signal SIGILL: illegal trap frame #0: 0x00000000016a320c mongo`___lldb_unnamed_symbol32$$mongo + 1784 mongo`___lldb_unnamed_symbol32$$mongo: -> 0x16a320c <+1784>: ldaddal x9, x8, [x8] 0x16a3210 <+1788>: ldr q0, [x11] 0x16a3214 <+1792>: mov w10, #0x20 0x16a3218 <+1796>: strb wzr, [sp, #0x68] (lldb) bt * thread #1, name = 'mongo', stop reason = signal SIGILL: illegal trap * frame #0: 0x00000000016a320c mongo`___lldb_unnamed_symbol32$$mongo + 1784 frame #1: 0x0000000042b29b58 frame #2: 0x0000000042b289f8 ============================================================== [root@rpi4 /tmp]# /usr/local/bin/mongo Illegal instruction (core dumped) [root@rpi4 /tmp]# lldb /usr/local/bin/mongo -c /var/tmp/0.mongo.0.55421.core (lldb) target create "/usr/local/bin/mongo" --core "/var/tmp/0.mongo.0.55421.core" Core file '/var/tmp/0.mongo.0.55421.core' (aarch64) was loaded. (lldb) bt * thread #1, name = 'mongo', stop reason = signal SIGILL * frame #0: 0x00000000016a320c mongo`___lldb_unnamed_symbol32$$mongo + 1784 frame #1: 0x0000000042b29b58 ld-elf.so.1`objlist_call_init(list=, lockstate=) at rtld.c:2855:7 frame #2: 0x0000000042b289f8 ld-elf.so.1`_rtld(sp=, exit_proc=, objp=) at rtld.c:828:5 frame #3: 0x0000000042b264d8 ld-elf.so.1`.rtld_start at rtld_start.S:41 ============================================================== NB: The default of the port uses LTO. I disabled it on my build system because of lack of memory. Can anybody help me with this? It would be interesting to know if this also happens on amd64. Regards, Ronald. From owner-freebsd-arm@freebsd.org Thu Apr 1 08:47:57 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 933E05C4675; Thu, 1 Apr 2021 08:47:57 +0000 (UTC) (envelope-from mgorny@gentoo.org) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9xf42B5dz3CWK; Thu, 1 Apr 2021 08:47:55 +0000 (UTC) (envelope-from mgorny@gentoo.org) Message-ID: Subject: Re: Illegal instruction on new port mongodb49 on arm64 From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: Ronald Klop , freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Date: Thu, 01 Apr 2021 10:47:49 +0200 In-Reply-To: <1071728798.124.1617266260257@localhost> References: <1071728798.124.1617266260257@localhost> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4F9xf42B5dz3CWK X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=gentoo.org; spf=pass (mx1.freebsd.org: domain of mgorny@gentoo.org designates 140.211.166.183 as permitted sender) smtp.mailfrom=mgorny@gentoo.org X-Spamd-Result: default: False [-1.39 / 15.00]; ARC_NA(0.00)[]; R_MIXED_CHARSET(0.91)[subject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:140.211.166.183]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RWL_MAILSPIKE_GOOD(0.00)[140.211.166.183:from]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[gentoo.org,none]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3701, ipnet:140.211.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-ports]; RCVD_IN_DNSWL_HI(-0.50)[140.211.166.183:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 08:47:57 -0000 On Thu, 2021-04-01 at 10:37 +0200, Ronald Klop wrote: > Hi, > > I created a new port for mongodb49: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254631 > It compiles fine: https://www.klop.ws/mongodb49-4.9.0.r0.log > > When I run an application I get "Illegal Instruction" error. > > ============================================================== > [root@rpi4 /tmp]# lldb /usr/local/bin/mongo > (lldb) target create "/usr/local/bin/mongo" > Current executable set to '/usr/local/bin/mongo' (aarch64). > (lldb) run > Process 55420 launching > Process 55420 launched: '/usr/local/bin/mongo' (aarch64) > Process 55420 stopped > * thread #1, name = 'mongo', stop reason = signal SIGILL: illegal trap >     frame #0: 0x00000000016a320c mongo`___lldb_unnamed_symbol32$$mongo + 1784 > mongo`___lldb_unnamed_symbol32$$mongo: > -> 0x16a320c <+1784>: ldaddal x9, x8, [x8] According to [1], this instruction requires ARMv8.1. If I grep correctly, rpi4 is ARMv8-A. Yet you're compiling with -march=armv8.2-a, so it's a case of wrong -march. [1] https://developer.arm.com/documentation/100069/0608/A64-Data-Transfer-Instructions/LDADDA--LDADDAL--LDADD--LDADDL--LDADDAL--LDADD--LDADDL -- Best regards, Michał Górny From owner-freebsd-arm@freebsd.org Thu Apr 1 09:30:13 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 229A15C6280; Thu, 1 Apr 2021 09:30:13 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9yZr2rRfz3Gd1; Thu, 1 Apr 2021 09:30:12 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Thu, 1 Apr 2021 11:30:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1617269409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RgqgUmZFRUTJJF4ooabnt8gWFyVDCqZ9cqM4MsYa5PU=; b=pC1q32Vvi/9An8V3/h4Heys20TmsesuI6oaTQ1KPDwqO8n8aXtX3pA69f98WGG0CjJnleo 2bI8K/JlDAa0BCXI0mrJEg6uj+qFDc9xovkmxP/sdy8dWIz9p39kTdh6DEupv9kYBJzWSb dG393Ko2j/wKn7W7X21qkEA1/MvoJDtlvVNf7F0Hrxfp1ir4B6WyNfx1Zpn9aTO2sjGy7s s3VBODH1rgLVAG0j8lYmzJOlIN+dCiVHo9rZMmALPcrncstJUupsGiJH+fFyFOCKSYfyiP muX2Sc7EpxrakVuB+KwfSeiqWmJ5FELJyBnnoK/NFnldU8nZ6j0wNQKztV96yg== From: Ronald Klop To: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= Cc: freebsd-arm@freebsd.org, freebsd-ports@freebsd.org Message-ID: <570889743.2.1617269408704@localhost> In-Reply-To: References: <1071728798.124.1617266260257@localhost> Subject: Re: Illegal instruction on new port mongodb49 on arm64 MIME-Version: 1.0 X-Mailer: Realworks (554.128.db2b1297238) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4F9yZr2rRfz3Gd1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=pC1q32Vv; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-1.50 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-ports] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 09:30:13 -0000 =20 Van: "Micha? G=C3=B3rny" Datum: donderdag, 1 april 2021 10:47 Aan: Ronald Klop , freebsd-ports@freebsd.org, freebsd= -arm@freebsd.org Onderwerp: Re: Illegal instruction on new port mongodb49 on arm64 >=20 > On Thu, 2021-04-01 at 10:37 +0200, Ronald Klop wrote: > > Hi, > > > > I created a new port for mongodb49: https://bugs.freebsd.org/bugzilla/s= how_bug.cgi?id=3D254631 > > It compiles fine: https://www.klop.ws/mongodb49-4.9.0.r0.log > > > > When I run an application I get "Illegal Instruction" error. > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > [root@rpi4 /tmp]# lldb /usr/local/bin/mongo > > (lldb) target create "/usr/local/bin/mongo" > > Current executable set to '/usr/local/bin/mongo' (aarch64). > > (lldb) run > > Process 55420 launching > > Process 55420 launched: '/usr/local/bin/mongo' (aarch64) > > Process 55420 stopped > > * thread #1, name =3D 'mongo', stop reason =3D signal SIGILL: illegal t= rap > > frame #0: 0x00000000016a320c mongo`___lldb_unnamed_symbol32$$mongo = + 1784 > > mongo`___lldb_unnamed_symbol32$$mongo: > > -> 0x16a320c <+1784>: ldaddal x9, x8, [x8] >=20 > According to [1], this instruction requires ARMv8.1. If I grep > correctly, rpi4 is ARMv8-A. Yet you're compiling with -march=3Darmv8.2-a= , > so it's a case of wrong -march. >=20 > [1] https://developer.arm.com/documentation/100069/0608/A64-Data-Transfer= -Instructions/LDADDA--LDADDAL--LDADD--LDADDL--LDADDAL--LDADD--LDADDL >=20 > --=20 > Best regards, > Micha G=C3=B3rny >=20 > =20 >=20 >=20 >=20 Hi, Thank you for the quick insight. Now I found this update upstream: https://jira.mongodb.org/browse/SERVER-55= 178 and https://github.com/mongodb/mongo/commit/8f708f3b68c3c85108294a8f58d= 780b6ccf18194 . Not much info why this was necessary though. I hate it when a commit messag= e describes *what* changed instead of *why* it changed. The what is already= in the diff. Anyways. Thanks for the reply. I think I'll need to try to contact somebody= at MongoDB. Regards, Ronald. =20 From owner-freebsd-arm@freebsd.org Thu Apr 1 10:17:38 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B4005C6FD8 for ; Thu, 1 Apr 2021 10:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9zdZ0CxGz3K7t for ; Thu, 1 Apr 2021 10:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EE9DF2EA1 for ; Thu, 1 Apr 2021 10:17:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 131AHbki003649 for ; Thu, 1 Apr 2021 10:17:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 131AHb9q003648 for freebsd-arm@FreeBSD.org; Thu, 1 Apr 2021 10:17:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254693] random crashes with armv7 thumb application on arm64 Date: Thu, 01 Apr 2021 10:17:38 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 10:17:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254693 Bug ID: 254693 Summary: random crashes with armv7 thumb application on arm64 Product: Base System Version: 13.0-STABLE Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: fuz@fuz.su I'm trying to run Mecrisp Stellaris 2.5.8 on arm64 FreeBSD. This is a Forth system written entirely in armv7 thumb2 assembly. A FreeBSD port has exist= ed for a while and has recently been made available as lang/mecrisp-stellaris = in the ports tree. It appears that with FreeBSD 13, rudimentary support for loading and running armv7 binaries from arm64 FreeBSD exists. And indeed, mecrisp-stellaris lo= ads and executes fine. However, problems crop up once more definitions are loa= ded. Specifically, the system crashes in random places with a wildly inconsiste= nt program state. To reproduce the issue, download Mecrisp Stellaris 2.5.8 from Sourceforge [= 1] onto an arm64 FreeBSD 13 system. Navigate into the freebsd-ra directory and execute "buildcore-freebsd". You should see a few pages of output followed= by a crash. The crash is a segmentation fault or an illegal instruction fault. The same issue does not seem to appear on armv7 FreeBSD, so I'm a bit at a = loss as to what may have caused this. [1]: https://sourceforge.net/projects/mecrisp/files/mecrisp-stellaris-2.5.8.tar.= gz --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Apr 1 10:30:53 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CBAFA5C7379 for ; Thu, 1 Apr 2021 10:30:53 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) (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 4F9zwq5nQcz3KyH for ; Thu, 1 Apr 2021 10:30:51 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Thu, 01 Apr 2021 10:30:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1617273048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VSTzDrvjdbp2NWqR4EIAaUbfGS3pMnEA1WFbGDf3H/c=; b=cPUVbPJFX9G1u7BP4wqWSYr05zrHpGOSldU8NfEJXFIVBlRJsVQam9ZyUBiF9qiIYNaEjH kkNuZjO6fJOxA4LKyQP8EZ7jlquK2cpkRSoUaNUZsDVvBUoSEQ7uSGG6RGExYtNhUGUvyE pO6zfBYs8w7oBSRkNUClintU1krLEnrZkt7SOll6RM8f+SRQbkW41ui2ZqgxQxnq7Ql812 DLc6+ZPlgVV6UVB1nkPsPhFl7E1U5m1gXm0PIbt1xorRfqszhj7XhB9IPvNrs27zWJ0YW7 jCG8vHlWZrDBxkOHyGsvivwl3D1pIyiaCESkHvKyOIIpI+Li1iGljIvMIfmY2g== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Greg V To: =?ISO-8859-1?Q?Klaus_K=FCchemann?= , freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? In-Reply-To: <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> Message-ID: <8FB6136B-59BB-4A8F-A33C-DCEE93B3834F@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: greg@unrelenting.technology X-Rspamd-Queue-Id: 4F9zwq5nQcz3KyH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=key1 header.b=cPUVbPJF; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.121.223.63:from]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=key1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[91.121.223.63:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com,freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[91.121.223.63:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 10:30:53 -0000 On March 31, 2021 6:38:32 PM UTC, "Klaus K=C3=BCchemann" wrote: > >Well, compared to the Lx2k the currently max=2E of 16GB RAM and less core= s of the M1 is something=20 >to think about =E2=80=A6 running native fbsd with 16 cores/64GB RAM seems= to be interesting=E2=80=A6 On the other hand, Apple Firestorm cores have *incredible* single-core per= formance (competitive with AMD Zen 3, even better at some tasks), while the= NXP LX2160 uses good old Arm Cortex-A72 cores, which are, well, quite old = by now =E2=80=93 not nearly that level of performance=2E If you've used an RPi4, MACCHIATObin, or a1 instances in AWS, you know the= ir performance=2E Compared to the newer Graviton2 instances that have Neoverse-N1 cores, the= y look very unimpressive=2E Maybe someday a vendor like NXP would produce a similar affordable standar= ds-compliant SoC with modern Arm Neoverse cores=2E One can dream=E2=80=A6 For now, the only option for relatively affordable big (16-great-cores) ha= rdware at home is AMD=2E From owner-freebsd-arm@freebsd.org Thu Apr 1 10:31:14 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 006E25C7A0E for ; Thu, 1 Apr 2021 10:31:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9zxF5R0qz3LF7 for ; Thu, 1 Apr 2021 10:31:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9F9253233 for ; Thu, 1 Apr 2021 10:31:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 131AVDtN011727 for ; Thu, 1 Apr 2021 10:31:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 131AVDjg011726 for freebsd-arm@FreeBSD.org; Thu, 1 Apr 2021 10:31:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254693] random crashes with armv7 thumb application on arm64 Date: Thu, 01 Apr 2021 10:31:13 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 10:31:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254693 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #2 from Robert Clausecker --- My bad. It appears that the synchronisation code is indeed incorrect. Cit= ing from the ARMv8 ARM, section E2.5.3: > If software requires coherency between instruction execution and > memory, it must manage this coherency using Context synchronization > events and cache maintenance instructions. These can only be > accessed from an Exception level that is higher than EL0, and > therefore require a system call [...]. Closing this one as invalid. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Apr 1 10:51:39 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2EA95C7C5F for ; Thu, 1 Apr 2021 10:51:39 +0000 (UTC) (envelope-from abrancatelli@schema31.it) Received: from vanadio.schema31.it (vanadio.schema31.it [62.77.63.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vanadio.pomona.schema31.it", Issuer "vanadio.pomona.schema31.it" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB0Np49f1z3Lmh for ; Thu, 1 Apr 2021 10:51:38 +0000 (UTC) (envelope-from abrancatelli@schema31.it) Received: from smtp.schema31.it (localhost [127.0.0.1]) by vanadio.pomona.schema31.it (8.15.2/8.15.2) with ESMTP id 131ApTGA029280; Thu, 1 Apr 2021 12:51:29 +0200 (CEST) (envelope-from abrancatelli@schema31.it) MIME-Version: 1.0 Date: Thu, 01 Apr 2021 12:51:24 +0200 From: Andrea Brancatelli To: Greg V Cc: =?UTF-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm@freebsd.org Subject: Re: Any good alternative to Raspberry for Arm64? Organization: Schema31 s.r.l. In-Reply-To: <8FB6136B-59BB-4A8F-A33C-DCEE93B3834F@unrelenting.technology> References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> <8FB6136B-59BB-4A8F-A33C-DCEE93B3834F@unrelenting.technology> Message-ID: <734deaff2cf6c5e9ac34b00f14919451@schema31.it> X-Sender: abrancatelli@schema31.it User-Agent: Roundcube Webmail/1.3.16 X-Rspamd-Queue-Id: 4FB0Np49f1z3Lmh X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.77.63.157:from]; R_DKIM_ALLOW(-0.20)[schema31.it:s=gCloud]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:62.77.63.156/28]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[62.77.63.157:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[schema31.it:+]; DMARC_POLICY_ALLOW(-0.50)[schema31.it,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org]; ASN(0.00)[asn:20746, ipnet:62.77.32.0/19, country:IT]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 10:51:39 -0000 On 2021-04-01 12:30, Greg V wrote: > For now, the only option for relatively affordable big (16-great-cores) hardware at home is AMD. Practically speaking, supposing I'd like the equivalent of an entry-level server that is not a spacerocket (80 cores...) but not a raspberry with the drives tapes to the raw board, is there anything around? --- Andrea Brancatelli Schema31 S.p.a. From owner-freebsd-arm@freebsd.org Thu Apr 1 14:02:56 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8423D5CFE4F for ; Thu, 1 Apr 2021 14:02:56 +0000 (UTC) (envelope-from marcel@brickporch.com) Received: from mail2.brickporch.com (mail2.brickporch.com [45.79.84.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB4dW4C9qz3rFb for ; Thu, 1 Apr 2021 14:02:55 +0000 (UTC) (envelope-from marcel@brickporch.com) Received: from twill.home.brickporch.com (unknown [69.84.6.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail2.brickporch.com (Postfix) with ESMTPSA id 3AB15101E3; Thu, 1 Apr 2021 14:02:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=brickporch.com; s=mail; t=1617285768; bh=GlY328E0w/AzHuKpuLr/RXpnMzAakijVJBSrKtObrJM=; h=From:Subject:Date:References:To:In-Reply-To; b=Sg1OfOkXX7YsMB8fXq4jpKsKbCuaNnugGxqiLF/RDckjsFOaLfXQ6W9GIeL/TdkBe +z2Y7di8WKwPtW6T0GyjzPNC5q+8Z7sexce2gp9VNWUyTIImZnuBHsqLg9Y/6w+sSq T7p771f+l8cbrRthlSrIbXd1haMQ97i2Y7Rcvt2l/2RBD3q+XGNsj001QvJObShbeH 2jIOYpOmjgigCNeDDR0rqF9D5gxwqRDs4zu+SAc8I2NldwCL1H6kHFcLoetPpWCrgy amgWS7q/o0CGqDb3F8BSrZEhyeXPt8l+bZOVrheJyZVqO7YaeLK/eOj1E5357FQBMo K8CtfCqC44XgQ== From: Marcel Flores Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Thu, 1 Apr 2021 07:02:47 -0700 References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> <8FB6136B-59BB-4A8F-A33C-DCEE93B3834F@unrelenting.technology> <734deaff2cf6c5e9ac34b00f14919451@schema31.it> To: Andrea Brancatelli , Andrea Brancatelli via freebsd-arm In-Reply-To: <734deaff2cf6c5e9ac34b00f14919451@schema31.it> Message-Id: <5E172789-BD6F-4BA0-8563-C4ACF12847DC@brickporch.com> X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Rspamd-Queue-Id: 4FB4dW4C9qz3rFb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=brickporch.com header.s=mail header.b=Sg1OfOkX; dmarc=pass (policy=none) header.from=brickporch.com; spf=pass (mx1.freebsd.org: domain of marcel@brickporch.com designates 45.79.84.102 as permitted sender) smtp.mailfrom=marcel@brickporch.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[brickporch.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[brickporch.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.79.84.102:from]; ASN(0.00)[asn:63949, ipnet:45.79.64.0/19, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[brickporch.com:s=mail]; FREEFALL_USER(0.00)[marcel]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[45.79.84.102:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 14:02:56 -0000 > On Apr 1, 2021, at 3:51 AM, Andrea Brancatelli via freebsd-arm = wrote: >=20 > Practically speaking, supposing I'd like the equivalent of an > entry-level server that is not a spacerocket (80 cores...) but not a > raspberry with the drives tapes to the raw board, is there anything > around? I have no complaints about the ThunderX: plenty of cores, easy to=20 spec with ram and storage, even the fancy NIC works without any=20 issue (once you sort out the slightly circuitous configuration). I=E2=80=99ve been tracking -CURRENT for a couple of years now with very=20= few issues. Its power draw is reasonable and its modest cooling=20 needs keep it well below spacerocket levels. Probably the price-per-performance formula doesn=E2=80=99t really pan = out great at this point, but as you point out, the space between the RPI and say the eMAG is a little thin. -Marcel From owner-freebsd-arm@freebsd.org Thu Apr 1 14:13:03 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6BECA578781 for ; Thu, 1 Apr 2021 14:13:03 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB4sB35mTz3rhr for ; Thu, 1 Apr 2021 14:13:02 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Thu, 01 Apr 2021 14:12:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1617286379; bh=2crSM1vLW7XoFqxfrRCcE02faXuPtaVHzAXmFRUNdvg=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=qzDGBzeRRDg9crkrYWDGxVWgYyi3FIwoETNfVRW1hqRag3hZIgZ1mePRSr+LH6SlF og3QbPm1ppzpPF7YfOwuhCcKpeu31xE4avu3GHKRGVAcsCx5NWgIDunszKutTySGBC kkC20cIoJpgK3t1KWLAT6rW7PAhnGxgOYY9F0YtU= To: Alexander Kabaev From: Dan Kotowski Cc: freebsd-arm@freebsd.org Reply-To: Dan Kotowski Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: In-Reply-To: <20210331192030.3fb9314f@kan> References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> <20210331192030.3fb9314f@kan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4FB4sB35mTz3rhr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=a9development.com header.s=protonmail header.b=qzDGBzeR; dmarc=pass (policy=none) header.from=a9development.com; spf=none (mx1.freebsd.org: domain of dan.kotowski@a9development.com has no SPF policy when checking 185.70.40.131) smtp.mailfrom=dan.kotowski@a9development.com X-Spamd-Result: default: False [-2.90 / 15.00]; HAS_REPLYTO(0.00)[dan.kotowski@a9development.com]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.131:from]; R_DKIM_ALLOW(-0.20)[a9development.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[a9development.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[a9development.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.131:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 14:13:03 -0000 On Wednesday, March 31st, 2021 at 23:20, Alexander Kabaev wrote: > On Tue, 30 Mar 2021 17:14:01 -0700 > > Mark Millard via freebsd-arm freebsd-arm@freebsd.org wrote: > > > On 2021-Mar-30, at 16:32, Ian Lepore wrote: > > > > > On Tue, 2021-03-30 at 22:52 +0000, Dan Kotowski wrote: > > > > > > > > `guess SFP+ would need more special driver-attention ... > > > > > from quick reading around the web I guess the DPAA2 also needs a > > > > > closed source binary blob. > > > > > > > > So this actually comes from NXP, not SolidRun. Linux already has > > > > some/most of what's needed, and the license is GPL-2.0+ OR BSD-3- > > > > Clause so there's hope, but I haven't heard a peep from NXP and > > > > SolidRun doesn't really have the manpower to port to FreeBSD > > > > themselves. > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree= /drivers/net/ethernet/freescale/dpaa2/ > > > > > > That's actually very good news. If it's dual-licensed it can be > > > included in freebsd without any drama. Still needs porting work, or > > > maybe it could run using the linuxkpi stuff? > > > > The files there are a mix: a few list just: > > > > SPDX-License-Identifier: GPL-2.0-only > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > or: > > > > SPDX-License-Identifier: GPL-2.0 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > or: > > > > // SPDX-License-Identifier: GPL-2.0 > > > > or: > > > > /* SPDX-License-Identifier: GPL-2.0 */ > > > > ( Kconfig Makefile dpaa2-ptp.[ch] dprtc-cmd.h dprtc.[ch] ) > > > > The others (most) list: > > > > // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) > > > > or: > > > > /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ > > > > The Copyrights seem to be Freescale Semiconductor Inc. and/or > > NXP when documented on a file. May be they would be willing > > to add the BSD-3-Clause where it is missing? > > > > =3D=3D=3D > > Mark Millard > > marklmi at yahoo.com > > ( dsl-only.net went > > away in early 2018-Mar) > > If one does not need to run custom firmware on DPAA2 subsystem, then > the only binary blob one needs if an MC firmware which is and always > will be the binary-only thing, per our NXP contacts. MC provides > intermediate layer API that abstracts hardware configuration at somewhat > higher level that DPAA from older Layerscape chips did. MC blob is > freely downloadable and NXP documents MC and DPAA2 interfaces quite > well, but it is a sizable code to write to get things properly > integrated. NXP also ships a lot of their low-level code as part of > DPDK, which is licensed liberally and can be referenced for the > inspiration. Most of fls_dp* files are available there. > > Alexander Kabaev For what it's worth, this SoC is starting to show up in SmartNICs too: https://www.xilinx.com/applications/data-center/network-acceleration/alveo-= sn1000.html I don't have the free cycles or expertise to write/port this code myself, b= ut would love to work with someone who does From owner-freebsd-arm@freebsd.org Thu Apr 1 14:55:11 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B29C57A515 for ; Thu, 1 Apr 2021 14:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB5nq0BqZz3vLp for ; Thu, 1 Apr 2021 14:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EE2706BF1 for ; Thu, 1 Apr 2021 14:55:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 131EtAmH052033 for ; Thu, 1 Apr 2021 14:55:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 131EtAL7052032 for freebsd-arm@FreeBSD.org; Thu, 1 Apr 2021 14:55:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 253177] buildkernel buildworld will crash system (lx2160a) Date: Thu, 01 Apr 2021 14:55:11 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yarshure@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 14:55:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253177 yarshure changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #5 from yarshure --- use new version UEFI (https://solid-run-images.sos-de-fra-1.exo.io/LX2k/lx2160a_uefi/lx2160acex7= _2000_700_2600_8_5_2_sd_4a89463.img.xz) system most stable when high cpu load use 13.0 RC4 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Apr 1 15:17:58 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D94D257B3AD for ; Thu, 1 Apr 2021 15:17:58 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB6J64MY4z3wLd; Thu, 1 Apr 2021 15:17:58 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1617290278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NE4D42sncGhYugTacq6dfPl1kHDjil55ncF6HK3CVVU=; b=jekMH6Dy8p/qASJKZ3Wy8tEdn10cbQY8L5uvWvsTjw6Ar9QM6LVHhJItvXZOajXpXzCdD/ +FlvSNuoxrpbA24wG8NYARJWzaQY9uJDDkGh+IGEKYa33eR+SU1frPbQXS3QJqvp166Isv i6AxM5iYy0Malfzc0SSswtAOrHBaanP4kB0SgjKrAE7/YEOu2R9Bzf/FXnzkI85rAhviy4 EehSR5l9Cgpvbd4RU+I08ikktlFtlxJnBUwnU4oC6OupdmNMAy9RdrTRHaI/7IjO1oAsIk i4NUYLACE8H+sF8i6lzCcIo7ZDhPQK5/8tylM7Jz5APz7LdqPAya0QazVP4CIw== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 01B56142D8; Thu, 1 Apr 2021 15:17:57 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Thu, 1 Apr 2021 15:17:55 +0000 From: Glen Barber To: Mitchell Horne Cc: Robert Clausecker , freebsd-arm Subject: Re: 32-bit executables on aarch64? Message-ID: <20210401151755.GO92026@FreeBSD.org> References: <202103311655.12VGtx3T036893@office.dignus.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wQ8ANTl3uYPVjUZt" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1617290278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NE4D42sncGhYugTacq6dfPl1kHDjil55ncF6HK3CVVU=; b=micVWbXzilSmLeL9zH1CvZUKYnRSObCSD1h1rtfCHshiC/fMQyK7GX5HkCjytWeLBEFWzh uHzTqRYGu2OGWPqxbXyQULA0MII0yFCRg7zFJglLdQbWQIIL7J9RCnJptagvJzncn0r9gB HUPc0Yy0IeQ5kX5+y0ME0jUxUzQ3OrIoY8cxltWOgJ4ZtY9dEVuyylaS9OGYSvbTWaNp7L X3pKQJv3yFRefXN8+Mg9qBipjr1h893kd0S1Lycjant6I/KBN/tcSeLYirMIo4GXv+Q7lM Bz4lGz0FJVFKhtu8DTxvcivFWYapwjKGXtvnLOjJHHokLg4va/RB5grDDSCBuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1617290278; a=rsa-sha256; cv=none; b=mufPFj/lPMrAY3Nd9NoBXpuZjkewtDqlEStusVKh7og+VQHENttVg8O7PPNYq8pxS84uOx ujS1RPtGl2a/4kqN9BBbYxwhJDdX6WP5KP/H/mvnXohN5nSJHb7OTpXhNiY0qUDSTxsxzE HhIObuBowHxADQY9TuxNUB2YaUYogy3CY115thTz/GuxNhyA8UtTUXBpfL0VW2akdfFX3g d2Wr8k/5iUlMBYN98Fh/MARrA4ox+YEqvbzChOs+er0xv+ER6I1wY7iyxpkr33nbDyX/AI nn/+Nw6PPsKbw/n+gVgSxE9cd0CE1oO0M7sg+RGzt/E8zLZKTcCcTAgRDF15zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 15:17:58 -0000 --wQ8ANTl3uYPVjUZt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 31, 2021 at 08:48:50PM -0300, Mitchell Horne wrote: > On Wed, Mar 31, 2021 at 7:45 PM Robert Clausecker wrote: > > > > Hi Mark, > > > > The intent is to test and develop software that only runs on > > armv7 (specifically, Mecrisp Stellaris, a Forth system written > > in ARM assembly). This is best done natively. > > > > It's actually kinda annoying that no binary release tarballs > > are provided for armv7, so setting up the jail involves an > > annoying make world step. For amd64 jails, I can just unpack > > the binary tarballs and fix the configuration and I'm good to go. > > >=20 > This issue about lack of distribution sets for armv7 has come up a > couple of times. It wouldn't take much to start producing them > officially, so I plan to submit a patch for this once re@ is done with > the 13.0 release. >=20 The problem is (was?) the armv6/armv7 bits used a specific KERNCONF for each SoC, which made it somewhat impossible to guarantee that distribution sets would "just work". As I understand it now, this is no longer an issue. However, the release/Makefile has no real knowledge of how to build a release for armv7; the build is done using release.sh and a specific configuration file for each board. If the previous comment regarding KERNCONF is indeed no longer an issue, I will be happy to work with you on creating these distribution sets. Glen --wQ8ANTl3uYPVjUZt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmBl5CMACgkQAxRYpUeP 4pNwRw//ZoF/ukx37iUItmycJUU25EPSZkwMqnlyHiRA2kHlTnAxvoky/gCDEq4+ 1Lx8qeIO0FRxGhI74IyBEpubTZzhMDf+6ox5PX5VDr6f5TS9e2GRL8bmt9BCWa7S z+RNdVVGjgNR6By0lepDTg5s8/gzX5CVVvNvNY+bWGUrRcbo89TAobgboiPXhYmO DafqC874qMlSD0TJ51UHPfKtKmf2WY6/NDQqeetvMIreops9NljvDmx8swfKj2TZ HRTBhwQHaH3dtjywgK57iDJH730/o9hJguhvUp6ODeHUgyB4Jz99gVqQl118VuGA qiukKtCNWK+3UjcYsJIr6jHXv6cd01q1usw+e+Op9HM6Vp+X7Jy8b475kuB25V9X ypkCzlv4XeuhqRr8Uwaz87F+jq3ZMytk4N+vuYlrpsLd4bSkI2FMMSiP4a/gV+Ui 5BZW6LPRIMOpsgjUQqFe+B2vD/xGMPekPYBNQ63rf+G/ki9k50sXxYbGBVciXET/ 8tS4DD2BfyKF9ElMD2SaxWLPbUfcFryp0JkDnvHNVMXAu8V4/Z7+0S0ZgcG+80Y0 v46UtPonb5L6o/R7N5HJkxHAmJ1zQoM8hJk9RZv+sI/EgIp+OkjSUTBsZFOFd86U Msx0yMa1i6ASQ8o/hfl2i4F3s1LeXG03LgV0kvxrRJx8kNASEKg= =sPC3 -----END PGP SIGNATURE----- --wQ8ANTl3uYPVjUZt-- From owner-freebsd-arm@freebsd.org Thu Apr 1 15:18:25 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B98D57B4AD for ; Thu, 1 Apr 2021 15:18:25 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB6Jc1k1Nz4QpF for ; Thu, 1 Apr 2021 15:18:23 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x434.google.com with SMTP id x7so2186910wrw.10 for ; Thu, 01 Apr 2021 08:18:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=IdWA9rdaauwtLZBzRoV5uaS90sL9lcAj13uSgR9awwE=; b=DJ7wd7cNjkNBwm2/JBmSp7O7ROp07xi0K6JoTyLgobcTBC6QfIILw29NpRk6iLEXu/ rILgYcx+zAJ97Mx3RWtHcvko7Zdoi3GU9qye8Ev7B6XMMLiq0rJ4okEPNgnOrHqAg+he z4/TGnS61OduHV8UJntkN9KZiASYxgFD3/YuI9tbqu3h7XC9p3qrmVxEstRqQk2OZEhT woJlQDYtR2n7YVHLWycy9M6kFYE08Im0HhJ5Wa84Dvs8c5x8sv6IqQ1PC/NC9eIkFfBH Z3ybF2WbLwFbvTYBEzYSvBMHdGj0HMRYbaKLlqjFXK0jRJ8FND+8pl5uZ0nc+JmdeC7l 9Clw== X-Gm-Message-State: AOAM531xOBuEiyJaY0tws1jVnPn1Rf+X2UlBegDfifBfK0bzJO/F9wvb EYwBP9kf6LMBhmbt/+cdrSEqAdy3YB0Cfg== X-Google-Smtp-Source: ABdhPJzNBCQU/ooclU6o99hLJslvVYjz1JfJB7DTH7K4O1758NoFzrcf+7pmvfXINSjf8+k7KkvB6w== X-Received: by 2002:adf:e412:: with SMTP id g18mr10602441wrm.159.1617290302376; Thu, 01 Apr 2021 08:18:22 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-153-037.46.114.pool.telefonica.de. [46.114.153.37]) by smtp.googlemail.com with ESMTPSA id l15sm8558988wme.43.2021.04.01.08.18.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Apr 2021 08:18:21 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Thu, 1 Apr 2021 17:18:19 +0200 References: <21BE83BC-0667-44F7-83E4-1664A2BC6017@icloud.com> <74C08272-D40E-42D2-A623-CEE12C661329@googlemail.com> <8d54c77b-b5bf-cdc9-7ed5-2bfb6504b388@spth.de> <0434D7DE-14A6-4B78-97C4-508C348DB891@googlemail.com> <9ee70ac3b117b6605ce67102c2864f24a2816d90.camel@freebsd.org> <20210331192030.3fb9314f@kan> To: Dan Kotowski , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <53D790C4-0CBD-49BC-8D4E-A48C8F9F0E6C@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FB6Jc1k1Nz4QpF X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::434:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.153.37:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::434:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 15:18:25 -0000 > Am 01.04.2021 um 16:12 schrieb Dan Kotowski = : >=20 > On Wednesday, March 31st, 2021 at 23:20, Alexander Kabaev = wrote: >=20 >> On Tue, 30 Mar 2021 17:14:01 -0700 >>=20 >> Mark Millard via freebsd-arm freebsd-arm@freebsd.org wrote: >>=20 >>> On 2021-Mar-30, at 16:32, Ian Lepore wrote: >>>=20 >>>> On Tue, 2021-03-30 at 22:52 +0000, Dan Kotowski wrote: >>>>=20 >>>>>> `guess SFP+ would need more special driver-attention ... >>>>>> from quick reading around the web I guess the DPAA2 also needs a >>>>>> closed source binary blob. >>>>>=20 >>>>> So this actually comes from NXP, not SolidRun. Linux already has >>>>> some/most of what's needed, and the license is GPL-2.0+ OR BSD-3- >>>>> Clause so there's hope, but I haven't heard a peep from NXP and >>>>> SolidRun doesn't really have the manpower to port to FreeBSD >>>>> themselves. >>>>=20 >>>> = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/driv= ers/net/ethernet/freescale/dpaa2/ >>>>=20 >>>> That's actually very good news. If it's dual-licensed it can be >>>> included in freebsd without any drama. Still needs porting work, or >>>> maybe it could run using the linuxkpi stuff? >>>=20 >>> The files there are a mix: a few list just: >>>=20 >>> SPDX-License-Identifier: GPL-2.0-only >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>=20 >>> or: >>>=20 >>> SPDX-License-Identifier: GPL-2.0 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >>>=20 >>> or: >>>=20 >>> // SPDX-License-Identifier: GPL-2.0 >>>=20 >>> or: >>>=20 >>> /* SPDX-License-Identifier: GPL-2.0 */ >>>=20 >>> ( Kconfig Makefile dpaa2-ptp.[ch] dprtc-cmd.h dprtc.[ch] ) >>>=20 >>> The others (most) list: >>>=20 >>> // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) >>>=20 >>> or: >>>=20 >>> /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ >>>=20 >>> The Copyrights seem to be Freescale Semiconductor Inc. and/or >>> NXP when documented on a file. May be they would be willing >>> to add the BSD-3-Clause where it is missing? >>>=20 >>> =3D=3D=3D >>> Mark Millard >>> marklmi at yahoo.com >>> ( dsl-only.net went >>> away in early 2018-Mar) >>=20 >> If one does not need to run custom firmware on DPAA2 subsystem, then >> the only binary blob one needs if an MC firmware which is and always >> will be the binary-only thing, per our NXP contacts. MC provides >> intermediate layer API that abstracts hardware configuration at = somewhat >> higher level that DPAA from older Layerscape chips did. MC blob is >> freely downloadable and NXP documents MC and DPAA2 interfaces quite >> well, but it is a sizable code to write to get things properly >> integrated. NXP also ships a lot of their low-level code as part of >> DPDK, which is licensed liberally and can be referenced for the >> inspiration. Most of fls_dp* files are available there. >>=20 >> Alexander Kabaev >=20 > For what it's worth, this SoC is starting to show up in SmartNICs too: >=20 > = https://www.xilinx.com/applications/data-center/network-acceleration/alveo= -sn1000.html >=20 > I don't have the free cycles or expertise to write/port this code = myself, but would love to work with someone who does > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org=E2=80=9C What is this ?? : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253177 =E2=80=A6. = https://gist.github.com/yarshure/1cc3350b4cbd86d7514514b57987b9d7. = =E2=80=A6.=20 pcib1: on acpi0 pci1: on pcib1 ix0: port 0x20-0x3f mem = 0xa400080000-0xa4000fffff,0xa400504000-0xa400507fff at device 0.0 on = pci1 ix0: Using 2048 TX descriptors and 2048 RX descriptors ix0: Using 16 RX queues 16 TX queues ix0: Using MSI-X interrupts with 17 vectors ix0: allocated for 16 queues ix0: allocated for 16 rx queues ix0: Ethernet address: 90:1b:0e:44:36:0f ix0: PCI Express Bus: Speed 5.0GT/s Width x8 =E2=80=A6=E2=80=A6 K. From owner-freebsd-arm@freebsd.org Thu Apr 1 16:03:13 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E425F57D1E3 for ; Thu, 1 Apr 2021 16:03:13 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-5.mit.edu (outgoing-exchange-5.mit.edu [18.9.28.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB7JJ6YzGz4TVK for ; Thu, 1 Apr 2021 16:03:12 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 131G3Aqe010964 for ; Thu, 1 Apr 2021 12:03:11 -0400 Received: from OC11EXPO29.exchange.mit.edu (18.9.4.102) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 1 Apr 2021 12:02:11 -0400 Received: from OC11EXPO29.exchange.mit.edu (18.9.4.102) by oc11expo29.exchange.mit.edu (18.9.4.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 1 Apr 2021 12:02:51 -0400 Received: from OC11EXPO29.exchange.mit.edu ([18.9.4.102]) by oc11expo29.exchange.mit.edu ([18.9.4.102]) with mapi id 15.00.1497.012; Thu, 1 Apr 2021 12:02:51 -0400 From: John F Carr To: "freebsd-arm@freebsd.org" Subject: Re: Any good alternative to Raspberry for Arm64? Thread-Topic: Any good alternative to Raspberry for Arm64? Thread-Index: AQHXIzlO7EVOsBSXNka0ZGaAjI/adqqZGZGAgAD0/ICAAEewgIACi0GAgABEKoCAAD9oAIAABkuAgAALGwCAABPQgIAAwiqAgAAilICAADThAIAAEtAAgAEKDICAAAXFAIAANXiAgAAhjIA= Date: Thu, 1 Apr 2021 16:02:51 +0000 Message-ID: <93F14868-9619-43DC-BD2A-20E7A08EE34D@exchange.mit.edu> References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> <8FB6136B-59BB-4A8F-A33C-DCEE93B3834F@unrelenting.technology> <734deaff2cf6c5e9ac34b00f14919451@schema31.it> <5E172789-BD6F-4BA0-8563-C4ACF12847DC@brickporch.com> In-Reply-To: <5E172789-BD6F-4BA0-8563-C4ACF12847DC@brickporch.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [108.7.221.50] Content-Type: text/plain; charset="utf-8" Content-ID: <91BC0B6ECD2CB1429F80E1AC3D24CCA6@exchange.mit.edu> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Rspamd-Queue-Id: 4FB7JJ6YzGz4TVK X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.59 as permitted sender) smtp.mailfrom=jfc@mit.edu X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[18.9.28.59:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[mit.edu]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.59:from]; MIME_BASE64_TEXT(0.10)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 16:03:13 -0000 T24gQXByIDEsIDIwMjEsIGF0IDEwOjAyICwgTWFyY2VsIEZsb3JlcyA8bWFyY2VsQGJyaWNrcG9y Y2guY29tPiB3cm90ZToNCj4gDQo+IA0KPj4gT24gQXByIDEsIDIwMjEsIGF0IDM6NTEgQU0sIEFu ZHJlYSBCcmFuY2F0ZWxsaSB2aWEgZnJlZWJzZC1hcm0gPGZyZWVic2QtYXJtQGZyZWVic2Qub3Jn PiB3cm90ZToNCj4+IA0KPj4gUHJhY3RpY2FsbHkgc3BlYWtpbmcsIHN1cHBvc2luZyBJJ2QgbGlr ZSB0aGUgZXF1aXZhbGVudCBvZiBhbg0KPj4gZW50cnktbGV2ZWwgc2VydmVyIHRoYXQgaXMgbm90 IGEgc3BhY2Vyb2NrZXQgKDgwIGNvcmVzLi4uKSBidXQgbm90IGENCj4+IHJhc3BiZXJyeSB3aXRo IHRoZSBkcml2ZXMgdGFwZXMgdG8gdGhlIHJhdyBib2FyZCwgaXMgdGhlcmUgYW55dGhpbmcNCj4+ IGFyb3VuZD8NCj4gDQo+IEkgaGF2ZSBubyBjb21wbGFpbnRzIGFib3V0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cnZlciBjbGFzcyBBUk0gaXMgYSBs ZWdpdGltYXRlIGJ1c2luZXNzDQpleHBlbnNlLiAgSWYgSSB3YW50ZWQgYSBzbWFsbGVyIHN5c3Rl bSBmb3IgcGVyc29uYWwgdXNlIEkgd291bGQgYmUgZnJ1c3RyYXRlZCBieSB0aGUgcGVyZm9ybWFu Y2UNCmFuZCBwcmljZSBnYXAgYmV0d2VlbiBhIFBpIGFuZCB0aGUgbmV4dCBtYWNoaW5lIHdpdGgg YmV0dGVyIHBlcmZvcm1hbmNlIGFuZCBoaWdoZXIgcXVhbGl0eSBjb21wb25lbnRzLg0KDQooSSBh ZG1pdCB0aGF0IHRoZSBSYXNwYmVycnkgUGkgaXMgYSBzdGVwIHVwIGZyb20gdGhlIGZpcnN0IEFS TSBzeXN0ZW0gSSBnb3QsIG1heWJlIDgtMTAgeWVhcnMgYWdvLCB3aGljaA0KaGFkIDE5OTBzIFBD IHF1YWxpdHkgbWVtb3J5IHRoYXQgcmFuZG9tbHkgc2VnZmF1bHRlZCB0cnlpbmcgdG8gYnVpbGQg Z2NjLikNCg0K From owner-freebsd-arm@freebsd.org Thu Apr 1 16:03:37 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14FCF57D4C1 for ; Thu, 1 Apr 2021 16:03:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB7Jm3SSgz4TXs for ; Thu, 1 Apr 2021 16:03:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x735.google.com with SMTP id y5so2648650qkl.9 for ; Thu, 01 Apr 2021 09:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4ja3aJ+tyHm3weBH8+ZN9WDlaki43qh0blTY/kJAsRQ=; b=qZqQZFxK2qsgyRK7XWUP7flbbFFlGFcDTXiHL4n72VQYgq6a9NRUhdqQwIuJ13Hqk7 8c48mwWGV1lbO8kCYk8THmSPjpiFYZQcmmD51fNAWRUvh3ukG1ziyb2+kWyayTBhir7O 9SXzkwuYQoS1359aJiw7CROZQUL+pc2nxlmnoBDKVTv2x5HLT8l1jjyhLk1ZmWwUhV9u k5LiujYo927MzYDiowjfQSzMFVUHqCm+W2J3djJQMSbvd91+S6MZQc0+dub1qCACP8fv avkriMJ59zmxAp77Bhyut6eb3++Ds0DeXCpR1YBg5oxnoEBbDkUKQO+yQaVIVVolkfEJ aGWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4ja3aJ+tyHm3weBH8+ZN9WDlaki43qh0blTY/kJAsRQ=; b=iKfjrvuPPUlOKJZO26qnEo1Txw0lMYq7yML4Ef0DdStkp9SQ+WGWHna6fxotUuFQXo u4G30F/bLMOzSVA1XpT2IAZUl9B3TUXP44zncv2usEtg+lRnwD4qrdZ1XgLO9Y+7Tib+ ejefv+XOUCiPTfUN56PSBl+UDpseWbrPojT0luL0okhfKR+eipdkVILLGipIybYlCf7D NQ7OC7mtQvnj1iXDzwJ8YbRvnkzMrxM1gOoImWW6lrFXXDxBDsNUOvn4JVmDfAabBV9q rF0AKto9zBFU1KrbcS3muvDawJiP87a8EgsHyEXajVgP1C4/bGRLehR5SLlGvt/sqqBb 7vWw== X-Gm-Message-State: AOAM5325VFd3kQBBESCd2SC1zkpyHhes32tfakQEI02IqkeB9Wc+cAW5 ld/lqCOMXOktcLqKMOZB+nwITXleO3QPndxU8gPXyg== X-Google-Smtp-Source: ABdhPJzhFjw5sz+7USB1owumOOalDuYLOkYDYhz32LLeQMuMjtLJbdLQPd4fHTv0WsQZA2WguCvl6Ofm57gUqMo8/9g= X-Received: by 2002:a37:a48a:: with SMTP id n132mr8650686qke.359.1617293015863; Thu, 01 Apr 2021 09:03:35 -0700 (PDT) MIME-Version: 1.0 References: <202103311655.12VGtx3T036893@office.dignus.com> <20210401151755.GO92026@FreeBSD.org> In-Reply-To: <20210401151755.GO92026@FreeBSD.org> From: Warner Losh Date: Thu, 1 Apr 2021 10:03:24 -0600 Message-ID: Subject: Re: 32-bit executables on aarch64? To: Glen Barber Cc: Mitchell Horne , freebsd-arm X-Rspamd-Queue-Id: 4FB7Jm3SSgz4TXs X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=qZqQZFxK; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::735) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::735:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::735:from]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 16:03:37 -0000 On Thu, Apr 1, 2021 at 9:18 AM Glen Barber wrote: > On Wed, Mar 31, 2021 at 08:48:50PM -0300, Mitchell Horne wrote: > > On Wed, Mar 31, 2021 at 7:45 PM Robert Clausecker wrote: > > > > > > Hi Mark, > > > > > > The intent is to test and develop software that only runs on > > > armv7 (specifically, Mecrisp Stellaris, a Forth system written > > > in ARM assembly). This is best done natively. > > > > > > It's actually kinda annoying that no binary release tarballs > > > are provided for armv7, so setting up the jail involves an > > > annoying make world step. For amd64 jails, I can just unpack > > > the binary tarballs and fix the configuration and I'm good to go. > > > > > > > This issue about lack of distribution sets for armv7 has come up a > > couple of times. It wouldn't take much to start producing them > > officially, so I plan to submit a patch for this once re@ is done with > > the 13.0 release. > > > > The problem is (was?) the armv6/armv7 bits used a specific KERNCONF for > each SoC, which made it somewhat impossible to guarantee that > distribution sets would "just work". As I understand it now, this is no > longer an issue. > > However, the release/Makefile has no real knowledge of how to build > a release for armv7; the build is done using release.sh and a specific > configuration file for each board. > > If the previous comment regarding KERNCONF is indeed no longer an issue, > I will be happy to work with you on creating these distribution sets. > KERNCONF was never an issue for userland, outside the boot loader bits. It mattered for a while because ubldr needed to know some stuff, but Ian fixed even that a long time ago (9.x or 10.x time frame, IIRC). We've moved to having GENERIC on armv7, and a special wart for RPIB for armv6. The former should be available as a generic set, just like we do for x86 where we bundle things with GENERIC. The RPIB stuff we can omit if need be. So the goal today is to have as generic an image as others. The IMAGE needs to be flavored with a specific u-boot to be bootable, but the binaries work with any armv7 kernel. I'm not entirely sure that we have to do this for 13.0 at the 13.0 release, but should for 13.1 for sure and ideally maybe a few days or weeks after 13.0 is released if possible. Warner From owner-freebsd-arm@freebsd.org Thu Apr 1 16:25:08 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A21EA57E645 for ; Thu, 1 Apr 2021 16:25:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB7nc45Psz4VHL; Thu, 1 Apr 2021 16:25:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 7A62824DF1; Thu, 1 Apr 2021 16:25:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: by mail-yb1-f176.google.com with SMTP id l15so2413202ybm.0; Thu, 01 Apr 2021 09:25:08 -0700 (PDT) X-Gm-Message-State: AOAM530FAt8c1YWZXDeLEfH890gn+PPPw/KzeACF2/7AL+ggaF/sfM/q YvJtUCImjMhvmMBpdWxisWN8N359MnUANei45fY= X-Google-Smtp-Source: ABdhPJycFQ2DBtccf1CP8gp/MP9NoIb/63eDnE5Y+q69dpXfwTfYEz5r3v5tI8WBYAKfMJ67mLONDubYDECC9PV5AGA= X-Received: by 2002:a25:1883:: with SMTP id 125mr12437246yby.465.1617294308042; Thu, 01 Apr 2021 09:25:08 -0700 (PDT) MIME-Version: 1.0 References: <202103311655.12VGtx3T036893@office.dignus.com> <20210401151755.GO92026@FreeBSD.org> In-Reply-To: <20210401151755.GO92026@FreeBSD.org> From: Mitchell Horne Date: Thu, 1 Apr 2021 13:24:56 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 32-bit executables on aarch64? To: Glen Barber Cc: Robert Clausecker , freebsd-arm Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 16:25:08 -0000 On Thu, Apr 1, 2021 at 12:18 PM Glen Barber wrote: > > On Wed, Mar 31, 2021 at 08:48:50PM -0300, Mitchell Horne wrote: > > On Wed, Mar 31, 2021 at 7:45 PM Robert Clausecker wrote: > > > > > > Hi Mark, > > > > > > The intent is to test and develop software that only runs on > > > armv7 (specifically, Mecrisp Stellaris, a Forth system written > > > in ARM assembly). This is best done natively. > > > > > > It's actually kinda annoying that no binary release tarballs > > > are provided for armv7, so setting up the jail involves an > > > annoying make world step. For amd64 jails, I can just unpack > > > the binary tarballs and fix the configuration and I'm good to go. > > > > > > > This issue about lack of distribution sets for armv7 has come up a > > couple of times. It wouldn't take much to start producing them > > officially, so I plan to submit a patch for this once re@ is done with > > the 13.0 release. > > > > The problem is (was?) the armv6/armv7 bits used a specific KERNCONF for > each SoC, which made it somewhat impossible to guarantee that > distribution sets would "just work". As I understand it now, this is no > longer an issue. > > However, the release/Makefile has no real knowledge of how to build > a release for armv7; the build is done using release.sh and a specific > configuration file for each board. > > If the previous comment regarding KERNCONF is indeed no longer an issue, > I will be happy to work with you on creating these distribution sets. > Sounds good, thanks Glen. As Warner points out this is no longer a blocker, and should not pose a problem for userland anyway. I expect the main consumer of these sets will be people setting up a quick armv7 jail/chroot on arm64, e.g. for poudriere. I'll reach out in a couple weeks. Mitchell > Glen > From owner-freebsd-arm@freebsd.org Thu Apr 1 16:29:29 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDE9757E748 for ; Thu, 1 Apr 2021 16:29:29 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB7td2t0yz4VSd; Thu, 1 Apr 2021 16:29:29 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 0D26C255D5; Thu, 1 Apr 2021 16:29:29 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: by mail-yb1-f170.google.com with SMTP id m132so2403489ybf.2; Thu, 01 Apr 2021 09:29:28 -0700 (PDT) X-Gm-Message-State: AOAM531Xsra9zXMetGIFKwqe3FcJnSiF2A4E3p7sk0e9+SDgR1wWy6sJ 2yaRr2mgm1il5zITsxclzqpbYJ+qYBKapiFRg2A= X-Google-Smtp-Source: ABdhPJxA2hkpEC7eQrFr2fOdy181yDdcpQdCU930KrN7t0U1/hbHXbXR0mM6zVYNrQS6rmoptE4/IZZFvONgW6SY6sA= X-Received: by 2002:a25:b21d:: with SMTP id i29mr13071719ybj.226.1617294568329; Thu, 01 Apr 2021 09:29:28 -0700 (PDT) MIME-Version: 1.0 References: <202103311655.12VGtx3T036893@office.dignus.com> <20210401151755.GO92026@FreeBSD.org> In-Reply-To: From: Mitchell Horne Date: Thu, 1 Apr 2021 13:29:17 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 32-bit executables on aarch64? To: Warner Losh Cc: Glen Barber , freebsd-arm Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 16:29:29 -0000 On Thu, Apr 1, 2021 at 1:03 PM Warner Losh wrote: > > > > On Thu, Apr 1, 2021 at 9:18 AM Glen Barber wrote: >> >> On Wed, Mar 31, 2021 at 08:48:50PM -0300, Mitchell Horne wrote: >> > On Wed, Mar 31, 2021 at 7:45 PM Robert Clausecker wrote: >> > > >> > > Hi Mark, >> > > >> > > The intent is to test and develop software that only runs on >> > > armv7 (specifically, Mecrisp Stellaris, a Forth system written >> > > in ARM assembly). This is best done natively. >> > > >> > > It's actually kinda annoying that no binary release tarballs >> > > are provided for armv7, so setting up the jail involves an >> > > annoying make world step. For amd64 jails, I can just unpack >> > > the binary tarballs and fix the configuration and I'm good to go. >> > > >> > >> > This issue about lack of distribution sets for armv7 has come up a >> > couple of times. It wouldn't take much to start producing them >> > officially, so I plan to submit a patch for this once re@ is done with >> > the 13.0 release. >> > >> >> The problem is (was?) the armv6/armv7 bits used a specific KERNCONF for >> each SoC, which made it somewhat impossible to guarantee that >> distribution sets would "just work". As I understand it now, this is no >> longer an issue. >> >> However, the release/Makefile has no real knowledge of how to build >> a release for armv7; the build is done using release.sh and a specific >> configuration file for each board. >> >> If the previous comment regarding KERNCONF is indeed no longer an issue, >> I will be happy to work with you on creating these distribution sets. > > > KERNCONF was never an issue for userland, outside the boot loader bits. It mattered for a while because ubldr needed to know some stuff, but Ian fixed even that a long time ago (9.x or 10.x time frame, IIRC). > > We've moved to having GENERIC on armv7, and a special wart for RPIB for armv6. The former should be available as a generic set, just like we do for x86 where we bundle things with GENERIC. The RPIB stuff we can omit if need be. > > So the goal today is to have as generic an image as others. The IMAGE needs to be flavored with a specific u-boot to be bootable, but the binaries work with any armv7 kernel. > > I'm not entirely sure that we have to do this for 13.0 at the 13.0 release, but should for 13.1 for sure and ideally maybe a few days or weeks after 13.0 is released if possible. > I have the patch for this kicking around locally, so we can move on it soon. If I had been a little faster it might have made 13.0, but it seems better to wait at this point. Mitchell > Warner From owner-freebsd-arm@freebsd.org Thu Apr 1 17:38:06 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E32CF5B11F3 for ; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB9Pp5C6jz4bL7 for ; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: by mailman.nyi.freebsd.org (Postfix) id B08A45B1251; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B05425B11F2 for ; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB9Pn4ps1z4bHm for ; Thu, 1 Apr 2021 17:38:04 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [91.206.111.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lS1Gd-0000nz-KV for arm@freebsd.org; Thu, 01 Apr 2021 17:38:03 +0000 Date: Thu, 1 Apr 2021 20:38:01 +0300 From: Nick Kostirya To: arm@freebsd.org Subject: SPI and si4463 radio Message-ID: <20210401173801.5021704d@i11.co> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i386-portbld-freebsd12.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FB9Pn4ps1z4bHm X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[159.69.78.69:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[i11.co:+]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[159.69.78.69:from]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 17:38:06 -0000 Hello. I need help with SPI and si4463 radio. si4463 radio works great on Arduino Pro Mini. FreeBSD 12.2 (armv7 r369379) on NanoPi NEO no not work with it. MISO always has the HIGH state. The logical analyser says that values of CLK, MOSI, CS is identical to Arduino. The only difference is that interval between CS and CLK is much bigger on FreeBSD. By the way BMP280 works fine on FreeBSD. What do you think I can be done for si4463? Maybe there are some additional settings for SPI? From owner-freebsd-arm@freebsd.org Thu Apr 1 12:06:24 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D3B15CB9BB for ; Thu, 1 Apr 2021 12:06:24 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB2335T6bz3hvr for ; Thu, 1 Apr 2021 12:06:23 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: by mail-qv1-xf2e.google.com with SMTP id iu14so855473qvb.4 for ; Thu, 01 Apr 2021 05:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=ldB3/0+18xTy8BpTYPNGYI5F8myO/6oNzqLF/gw46Pc=; b=wLry3hJOzTGdElnHrkcReDFW904EQHA1RcPXOaiCz2RfGEW42uCLAslrkabKkqMniH yY+my/WyuOlO1AUgKMwSksTMFAlc3AL8anKCUMSCkRlapA6xxX/fp2lmPwx2/slkzyOY /vCHEY5BCBxsb5l7nPcxUudpwS7PI415agiqwRaKED9gTYI8IqRCGSH03uhSlxLYfOFa GPK4aOftnzC1gxsFk2dqjN4fihR7jPWV1YBtBPTT7HlcrwLjAkdQkTfM4NCBZJRPzC99 bErT5dpBrTgRYmZUuL5dEbAqwHVfEbhURue+dpZoNFkJrq99VEaAi/AybzO31+azI7Hn NVYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ldB3/0+18xTy8BpTYPNGYI5F8myO/6oNzqLF/gw46Pc=; b=QxIQz6oghmJPQIf+Nvbf9DRX05q1rjiSfEigUz179ZC/x1QVw0KvjNFDO5jlJxACKq lNS8xJFOyd5q7kRDjkBNFCqzKFlrTKf+125M5hsqNGP2F9gMHXRAPdECxJvp8nFmQnEV ghIuOWKQeeDlYKS9zjR0JA4DlvnQH3mTR0rMbaWim3ahong+4nfsgdaTgy6KiMnLI7rm CJXq9Q8HGtxHDA7kHwhdSjlkhO5uqIVKuMz8rSjqRnWEPZd8eOKz9+VrTypqVT1U7BPO xNGEDnQGHNavsN54Lyhv7CDG8p52k21QOs/9nrmkKCemawVtHe9Br4QBMUkkmeJnV5wI c0tA== X-Gm-Message-State: AOAM5311Rhjx2nmKr49yxjHPh6RwxN+5en4odE6VLEQd+Tg/GlbJtgxm 8Z80LAPjJY1zW1reYJoGQourWF8/fwsD3BjE X-Google-Smtp-Source: ABdhPJx22hhW8GTARJFBTm/nDertXTpU4+E5q8GNK5V5dzg2MXpYlLsGdSRMyrs2yREOOperA8K+PA== X-Received: by 2002:ad4:472d:: with SMTP id l13mr7760301qvz.17.1617278782216; Thu, 01 Apr 2021 05:06:22 -0700 (PDT) Received: from ?IPv6:2001:470:1c:38d::4? ([2001:470:1c:38d::4]) by smtp.gmail.com with ESMTPSA id p66sm3849791qka.108.2021.04.01.05.06.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Apr 2021 05:06:21 -0700 (PDT) Subject: Re: Any good alternative to Raspberry for Arm64? To: Andrea Brancatelli , Greg V Cc: freebsd-arm@freebsd.org References: <202103310043.12V0hFqg023324@office.dignus.com> <6136F5CE-0E73-4A36-B3B0-CA17C8BEE9AA@unrelenting.technology> <03D4DC97-1F65-4CF3-A85B-6744A401931D@googlemail.com> <48041E50-D673-4855-A8C0-9B45D6BEA739@unrelenting.technology> <7E683433-883B-4105-9103-AC9C437008FB@googlemail.com> <8FB6136B-59BB-4A8F-A33C-DCEE93B3834F@unrelenting.technology> <734deaff2cf6c5e9ac34b00f14919451@schema31.it> From: petru garstea Message-ID: <996c07c8-603d-615a-f826-57092ae81bfc@ambient-md.com> Date: Thu, 1 Apr 2021 08:06:20 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <734deaff2cf6c5e9ac34b00f14919451@schema31.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4FB2335T6bz3hvr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ambient-md-com.20150623.gappssmtp.com header.s=20150623 header.b=wLry3hJO; dmarc=none; spf=none (mx1.freebsd.org: domain of peter.garshtja@ambient-md.com has no SPF policy when checking 2607:f8b0:4864:20::f2e) smtp.mailfrom=peter.garshtja@ambient-md.com X-Spamd-Result: default: False [-2.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ambient-md-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f2e:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[ambient-md-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[ambient-md.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::f2e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2e:from]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Mailman-Approved-At: Fri, 02 Apr 2021 07:19:15 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 12:06:24 -0000 Greetings, I use an x86 tiny board  ODROID-H2+, check that out here https://www.hardkernel.com/shop/odroid-h2plus/ > Practically speaking, supposing I'd like the equivalent of an > entry-level server that is not a spacerocket (80 cores...) but not a > raspberry with the drives tapes to the raw board, is there anything > around? From owner-freebsd-arm@freebsd.org Fri Apr 2 09:11:52 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8ED4E5C905B for ; Fri, 2 Apr 2021 09:11:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBZ7D3RDJz4bQc; Fri, 2 Apr 2021 09:11:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 5EC031CFEB; Fri, 2 Apr 2021 09:11:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 5DF8E1B430; Fri, 2 Apr 2021 09:11:52 +0000 (UTC) Date: Fri, 2 Apr 2021 09:11:52 +0000 To: Phabricator From: "oskar.holmlund_ohdata.se (Oskar Holmlund)" Cc: freebsd-arm@freebsd.org Reply-to: "oskar.holmlund_ohdata.se (Oskar Holmlund)" Subject: [Differential] D29546: am335x_ehrpwm.c remove sysctl interface Message-ID: <2eda13621e8362ce52834a95f6428c69@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <31>, <124> X-Phabricator-Projects: <#arm> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-2s2j2t6vbp24dgwt3qjc X-Phabricator-Mail-ID: 2480347 X-Phabricator-Send-Attempt: 6x2oisxwlb63tikk In-Reply-To: References: Thread-Index: YzY3ZjY1ODRiZGE2MjZiZmU0NDkxOWNiNmY3IGBm39g= X-Phabricator-Stamps: actor(@oskar.holmlund_ohdata.se) application(Differential) author(@oskar.holmlund_ohdata.se) herald(H31) herald(H124) monogram(D29546) object-type(DREV) phid(PHID-DREV-2s2j2t6vbp24dgwt3qjc) reviewer(#arm) reviewer(@manu) revision-repository(R10) revision-status(needs-review) subscriber(@andrew) subscriber(@freebsd-arm-list) tag(#arm) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_2eda13621e8362ce52834a95f6428c69" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 09:11:52 -0000 --b1_2eda13621e8362ce52834a95f6428c69 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 b3NrYXIuaG9sbWx1bmRfb2hk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YWlsLmNvbQo= --b1_2eda13621e8362ce52834a95f6428c69 Content-Type: text/x-patch; charset=utf-8; name="D29546.86730.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D29546.86730.patch" ZGlmZiAtLWdpdCBhL3N5cy9hcm0vdGkvYW0zMzV4L2FtMzM1eF9laHJwd20uYyBiL3N5cy9hcm0v dGkvYW0zMzV4L2FtMzM1eF9laHJwd20uYwotLS0gYS9zeXMvYXJtL3RpL2FtMzM1eC9hbTMzNXhf ZWhycHdtLmMKKysrIGIvc3lzL2FybS90aS9hbTMzNXgvYW0zMzV4X2VocnB3bS5jCkBAIC0zNyw3 ICszNyw2IEBACiAjaW5jbHVkZSA8c3lzL211dGV4Lmg+CiAjaW5jbHVkZSA8c3lzL3Jlc291cmNl Lmg+CiAjaW5jbHVkZSA8c3lzL3JtYW4uaD4KLSNpbmNsdWRlIDxzeXMvc3lzY3RsLmg+CiAKICNp bmNsdWRlIDxtYWNoaW5lL2J1cy5oPgogCkBAIC01MywxNyArNTIsNiBAQAogICogRW5oYW5jZWQg cmVzb2x1dGlvbiBQV00gZHJpdmVyLiAgTWFueSBvZiB0aGUgYWR2YW5jZWQgZmVhdHVlcyBvZiB0 aGUgaGFyZHdhcmUKICAqIGFyZSBub3Qgc3VwcG9ydGVkIGJ5IHRoaXMgZHJpdmVyLiAgV2hhdCBp cyBpbXBsZW1lbnRlZCBoZXJlIGlzIHNpbXBsZQogICogdmFyaWFibGUtZHV0eS1jeWNsZSBQV00g b3V0cHV0LgotICoKLSAqIE5vdGUgdGhhdCB0aGlzIGRyaXZlciB3YXMgaGlzdG9yaWNhbGx5IGNv bmZpZ3VyZWQgdXNpbmcgYSBzZXQgb2Ygc3lzY3RsCi0gKiB2YXJpYWJsZXMvcHJvY3MsIGFuZCBs YXRlciBnYWluZWQgc3VwcG9ydCBmb3IgdGhlIFBXTSg5KSBBUEkuICBUaGUgc3lzY3RsCi0gKiBj b2RlIGlzIHN0aWxsIHByZXNlbnQgdG8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DAp OworCUVQV01fV1JJVEUyKHNjLCBFUFdNX0NNUEIsIDApOwogCiAJRVBXTV9XUklURTIoc2MsIEVQ V01fQVFDVExBLCAoQVFDVExfWlJPX1NFVCB8IEFRQ1RMX0NBVV9DTEVBUikpOwogCUVQV01fV1JJ VEUyKHNjLCBFUFdNX0FRQ1RMQiwgKEFRQ1RMX1pST19TRVQgfCBBUUNUTF9DQlVfQ0xFQVIpKTsK Cg== --b1_2eda13621e8362ce52834a95f6428c69-- From owner-freebsd-arm@freebsd.org Fri Apr 2 09:13:47 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 402815C971D for ; Fri, 2 Apr 2021 09:13:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBZ9R15qkz4bgt for ; Fri, 2 Apr 2021 09:13:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 2402D5C971C; Fri, 2 Apr 2021 09:13:47 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23CB15C971B for ; Fri, 2 Apr 2021 09:13:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBZ9Q0Bbxz4bNg for ; Fri, 2 Apr 2021 09:13:45 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Cc:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=h20AjonovH74IMshvk4HKpbQe8qrHCzF2O3Qedg/Gik=; b=ldZYe/pwR3/rplLYv9kIyL4s0Hhi9gH5dXy6Wjj8hozPvLwuVYG812n+II1/irBl4gWEvH1IWTlMfobUfc30AxkyWSiIYBFDZXR3z7cs0A5+g8yw62DoKSq7/DYG2wbfOwp/Zpmyb/LX/6gS09yuXeYcgEaJjybFkTCKJsy2wHbfeicobUQNGwAloe4yOi+F4jzp8uoCUcoxexJBYau7HkXugBuTtYIduiX7TWRdKjEjal/BhJfCNAcGlZjD/NpoRXeG5r255x77ZW9dCLgAcz8GWRjjRd+/2b4zAgLsNA0bqgoTqNRm6Mxq4ONCt1XrbTcUJoLP/nK8FojEv5lxxw==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1lSFs1-00014u-Mk; Fri, 02 Apr 2021 12:13:37 +0300 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: need overlay to enable second i2c Message-Id: <6F3D06F8-8FAD-44A3-A850-C76278904D2E@cs.huji.ac.il> Date: Fri, 2 Apr 2021 12:13:37 +0300 To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FBZ9Q0Bbxz4bNg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=ldZYe/pw; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.46 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[132.65.116.210:from]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FREEFALL_USER(0.00)[danny]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[132.65.116.210:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; NEURAL_HAM_SHORT(-0.16)[-0.156]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 09:13:47 -0000 Hi, the dts stuff has changed since I last time I used it, and I can=E2=80=99t figure out how to write an overlay to enable the 2nd. = i2c on my neopi-nano/allwinner any help? thanks, danny From owner-freebsd-arm@freebsd.org Fri Apr 2 09:24:39 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0CE9F5C97E6 for ; Fri, 2 Apr 2021 09:24:39 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBZPy6kx1z4c97; Fri, 2 Apr 2021 09:24:38 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id D8F061D5FA; Fri, 2 Apr 2021 09:24:38 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id D82CF23E1D; Fri, 2 Apr 2021 09:24:38 +0000 (UTC) Date: Fri, 2 Apr 2021 09:24:38 +0000 To: Phabricator From: "oskar.holmlund_ohdata.se (Oskar Holmlund)" Cc: freebsd-arm@freebsd.org Reply-to: "oskar.holmlund_ohdata.se (Oskar Holmlund)" Subject: [Differential] D29547: am335x_ehrpwm.c add support for flags (PWM_POLARITY_INVERTED) Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <31> X-Phabricator-Projects: <#arm> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-sl5ukfvhbr7gqquijep4 X-Phabricator-Mail-ID: 2480365 X-Phabricator-Send-Attempt: r2yy3gnjlcdour55 In-Reply-To: References: Thread-Index: OTdjZmUwYjJlYWE5ZmVkYWNlNzFjY2I2YmRjIGBm4tY= X-Phabricator-Stamps: actor(@oskar.holmlund_ohdata.se) application(Differential) author(@oskar.holmlund_ohdata.se) herald(H31) monogram(D29547) object-type(DREV) phid(PHID-DREV-sl5ukfvhbr7gqquijep4) reviewer(#arm) reviewer(@manu) revision-repository(R10) revision-status(needs-review) subscriber(@andrew) subscriber(@freebsd-arm-list) tag(#arm) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_c2d163b6b2a4847d641675994f6bc25d" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 09:24:39 -0000 --b1_c2d163b6b2a4847d641675994f6bc25d Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 b3NrYXIuaG9sbWx1bmRfb2hkYXRhLnNlIGNyZWF0ZWQgdGhpcyByZXZpc2lvbi4Kb3NrYXIuaG9s bWx1bmRfb2hkYXRhLnNlIGFkZGVkIHJldmlld2VyczogQVJNLCBtYW51Lgpvc2thci5ob2xtbHVu ZF9vaGRhdGEuc2UgYWRkZWQgYSBwcm9qZWN0OiBBUk0uCkhlcmFsZCBhZGRlZCBhIHN1YnNjcmli ZXI6IGFuZHJldy4Kb3NrYXIuaG9sbWx1bmRfb2hkYXRhLnNlIHJlcXVlc3RlZCByZXZpZXcgb2Yg dGhpcyByZXZpc2lvbi4KClJFVklTSU9OIFNVTU1BUlkKICBGb3Igbm93IGp1c3QgYW4gcGxhY2Vo b2xkZXIgZm9yIHJldmlldyBEMjk1NDYgPGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjk1 NDY+CiAgCiAgLSBBZGQgc3VwcG9ydCBmb3IgZmxhZ3MgYW5kIFBXTV9QT0xBUklUWV9JTlZFUlRF RCBmbGFncwogIC0gQ2xlYW51cCBhbmQgYWRkIGNvbW1lbnRzIGluIHRoZSBpbml0aWFsaXphdGlv biBjb2RlIGZvciB0aGUgUFdNIGFtMzM1eF9laHJwd21fYXR0YWNoKCkKICAtIEFkZC9maXggcmVn aXN0ZXIgZGVmaW5lcwoKUkVQT1NJVE9SWQogIFIxMCBGcmVlQlNEIHNyYyByZXBvc2l0b3J5CgpS RVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDI5NTQ3CgpBRkZF Q1RFRCBGSUxFUwogIHN5cy9hcm0vdGkvYW0zMzV4L2FtMzM1eF9laHJwd20uYwoKRU1BSUwgUFJF RkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1h aWxwcmVmZXJlbmNlcy8KClRvOiBvc2thci5ob2xtbHVuZF9vaGRhdGEuc2UsICNhcm0sIG1hbnUK Q2M6IGZyZWVic2QtYXJtLWxpc3QsIGFuZHJldwo= --b1_c2d163b6b2a4847d641675994f6bc25d Content-Type: text/x-patch; charset=utf-8; name="D29547.86734.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D29547.86734.patch" ZGlmZiAtLWdpdCBhL3N5cy9hcm0vdGkvYW0zMzV4L2FtMzM1eF9laHJwd20uYy53aXRob3V0LnN5 c2N0bCBiL3N5cy9hcm0vdGkvYW0zMzV4L2FtMzM1eF9laHJwd20uYwotLS0gYS9zeXMvYXJtL3Rp L2FtMzM1eC9hbTMzNXhfZWhycHdtLmMud2l0aG91dC5zeXNjdGwKKysrIGIvc3lzL2FybS90aS9h bTMzNXgvYW0zMzV4X2VocnB3bS5jCkBAIC00NCw2ICs0NCw4IEBACiAjaW5jbHVkZSA8ZGV2L29m dy9vZndfYnVzLmg+CiAjaW5jbHVkZSA8ZGV2L29mdy9vZndfYnVzX3N1YnIuaD4KIAorI2luY2x1 ZGUgPGRldi9wd20vcHdtYy5oPgorCiAjaW5jbHVkZSAicHdtYnVzX2lmLmgiCiAKICNpbmNsdWRl ICJhbTMzNXhfcHdtLmgiCkBAIC03Miw3ICs3NCwxMiBAQAogICAgIGJ1c193cml0ZV8yKChfc2Mp LT5zY19tZW1fcmVzLCByZWcsIHZ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W5u ZWxfc2V0X2ZsYWdzLAlhbTMzNXhfZWhycHdtX2NoYW5uZWxfc2V0X2ZsYWdzKSwKKwlERVZNRVRI T0QocHdtYnVzX2NoYW5uZWxfZ2V0X2ZsYWdzLAlhbTMzNXhfZWhycHdtX2NoYW5uZWxfZ2V0X2Zs YWdzKSwKIAlERVZNRVRIT0QocHdtYnVzX2NoYW5uZWxfZW5hYmxlLAlhbTMzNXhfZWhycHdtX2No YW5uZWxfZW5hYmxlKSwKIAlERVZNRVRIT0QocHdtYnVzX2NoYW5uZWxfaXNfZW5hYmxlZCwJYW0z MzV4X2VocnB3bV9jaGFubmVsX2lzX2VuYWJsZWQpLAogCgo= --b1_c2d163b6b2a4847d641675994f6bc25d-- From owner-freebsd-arm@freebsd.org Fri Apr 2 13:44:48 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E8B86578099 for ; Fri, 2 Apr 2021 13:44:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBhB85yTsz4vPx for ; Fri, 2 Apr 2021 13:44:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id CC732578297; Fri, 2 Apr 2021 13:44:48 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC3AF57807C for ; Fri, 2 Apr 2021 13:44:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBhB710kNz4v5W for ; Fri, 2 Apr 2021 13:44:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Resent-To:Message-Id:Resent-Date:Content-Transfer-Encoding:Cc:Date:Resent-From:From:Subject:Mime-Version:Content-Type; bh=h20AjonovH74IMshvk4HKpbQe8qrHCzF2O3Qedg/Gik=; b=PRbXyN0QmmLj7R5ub+Vt5/IX5frhMD75oL2tm/NO8Ej/80I+wNt7XTyEXOrmQvkyNahyxOKsRl9tjwAkBgaA9z7DxIEgQw9h58LklSMRh7PyIh9NU47xxgkLb6CGxBH/LKzf/RPnxG1xbbbImQ8DOXNMW857X8rzFMmCuItA61B6dRAFdfBs5FOvsoF0lP4t3cRMLvTpDmFK1px8GZE/4jfAT0OWYbEKKFl5f/SYdRWU2aAENrV6m8Mhi/yEjH6+AUEWLDPlfS3r9TL672rnHkSqLoks1Bc2oEQQx1J/MOd8e6+91XCdtLA7jzIv2lu2svDgWNsNcpFDB2NrR+Rxyg==; Received: from mbpro2.bk.cs.huji.ac.il ([132.65.179.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1lSK6O-000Auw-1S for arm@freebsd.org; Fri, 02 Apr 2021 16:44:44 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.41\)) Subject: need overlay to enable second i2c From: Daniel Braniss Resent-From: Daniel Braniss Date: Fri, 2 Apr 2021 12:13:37 +0300 Content-Transfer-Encoding: quoted-printable Resent-Date: Fri, 2 Apr 2021 16:44:43 +0300 Message-Id: <6F3D06F8-8FAD-44A3-A850-C76278904D2E@cs.huji.ac.il> Resent-To: "freebsd-arm@freebsd.org" To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3654.80.0.2.41) X-Rspamd-Queue-Id: 4FBhB710kNz4v5W X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=PRbXyN0Q; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[132.65.116.210:from]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FREEFALL_USER(0.00)[danny]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[132.65.116.210:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 13:44:49 -0000 Hi, the dts stuff has changed since I last time I used it, and I can=E2=80=99t figure out how to write an overlay to enable the 2nd. = i2c on my neopi-nano/allwinner any help? thanks, danny From owner-freebsd-arm@freebsd.org Sat Apr 3 04:53:47 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5E0B5BF3F2 for ; Sat, 3 Apr 2021 04:53:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FC4Ly6lB8z4vVl for ; Sat, 3 Apr 2021 04:53:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617425624; bh=37WiGPMMALuaaZkEf5/dWEe+nPzZW9a+q2tUoTopTcD=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=MPgBhw3T2MtV+W66dALzGJCxmYB3J9FSK2ZyVbXBQfL42N91f62kq4GDDACC5qHFIJHvUt/M4Q222DL6OjEwlN33024f7zQcp8lzFhnBJLxNRJsPx7K57DTT48G6JMCS/XcfnJzYq/F7Uz0JVDz5TfqqoanjDQs6y0nh9Tr8Pg6i5wBfput5X9e+dFir10qEPGhNfU22YNYhAhOPeuavALv4dTWkRULEtwrISq24J02WAx+wX1wU7yCcKQHUdd9BYQr8zRh9bAU7sjX7anU4piATaiiP8nyOxxgsBuMGk+0Qdp8wpnZTsWMxZy6DWCAzcqH532c54RDwnTI9fcjxlg== X-YMail-OSG: 3SS8CoEVM1mFSgV7pKjGNoh8KBFMw0SzOz0rdVi43XlEuVoXjlR5g56Ha3hXEM7 ambF4hXyxjFz0L_xGElqsk8CZSIOga2TP8UzDUjdGDlEBYd4fEtMa7vOWV_2LU3hXCeleKc6p8te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5OpQbqJkhc kfvLJo1Sdg0NDqcCsFdmA9Ur_2fV1tB7meDESVoJGsaEdTNTs6PuEHO5e1KXjGmd0_ZfgkmYG5_l kPvoV6nehRdR.jScuN8Wj3NB22X7tVdLZk3B078RxT7zw8TSHTBIOOZuaOu1ErPg5FdLPU_Ke7O3 vdVvV2w6pKVmOosmPdOa4UTf9xDS2aHqGgFtXF.KnG7F796cP3670tOaG6zFGhOwjp8hv_9quWLu gSe3rQWttz3jnxyi30RZR_iFkfxT3hmu9IXZS9sGdu1tppmgv2jz1zdqAw1ymfH7pA0TAwZR1b6X pM53c65bwVppHsqWBeTrguD6gVRqrOG0- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sat, 3 Apr 2021 04:53:44 +0000 Received: by kubenode581.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b6d7145d3f91de0c9acf95c4a99c525f; Sat, 03 Apr 2021 04:53:39 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Has anyone successfully booted the "B+" model of RPi3 via any of 13.0-RC3/4/5? Message-Id: <632BDD3C-EB29-4E89-9069-E8E2D836AC28@yahoo.com> Date: Fri, 2 Apr 2021 21:53:38 -0700 To: freebsd-arm X-Mailer: Apple Mail (2.3654.60.0.2.21) References: <632BDD3C-EB29-4E89-9069-E8E2D836AC28.ref@yahoo.com> X-Rspamd-Queue-Id: 4FC4Ly6lB8z4vVl X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.206:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[98.137.69.206:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.206:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 04:53:47 -0000 I ask because: https://github.com/raspberrypi/firmware/commits/master shows a 2021-Mar-23 firmware update described as: "firmware: board-info: Fix memsize on 3B+" and 13.0-RC2 and before had other, more general problems from pre-2021-Feb-25 firmware. A sufficiently recent snapshot build of main [14] is also a good test but it is more difficult to check if it is recent enough (compared to just referencing the 13.0-RC* text): # strings /boot/*/start4.elf | grep VC_BUILD_ID_ VC_BUILD_ID_USER: dom VC_BUILD_ID_TIME: 12:10:40 VC_BUILD_ID_VARIANT: start VC_BUILD_ID_TIME: Feb 25 2021 VC_BUILD_ID_BRANCH: bcm2711_2 VC_BUILD_ID_HOSTNAME: buildbot VC_BUILD_ID_PLATFORM: raspberrypi_linux VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) (But the /boot/... style path presumes the boot was successful. Other means of mounting the media would otherwise be involved.) I do not have access to any old-style-revision code 0010 or 0013 RPi*'s (so B+: with 512 MiByte RAM) or new-style-revision code a020d3 RPi*'s (so: B+ with 1 GiByte RAM). (These are the RPi3B's that have a "+" after the B: RPi3B+. "+" is not "and later" here.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sat Apr 3 11:11:56 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAD445B086B for ; Sat, 3 Apr 2021 11:11:56 +0000 (UTC) (envelope-from andrew_mitchell_fr@icloud.com) Received: from st43p00im-zteg10072001.me.com (st43p00im-zteg10072001.me.com [17.58.63.167]) (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 4FCDlJ22mzz3qdK for ; Sat, 3 Apr 2021 11:11:56 +0000 (UTC) (envelope-from andrew_mitchell_fr@icloud.com) Received: from [192.168.1.15] (lfbn-mar-1-119-233.w86-229.abo.wanadoo.fr [86.229.90.233]) by st43p00im-zteg10072001.me.com (Postfix) with ESMTPSA id 24BADC0489 for ; Sat, 3 Apr 2021 11:11:55 +0000 (UTC) Subject: Installing software found in /ports From: Andrew Mitchell Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (14G60) Message-Id: <2D869DA1-89D9-48E9-BB79-4A53E52A29DA@icloud.com> Date: Sat, 3 Apr 2021 13:11:53 +0200 To: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.369,18.0.761,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-04-03=5F03:2021-04-01=5F01,2021-04-03=5F03,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=246 phishscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 clxscore=1011 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2104030073 X-Rspamd-Queue-Id: 4FCDlJ22mzz3qdK X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16:c]; FREEMAIL_FROM(0.00)[icloud.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[icloud.com:+]; DMARC_POLICY_ALLOW(-0.50)[icloud.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[icloud.com]; ASN(0.00)[asn:714, ipnet:17.58.63.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.63.167:from]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.63.167:from]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; R_DKIM_ALLOW(-0.20)[icloud.com:s=1a1hai]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[icloud.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[17.58.63.167:from:127.0.2.255]; WHITELIST_SPF_DKIM(-3.00)[icloud.com:d:+,icloud.com:s:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[17.58.63.167:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 11:11:57 -0000 Hello, There is software in /ports that I can't install on my arm64.aarch64, RELEAS= E-13.0-RC3. I guess that this doesn't stem from the release itself, but from= incompatibility with the architecture I'm using. Any method to make software in /ports conform to my host architecture? I've been trying to install /ports/lang/cmucl. I hope there is a solution. Cheers, Andrew= From owner-freebsd-arm@freebsd.org Sat Apr 3 11:38:52 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D0CD5B13EE for ; Sat, 3 Apr 2021 11:38:52 +0000 (UTC) (envelope-from 4250.82.1d4cf000127738e.4a776e9c1d52e89dbc231d4dd0817142@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4FCFLM58bDz3rv8 for ; Sat, 3 Apr 2021 11:38:51 +0000 (UTC) (envelope-from 4250.82.1d4cf000127738e.4a776e9c1d52e89dbc231d4dd0817142@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1617449932; x=1620041932; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=7uQbV5fBUsaqa4Ig9qw6g7C9FzPrMB7EL6mjLGx5L7w=; b=WmGKNwZzVGUyGvIp/5OufB/5BriclNuDQvPy9aq7rOcc7YVq4y78DQftrt5NycsVTChzqQitH5Cvd0UgEW7i5WdeEZHSefS7fkRjaLzkXlFmr7hxL2XtSBJwPPuPHOxmB4cxMlThDCmwnC6vfNfYIuioYDrP289rrTA1YdsCntk= X-Thread-Info: NDI1MC4xMi4xZDRjZjAwMDEyNzczOGUuZnJlZWJzZC1hcm09ZnJlZWJzZC5vcmc= Received: from r2.us-east-2.aws.in.socketlabs.com (r2.us-east-2.aws.in.socketlabs.com [142.0.189.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 3 Apr 2021 07:38:43 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 3 Apr 2021 07:38:42 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lSebx-0004nT-CW; Sat, 03 Apr 2021 12:38:41 +0100 Date: Sat, 3 Apr 2021 12:38:41 +0100 From: Steve O'Hara-Smith To: freebsd-arm@freebsd.org Cc: Andrew Mitchell Subject: Re: Installing software found in /ports Message-Id: <20210403123841.c17c192f1d7b6d37ea0de17c@sohara.org> In-Reply-To: <2D869DA1-89D9-48E9-BB79-4A53E52A29DA@icloud.com> References: <2D869DA1-89D9-48E9-BB79-4A53E52A29DA@icloud.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FCFLM58bDz3rv8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=WmGKNwZz; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4cf000127738e.4a776e9c1d52e89dbc231d4dd0817142@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4cf000127738e.4a776e9c1d52e89dbc231d4dd0817142@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4cf000127738e.4a776e9c1d52e89dbc231d4dd0817142@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4cf000127738e.4a776e9c1d52e89dbc231d4dd0817142@email-od.com]; MAILMAN_DEST(0.00)[freebsd-arm]; FREEMAIL_CC(0.00)[icloud.com] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 11:38:52 -0000 On Sat, 3 Apr 2021 13:11:53 +0200 Andrew Mitchell via freebsd-arm wrote: > Hello, > There is software in /ports that I can't install on my arm64.aarch64, > RELEASE-13.0-RC3. I guess that this doesn't stem from the release itself, > but from incompatibility with the architecture I'm using. Any method to > make software in /ports conform to my host architecture? I've been trying That depends on the port - most ports will compile and run on most architectures but there are exceptions - for example: > to install /ports/lang/cmucl. I hope there is a solution. A look in the Makefile in ports/lang/cmucl reveals: # To make available on other archs, has to be cross-compiled (there is a # script for this, but a configuration file has to be written). IA32_BINARY_PORT= yes It looks like there is a solution that needs some work, somebody has to write a configuration file for cross compiling - and understand that comment in more detail than I do. Fancy giving it a go ? -- Steve O'Hara-Smith From owner-freebsd-arm@freebsd.org Sat Apr 3 12:58:25 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A4B75B4254 for ; Sat, 3 Apr 2021 12:58:25 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCH6814dDz4S8b for ; Sat, 3 Apr 2021 12:58:23 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id 133CwHau060776; Sat, 3 Apr 2021 07:58:17 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <202104031258.133CwHau060776@mail.karels.net> To: Mark Millard cc: freebsd-arm From: Mike Karels Reply-to: mike@karels.net Subject: Re: Has anyone successfully booted the "B+" model of RPi3 via any of 13.0-RC3/4/5? In-reply-to: Your message of Fri, 02 Apr 2021 21:53:38 -0700. <632BDD3C-EB29-4E89-9069-E8E2D836AC28@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <60774.1617454697.1@mail.karels.net> Content-Transfer-Encoding: quoted-printable Date: Sat, 03 Apr 2021 07:58:17 -0500 X-Rspamd-Queue-Id: 4FCH6814dDz4S8b X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 216.160.39.52 as permitted sender) smtp.mailfrom=mike@karels.net X-Spamd-Result: default: False [-1.65 / 15.00]; HAS_REPLYTO(0.00)[mike@karels.net]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[mike]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[216.160.39.52:from]; R_SPF_ALLOW(-0.20)[+ip4:216.160.39.52]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[karels.net]; SPAMHAUS_ZRD(0.00)[216.160.39.52:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.968]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.48)[-0.479]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:216.160.36.0/22, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 12:58:25 -0000 > Subject: Has anyone successfully booted the "B+" model of RPi3 via any o= f > 13.0-RC3/4/5? > Date: Fri, 2 Apr 2021 21:53:38 -0700 > To: freebsd-arm > From: Mark Millard via freebsd-arm I have RC3 running on a 1 GB RPi3B+: FreeBSD 13.0-RC3 #0 releng/13.0-n244696-8f731a397ad: Fri Mar 19 05:54:12 U= TC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERI= C arm64 FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg= -11.0.1-0-g43ff75f2c3fe) VT(efifb): resolution 1824x984 module firmware already present! real memory =3D 993841152 (947 MB) avail memory =3D 947474432 (903 MB) It has the same version of start4.elf that you cited. I haven't done much testing on it though. Mike > I ask because: > https://github.com/raspberrypi/firmware/commits/master > shows a 2021-Mar-23 firmware update described as: > "firmware: board-info: Fix memsize on 3B+" > and 13.0-RC2 and before had other, more general > problems from pre-2021-Feb-25 firmware. > A sufficiently recent snapshot build of main [14] > is also a good test but it is more difficult to check > if it is recent enough (compared to just referencing > the 13.0-RC* text): > # strings /boot/*/start4.elf | grep VC_BUILD_ID_ > VC_BUILD_ID_USER: dom > VC_BUILD_ID_TIME: 12:10:40 > VC_BUILD_ID_VARIANT: start > VC_BUILD_ID_TIME: Feb 25 2021 > VC_BUILD_ID_BRANCH: bcm2711_2 > VC_BUILD_ID_HOSTNAME: buildbot > VC_BUILD_ID_PLATFORM: raspberrypi_linux > VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) > (But the /boot/... style path presumes the boot was > successful. Other means of mounting the media would > otherwise be involved.) > I do not have access to any old-style-revision code > 0010 or 0013 RPi*'s (so B+: with 512 MiByte RAM) or > new-style-revision code a020d3 RPi*'s (so: B+ with 1 > GiByte RAM). (These are the RPi3B's that have a "+" > after the B: RPi3B+. "+" is not "and later" here.) > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sat Apr 3 14:37:12 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 606C75B5EE6 for ; Sat, 3 Apr 2021 14:37:12 +0000 (UTC) (envelope-from andrew_mitchell_fr@icloud.com) Received: from st43p00im-ztbu10063701.me.com (st43p00im-ztbu10063701.me.com [17.58.63.178]) (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 4FCKJ70gmlz4XFj for ; Sat, 3 Apr 2021 14:37:10 +0000 (UTC) (envelope-from andrew_mitchell_fr@icloud.com) Received: from [192.168.1.15] (lfbn-mar-1-119-233.w86-229.abo.wanadoo.fr [86.229.90.233]) by st43p00im-ztbu10063701.me.com (Postfix) with ESMTPSA id 5FEF39A05B7 for ; Sat, 3 Apr 2021 14:37:09 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Is running cross-build on usb drive possible? From: Andrew Mitchell Message-Id: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> Date: Sat, 3 Apr 2021 16:37:06 +0200 To: freebsd-arm@freebsd.org Mime-Version: 1.0 (1.0) X-Mailer: iPad Mail (14G60) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.369,18.0.761,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-04-03=5F05:2021-04-01=5F01,2021-04-03=5F05,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 clxscore=1015 mlxscore=0 bulkscore=0 malwarescore=0 mlxlogscore=517 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2104030101 X-Rspamd-Queue-Id: 4FCKJ70gmlz4XFj X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[icloud.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[icloud.com:+]; DMARC_POLICY_ALLOW(-0.50)[icloud.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.63.178:from]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[icloud.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.63.178:from]; ASN(0.00)[asn:714, ipnet:17.58.63.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[icloud.com:s=1a1hai]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[icloud.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[17.58.63.178:from:127.0.2.255]; WHITELIST_SPF_DKIM(-3.00)[icloud.com:d:+,icloud.com:s:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[17.58.63.178:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 14:37:12 -0000 I am trying to cross-build i386 src to my arm64. Everything seems ok, buildw= orld is in good progress.=20 I used: make TARGET_ARCH=3Darm64 buildworld. Next step, I'll make install. But I want this cross-built source tree on a U= SB drive.=20 I'll try: make DESTDIR=3D/mnt/usb/i386 installworld But one question remains: Should I specify TARGET=3Darm64 with make install? Any clue?= From owner-freebsd-arm@freebsd.org Sat Apr 3 14:58:30 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 728255B6A10 for ; Sat, 3 Apr 2021 14:58:30 +0000 (UTC) (envelope-from valery@vslash.com) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 4FCKmj2XvMz4Y7G for ; Sat, 3 Apr 2021 14:58:28 +0000 (UTC) (envelope-from valery@vslash.com) X-Originating-IP: 88.126.50.171 Received: from dell.vslash.com (unknown [88.126.50.171]) (Authenticated sender: valery@vslash.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 66A07FF802; Sat, 3 Apr 2021 14:58:26 +0000 (UTC) Subject: Re: Is running cross-build on usb drive possible? To: Andrew Mitchell , freebsd-arm@freebsd.org References: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> From: Valery Seys Message-ID: <266f1ca2-bf7f-720e-7df1-b81c13a46aa7@vslash.com> Date: Sat, 3 Apr 2021 16:58:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FCKmj2XvMz4Y7G X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of valery@vslash.com designates 217.70.183.199 as permitted sender) smtp.mailfrom=valery@vslash.com X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[icloud.com,freebsd.org]; RECEIVED_SPAMHAUS_PBL(0.00)[88.126.50.171:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.70.183.199:from]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.183.199:from]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[vslash.com]; SPAMHAUS_ZRD(0.00)[217.70.183.199:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.70.183.199:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 14:58:30 -0000 each time you call make, you specify its environment ; so for each target (build, install, ...), you specify and keep the same env. ; so, yes, you must specify TARGET_ARCH as previously used for building to the 'installworld' target. On 03/04/2021 14:37, Andrew Mitchell via freebsd-arm wrote: > I am trying to cross-build i386 src to my arm64. Everything seems ok, buildworld is in good progress. > I used: make TARGET_ARCH=arm64 buildworld. > > Next step, I'll make install. But I want this cross-built source tree on a USB drive. > I'll try: make DESTDIR=/mnt/usb/i386 installworld > > But one question remains: > Should I specify TARGET=arm64 with make install? > > Any clue? > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Sat Apr 3 17:24:10 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE7FE5BA1DA for ; Sat, 3 Apr 2021 17:24:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCP0p0LbTz4jCX for ; Sat, 3 Apr 2021 17:24:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72c.google.com with SMTP id x14so7898463qki.10 for ; Sat, 03 Apr 2021 10:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3pkKfztzZFk+EZovV38DpyVoGMEt2Ji8Ika5eczBOEk=; b=etUSYvh80Fon7ECEifhg4rAsVth/lNyapWc7rLyAfhlud10P96Emwn95L7qRg3MLCo 2Ycgr7AhkWP1k1b7Cvng8P/3oHOLQ8f+iRRtEIBQttq97Xt0ioyynExicirQjZpr244B r2+49tku58uf5mJLDq413VWB5z0R3aIK18ZYTqd17lEg6RZdzsc28bc1qwzamJC8zTKm TR1EyoMX/qo6CG5ArYIysl59iBxIPaT7tGg9GfNiie+ZmiKJJJhVNv7k78KQ6Kz+KO/4 JDitMa3KhXGduQShh4lTc5dzZakmNjFs1ZgKohhWLkk3UIjgGoY2V+xUSB8CFfH7M7vo 22Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3pkKfztzZFk+EZovV38DpyVoGMEt2Ji8Ika5eczBOEk=; b=Hsz7b7HAZ9X8IPuB81LRewLhY/HdsoNV22p3boLKnr/Si4a7lf/XPA0bsr/P1cYxUi wPKVWshpPTKIoQXeaZsuvEwsiJFrJHSuQwa5ymmZ8C2brJN/7Fpw+qKGQBaVRjA1vLXD SES94sKCaj4Qnx2Ved6yvG/r1bRPIEaT+U3WRGZhVNtRJUwPYjrTXrxsxP5RbQvYx/2c GgXus7VNScaHC9Og1YyyR4w4O3hoAwG3ibFIAB2adfrpTknuemTC+YhUUnu5pjjFp+nk dVntZ8xM/ofyr+f3QSnPOLzfnqBRB+IMRE1FZ8oLHeeS+pUpp28gRoLv1oB2oZWm6BoB byew== X-Gm-Message-State: AOAM533S0oh1r04DfxV8hFosjGUi2SL0nAuSoxlHvL0K/G4wACvO8fRj vmPS4tfbV+j/pU1xARr8tOd2EnWdTgDpq68M/CNz15CtZ8/35Q== X-Google-Smtp-Source: ABdhPJyFadIx0wPqW9uth2e4P6B1OITEnNCyzigmQnUzTrdw/1bGwEohZwd5b+Rk/HX91+1XGtItjboR7sfILpOvtZQ= X-Received: by 2002:a37:a845:: with SMTP id r66mr17679451qke.89.1617470648965; Sat, 03 Apr 2021 10:24:08 -0700 (PDT) MIME-Version: 1.0 References: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> In-Reply-To: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> From: Warner Losh Date: Sat, 3 Apr 2021 11:23:58 -0600 Message-ID: Subject: Re: Is running cross-build on usb drive possible? To: Andrew Mitchell Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 4FCP0p0LbTz4jCX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=etUSYvh8; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[icloud.com]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::72c:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::72c:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72c:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 17:24:10 -0000 On Sat, Apr 3, 2021 at 8:37 AM Andrew Mitchell via freebsd-arm < freebsd-arm@freebsd.org> wrote: > I am trying to cross-build i386 src to my arm64. Everything seems ok, > buildworld is in good progress. > I used: make TARGET_ARCH=arm64 buildworld. > > Next step, I'll make install. But I want this cross-built source tree on a > USB drive. > I'll try: make DESTDIR=/mnt/usb/i386 installworld > > But one question remains: > Should I specify TARGET=arm64 with make install? > > Any clue? TARGET/TARGET_ARCH need to be specified every make, regardless of the target, when cross building. The different arch go in different directories. Warner From owner-freebsd-arm@freebsd.org Sat Apr 3 17:36:00 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B8995BA379 for ; Sat, 3 Apr 2021 17:36:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCPGR2wJlz4jyC for ; Sat, 3 Apr 2021 17:35:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617471357; bh=2gxTfX2+QcPSW9uepijNTcbgCBvXCY9mS+rrLIz5pcg=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=THi0EX5Iu5atKnq5e/mBog5oDTt/k7INeRDWiz51AZx/yuPr+qv4qAII0X1cygAjBLK49BgrowinXpHVRFGErl5CvZHXcImJVYneigIq4LnKPvGzte0WIYIS22OoWkwvjXwaTeW5ifM2KNc/GIwjJRIYGUF5wXOjsgIpveLFepgVTC8SMYIivDgfWjcNejrUJcEFCZszXkiDi8oyfWR4l0qLgy2FucRXiUvS2EDanv71WhwL4bYVvDRJuWMEohBJ8Q3P/+UqGCeDQFNrCAE98LmR2PE0vTEmoX6b0/thcHnj7mSnTYI0qVkAgaHnbJYGNM0NkcEg8SVIy7rUqHqwyA== X-YMail-OSG: 2J5V9qkVM1nzigovN2cZ5DKWAKTAKOWw9fQLkCDSyrXtQcyII.p6cwRXx5iQVXC MkDF69hPSmGry09BySCfNYrYQL32LHYFk9WmST1rmtJgmNoVU5OM4dZJZ3nGb5JIoeYO7siNfWWN _S2F4U_TfawyNFPTuH9WI9aAMIkntsSVECGq3fU1dZXpTjEvqOZtZdYrapTpzGMFgkFVPA4lKFfg EWtiUke1Fu8G9vbKcHS40m89jwizKW7hsyBGNG.F2c15MnMj.3YBmjyXRIM0CWeRGUDcVAcdq1ha eiMZPGb9FKZivTcP1QFt.WO1Sk8HVpXZgYAyPzhM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E_8Z5k.Nr8_M7G788rzons5A ov3Rk4LPCyqnz.2au10bW4eUo6KN5v1XR1ShFhThzqBuHQkTQZvWOhvFkEheSf64pt9Clo_22slp xJbm._XQGioDSIGxkEaSZTgBJ7269VZpGJrRxVG3ipBGa6m1CNFRX70oFpmJe1tkMO.eDovVOhs3 tBKLPsA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sat, 3 Apr 2021 17:35:57 +0000 Received: by kubenode531.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 46d82d38a658a6eafacc4a6c8992d2a0; Sat, 03 Apr 2021 17:35:53 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Is running cross-build on usb drive possible? From: Mark Millard In-Reply-To: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> Date: Sat, 3 Apr 2021 10:35:51 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> To: Andrew Mitchell X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FCPGR2wJlz4jyC X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[icloud.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.31:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 17:36:00 -0000 On 2021-Apr-3, at 07:37, Andrew Mitchell via freebsd-arm = wrote: > I am trying to cross-build i386 src to my arm64. Everything seems ok, = buildworld is in good progress.=20 > I used: make TARGET_ARCH=3Darm64 buildworld. >=20 > Next step, I'll make install. But I want this cross-built source tree = on a USB drive.=20 > I'll try: make DESTDIR=3D/mnt/usb/i386 installworld >=20 > But one question remains: > Should I specify TARGET=3Darm64 with make install? >=20 > Any clue? Normally one does not examine the whole build infrastructure to determine if a specific item might not be used at some stage for a specific target. Instead one just supplies the items for each make command. So, more like: make DESTDIR=3D/mnt/usb/i386 TARGET_ARCH=3Darm64 installworld I'll note that naming conventions look odd in the above: Why would /mnt/usb/i386 be the name of a directory that will contain files for arm64 instead of for i386? The naming looks likely to be misleading/confusing. Less of an issue is /mnt/usb : Presuming "mount . . . /mnt" was used, having a directory called usb inside the file system mounted is unusual. It would be even more unusual to have added a usb directory below /mnt and to have used "mount . . . /mnt/usb". Creating /media/usb and using "mount . . . /media/usb" would be more like what is typical. Normally /mnt is an empty directory before (and after) it is used as a mount point but /media is not empty because it contains empty directories used as mount points. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sat Apr 3 10:42:04 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF2255C79D1 for ; Sat, 3 Apr 2021 10:42:04 +0000 (UTC) (envelope-from andy_mitchell_fr@icloud.com) Received: from st43p00im-zteg10063501.me.com (st43p00im-zteg10063501.me.com [17.58.63.176]) (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 4FCD4q6wH9z3nbt for ; Sat, 3 Apr 2021 10:42:03 +0000 (UTC) (envelope-from andy_mitchell_fr@icloud.com) Received: from [192.168.1.21] (lfbn-mar-1-119-233.w86-229.abo.wanadoo.fr [86.229.90.233]) by st43p00im-zteg10063501.me.com (Postfix) with ESMTPSA id 363D7C8067D for ; Sat, 3 Apr 2021 10:42:02 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Andrew Mitchell Mime-Version: 1.0 (1.0) Date: Sat, 3 Apr 2021 12:42:00 +0200 Subject: any method for cross-compiling cmucl on RELEASE-13.0-RC3? Message-Id: <64E25E23-8481-415F-B3EC-6ACEE092C1B0@icloud.com> To: freebsd-arm@freebsd.org X-Mailer: iPhone Mail (18D70) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-04-03_04:2021-04-01, 2021-04-03 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=427 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2104030069 X-Rspamd-Queue-Id: 4FCD4q6wH9z3nbt X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[icloud.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[icloud.com:+]; DMARC_POLICY_ALLOW(-0.50)[icloud.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.63.176:from]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[icloud.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.63.176:from]; ASN(0.00)[asn:714, ipnet:17.58.63.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[icloud.com:s=1a1hai]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[icloud.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[17.58.63.176:from:127.0.2.255]; WHITELIST_SPF_DKIM(-3.00)[icloud.com:d:+,icloud.com:s:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[17.58.63.176:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Mailman-Approved-At: Sat, 03 Apr 2021 19:16:39 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 10:42:05 -0000 Hi everyone!, I have found cmucl in /ports but the installation is impossible as the packa= ge doesn't conform to arm64 architecture. What method should I use? Cheers, Andy= From owner-freebsd-arm@freebsd.org Sat Apr 3 19:50:21 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D9735BD5A1 for ; Sat, 3 Apr 2021 19:50:21 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-3.mit.edu (outgoing-exchange-3.mit.edu [18.9.28.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCSFR5btbz4rHp for ; Sat, 3 Apr 2021 19:50:19 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 133JnQIP015052; Sat, 3 Apr 2021 15:50:18 -0400 Received: from OC11EXPO29.exchange.mit.edu (18.9.4.102) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 3 Apr 2021 15:49:15 -0400 Received: from OC11EXPO29.exchange.mit.edu (18.9.4.102) by oc11expo29.exchange.mit.edu (18.9.4.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 3 Apr 2021 15:50:00 -0400 Received: from OC11EXPO29.exchange.mit.edu ([18.9.4.102]) by oc11expo29.exchange.mit.edu ([18.9.4.102]) with mapi id 15.00.1497.012; Sat, 3 Apr 2021 15:50:00 -0400 From: John F Carr To: Andrew Mitchell CC: "freebsd-arm@freebsd.org" Subject: Re: any method for cross-compiling cmucl on RELEASE-13.0-RC3? Thread-Topic: any method for cross-compiling cmucl on RELEASE-13.0-RC3? Thread-Index: AQHXKL3irqeA8AH2ok2wCPuBIUMe+KqjdqGA Date: Sat, 3 Apr 2021 19:50:00 +0000 Message-ID: References: <64E25E23-8481-415F-B3EC-6ACEE092C1B0@icloud.com> In-Reply-To: <64E25E23-8481-415F-B3EC-6ACEE092C1B0@icloud.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [108.7.221.50] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Rspamd-Queue-Id: 4FCSFR5btbz4rHp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.13 as permitted sender) smtp.mailfrom=jfc@mit.edu X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[18.9.28.13:from]; RCVD_COUNT_FIVE(0.00)[5]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[mit.edu]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.13:from]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_TO(0.00)[icloud.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 19:50:21 -0000 On Apr 3, 2021, at 06:42 , Andrew Mitchell via freebsd-arm wrote: >=20 > Hi everyone!, > I have found cmucl in /ports but the installation is impossible as the pa= ckage doesn't conform to arm64 architecture. > What method should I use? This is a project, not a Makefile change. cmucl includes a compiler which = needs to be ported to every new architecture. Quoting from https://www.con= s.org/cmucl/FAQ.html: Q: How difficult is it to port CMUCL to a new platform? A: Short answer: fairly difficult. There are two aspects to porting: writin= g a backend for the new the CPU architecture, and handling the runtime's in= teraction with the operating system. See also https://www.cons.org/cmucl/platforms.html