this post was submitted on 22 Apr 2024
5 points (85.7% liked)

RISC-V

891 readers
1 users here now

RISC-V (pronounced "risk-five") is a license-free, modular, extensible instruction set architecture (ISA).

riscv.org

Youtube | Twitter

Matrix space

Other RISC-V communities on Lemmy

founded 3 years ago
MODERATORS
 

I'm asking this because I'm very new to the Yocto project. I'm going through the documentation but it's a bit overwhelming to me, looking at what Fishwaldo has achieved (link embedded in the title). I would like to learn how he did it and how I could create my own image based on a supported kernel with necessary drivers and boot the Star64 board.

From what I understand, he:

  1. Forked the kernel tree and created his own branch.
  2. Put in the necessary drivers (including OEM drivers) - I'm not really sure how he did it since I'm new to Linux (any tips would be appreciated!).
  3. I can't quite make out the layers he used to build the minimal image (I will study the guide more to figure this out).
  4. Finally, he compiled it, alongside compiling U-boot, partitioned the SD-card and booted the device.

Am I right? I'm missing a lot of steps in the middle, would really appreciate any help in understanding this. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] nf3rn0@lemmy.world 1 points 8 months ago (1 children)

This layer looks kinda dated and not maintained. Have you tried building meta-riscv? I have had success building a custom image for the visionfive 2 using the meta-riscv layer. (Same SOC as the pine64) I would start off with just the minimal core image. Not sure if you’re are looking for graphic support, I was only interested in a headless configuration.

[–] MigratingtoLemmy@lemmy.world 2 points 8 months ago

I'm interested in a headless configuration too. I realise that CPU support might already have been mainlined, whilst GPU support is still pending.