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 <jan.kiszka@web.de> 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 “sifive_unmatched”).

or to be more precise, upstream u-boot changed it: 
https://github.com/u-boot/u-boot/commit/ae2d9506a36ce2a31b2865c7071e3d20aa633340


—Tim


> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>  meta-isar/recipes-bsp/opensbi/files/sifive-fu540-rules          | 2 +-
>  ...{opensbi-sifive-fu540_0.8.bb => 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 => 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= LDFLAGS= $(MAKE) $(PARALLEL_MAKE) PLATFORM=sifive/fu540 \
> -             FW_PAYLOAD_PATH=/usr/lib/u-boot/sifive_fu540/u-boot.bin
> +             FW_PAYLOAD_PATH=/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 = " \
>      https://github.com/riscv/opensbi/archive/v${PV}.tar.gz;downloadfilename=opensbi-${PV}.tar.gz \
>      file://sifive-fu540-rules"
> -SRC_URI[sha256sum] = "17e048ac765e92e15f7436b604452614cf88dc2bcbbaab18cdc024f3fdd4c575"
> +SRC_URI[sha256sum] = "60f995cb3cd03e3cf5e649194d3395d0fe67499fd960a36cf7058a4efde686f0"
>
>  S = "${WORKDIR}/opensbi-${PV}"
>
>