From owner-freebsd-arm@freebsd.org Sun Jan 5 16:50:56 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 8784C1D9599 for ; Sun, 5 Jan 2020 16:50:56 +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 47rPlz3M46z4TSq for ; Sun, 5 Jan 2020 16:50:55 +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 a9d7d670; Sun, 5 Jan 2020 17:50:53 +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=hbvCgmj1hvofHPvuIvXxBShGuHw=; b=MtZZvMg05WVriEEqsF+TAVkpB6We ab6Ng4WGp3Ci/+rm7jzb+ZFgTm2MSVKX/e8jYz3Zz5O26VBFvCOpq8RBwEyW4M3q +H8aOSA6dOZpYjDPzUawegUeGlMH35r7GzAWsUcyYZFs3ONk9JanfkupYCa8eAEi KcU/rEdtlDu+7Sk= 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=YJykhBqfUWxCdnE3IRm579cc0l4wlppQRzh8Eh5MPaxmVaCHvV0Abo8w bsOL3K+RW1krnTZ0TfQd1Y+C7fifRBCx1ZWFsIwkz32RhPF0NL7HQLlDvPg/0GbB kqLshUhjYDjesKfHCiY4T0cDm3Cn8D/DyPrlIPl8c6vGFPXKCTI= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id c7a09b84 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 5 Jan 2020 17:50:53 +0100 (CET) Date: Sun, 5 Jan 2020 17:50:53 +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: <20200105175053.9b1a8f1a197b409162b79d63@bidouilliste.com> In-Reply-To: References: <20191230234910.9a02d7e3bd43d72f1250a780@bidouilliste.com> <20191231001119.68f0c3865ac520388ade5ecf@bidouilliste.com> <20191231222415.0314787f51b0918f7223dd2c@bidouilliste.com> <20200101152458.2a529345ebd0f40827d1d808@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: 47rPlz3M46z4TSq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=MtZZvMg0; 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.89 / 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.39)[-0.389,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32:c]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.22)[-0.219,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.40)[ip: (-0.65), ipnet: 212.83.160.0/19(2.39), asn: 12876(0.24), country: FR(0.00)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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: Sun, 05 Jan 2020 16:50:56 -0000 On Thu, 2 Jan 2020 19:53:40 +0100 S=F8ren Schmidt wrote: >=20 > On 1 Jan 2020, at 15.24, Emmanuel Vadot wrote: >=20 > >>=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 >=20 > I found a way to make it work reliably, the wires from the USB<>serial co= nverter needs to be short (se pic) then it works without issues at 1.5Mbaud > If I use the 1meter long cable from my usual adapter it fails just as you= noticed. >=20 Not for me, even on the mainboard after the mux it's too noisy : https://people.freebsd.org/~manu/pbp_uart.jpeg Channel 2 is at the end of the cable while channel 3 is on the mainboard connector (after the mux). > > 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). >=20 > I got it to boot by having a fat32 partition with just the kernel and a /= extlinux/extlinux.conf file on it, then it boots just fine. > It see the eMMC and the SD-card so it should be able to get to a shell at= least, need to get my build script finished. >=20 > I?ll check your patches from GitHub and get it integrated so the ball can= start rolling :) >=20 > Thanks for getting us this far!! >=20 > -S=F8ren --=20 Emmanuel Vadot