[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Near-upstream kernel for VisionFive2



Hi,

[replying again to the list, with a few more details]

On 05-11-23, Ralph Aichinger wrote:
> On Wed, Oct 25, 2023 at 12:29:06PM +0200, Baptiste Jonglez wrote:
> > Hi,
> >
> > We're trying to build a system that is as close as possible to upstream
> > for the VisionFive2.  Here "upstream" means both Debian and Linux kernel.
> >
> > The current progress is here: https://framagit.org/compile-farm/debian-risc-v-build
> 
> Wow, that is great! I just updated my VisionFive2 by doing the not
> recommended dist-upgrade to vanilla Debian sid, with the kernel set to
> "hold". I don't worry about video drivers, as my VisionFive2 is headless
> anyway. The install seems to still work, mostly ;)
> 
> I hope I have not overlooked this in an obvious location, but what is
> the correct procedure to install your kernel builds, so that uboot
> learns about them, and boots them?

That's a good question.  For VisionFive v1 I was using u-boot-menu, it
generates a extlinux.conf file that gets parsed by u-boot:

  https://wiki.debian.org/InstallingDebianOn/StarFive/VisionFiveV1

I am using the same process for VisionFive v2 for now.

While it works, this does not feel like a future-proof solution.  Ubuntu
is using grub-efi and they store dtbs directly in /boot, I have to look at
how they do it.

> Will just installing the three(?) packages from this repository with
> dpkg be enough, or will I need some further u-boot wizardry?

It should work with u-boot-menu, but no guarantee.

Note that I am using a pure Debian rootfs (built using the above VF1 documentation),
not the one provided by Starfive.

Baptiste

Attachment: signature.asc
Description: PGP signature


Reply to: