From owner-freebsd-arm@freebsd.org Tue Jan 22 20:00:04 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 8E0E614AD3A7 for ; Tue, 22 Jan 2019 20:00:04 +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 3A8D66CC82 for ; Tue, 22 Jan 2019 20:00:02 +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 x0MJV70E075123 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 22 Jan 2019 20:31:08 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1548185468; bh=U8RDC1l5sl+9nP2iJk+ogAUtxd69DLw2SaWfhmM3UDU=; h=Date:From:To:Cc:Subject:Reply-To; b=RI6lz6jYRt75ApGlM5a4SAGnA5A8jD10yszGTFPF65qdqZocodGIf4MtJH7oS+xU5 F+tLb2JtGqdnfmKCqeAIQe+kElyd4Os/iHPbMiZI1VEKZH3Na1WealjKo4mD6EQ2Mm 7jLNFhweATIMWQyoOBvQsUizqWBDHXzX6RManG88= 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 x0MJUS1f003136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Jan 2019 20:30:28 +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 x0MJVcZl029320; Tue, 22 Jan 2019 20:31:38 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x0MJVcDk029319; Tue, 22 Jan 2019 20:31:38 +0100 (CET) (envelope-from ticso) Date: Tue, 22 Jan 2019 20:31:38 +0100 From: Bernd Walter To: freebsd-arm@freebsd.org Cc: Bernd Walter Subject: Orange Pi PC2 Message-ID: <20190122193138.GC7489@cicely7.cicely.de> Reply-To: ticso@cicely.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 3A8D66CC82 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=RI6lz6jY X-Spamd-Result: default: False [-2.52 / 15.00]; HAS_REPLYTO(0.00)[ticso@cicely.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[mx1.bwct.de]; NEURAL_HAM_SHORT(-0.84)[-0.837,0]; 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)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.913,0]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.954,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(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: Tue, 22 Jan 2019 20:00:04 -0000 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, but there isn't a GENERICSD as it is for 32bit arm. 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.