riscv / meta-riscv

OpenEmbedded/Yocto layer for RISC-V Architecture
https://riscv.org/
Other
367 stars 140 forks source link

BeagleV-Ahead board support #476

Closed cordlandwehr closed 5 months ago

cordlandwehr commented 6 months ago

This pull request brings initial support for the BeagleV-Ahead devices without the need of any external toolchain (as currently configured in the Beagleboard downstream repositories). The patches are an initial request for feedback and not ready in the sense that the boot.ext4 generation needs a little bit more cleanups and I want to get the BeagleV-Ahead firmware blobs integrated. But a build should already create a bootable image.

kraj commented 6 months ago

Can you rebase it on latest master please ?

cordlandwehr commented 5 months ago

Already on it, but might take a little bit of time as I have make the u-boot fork compatible with GCC14 first.

cordlandwehr commented 5 months ago

This is still a very much WIP state, but better than before. As I do not have much time the next days, if anybody is eager to test/improve it, here is the status:

Problems yet with this patch set:

But well, it boots recent Kernel from eMMC. Good enough for a push I hope :)

kraj commented 5 months ago

This is still a very much WIP state, but better than before. As I do not have much time the next days, if anybody is eager to test/improve it, here is the status:

  • the vendor u-boot now does compile with GCC14
  • the patches are tested with kind of recent upstream master (poky at f66f8fa9f605d5dc39acb10226198b3ab40dcaa3)

Problems yet with this patch set:

  • one has to manually run "bitbake virtual/kernel -c beaglev_img_deploy" to get boot.ext4 generated
  • u-boot's install command is commented out due to install file issues
  • the firmware files for beaglev-ahead are not yet packages

But well, it boots recent Kernel from eMMC. Good enough for a push I hope :)

should be good, can you turn this into proper PR instead of a draft then ?