|
Bugzilla – Full Text Bug Listing |
| Summary: | Tumbleweed + Risc-V: grub2 reports out of memory on kernel load | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Klaus Kämpf <kkaempf> |
| Component: | Bootloader | Assignee: | Bootloader Maintainers <bootloader-maintainers> |
| Status: | RESOLVED FEATURE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | chester.lin, dmueller, duwe, mbrugger, mchang, schwab |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | RISC-V | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Klaus Kämpf
2023-06-22 12:42:52 UTC
(In reply to Klaus Kämpf from comment #0) > Booting > openSUSE-Tumbleweed-RISC-V-JeOS-starfivevisionfive2.riscv64-2023.03.20- > Build11.107.raw (from devel:RISCV:Factory:Contrib:StarFive:VisionFive2) on a > StarFive VisionFive V2) leads to > > "Loading Linux 6.4.0-rc7-41-default ... > error: ../../grub-core/loader/efi/linux.c:436:out of memory. > Loading initial ramdisk ... > error: ../../grub-core/loader/efi/linux.c:346:you need to load the kernel > first. The booting grub seemed not built from our source. For tumbleweed, the grub version is 2.06 and Risc-V linux loader path in the source tree is grub-core/loader/riscv/linux.c. It is very likely, judging from the error message, the grub in question was built from a more recent upstream source where Risc-V linux loader has been unified with arm64. It can also be the boot variable to an alternate loader was used rather than sles/opensuse. Added Chester Lin to CC as he seemed to be working on the Risc-V image routinely and may be able to shed some light to the problem. * Add Andreas and Torsten since they are the maintainers of the visionfive2 Contrib project. Hi Klaus, Not sure if anything changes but the latest image [openSUSE-Tumbleweed-RISC-V-JeOS-starfivevisionfive2.riscv64-2023.08.04-Build16.5.raw.xz] can boot on my board [rev1.3b]. Could you try the latest image first? Just try to make sure that we are using the same image. Please use the U-Boot from the SDcard, not the builtin from SPI. (In reply to Andreas Schwab from comment #3) > Please use the U-Boot from the SDcard, not the builtin from SPI. How would I do that ? The 8GB models seem to have known issues: https://github.com/starfive-tech/VisionFive2/releases/tag/VF2_v3.4.5 "Please do not upgrade u-boot/spl for 8GB DDR VisionFive2 since CMA will not allocated successfully under Debian image 202306;" See 4.6. Boot Mode Settings in the QSG. (In reply to Andreas Schwab from comment #6) > See 4.6. Boot Mode Settings in the QSG. Thank you ! Setting this to "SDIO3.0" makes the image boot. Closing as feature ;-) |