How to boot to Grub instead of Bianbu directly?

Aloha everyone!

I recently received my Jupiter in the mail, and have gotten it set up with Bianbu on an SD card. It’s my first time using a RISC-V computer, and it’s been a long of fun tinkering with something that isn’t x86 or ARM.

I’ve been looking to expand into installing Gentoo on here as well though, so I was wondering if anyone might know off the top of their heads how to boot to Grub instead of Bianbu’s kernel directly?

1 Like

You don’t.

You may have seen in the docs that it uses U-Boot instead of GRUB and requires specially made firmware images.

1 Like

I have indeed! My understanding is that u-boot provides a stripped down UEFI environment to boot Linux from - I was wondering if there’s a way to instead boot GRUB into it, like how you do on an x86 computer (UEFI → GRUB → Linux).

I found this post from the SiFive forums where they seem to have accomplished exactly this, but it involved patching the source code for u-boot and grub. I was curious if it the three years since, things had gotten any smoother, but it sounds like not?

If so, I was wondering if there might be any other ways to boot multiple operating systems on the Jupiter - is there a way to get a command line in u-boot for example? I tried spamming the usual function keys that you would use for an x86 uefi, but it didn’t seem to have any effect…

1 Like

First, yes, if your bootloader has capabilities to boot on a specific computer, then yes.
Second, yes, das U-Boot can pass control to anything after it.
Third, yes, you can have some convenient CLI in U-Boot by default (unless you disable it when compiling, IIRC); I don’t have a Jupiter board, but I bet you can gain access to the CLI of U-Boot via serial debug interface on the board.