From owner-freebsd-arm@freebsd.org Thu Jan 2 18:53:45 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 E86211D6C16 for ; Thu, 2 Jan 2020 18:53:45 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47pcd45h9Kz3HrX for ; Thu, 2 Jan 2020 18:53:44 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wr1-x442.google.com with SMTP id q10so1238935wrm.11 for ; Thu, 02 Jan 2020 10:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=kQGr7VWbP2BNMzsyUTBaT+Pf6tHOAyv3ZHWNZhAjI+k=; b=XA+Png/Lyys1IdtO1Fm+1UmbJzkdR5ooo1YrLZsEMLHRyJEzOgAqpOsrQcLsEtedHb ngkWzyR/bJ6y68pYANwjFo0g6bvkQfuXJjuwedBJvWiyACRGH3vHCCnLmRhPpJNcZ6Bi qV1I5C8HYEPbwDO/4elsOpe5jqbvNo2FZ+ZlZPMDXnP1TgwVyuO4fvCjlU2/XdqpREwl Oyj6oCqMGr3GpZfLTvC2Bcrd1wevdDQSzG4ZHpHJ+ACQjqQ5Pmmpa5qi3u9Njh92MuXa HGVROoDkro5mdPUuzUTKZsLYjj7Z2CKtSOc5CFDNjMGnR3iK7HLXfuNDhYb9VWTTsUEh s06g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=kQGr7VWbP2BNMzsyUTBaT+Pf6tHOAyv3ZHWNZhAjI+k=; b=s7K3va/p1gjnxnHy4JI62vluzKE+9+/4JrBTegEA5U66J+KjqN2/kQ9tZAQvJP0+lT 0xk8G7E5JJgYZPNRq7l2sAkUItiHyTD6DaoaCwCYVpPsDWGn5+wIjOJdEGJ2O/oBinpU M+xF/Nv8K4oegkYjn43w50DgoitME3Fe5aVXgmJkt3bwxo1QhZTJP4QVS/kemztwQsmK VI9fMMtkhTWqmFeeJM81+crE0Os1X/8zy2lkzczB3Fii9fAFp8FQ6Nfr+3e2+NPGMGSZ GzxT9xYezv+RxY9minQrIcJ+uLKVtWX+UjJ8VytR53npbASFj0C57rAgDXfPD1+9jqfC Btvw== X-Gm-Message-State: APjAAAWVp9NZldtODeUvuHIQpDUzRTS8UqNiFXqfuggUQolk3b/HLp9g geSixsJotKmyyVranj6bqxpju/9sMZU= X-Google-Smtp-Source: APXvYqxCTOCBdpFb/iiD60Qxmd+ntzQ5VA/IHFXYZ54gwyj4aTUHDZB29glgVhcEyd1Tbf0jCzVujg== X-Received: by 2002:a5d:4acb:: with SMTP id y11mr85864773wrs.106.1577991222718; Thu, 02 Jan 2020 10:53:42 -0800 (PST) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id z6sm58982982wrw.36.2020.01.02.10.53.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jan 2020 10:53:41 -0800 (PST) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: Pinebook Pro, any progress as of yet ? Date: Thu, 2 Jan 2020 19:53:40 +0100 In-Reply-To: <20200101152458.2a529345ebd0f40827d1d808@bidouilliste.com> Cc: freebsd-arm To: Emmanuel Vadot References: <20191230234910.9a02d7e3bd43d72f1250a780@bidouilliste.com> <20191231001119.68f0c3865ac520388ade5ecf@bidouilliste.com> <20191231222415.0314787f51b0918f7223dd2c@bidouilliste.com> <20200101152458.2a529345ebd0f40827d1d808@bidouilliste.com> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47pcd45h9Kz3HrX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=XA+Png/L; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::442 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain,multipart/related]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (2.38), ipnet: 2a00:1450::/32(-2.63), asn: 15169(-1.87), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 02 Jan 2020 18:53:46 -0000 On 1 Jan 2020, at 15.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 I found a way to make it work reliably, the wires from the USB<>serial = converter 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. > 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). 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. I=E2=80=99ll check your patches from GitHub and get it integrated so the = ball can start rolling :) Thanks for getting us this far!! -S=C3=B8ren=