From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7008982650629128192 X-Received: by 2002:aca:4007:: with SMTP id n7mr8366171oia.139.1631988886034; Sat, 18 Sep 2021 11:14:46 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6830:2324:: with SMTP id q4ls507817otg.3.gmail; Sat, 18 Sep 2021 11:14:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz920MkRLhvwrlmm4wBfA1x0fgwfdovKwHw0r/6WfIqa+SVpxGdhGw/WV5JsZQ4ULb5ybwr X-Received: by 2002:a9d:4d90:: with SMTP id u16mr15024326otk.226.1631988885368; Sat, 18 Sep 2021 11:14:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631988885; cv=none; d=google.com; s=arc-20160816; b=pBsmC91wSFh4IDJ3M8BMsx/e9J282HrPNwIchbfjtV4x5Lb+5Ab257K2ZQiKadX/xR G6D2biAppqeNm1daKMWYLMrwRDmCkCxagWAXhVTtbsYHnk/kwbCv9b0I7rRH9O6RNZta XVz5m2S869AmoD9t4j9Cwi6yzUCrY+e0p5sPt03vngL8dohRJnawyQ+atK5dExFPfZ3r gtpyd31SNwpcv72nHoYbP/aURQ8jLpmE1jBfaI4YDv+TF+tBcRjiqx7GO+dH3HOAv8f6 i0jV0zOWibLqS8fUvZ6ZodDfprSALkUr6QxDTGZwjlM6pGTy1J/j9qZIen9CidaZcneb vUMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=ncceszcbKC+djKOTcOVeWWAGPBK220nbgL0HVSQriZM=; b=lwHZOcP+zUbEaNKNGGQLaSlU3wRPldLzqMR5/NwPOwopVYJC+r0qCE/KnfxjL2IeIQ Enko0EhBbfVF+o71Ek/ZEuiHZWdzc9CmOSh7a4OReucBSJmoYO+BIZg0Ir9IHKKfSJSb m/5xfbN0PrPnkkH6JWwQhjqTXyGxoCJLXcnQtoKZhw9OqjS+bt8VZdpy/6YAYbaBZKOR W80lfmf7zsahWe+q4J2QDwk6DwurzEeLRulk93IWMwmw9RLne7tDhGSNvbYgFJ6GvQJf clMjO3m104C019bWAwqAfnNP32SNImHBaOB6PbYmFM/ImeOt7EqPH2r4H+Vx8PM6b1YS yagQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bVpvena+; spf=pass (google.com: domain of ticotimo@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=ticotimo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com. [2607:f8b0:4864:20::d30]) by gmr-mx.google.com with ESMTPS id s20si920726ois.4.2021.09.18.11.14.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Sep 2021 11:14:45 -0700 (PDT) Received-SPF: pass (google.com: domain of ticotimo@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) client-ip=2607:f8b0:4864:20::d30; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bVpvena+; spf=pass (google.com: domain of ticotimo@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=ticotimo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-io1-xd30.google.com with SMTP id b10so16487774ioq.9 for ; Sat, 18 Sep 2021 11:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ncceszcbKC+djKOTcOVeWWAGPBK220nbgL0HVSQriZM=; b=bVpvena+AxiMZBa8xCuIHX/M9PSlvtAWV02CsNA58FNH/y8XpxBPawkGnVjqNin5Sa qwB0/5vfvzAwfl+d0LTYtV4B0NM7uLWi/pixgyy5OL4k7UA8QH1iogp/C3C1cRXSRjT1 qHi0Cie08JNsiVMhqAX1dMcrvbvDqvnCNOMDPIaA3y1e/el7GNF9U/FVh5M+YOfBHWBH Wpy7Yn3ZY0SW5GmUFH4Vogfpl2nJLI7m5fX3t9iSdwrbKzw3axscXtZdl5apTwHrPPIx qVInIZgKt6uu7de+umSuZRt0grOEifw9RTQq8AQC0DCRDJwjKHiymm73n9xLGRf66MXo cq8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ncceszcbKC+djKOTcOVeWWAGPBK220nbgL0HVSQriZM=; b=M+JPIdsbOHeFSe2q2vUB2PJnsLNmw+5TXdFbFmIprzQ0eOahkwqULC/mczFzYqnAwT Uxx0ilWe3QTAykMiz5OAV2JFezGXs8MU7/UYC6tcHawTE98cZ0/eEACLZMXCSqtXyfFU JrGWBCfwOs2Rzn9i4ddBXK13+KiX3G95nTB14/uyFfItfruPWNuwAmgURbOnArnMLmau hEphSHb8PZvbR/Hy1qe7OdqR8PZelmsn/SDl3uFhC02ZKGV/QGZ6QKdMXItz1JebLdCa G4b8Pfmcm8J8T7xsQ+aTixZCEAL8TmP7fZkxk1N94e63kU2a512xBQdf4TjOkrpY29Ej u/gA== X-Gm-Message-State: AOAM53245YIP07N6zZgPYc4A6v4F9nk+t8hKYE6ef9Y5Z+72LWtDi8BF TzVekCtw+72xKX7P7f4i40+kd66Jw8uHDUyZug4/aQ8ad4Y= X-Received: by 2002:a05:6638:2385:: with SMTP id q5mr13744115jat.5.1631988884915; Sat, 18 Sep 2021 11:14:44 -0700 (PDT) MIME-Version: 1.0 References: <20210917191211.713082-1-ticotimo@gmail.com> In-Reply-To: From: Tim Orling Date: Sat, 18 Sep 2021 11:14:34 -0700 Message-ID: Subject: Re: [PATCH] opensbi-sifive-fu540: upgrade to 0.9 To: Jan Kiszka Cc: isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000c348b705cc490575" X-TUID: oeOQ+PKXUVnu --000000000000c348b705cc490575 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Sep 18, 2021 at 11:05 AM Tim Orling wrote: > > > On Fri, Sep 17, 2021 at 11:34 PM Jan Kiszka wrote: > >> On 17.09.21 21:12, Tim Orling wrote: >> > This release has: >> > >> > * Lots of fixes and improvements >> > * Optimized trap handler for both RV32 and RV64 >> > * Domain support for system-level partitioning >> > * Device tree based domain configuration >> > * SBI v0.3 SRST extension >> > * More detailed boot-time prints >> > * Makefile option to use toolchain default ISA and ABI >> > >> > u-boot.bin is now in >> > /usr/lib/u-boot/sifive_unleashed/u-boot.bin >> > >> >> Who puts u-boot.bin there? Already our in-tree U-Boot recipe / version? >> I don't recall the details anymore, but such a change appear to me like >> it requires synchronization. >> > > In this case it is the u-boot package in debian-ports (which now also > supports =E2=80=9Csifive_unmatched=E2=80=9D). > > http://deb.debian.org/debian-ports/pool-riscv64/main/u/u-boot/u-boot-sifi= ve_2021.07+dfsg-2+b1_riscv64.deb > > >> or to be more precise, upstream u-boot changed it: https://github.com/u-boot/u-boot/commit/ae2d9506a36ce2a31b2865c7071e3d20aa6= 33340 > =E2=80=94Tim > >> >> >> > Signed-off-by: Tim Orling >> > --- >> > meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules | 2 += - >> > ...{opensbi-sifive-fu540_0.8.bb =3D> opensbi-sifive-fu540_0.9.bb} | 2= +- >> > 2 files changed, 2 insertions(+), 2 deletions(-) >> > rename meta-isar/recipes-bsp/opensbi/{opensbi-sifive-fu540_0.8.bb =3D= > >> opensbi-sifive-fu540_0.9.bb} (86%) >> > >> > diff --git a/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules >> b/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules >> > index c3fc50a..04e5b5a 100644 >> > --- a/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules >> > +++ b/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules >> > @@ -6,7 +6,7 @@ endif >> > >> > override_dh_auto_build: >> > CFLAGS=3D LDFLAGS=3D $(MAKE) $(PARALLEL_MAKE) PLATFORM=3Dsifive/= fu540 \ >> > - FW_PAYLOAD_PATH=3D/usr/lib/u-boot/sifive_fu540/u-boot.bi= n >> > + >> FW_PAYLOAD_PATH=3D/usr/lib/u-boot/sifive_unleashed/u-boot.bin >> > >> > %: >> > dh $@ >> > diff --git a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb >> b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.9.bb >> > similarity index 86% >> > rename from meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb >> > rename to meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.9.bb >> > index eb2e206..c25215b 100644 >> > --- a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb >> > +++ b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.9.bb >> > @@ -8,7 +8,7 @@ inherit dpkg >> > SRC_URI =3D " \ >> > >> https://github.com/riscv/opensbi/archive/v${PV}.tar.gz;downloadfilename= =3Dopensbi-${PV}.tar.gz >> \ >> > file://sifive-fu540-rules" >> > -SRC_URI[sha256sum] =3D >> "17e048ac765e92e15f7436b604452614cf88dc2bcbbaab18cdc024f3fdd4c575" >> > +SRC_URI[sha256sum] =3D >> "60f995cb3cd03e3cf5e649194d3395d0fe67499fd960a36cf7058a4efde686f0" >> > >> > S =3D "${WORKDIR}/opensbi-${PV}" >> > >> > >> > --000000000000c348b705cc490575 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Sep 18, 2021 at 11:05 AM Tim Orling <ticotimo@gmail.com> wrote:


On Fri, Sep 17, 2021 at 11:34 PM Jan Kiszka <<= a href=3D"mailto:jan.kiszka@web.de" target=3D"_blank">jan.kiszka@web.de= > wrote:
On 17.09.21 21:12, Tim Orling wrote:<= br> > This release has:
>
>=C2=A0 =C2=A0* Lots of fixes and improvements
>=C2=A0 =C2=A0* Optimized trap handler for both RV32 and RV64
>=C2=A0 =C2=A0* Domain support for system-level partitioning
>=C2=A0 =C2=A0* Device tree based domain configuration
>=C2=A0 =C2=A0* SBI v0.3 SRST extension
>=C2=A0 =C2=A0* More detailed boot-time prints
>=C2=A0 =C2=A0* Makefile option to use toolchain default ISA and ABI
>
> u-boot.bin is now in
> /usr/lib/u-boot/sifive_unleashed/u-boot.bin
>

Who puts u-boot.bin there? Already our in-tree U-Boot recipe / version?
I don't recall the details anymore, but such a change appear to me like=
it requires synchronization.

In this case it = is the u-boot package in debian-ports (which now also supports =E2=80=9Csif= ive_unmatched=E2=80=9D).

=
<= /blockquote>
or to be more precise, upstream u-boot changed it:=C2=A0

=

=E2=80=94Tim


> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>=C2=A0 meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 | 2 +-
>=C2=A0 ...{opensbi-sifive-fu540_0.8.bb =3D> op= ensbi-sifive-fu540_0.9.bb} | 2 +-
>=C2=A0 2 files changed, 2 insertions(+), 2 deletions(-)
>=C2=A0 rename meta-isar/recipes-bsp/opensbi/{opensbi-sifive-fu= 540_0.8.bb =3D> opensbi-sifive-fu540_0.9.bb} (86%) >
> diff --git a/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules b/= meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules
> index c3fc50a..04e5b5a 100644
> --- a/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules
> +++ b/meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules
> @@ -6,7 +6,7 @@ endif
>
>=C2=A0 override_dh_auto_build:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0CFLAGS=3D LDFLAGS=3D $(MAKE) $(PARALLEL_MAKE= ) PLATFORM=3Dsifive/fu540 \
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FW_PAYLOAD_PATH=3D/us= r/lib/u-boot/sifive_fu540/u-boot.bin
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FW_PAYLOAD_PATH=3D/us= r/lib/u-boot/sifive_unleashed/u-boot.bin
>
>=C2=A0 %:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0dh $@
> diff --git a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu5= 40_0.8.bb b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540= _0.9.bb
> similarity index 86%
> rename from meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu54= 0_0.8.bb
> rename to meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_= 0.9.bb
> index eb2e206..c25215b 100644
> --- a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.= bb
> +++ b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.9.= bb
> @@ -8,7 +8,7 @@ inherit dpkg
>=C2=A0 SRC_URI =3D " \
>=C2=A0 =C2=A0 =C2=A0 https://github.com/riscv/opensbi/archive/v${PV}.= tar.gz;downloadfilename=3Dopensbi-${PV}.tar.gz \
>=C2=A0 =C2=A0 =C2=A0 file://sifive-fu540-rules"
> -SRC_URI[sha256sum] =3D "17e048ac765e92e15f7436b604452614cf88dc2b= cbbaab18cdc024f3fdd4c575"
> +SRC_URI[sha256sum] =3D "60f995cb3cd03e3cf5e649194d3395d0fe67499f= d960a36cf7058a4efde686f0"
>
>=C2=A0 S =3D "${WORKDIR}/opensbi-${PV}"
>
>
--000000000000c348b705cc490575--