Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6697C4338F for ; Sun, 15 Aug 2021 15:15:41 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F121861038 for ; Sun, 15 Aug 2021 15:15:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F121861038 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=unixzen.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ACC05817D3; Sun, 15 Aug 2021 17:15:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=unixzen.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=unixzen.com header.i=@unixzen.com header.b="RvkI8fj1"; dkim=pass (1024-bit key) header.d=unixzen.com header.i=@unixzen.com header.b="HHootLaU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6980481BC8; Sun, 15 Aug 2021 17:15:37 +0200 (CEST) Received: from mx.dal1.terarocket.io (unknown [IPv6:2001:19f0:6401:8d3:5400:1ff:fe4f:75e6]) by phobos.denx.de (Postfix) with ESMTP id 1A9F280612 for ; Sun, 15 Aug 2021 17:15:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=unixzen.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=kallisti5@unixzen.com Received: by mx.dal1.terarocket.io (Postfix, from userid 1001) id 5F9C75E779; Sun, 15 Aug 2021 15:15:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mx.dal1.terarocket.io 5F9C75E779 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unixzen.com; s=default; t=1629040532; bh=IK0RZAz2lKZf+P7ThUJeWa9vfyHsBvubQSkwR5ryLGY=; h=Date:From:Subject:To:In-Reply-To:References:From; b=RvkI8fj1cGX3qvKCgEvuaIQD9Q6dIoLXHG8KrAw5K/L/LjV6clKMjW/hUDShNjU6j yci3v4UzxResGEUjM/GclDrypgAtS0QXctKcn2cQHtoTmEsssKlnSV4j3R2C06iqj6 vHWrBKaATYoeXeG75IeL7QLS5cuGhi/LgMy1/wh4= Received: from mx.dal1.terarocket.io (localhost [IPv6:::1]) by mx.dal1.terarocket.io (Postfix) with ESMTPSA id 8F3E85E37B for ; Sun, 15 Aug 2021 15:15:31 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mx.dal1.terarocket.io 8F3E85E37B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unixzen.com; s=default; t=1629040531; bh=IK0RZAz2lKZf+P7ThUJeWa9vfyHsBvubQSkwR5ryLGY=; h=Date:From:Subject:To:In-Reply-To:References:From; b=HHootLaUd01eyFj0letbPFexOwfN81/HtzPkM77E53I8QnSPkA0uNIjJu4RdzYq4q asI59wl+jM9Ujy0A71ZquAdE/OwTQVAfYa7j/j/N68kJM97Zj5C2w2mMlanhl3N9ur qhAz2T5lf968RZGXfreCUQtn8UJ5xGuVZi0ZkxcU= MIME-Version: 1.0 Date: Sun, 15 Aug 2021 15:15:31 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.13.0 From: "Alexander von Gluck IV" Message-ID: <9ffedb7b94913493cc5adcf4b7b2921c@unixzen.com> Subject: Re: [bug?] SiFive Unmatched default boot script update? To: u-boot@lists.denx.de In-Reply-To: <0aea51fae16ca54d2c0a9c09b0eff282@unixzen.com> References: <0aea51fae16ca54d2c0a9c09b0eff282@unixzen.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean August 15, 2021 9:59 AM, "Alexander von Gluck IV" = wrote:=0A=0A> Good morning!=0A> =0A> Mainline Haiku is now getting into = the kernel on the SiFive Unmatched=0A> board!=0A> =0A> Our current boot p= rocess involves running the following from u-boot=0A> to boot Haiku from = a USB drive:=0A> =0A> pci enum ; usb start ; run bootcmd_usb0=0A> =0A> I = feel like "pci enum; usb start;" should be default things to do on=0A> th= e unmatched board if they're not already? If you don't run the commands= =0A> above, u-boot finds our EFI bootloader, but the the USB drives don't= show=0A> up in our EFI bootloader.=0A> =0A> Given the mmc card on the Un= matched is kind of slow, a model of having=0A> u-boot on the mmc card, an= d booting from usb drives / nvme feels like=0A> a good one.=0A=0ADigging = into this slightly; it looks like the following is needed?=0A=0Adiff --gi= t a/configs/sifive_unmatched_defconfig b/configs/sifive_unmatched_defconf= ig=0Aindex 38b7acd536..0e02d46f72 100644=0A--- a/configs/sifive_unmatched= _defconfig=0A+++ b/configs/sifive_unmatched_defconfig=0A@@ -11,6 +11,7 @@= CONFIG_TARGET_SIFIVE_UNMATCHED=3Dy=0A CONFIG_ARCH_RV64I=3Dy=0A CONFIG_RI= SCV_SMODE=3Dy=0A # CONFIG_SPL_USE_ARCH_MEMMOVE is not set=0A+CONFIG_PREBO= OT=3D"pci enum; usb start;"=0A CONFIG_DISTRO_DEFAULTS=3Dy=0A CONFIG_FIT= =3Dy=0A CONFIG_SPL_LOAD_FIT_ADDRESS=3D0x84000000=0A=0A=0AThat's the same = thing the Raspberry Pi 4 does.=0A=0A=0A -- Alex