From owner-freebsd-arm@freebsd.org Wed Jan 1 15:26:20 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 D225D1D856B for ; Wed, 1 Jan 2020 15:26:20 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 47nw4C4Qx9z41fZ for ; Wed, 1 Jan 2020 15:26:19 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wr1-x444.google.com with SMTP id g17so37138656wro.2 for ; Wed, 01 Jan 2020 07:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=zr/uBw4j5pW3RuVSUtRJpBlr68Wxmbt1G4EugaXC/e4=; b=DvABUFbQarNCLivdQw4HhM2txbG/fLjdZEdv3ry+rpvE4bTJZ8eDc6maZEDgBN6OiY ZtwPrbF4G+57bEUCvEGzXJj4vnc1H9SB++1qFWKNqcttNiqrvYn0DxdBRS2iwqr4fwEz MTatdstrtXfajlMhLVc10KvEzxRf6L4O2mmlnkChSRyxM3Os8ypdp8meEJa8iJO11/ur qLIvhDaYhojS7x1Nuj31h0guDAWIkPRtPP+enrvdahg8gnCFKiY2BloupI6Uy8868itB CzNkhYfn36prqqc0Jjj8uNSSuHtB4Oir5GRXmiHdn+BxEm7UtDrhcityR/+e4cnlvHTT e+4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=zr/uBw4j5pW3RuVSUtRJpBlr68Wxmbt1G4EugaXC/e4=; b=JIML6guwbUsVVljbckZk2m5m4XDmAKJjWw5QqaEX6qaJ8Bahs6i204RcZS+JOuqbnu HMo3xUKA1Vif7fcJlUe/bBfIMZGXkXnOO97pAa220cLtNonZcyc/7yu5aVOCYWXz2ThD oKpanbzVLpdzI5QYwo7Oyafu0Tt3FSgV3KY2U1nRCFJjmRcK7xVs98FoUkwQ4fwiUSDd hqVrgnXb1NthqvAaB7RJsXfpx8YhctEkc2hfxQoDWlt1JVtbxQX10U2sybPrntZNtqzd DRfZWpOFpzVybV94Or4C4EFSdTNXCWy4DqaBVhn7uYjlUIhQitamuANSLusCcKeVdaa8 4xsQ== X-Gm-Message-State: APjAAAXyA01MJgvzCTbe94xISdKALdse+qh/FNccGz97nUg3YvPXl6Mr xP/9Nbz9mOMPFVKcncOnIBQ= X-Google-Smtp-Source: APXvYqyLjuK4uPoJEWhvkc69kWiU1nZbWSGO6xBzKLVf7kjRc9GwKk4pZNOioXVIm4OPKDCo89umRw== X-Received: by 2002:adf:fa12:: with SMTP id m18mr74826015wrr.309.1577892376999; Wed, 01 Jan 2020 07:26:16 -0800 (PST) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id x1sm52147055wru.50.2020.01.01.07.26.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jan 2020 07:26:16 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: Pinebook Pro, any progress as of yet ? From: =?utf-8?Q?S=C3=B8ren_Schmidt?= In-Reply-To: <20200101152458.2a529345ebd0f40827d1d808@bidouilliste.com> Date: Wed, 1 Jan 2020 16:26:15 +0100 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <6EDB6E30-F2C9-458D-84B0-B19E55F02313@gmail.com> References: <20191230234910.9a02d7e3bd43d72f1250a780@bidouilliste.com> <20191231001119.68f0c3865ac520388ade5ecf@bidouilliste.com> <20191231222415.0314787f51b0918f7223dd2c@bidouilliste.com> <20200101152458.2a529345ebd0f40827d1d808@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47nw4C4Qx9z41fZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DvABUFbQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::444 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:c]; 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)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; 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)[text/plain]; 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)[4.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.72), ipnet: 2a00:1450::/32(-2.63), asn: 15169(-1.87), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] 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 15:26:20 -0000 On 1 Jan 2020, at 15.24, Emmanuel Vadot wrote: >> 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 it sure does with another linux image on a SD-card.. >=20 > 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 >> Are you booting from the eMMC or SD-card ? >=20 > =46rom sd but my eMMC is blank. Ahh, I was under the impression that it tried to use u-boot from the = SD-card, my bad. For my purpose it would be nice to be able to =E2=80=9Cdualboot=E2=80=9D = OS=E2=80=99s by just using a SD-card with the wanted OS on it, and let = the stock system be on the eMMC. I=E2=80=99ll play around with it at bit and see if I can get it to at = least load a kernel. I guess that means that I need the extlinux way of things to get it = going=E2=80=A6 -S=C3=B8ren=