[Star64] Help needed in understanding Yocto and U-boot build process
#1
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.

Thanks!
  Reply


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 Irradium (based on crux linux) riscv64, aarch64 mara 2 1,398 12-28-2024, 06:27 AM
Last Post: mara
  Maximum size of boot MicroSD for RockPro64 and Pinebook Pro commiecam 3 2,127 12-10-2024, 07:23 PM
Last Post: Dendrocalamus64
  Star64: GPU firmware loading on Armbian Der Geist der Maschine 14 8,519 09-30-2024, 02:49 AM
Last Post: Marco2024
  Star64 JH7110 (slarm64, riscv64) mara 2 1,829 10-09-2023, 03:43 AM
Last Post: mara
  Star64: jtag debugging? bluepill 1 1,608 09-20-2023, 08:26 AM
Last Post: bwooster0
  Star64: 4GB on 8GB boards Der Geist der Maschine 4 3,263 07-27-2023, 12:32 AM
Last Post: balbes150
  Star64: SATA Der Geist der Maschine 1 1,616 07-26-2023, 12:35 PM
Last Post: Gladox114
Information Star64: Armbian Installation Der Geist der Maschine 5 6,700 06-03-2023, 01:26 PM
Last Post: Der Geist der Maschine
  Star64: a first benchmark Der Geist der Maschine 0 2,468 05-29-2023, 01:00 PM
Last Post: Der Geist der Maschine
  Boot Ox64 after SPI Flash IC replacement kotnitro 1 1,765 05-26-2023, 02:19 AM
Last Post: kotnitro

Forum Jump:


Users browsing this thread: 1 Guest(s)