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!

  • nf3rn0@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    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.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      2 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.