From owner-freebsd-arm@freebsd.org Wed Jan 1 14:25:06 2020 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 96FE61D74FE for ; Wed, 1 Jan 2020 14:25:06 +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 47ntjY1Hdgz3yV1 for ; Wed, 1 Jan 2020 14:25:04 +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 42820e37; Wed, 1 Jan 2020 15:25:03 +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=3+o72dFgyV1EyeOXXz1sn+P9xbU=; b=despAlC6F5LIeREdm0phaz7FFucX 1AT7sMIDe5yLaSjSphu+WRi9AtGmc2bZj5Hy/Qd2US0E8IXIc0qq/fUrMri1IHAd gldxueGy5ciYnLPeI6Bksc6ZZAUVmuUfXJUq6JD012TE34s0Nr2RCiPMPG6qIWG9 rcBzTyCbhjzlE5w= 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=RSPfYmkGehjyo8EMdXcGdWi4NvR7q1VhizCOS4yvoPtTI/86znGVQ2kS oCVzY9wCsVS3nVSuS16O4VVT0TX77ueuQDF+zOQBew85EX3Fn/ltJHP9u0efD7cG uKZagYzxF6XwHtZp6Gdn82Azmc5LnLZBKAujWuNVqMRY1fkxCbc= Received: from skull.home.blih.net (lfbn-idf2-1-1164-130.w90-92.abo.wanadoo.fr [90.92.223.130]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 3c68806a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 1 Jan 2020 15:25:02 +0100 (CET) Date: Wed, 1 Jan 2020 15:24:58 +0100 From: Emmanuel Vadot To: =?ISO-8859-1?Q?S=F8ren?= Schmidt Cc: freebsd-arm Subject: Re: Pinebook Pro, any progress as of yet ? Message-Id: <20200101152458.2a529345ebd0f40827d1d808@bidouilliste.com> In-Reply-To: References: <20191230234910.9a02d7e3bd43d72f1250a780@bidouilliste.com> <20191231001119.68f0c3865ac520388ade5ecf@bidouilliste.com> <20191231222415.0314787f51b0918f7223dd2c@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47ntjY1Hdgz3yV1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=despAlC6; dmarc=none; 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 [0.62 / 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.20)[-0.198,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.71)[-0.707,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.42)[ip: (-0.53), ipnet: 212.83.160.0/19(2.41), asn: 12876(0.25), country: FR(0.00)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; 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: Wed, 01 Jan 2020 14:25:06 -0000 On Wed, 1 Jan 2020 15:09:24 +0100 S=F8ren Schmidt wrote: >=20 > On 31 Dec 2019, at 22.24, Emmanuel Vadot wrote: >=20 > > I know have something that can be booted correctly and with usb. > > U-Boot is the same but I've switched the uart baudrate to 115200 as > > it's way too noisy at 1.5Mbps for me > > (https://people.freebsd.org/~manu/pbp_uart.jpeg vs > > https://people.freebsd.org/~manu/rockpro_uart.jpeg ). I'll push the > > patches somewhere at one point, in the meantime people can use a > > precompiled version from https://people.freebsd.org/~manu/pinebookpro/ = > > Refer to the readme from the u-boot-rockpro64 port to install it. > >=20 > > I've also pushed some commit there > > https://github.com/evadot/freebsd/tree/pinebookpro > > This have the dts needed for booting (based on the dts included in > > u-boot with some fixes to it). > > And also some fixes to the regulator framework and PMIC driver that I > > will put up to review soon. >=20 > I tried to copy the idbloader and u-boot onto a SD-card: >=20 > dd if=3Didbloader.img of=3D/dev/afd1 seek=3D64 conv=3Dnotrunc,sync > dd if=3Du-boot.itb of=3D/dev/afd1 seek=3D16384 conv=3Dnotrunc,sync >=20 > but not much luck, it still boots the stock image on the eMMC, and keeps = the console tty at 1.5m, which for some reason I can?t read right now.. >=20 > I would have expected at leat some output at 115200... >=20 > I read somewhere that It should boot from the SD if one is present, and i= t sure does with another linux image on a SD-card.. The boot order is fixed and is SPI->eMMC->SD So if a bootloader exists on the eMMC it will boot from it. The u-boot installed will try to boot from the sdcard using u-boot distro boot mechanism but it will not work for us as EFI is broken on it. (It might work if you use kernel.bin and compile it with LINUX_BOOT_ABI). > Are you booting from the eMMC or SD-card ? From sd but my eMMC is blank. > -S=F8ren >=20 >=20 >=20 >=20 >=20 --=20 Emmanuel Vadot