From owner-freebsd-arm@freebsd.org Wed Jan 23 00:20:05 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A064014B4637 for ; Wed, 23 Jan 2019 00:20:05 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 31D6180B2A for ; Wed, 23 Jan 2019 00:20:03 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x0N0JxCN081574 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 23 Jan 2019 01:19:59 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1548202800; bh=AXHD5JYEjGs4aEzFdCQWbHEj32536gCPXHZh5zciceE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=LBWLT5dJzfOOin87HlRwK0jmC7Uq6lfwZrGIVm97NtNotpQhDD5q3UVSvwhdifsdr sWx3OA8l1XeOIiBI8aA/+rfWcvuf4PMa+i82j4ZUs/SE2BcDQCAkdVIY4L8Gaui5Af 24h0Si8FGpC/yBZNeostdOdNUrELVhzQQ0tYco14= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x0N0JKnD017087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jan 2019 01:19:20 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x0N0KVeM059398; Wed, 23 Jan 2019 01:20:31 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x0N0KTan059397; Wed, 23 Jan 2019 01:20:29 +0100 (CET) (envelope-from ticso) Date: Wed, 23 Jan 2019 01:20:29 +0100 From: Bernd Walter To: Emmanuel Vadot Cc: ticso@cicely.de, Bernd Walter , freebsd-arm@freebsd.org Subject: Re: Orange Pi PC2 Message-ID: <20190123002029.GE7489@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20190122193138.GC7489@cicely7.cicely.de> <20190123000830.5535bdf611827e00559ca4b9@bidouilliste.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190123000830.5535bdf611827e00559ca4b9@bidouilliste.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 31D6180B2A X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=LBWLT5dJ X-Spamd-Result: default: False [-1.71 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.98)[-0.981,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.03)[0.025,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.94)[-0.943,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2019 00:20:05 -0000 On Wed, Jan 23, 2019 at 12:08:30AM +0100, Emmanuel Vadot wrote: > On Tue, 22 Jan 2019 20:31:38 +0100 > Bernd Walter wrote: > > > After some investigation on how SD card images are setup, I did the > > following: > > dd if=FreeBSD-12.0-RELEASE-arm64-aarch64-PINE64-LTS.img of=/dev/da0 bs=1m > > [72]cicely7# pwd > > /usr/local/share/u-boot/u-boot-orangepi-pc2 > > [71]cicely7# dd if=u-boot-sunxi-with-spl.bin of=/dev/da0 bs=1k seek=8 conv=sync > > 644+1 records in > > 645+0 records out > > 660480 bytes transferred in 1.393002 secs (474141 bytes/sec) > > > > The system booted fine with that. > > Some warnings however: > > Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer' > > /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd > > /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 > > /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 > > DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' not compatible > > DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' not compatible > > DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' not compatible > > EHCI failed to shut down host controller. > > EHCI failed to shut down host controller. > > EHCI failed to shut down host controller. > > > > > > I'm a bit irritated that the PINE64-LTS image is somewhat a generic one > > in that it uses a GENERIC kernel and also contains dtb files for other > > boards, > > So you are irritated that you have some weird behavior when you use > something that is not specifically made for one board and you try it on > it ??? No, that is perfectly fine, just that we have more or less GENERIC images, which arn't announced as such. There are more confusing things I've noticed. The PINE64-LTS uses u-boot-sopine, although the u-boot repository has a config specificly for the PINE64-LTS. There is a u-boot for OrangePI Plus 2e, but none for the OrangePI Plus 2. Also the u-bbot git misses a config for the OrangePI Plus 2, but I assume those boards are identical for the OS as the difference only seem to be that the Plus 2 has an USB hub and a USB-SATA bridge. The WiFi chip on the 2 is a smaller package, but both are Realtek RTL8189. The amount of available Allwinner based boards on the market is irritating all by itself... > All arm64 board that are supported by FreeBSD uses GENERIC > kernel and have dtb for every boards supported (more or less). > > > but there isn't a GENERICSD as it is for 32bit arm. > > Yes, I will create one at some point, the reason I didn't do it is > that someone found out recently that Allwinner 64bits SoC can use GPT > partitions so I will need to do test with this. Oh - good to know. Still have to find out about ZFS root. > > Just booted the board with GBit ethernet link and it only takes 50mA, which > > is amazing low. > > Not exact measurement with a 10mA resolution USB measurement plug, so it > > might be a bit off. > > > > Is there anything special to consider for zfsroot? > > Found some online info on how to setup an ARM64 cloud server with zroot. > > I'm aware that the board only has 1GB RAM, but I'm still tempted to give it > > a try. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.