starfive-tech / u-boot

45 stars 33 forks source link

VisionFive boot fixes #31

Closed zorun closed 1 year ago

zorun commented 2 years ago

See individual commit messages for details

zorun commented 2 years ago

I have successfully tested these patches on a VisionFive V1 board, and I could boot Debian without needing any uEnv.txt file.

zorun commented 2 years ago

Any update on this?

zorun commented 2 years ago

Just to clarify: the current u-boot on VisionFive v1 makes it hard for distros to support the board. And updating u-boot on a board is not something that most users will feel comfortable doing (btw, updating u-boot was well documented before, but I can't find the documentation on rvspace.org anymore :/).

So, it would be very helpful for the changes here to be integrated and shipped with the VisionFive V2 boards!

orangecms commented 1 year ago

For reference: The quick start guide has the instructions for upgrading U-Boot, recovery, etc..: https://doc-en.rvspace.org/Doc_Center/quick_start_guide_visionfive.html

orangecms commented 1 year ago

I have an oreboot port in the makings instead, which would only need one single binary eventually for the whole procedure - clocks/GPIOs/DRAM init, SBI, loading a payload - plus your custom app, e.g., bare metal, LinuxBoot, hypervisor, whatever you like. :)