Message ID | cover.1705490373.git.jan.kiszka@siemens.com |
---|---|
Headers | show |
Series | Fix and update VisionFive 2 | expand |
On Wed, 2024-01-17 at 12:19 +0100, 'Jan Kiszka' via isar-users wrote: > Debian has fixed riscv64 cross-building in sid, and we can now use > the > chance to fix and update VisionFive 2. We can't go fully upstream > with > that board yet as it would otherwise lack USB and PCIe support. But > there is a working for-upstream kernel branch on top of 6.6 that we > can > use. In contrast, firmware is fully upstream now. > > Changes in v3: > - go back to downstream kernel > - drop linux-mainline update > - update u-boot to 2024.01 > - update to opensbi 1.4 > > Changes in v2: > - drop no longer need cross-build workaround > - update to kernel 6.6.10 > > Jan > > Jan Kiszka (8): > crossvars: Account for PACKAGE_ARCH = "${BUILD_ARCH}" > meta-isar: jh7110-u-boot-spl-tool: Use BPN instead of PN > meta-isar: starfive-visionfive2: Use kernel DTB > meta-isar: jh7110-u-boot-spl-tool: Rework > meta-isar: starfive-visionfive2: Switch to upstream U-Boot > opensbi-starfive-visionfive2: Update to 1.4 release > meta-isar: starfive-visionfive2: Drop obsolete recipes > linux-starfive: Update to 6.6 upstream queue > > .../conf/machine/starfive-visionfive2.conf | 13 ++---- > .../jh7110-u-boot-spl-image/files/install | 1 - > .../jh7110-u-boot-spl-image/files/rules | 10 ----- > .../jh7110-u-boot-spl-image_0.1.bb | 32 --------------- > ...l_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} | 2 +- > .../opensbi/files/starfive-visionfive2-rules | 12 ++++++ > .../files/starfive-visionfive2-rules.tmpl | 17 -------- > ...ensbi-starfive-visionfive2_1.2+20230310.bb | 33 --------------- > .../opensbi-starfive-visionfive2_1.4.bb | 25 +++++++++++ > .../files/starfive-visionfive2-rules.tmpl | 35 ++++++++++++++++ > ...-starfive-visionfive2_2021.10+VF2-3.0.4.bb | 31 -------------- > .../u-boot-starfive-visionfive2_2024.01.bb | 29 +++++++++++++ > .../files/rules.tmpl | 12 ------ > .../files/visionfive2-u-boot-firmware.install | 1 - > .../visionfive2-uboot-fit-image.its.tmpl | 41 ----------------- > -- > .../visionfive2-u-boot-firmware.bb | 38 ----------------- > ...sure-GP-relative-addressing-is-not-u.patch | 32 +++++++++++++++ > .../linux/files/starfive2_extra.cfg | 6 ++- > .../linux/linux-starfive_5.15-visionfive2.bb | 19 --------- > .../linux/linux-starfive_6.6-visionfive2.bb | 21 ++++++++++ > .../canned-wks/starfive-visionfive2.wks.in | 6 +-- > meta/classes/crossvars.bbclass | 2 +- > 22 files changed, 167 insertions(+), 251 deletions(-) > delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/files/install > delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/files/rules > delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/jh7110-u-boot-spl-image_0.1.bb > rename meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/{jh7110-u-boot- > spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} (85%) > create mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive- > visionfive2-rules > delete mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive- > visionfive2-rules.tmpl > delete mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive- > visionfive2_1.2+20230310.bb > create mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive- > visionfive2_1.4.bb > create mode 100755 meta-isar/recipes-bsp/u-boot/files/starfive- > visionfive2-rules.tmpl > delete mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive- > visionfive2_2021.10+VF2-3.0.4.bb > create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive- > visionfive2_2024.01.bb > delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/files/rules.tmpl > delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/files/visionfive2-u-boot-firmware.install > delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/files/visionfive2-uboot-fit-image.its.tmpl > delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- > firmware/visionfive2-u-boot-firmware.bb > create mode 100644 meta-isar/recipes-kernel/linux/files/0001-riscv- > efistub-Ensure-GP-relative-addressing-is-not-u.patch > delete mode 100644 meta-isar/recipes-kernel/linux/linux- > starfive_5.15-visionfive2.bb > create mode 100644 meta-isar/recipes-kernel/linux/linux- > starfive_6.6-visionfive2.bb > > -- > 2.35.3 > Applied to next, thanks.
On 01.02.24 12:47, Uladzimir Bely wrote: > On Wed, 2024-01-17 at 12:19 +0100, 'Jan Kiszka' via isar-users wrote: >> Debian has fixed riscv64 cross-building in sid, and we can now use >> the >> chance to fix and update VisionFive 2. We can't go fully upstream >> with >> that board yet as it would otherwise lack USB and PCIe support. But >> there is a working for-upstream kernel branch on top of 6.6 that we >> can >> use. In contrast, firmware is fully upstream now. >> >> Changes in v3: >> - go back to downstream kernel >> - drop linux-mainline update >> - update u-boot to 2024.01 >> - update to opensbi 1.4 >> >> Changes in v2: >> - drop no longer need cross-build workaround >> - update to kernel 6.6.10 >> >> Jan >> >> Jan Kiszka (8): >> crossvars: Account for PACKAGE_ARCH = "${BUILD_ARCH}" >> meta-isar: jh7110-u-boot-spl-tool: Use BPN instead of PN >> meta-isar: starfive-visionfive2: Use kernel DTB >> meta-isar: jh7110-u-boot-spl-tool: Rework >> meta-isar: starfive-visionfive2: Switch to upstream U-Boot >> opensbi-starfive-visionfive2: Update to 1.4 release >> meta-isar: starfive-visionfive2: Drop obsolete recipes >> linux-starfive: Update to 6.6 upstream queue >> >> .../conf/machine/starfive-visionfive2.conf | 13 ++---- >> .../jh7110-u-boot-spl-image/files/install | 1 - >> .../jh7110-u-boot-spl-image/files/rules | 10 ----- >> .../jh7110-u-boot-spl-image_0.1.bb | 32 --------------- >> ...l_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} | 2 +- >> .../opensbi/files/starfive-visionfive2-rules | 12 ++++++ >> .../files/starfive-visionfive2-rules.tmpl | 17 -------- >> ...ensbi-starfive-visionfive2_1.2+20230310.bb | 33 --------------- >> .../opensbi-starfive-visionfive2_1.4.bb | 25 +++++++++++ >> .../files/starfive-visionfive2-rules.tmpl | 35 ++++++++++++++++ >> ...-starfive-visionfive2_2021.10+VF2-3.0.4.bb | 31 -------------- >> .../u-boot-starfive-visionfive2_2024.01.bb | 29 +++++++++++++ >> .../files/rules.tmpl | 12 ------ >> .../files/visionfive2-u-boot-firmware.install | 1 - >> .../visionfive2-uboot-fit-image.its.tmpl | 41 ----------------- >> -- >> .../visionfive2-u-boot-firmware.bb | 38 ----------------- >> ...sure-GP-relative-addressing-is-not-u.patch | 32 +++++++++++++++ >> .../linux/files/starfive2_extra.cfg | 6 ++- >> .../linux/linux-starfive_5.15-visionfive2.bb | 19 --------- >> .../linux/linux-starfive_6.6-visionfive2.bb | 21 ++++++++++ >> .../canned-wks/starfive-visionfive2.wks.in | 6 +-- >> meta/classes/crossvars.bbclass | 2 +- >> 22 files changed, 167 insertions(+), 251 deletions(-) >> delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- >> image/files/install >> delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- >> image/files/rules >> delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl- >> image/jh7110-u-boot-spl-image_0.1.bb >> rename meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/{jh7110-u-boot- >> spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} (85%) >> create mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive- >> visionfive2-rules >> delete mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive- >> visionfive2-rules.tmpl >> delete mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive- >> visionfive2_1.2+20230310.bb >> create mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive- >> visionfive2_1.4.bb >> create mode 100755 meta-isar/recipes-bsp/u-boot/files/starfive- >> visionfive2-rules.tmpl >> delete mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive- >> visionfive2_2021.10+VF2-3.0.4.bb >> create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive- >> visionfive2_2024.01.bb >> delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- >> firmware/files/rules.tmpl >> delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- >> firmware/files/visionfive2-u-boot-firmware.install >> delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- >> firmware/files/visionfive2-uboot-fit-image.its.tmpl >> delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot- >> firmware/visionfive2-u-boot-firmware.bb >> create mode 100644 meta-isar/recipes-kernel/linux/files/0001-riscv- >> efistub-Ensure-GP-relative-addressing-is-not-u.patch >> delete mode 100644 meta-isar/recipes-kernel/linux/linux- >> starfive_5.15-visionfive2.bb >> create mode 100644 meta-isar/recipes-kernel/linux/linux- >> starfive_6.6-visionfive2.bb >> >> -- >> 2.35.3 >> > > Applied to next, thanks. Great. May also soon build again, currently blocked by https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062339 Jan