riscv-admin / riscv-uefi-edk2-docs

Documentation and status of UEFI on RISC-V
53 stars 13 forks source link

Unable to boot? Missing EspRamdisk upstream #3

Open kallisti5 opened 3 years ago

kallisti5 commented 3 years ago

The documentation mentions "EspRamdisk" + linux.iso seemingly packaged within the u540.fd, however upstream tianocore edk2-platform doesn't seem to have any of this code / functionality.

Since no disk / block devices appear to be supported by tianocore u540, it appears loading anything with the tianocore edk2 is impossible at the moment?

JohnAZoidberg commented 3 years ago

Oh you're right. I was meant to upstream that, too. I don't expect t hat to be easy, so I didn't do that initially. Edk2 is okay but you need a different edk2-platforms branch: https://github.com/riscv/riscv-edk2-platforms/commits/devel-boot-kernel

I think this branch doesn't have any extra changes but if it doesn't work with upstream edk2, try this: https://github.com/riscv/riscv-edk2/commits/devel-boot-kernel

pullannagari-babu commented 3 years ago

Hello JohnAZpidberg,

I'm trying boot from UEFI for freedom-u540 board, I'm confusing, here having 2 repository and edk2 and edk2-platforms. is it required two branches, For Booting the freedom-u540 board what are the sources required to RISC-V architecture qemu as well as hardware board? currently, I'm trying to qemu once work I will do for hardware (freedom-u540) board also, but I'm facing an issue while building, please can you help out with this. is it required to change any variables for riscv64 architecture? can you explain me sir please?

JohnAZoidberg commented 3 years ago

is it required two branches,

yes.

Please refer to the instructions. We also have some more instructions here: https://github.com/JohnAZoidberg/riscv-edk2-docker

yli147 commented 1 year ago

The branch https://github.com/riscv/riscv-edk2-platforms/commits/devel-boot-kernel is not there, anyone can help ? Thanks

sonic011gamer commented 11 months ago

The branch https://github.com/riscv/riscv-edk2-platforms/commits/devel-boot-kernel is not there, anyone can help ? Thanks

look at this repo's forks, you'll find it there