From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7008982650629128192 X-Received: by 2002:a67:3204:: with SMTP id y4mr422506vsy.28.1631988325369; Sat, 18 Sep 2021 11:05:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6102:37c:: with SMTP id f28ls2238176vsa.6.gmail; Sat, 18 Sep 2021 11:05:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW/T0DxpbOS+HIWWSu5Gh6qHL0wgAhBIU2Fw1Kd6+FUeKWfx+ZeWUbOGj0nuo1zKoegTFH X-Received: by 2002:a05:6102:370c:: with SMTP id s12mr11357835vst.42.1631988324745; Sat, 18 Sep 2021 11:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631988324; cv=none; d=google.com; s=arc-20160816; b=DjH8udKJZpxJ6pJBwvZ1PmCokZsPA6gp9iYrWsma6mU+rOyDkS5INs8Reog3narwJy 7P8v1Kqu2Cvx+hlkfuFYk+DsEfy1qaYtEW+QrgYTWvTjqOxVDucD7OcZ6CWVydyApBrf T85yQx2dAnwZ/B0gAkB3MPpgCeq5AHVVDoPHggtoPputEBm0kzQxJ/VXUcREDHNxnlQL 6+/0H2H7Fm+WZ5CB0vrDkW/jNTDvoFjQlO++I9zwJ7jqg8g3C0Fa1Z4PYlYHbB1DhUJ9 3iaNmUisLKwqyBHT8jj7Gq7D61rTqSwdVmYJ44BUMQxDMZlXTUX83ZxtwbLDldFuI+WF F7mQ== 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=hygl3cEnC6eFolrtT1LHsXTvd8VhxcuqoKRxxn2C5Wc=; b=OGIFxDxdjqlXU3IWeGXW/KGyGZb0DIvZz/ooOJr4aJ2WfWM3xrx9Qn1e+AgU5xZEXg QG4wj2+wwUo/BPEQ9VFjrQGl2S/6j/IhcyfXbQnOTEtS5l+eryfCwywmL0uOV1RDpTVh Xo4mdajWb92YToDUjVCTQCK3lRHY4ILhBck5roxuZKSZcX5Wzj0tGAHIc0F3zlSLsOzA QB7L6IJkbhcF5Z9V/FqQ/7bMMJ8FlwD5jY62ENht3kAjnOjad0FHWHOYZAtvx9Thu+As ESoTCdde0xum89ZRY0SpyT7T/Pf0OcNEqs2fsEcfwz/kDCyni5ng3OAmquUNTfPd12wz XQaw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VTnrz7Cq; spf=pass (google.com: domain of ticotimo@gmail.com designates 2607:f8b0:4864:20::132 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-il1-x132.google.com (mail-il1-x132.google.com. [2607:f8b0:4864:20::132]) by gmr-mx.google.com with ESMTPS id t131si122368vkd.5.2021.09.18.11.05.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Sep 2021 11:05:24 -0700 (PDT) Received-SPF: pass (google.com: domain of ticotimo@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) client-ip=2607:f8b0:4864:20::132; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VTnrz7Cq; spf=pass (google.com: domain of ticotimo@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=ticotimo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-il1-x132.google.com with SMTP id b6so13966912ilv.0 for ; Sat, 18 Sep 2021 11:05:24 -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=hygl3cEnC6eFolrtT1LHsXTvd8VhxcuqoKRxxn2C5Wc=; b=VTnrz7CqnPpy3W1O9qX6hBmkQH4QIu9Wd5p/Jns5+g+dw/N/j9+lvyEndW7zlgt2ok UyVAe3wx7zqGYAfkSy1Nls5kUHW10q8m/HAAVq96dxQ2Q78FDmzhoRMXYQtFrAtsgdG8 E43AGWg46/qhVZKbyhxcg1Edpat/0jQv71gZ5fwM+c+iVDO+gBfXRVWdUiPmNYozEBTI uKJIYpDzABcU+s9WI1OylWrU3XwsFnnl/W/RsgdVguBjaymqjFFQ5sbNsTlqL4B2anHs ijE20OKujCru7KCA5lZLoR1lYIeCcCwR2yBrAwN+3ZX9kE7wNDXLywlZz6FP45tNTsKL giBw== 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=hygl3cEnC6eFolrtT1LHsXTvd8VhxcuqoKRxxn2C5Wc=; b=2kBYW5KL/a3+/ZlLQqC5fDBTn0RYsFABsdOCanGBkQXQknnDblMtJ3DQCFvvF3nNYk wPqifs3dAObf+/MYvQ9dKnHGUSeJgxNGHCIKXQLRsLPlvRFRS3rSmTeYLnB2AXk3gBNn SKYdpnPEEJQpRVwAdKGQT8hAokL6tOX1yMsa+r240NnqQRgZwPyUjPMLmnN6pF5JfiMd XJicC/KMloUGZcs/IfOgphZ/n5/LpJ8j9hTnM40Xsu8Btcu6FDx2LhVfPMT6qtkandSp BE0jkH8QAza/VM3h6M0Zb0W6onsyeZ/ev6vnHddcztLY7mWqj/lQwlxSGMJwzSvJspn5 ZFIA== X-Gm-Message-State: AOAM532Vj0XWs37Dy9K/RJZLdFgVPQGRn/+ROPhQmeTR7mlShtb9fxvE S77tM9MhhBnvWsSOLTq2uOEdqinPepCafHTkLfSOGSB9IfU= X-Received: by 2002:a05:6e02:e53:: with SMTP id l19mr12403648ilk.217.1631988323973; Sat, 18 Sep 2021 11:05:23 -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:05:13 -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="00000000000053fe7505cc48e406" X-TUID: 89RTPxx9jsY/ --00000000000053fe7505cc48e406 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-sifive= _2021.07+dfsg-2+b1_riscv64.deb > =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/f= u540 \ > > - FW_PAYLOAD_PATH=3D/usr/lib/u-boot/sifive_fu540/u-boot.bin > > + 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}" > > > > > --00000000000053fe7505cc48e406 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Sep 17, 2021 at 11:34 PM Jan Kiszka <jan.kiszka@web.de> wrote:
On 17.09.21 21:12, Tim Orling wrote:
> 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).

=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}"
>
>
--00000000000053fe7505cc48e406--