From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7220354510442463232 X-Received: by 2002:a63:e217:0:b0:503:919f:b942 with SMTP id q23-20020a63e217000000b00503919fb942mr412500pgh.11.1685184108042; Sat, 27 May 2023 03:41:48 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90b:2d86:b0:255:85a6:3d07 with SMTP id sj6-20020a17090b2d8600b0025585a63d07ls3266753pjb.1.-pod-prod-05-us; Sat, 27 May 2023 03:41:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78fEJ04Fjtl2t4KuqHbwkC3bMXAdvNfleAvKuMNMMbvJQZL7ZRrWNr0aWJWWZ7+Oj2zW07 X-Received: by 2002:a17:90b:238e:b0:250:5511:64b6 with SMTP id mr14-20020a17090b238e00b00250551164b6mr4777076pjb.44.1685184106765; Sat, 27 May 2023 03:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685184106; cv=none; d=google.com; s=arc-20160816; b=j1q6whCkVapIchncihCsvGPSDgsgc5AmqfDviK0o0sSihDZ6606oZ008zBXx+F7BRF +RxNWpbf6w1IRd7tDxTqNZjn5j0Qxc1HJm57HTgeVWX7b4klXwd5NzqnpaKSRg9cqlni B4giieN8ZKwB/jaenGbmWjBSXzMRFFAKB6qpMrZ8BlsXl/Q9reLIPS/N5L3kwhbC5K1u vEjXcPzawPJ0DiYXODwq1M+zKMuy9ySTEzVkpwxmchRpCTrII/P1GobQnkhi3wNdAQZg fMzsQnrmfBRPe6sLpmuWTj+LGRBl368fpbqXwKFv0GNdkFfUlmZr4BVetVwTT8+FideI ovqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=9tgtQRUd/bHAXKbQDT5rsPXc8OsiGQPT+qFadT+UO+E=; b=j9jQEfCtFkv+vbLDrt1qwBfgpCm1PL2jCni6UBhMag+p+z1Sloopn24J5gnCNfAqy4 erjKpkaP5e5qODnp+xKlvk3bVIxIMu9b3l0WhukSLsDUYqFCsVUMWwtl0tjlVuKG7ugg vthb6FE4ywEOiDpI4JEgLvuIclj30t0T/ldHVNsgQZ6UosLO0jNfEi1Q9ePw8O3NkMaz maag2jn0hUUH1lTH0FspyvEU2qcvnHgvkrN1c9FDKRY7mvXZC7mLaWbnD1mffBSQ/CG3 19Gea5eI+6lKXXQWJdn4gThuxFkGE/ZZ16BHqjrRbCwaTrohfVobKMGmklDextZfi06T 82BQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id y7-20020a17090a474700b00253723d7dfcsi832312pjg.0.2023.05.27.03.41.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 May 2023 03:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 34RAfeFV021496 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 May 2023 12:41:40 +0200 Message-ID: <3873bcd3b09387bde4977320ca165f46ed064523.camel@ilbers.de> Subject: Re: [PATCH v4 0/6] Add BSP for StarFiveTech VisionFive2 Risc-V board From: Uladzimir Bely To: Felix Moessbauer , isar-users@googlegroups.com Date: Sat, 27 May 2023 13:41:41 +0300 In-Reply-To: <20230410094252.1151370-1-felix.moessbauer@siemens.com> References: <20230410094252.1151370-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.1 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=0.3 required=5.0 tests=ALL_TRUSTED,NUMERIC_HTTP_ADDR, URI_HEX autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: dm9XBb+xI/89 On Mon, 2023-04-10 at 09:42 +0000, 'Felix Moessbauer' via isar-users wrote: > Changes since v3: >=20 > - rebased onto next > - drop "u-boot: make KCFLAGS and HOSTCFLAGS configurable" > - opensbi: update version > - u-boot > =C2=A0 - update which makes patches obsolete > =C2=A0 - support to compile without cross > =C2=A0 - simplify build dependencies > =C2=A0 - remove KCFLAGS injection > - spl_tool: replace with OSS version from StarFive > - linux: update which makes patches obsolete >=20 > Changes since v2: >=20 > - rebased onto next > - rework u-boot customization (p1) > - update opensbi > - update kernel >=20 > Changes since v1: >=20 > - rebased onto next (including bitbake 2.0 migration) > - exclude opensbi memory range in u-boot DT > - use upstream OpenSBI version (instead of StarFive version) >=20 > This series adds a new machine "starfive-visionfive2" which is a > Risc-V board based on the JH7110 SoC. The BSP is modeled based on the > buildroot SDK [1], but without any proprietary imaging components. >=20 > Further, we implement the fit + efi boot toolchain, instead of the > proposed ubootenv + fit version. This also requires that we embed the > board's linux device tree into the fit, as memory and reserved-memory > nodes are resolved via the efi API (implemented by u-boot) instead of > resolving them via the DT in Linux. >=20 > As the JH7110 SoC has no usable upstream support yet, we directly > build the 5.15 based kernel from the SDK, instead of porting patches > on top of the standard Linux. Distro kernels are also not supported. >=20 > Best regards, > Felix Moessbauer > Siemens AG >=20 > Felix Moessbauer (6): > =C2=A0 starfive-visionfive2: package u-boot > =C2=A0 starfive-visionfive2: package opensbi firmware > =C2=A0 starfive-visionfive2: add BSP kernel > =C2=A0 starfive-visionfive2: create u-boot-spl firmware > =C2=A0 starfive-visionfive2: create u-boot-spl FIT image > =C2=A0 starfive-visionfive2: add machine >=20 > =C2=A0meta-isar/conf/local.conf.sample=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A0.../conf/machine/starfive-visionfive2.conf=C2=A0=C2=A0=C2=A0 | 29 += ++++++++++++ > =C2=A0.../starfive-visionfive2-sid-ports.conf=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 |=C2=A0 7 ++++ > =C2=A0.../jh7110-u-boot-spl-image/files/install=C2=A0=C2=A0=C2=A0=C2=A0 |= =C2=A0 1 + > =C2=A0.../jh7110-u-boot-spl-image/files/rules=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 | 10 +++++ > =C2=A0.../jh7110-u-boot-spl-image_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 30 ++++++++++++++ > =C2=A0.../jh7110-u-boot-spl-tool_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 23 +++++++++++ > =C2=A0.../files/starfive-visionfive2-rules.tmpl=C2=A0=C2=A0=C2=A0=C2=A0 |= 17 ++++++++ > =C2=A0...ensbi-starfive-visionfive2_1.2+20230310.bb | 31 ++++++++++++++ > =C2=A0...five-visionfive2_2022.01-rc4+VF2-2.11.5.bb | 31 ++++++++++++++ > =C2=A0.../files/rules.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 12 ++++++ > =C2=A0.../files/visionfive2-u-boot-firmware.install |=C2=A0 1 + > =C2=A0.../visionfive2-uboot-fit-image.its.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 41 > +++++++++++++++++++ > =C2=A0.../visionfive2-u-boot-firmware.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 36 ++++++++++++++++ > =C2=A0.../linux/files/starfive2_extra.cfg=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 3 ++ > =C2=A0.../linux/linux-starfive_5.15-visionfive2.bb=C2=A0 | 17 ++++++++ > =C2=A0.../canned-wks/starfive-visionfive2.wks.in=C2=A0=C2=A0=C2=A0 | 23 += ++++++++++ > =C2=A017 files changed, 313 insertions(+) > =C2=A0create mode 100644 meta-isar/conf/machine/starfive-visionfive2.conf > =C2=A0create mode 100644 meta-isar/conf/multiconfig/starfive-visionfive2- > sid-ports.conf > =C2=A0create mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/files/install > =C2=A0create mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/files/rules > =C2=A0create mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/jh7110-u-boot-spl-image_0.1.bb > =C2=A0create mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > tool/jh7110-u-boot-spl-tool_0.1.bb > =C2=A0create mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive- > visionfive2-rules.tmpl > =C2=A0create mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive- > visionfive2_1.2+20230310.bb > =C2=A0create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive- > visionfive2_2022.01-rc4+VF2-2.11.5.bb > =C2=A0create mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/files/rules.tmpl > =C2=A0create mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/files/visionfive2-u-boot-firmware.install > =C2=A0create mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/files/visionfive2-uboot-fit-image.its.tmpl > =C2=A0create mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/visionfive2-u-boot-firmware.bb > =C2=A0create mode 100644 meta-isar/recipes- > kernel/linux/files/starfive2_extra.cfg > =C2=A0create mode 100644 meta-isar/recipes-kernel/linux/linux- > starfive_5.15-visionfive2.bb > =C2=A0create mode 100644 meta-isar/scripts/lib/wic/canned-wks/starfive- > visionfive2.wks.in >=20 > --=20 > 2.34.1 >=20 Applied to next, thanks.