[Star64] Help needed in understanding Yocto and U-boot build process
Hi everybody,

I'm new to building Linux and related components for embedded systems. I found the work that @Fishwaldo has done with `meta-pine64`, however I'm having trouble visualising the entire process. I'd like an ELI5 for a few topics so I can try building my own images.

My questions are (as of now):

1. How did you figure out the U-boot partitions required? The U-boot documentation (https://docs.u-boot.org/en/latest/board/...l#flashing) uses 4KiB for the SPL and 8KiB for U-boot + OpenSBI. However, the JH7110 user-guide (https://doc-en.rvspace.org/VisionFive2/D...oot_UG.pdf) doesn't seem to mention this (or does it? Not sure if I missed something important). How did you know?

2. If I understand correctly, Fishwaldo patched the Linux Kernel tree in a new branch with the OEM drivers from StarFive? Then, he created the layer on top of Poky and the other base layers from Openembedded? Why is it that he is forced to use the Linux 5.1xx kernel instead of the new 6.1xx kernel? Did StarFive mention this limitation somewhere that I missed it?

Thanks for reading through! I really appreciate the help - I would like to be part of the effort to take RISC-V forward, and I want to be able to build my own images for the Star64 alongside the SOEdge module as a replacement for Coral.ai's TPUs.


Messages In This Thread
[Star64] Help needed in understanding Yocto and U-boot build process - by InterestedinFOSS - 04-23-2024, 10:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Star64 JH7110 (slarm64, riscv64) mara 2 1,340 10-09-2023, 03:43 AM
Last Post: mara
  Star64: GPU firmware loading on Armbian Der Geist der Maschine 13 5,225 09-29-2023, 05:46 PM
Last Post: mara
  Star64: jtag debugging? bluepill 1 1,169 09-20-2023, 08:26 AM
Last Post: bwooster0
  Star64: 4GB on 8GB boards Der Geist der Maschine 4 2,337 07-27-2023, 12:32 AM
Last Post: balbes150
  Star64: SATA Der Geist der Maschine 1 1,215 07-26-2023, 12:35 PM
Last Post: Gladox114
Information Star64: Armbian Installation Der Geist der Maschine 5 4,934 06-03-2023, 01:26 PM
Last Post: Der Geist der Maschine
  Star64: a first benchmark Der Geist der Maschine 0 1,197 05-29-2023, 01:00 PM
Last Post: Der Geist der Maschine
  Boot Ox64 after SPI Flash IC replacement kotnitro 1 1,369 05-26-2023, 02:19 AM
Last Post: kotnitro
  Star64 first boot (and success) bortzmeyer 1 1,822 05-24-2023, 02:45 AM
Last Post: draintroup
Exclamation Quartz64 model a wont boot AndyNZAUS 0 1,644 09-13-2022, 06:35 AM
Last Post: AndyNZAUS

Forum Jump:

Users browsing this thread: 1 Guest(s)