You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Penguin e20ebaa2be add doc 1 year ago
doc/img add doc 1 year ago
scripts add scripts 1 year ago
.gitignore add md 1 year ago
README.md update md? 1 year ago
README.org init 1 year ago

README.md

Table of Contents

  1. About the Board
  2. Creating a Bootable Yocto Linux Image
    1. Create a workspace (OPTIONAL)
    2. Update the repo workspace
    3. Set up the Bitbake environment
    4. Building Board Disk Image
      1. Building a Linux Image with a root file system (RootFS)
      2. Building a RAM-based Root Filestystem
      3. Building a Linux Image for an external QSPI flash memory
      4. Flashing an SD Card
  3. References

About the Board

img

Creating a Bootable Yocto Linux Image

We have two options: Create a new workspace, or we can use this repo as a workspace because this repo is my working workspace.

Create a workspace (OPTIONAL)

mkdir yocto-dev && cd yocto-dev
repo init -u https://github.com/polarfire-soc/polarfire-soc-yocto-manifests.git -b main -m default.xml

Update the repo workspace

repo sync
repo rebase

Set up the Bitbake environment

. ./meta-polarfire-soc-yocto-bsp/polarfire-soc_yocto_setup.sh

Building Board Disk Image

Building a Linux Image with a root file system (RootFS)

MACHINE=icicle-kit-es bitbake mpfs-dev-cli

Building a RAM-based Root Filestystem

MACHINE=icicle-kit-es bitbake -R conf/initramfs.conf mpfs-initramfs-image

Building a Linux Image for an external QSPI flash memory

Flashing an SD Card

zcat build/tmp-glibc/deploy/images/icicle-kit-es/mpfs-dev-cli-icicle-kit-es.wic.gz | sudo dd of=/dev/sdX bs=4096 iflag=fullblock oflag=direct conv=fsync status=progress

References

  1. PolarFire SoC Yocto

    **