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