From owner-freebsd-arm@freebsd.org Tue Jan 22 23:08:40 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 0E36B14B2A23 for ; Tue, 22 Jan 2019 23:08:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DC5FE7558C for ; Tue, 22 Jan 2019 23:08:38 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id db56eead; Wed, 23 Jan 2019 00:08:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=Ucnt+4nlwXLXDprafcF5OxLhBzg=; b=hgrth9StLQ2BtuOG7Uxcyf0iMBOk NVvsn+Spm244gXRTJdeKy3nTfDQ+bjVnovC39qnbrlEP85R7G1evrtWwNDa4cEbR V+eK8bSzAuaJxXXZcU5KatG23pr0fhyuM+5+HL861JfRn1HO03EwJuYuZVllCHaH hQ9zhDUaJVROaow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=pZmbQ8tQb9d29+8sXxwgknSQAL2tgHhMGglUHA4u9Pbi6AtpJrUMSKAu VWSI55Y2nTbldO7dAddNSe01FbhhbQwxA/FY2HrM24fJR/N7W8Gt8PFQ9ZAoeqPV iEnKAUrInAv/DPKHsiGc9m8hvv4T6UNmgef2dFY0f1Kv02dssDY= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id e3231003 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 23 Jan 2019 00:08:31 +0100 (CET) Date: Wed, 23 Jan 2019 00:08:30 +0100 From: Emmanuel Vadot To: ticso@cicely.de Cc: Bernd Walter , freebsd-arm@freebsd.org Subject: Re: Orange Pi PC2 Message-Id: <20190123000830.5535bdf611827e00559ca4b9@bidouilliste.com> In-Reply-To: <20190122193138.GC7489@cicely7.cicely.de> References: <20190122193138.GC7489@cicely7.cicely.de> X-Mailer: Sylpheed 3.7.0 (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: DC5FE7558C X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=hgrth9St; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; MX_GOOD(-0.01)[mx-backup.blih.net,mail.blih.net]; NEURAL_HAM_SHORT(-0.86)[-0.856,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.30)[ip: (-1.54), ipnet: 212.83.160.0/19(0.44), asn: 12876(-0.36), country: FR(-0.02)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 23:08:40 -0000 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 ??? 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. > 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. > _______________________________________________ > 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