From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED 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 1B8D7C28CC0 for ; Wed, 29 May 2019 17:38:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E18A223FD6 for ; Wed, 29 May 2019 17:38:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZdwtTXGI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="WYqflFRU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E18A223FD6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:References:Message-Id:Date: In-Reply-To:From:Subject:Mime-Version:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EaX7PY2Kr/L9uj9mHjVO81ooK2f5rMQZiyPFEKcOwWc=; b=ZdwtTXGIF11WY3 OEmzkWDy5SZEYSQKD8udEAfw4UxhVa/2Oe9k3q2khR40rYzUv3PxT5/dZd+PqLyFzpHpKCoxlITDR E1x6D5ns2CpB0jgoLNG6JRl6t9fh80C+ZgnHLzT9FEhhPj370TjPo6ZlXxtRhfFAbA7nlGkwiOJ8B 6Uu3+d6NaiWiAR9vgZ0yKemh1aJd/y+2f1WMJG4TXFkGhVx+d3O/qcHuiY54QUnxePBkzaait+Vi/ mVZXXppD07p7k0Iv/EXbQHbqsHvKOYSrfY9whjhf1AllwScCUr/NK4a/E/w/OzVvceCjd/l0fOCsY v6I0iCaH4GVlti6CaE8w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hW2XJ-0004tD-RK; Wed, 29 May 2019 17:38:49 +0000 Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hW2XG-0004qH-CH for linux-riscv@lists.infradead.org; Wed, 29 May 2019 17:38:47 +0000 Received: by mail-it1-x143.google.com with SMTP id g24so5293203iti.5 for ; Wed, 29 May 2019 10:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=erIvyUwsLoBc9Pa5c7rZIF6VUUBG9TsjLIH/Dvp4kUM=; b=WYqflFRU7GW/+8002CKD6/J0qjy1Bf0B3m24jODnHBBbtgjDJsb12n6m9A28Z6J15+ L7cUYwaRHD+vp52COmITqjV1n7pyUFVoAnhBqnx2K8/DTMRghakTYzJRhsWZjv0rnTxd VfTQFAQtGJaHjkvm1Q6x+rJtIKU/UBYFlm6mBYAxXEhjfRfdA1X9Akv1uwqi+49i8v13 I1CwK7CAIqDki7/PGyOHsbKNOYAZtDMyqTYFbrN0SFhy+49RA8/q9mZSx7cZgli9OwSy KEw08CITroL5nEAN4hUeLSiMy8ObRVpxH8Y2ADQpqn6xcR7U6Wip9prSehfKUcrqcQmb Arcg== 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=erIvyUwsLoBc9Pa5c7rZIF6VUUBG9TsjLIH/Dvp4kUM=; b=kKFyjlSmm4fAlcX39xBRaVC3ANxOOkHuU85esedEkkau6vQeyNcogwI+h8N/U/K9Sp 1RoXnz/ZGMK/5bkbmLFqOPX7/nB+NGwOcM/dR22IsY1tG3UesGDszQKVrzeBY+uh3ENp Tu/IxJiImzYDdW+0GjKJg72v2NFaIV2JyTzNbwMRgkiitQUvmJVZTg1TKbM610fdY8qs tOKmtQ8nUAJ27V3TxKJC/K18r416TiCzy2WvHWx75jtpDhs17F8gRQ/GS7kSknAUGFWn lN5eB+rk72GF3ybGS+pDwOnEpQlFXKphSxSBZuSSvBHrjr0G1/ebfWfKaWUAdBYgGR5G 7lwQ== X-Gm-Message-State: APjAAAU2WLH0mralDWQ9ihpSfTv+V52fNSiRj53kIUy6+T3UCbfg/lrR cl/jiCc1rDxxSvKmItQE0U7PnQ== X-Google-Smtp-Source: APXvYqw+5G9TFIiClVK7sH9x8g9/BvZvh/Zn60mkJ5TLYGkhQyGr4FbJZu7k603xp45Hc60/yhGRqA== X-Received: by 2002:a24:4d01:: with SMTP id l1mr1858209itb.90.1559151523915; Wed, 29 May 2019 10:38:43 -0700 (PDT) Received: from [192.168.1.196] ([216.160.37.230]) by smtp.gmail.com with ESMTPSA id k203sm1210240itk.41.2019.05.29.10.38.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 10:38:43 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: 5.2-rc1 boot on Unleashed From: Troy Benjegerdes In-Reply-To: Date: Wed, 29 May 2019 12:38:42 -0500 Message-Id: References: <5c1ffb76-b18a-dbae-d3ad-f3d2cd41ee44@wdc.com> <34F7A31E-17F9-4A3C-9F42-DE7837F899CE@sifive.com> <4572851B-EF46-45A1-A806-663894673EF9@sifive.com> To: Andreas Schwab X-Mailer: Apple Mail (2.3445.9.1) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190529_103846_431386_0A03932B X-CRM114-Status: GOOD ( 12.81 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt , Anup Patel , Anup Patel , Atish Patra , Lukas Auer , Paul Walmsley , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , "linux-riscv@lists.infradead.org" , Bin Meng Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org > On May 29, 2019, at 3:31 AM, Andreas Schwab wrote: > > On Mai 29 2019, Anup Patel wrote: > >> To achieve this, we need to ensure that users are able to boot kernel Image >> and Image.gz without embedding it in OpenSBI/BBL. > > Especially you need to ensure that you can load a separate initrd, > without the need to encapsulate it further as it is currently required > with u-Boot loading. > > Andreas. > This has been possible for at least 6 months now with the legacy HiFive-U-boot that is integrated in https://github.com/sifive/freedom-u-sdk Currently the build scripts generate a single hifiveu.fit image that U-boot loads, however it is relatively straightforward to change the uEnv.txt file to load BBL, the kernel, device tree, and initrd separately. If some examples (and flashable binary images) demonstrating this would be useful, let me know and I will make some updates. What I could use some help on is how we should be using config_distro_bootcmd.h in u-boot to follow what other architectures have done, or if that approach is needlessly complicating things that we could do in a much cleaner way with a clean slate. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv