update md?

unstable
Penguin 2 years ago
parent 7ce93e67c6
commit 714f2d4fc8

@ -1,35 +1,35 @@
# Table of Contents # Table of Contents
1. [About the Board](#org05120cc) 1. [About the Board](#orgd72d6fe)
2. [Creating a Bootable Yocto Linux Image](#orgac4cb07) 2. [Creating a Bootable Yocto Linux Image](#org320b6b1)
1. [Create a workspace (OPTIONAL)](#org109b3fc) 1. [Create a workspace (OPTIONAL)](#org3ac88ae)
2. [Update the repo workspace](#orgfd26467) 2. [Update the repo workspace](#orgf613432)
3. [Set up the Bitbake environment](#org7077080) 3. [Set up the Bitbake environment](#org5551fb8)
4. [Building Board Disk Image](#orge052232) 4. [Building Board Disk Image](#orge48b62d)
1. [Building a Linux Image with a root file system (RootFS)](#org4594f3e) 1. [Building a Linux Image with a root file system (RootFS)](#org260c449)
2. [Building a RAM-based Root Filestystem](#orgec80779) 2. [Building a RAM-based Root Filestystem](#org920972e)
3. [Building a Linux Image for an external QSPI flash memory](#org38ff821) 3. [Building a Linux Image for an external QSPI flash memory](#org31f047f)
4. [Flashing an SD Card](#org23fb3ff) 4. [Flashing an SD Card](#org0ce15e7)
3. [References](#orge93c43d) 3. [References](#org47ba498)
<a id="org05120cc"></a> <a id="orgd72d6fe"></a>
# About the Board # About the Board
![img](./doc/img/PolarFire-Board.png) ![img](./doc/img/PolarFire-Board.png)
<a id="orgac4cb07"></a> <a id="org320b6b1"></a>
# Creating a Bootable Yocto Linux Image # 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. We have two options: Create a new workspace, or we can use this repo as a workspace because this repo is my working workspace.
<a id="org109b3fc"></a> <a id="org3ac88ae"></a>
## Create a workspace (OPTIONAL) ## Create a workspace (OPTIONAL)
@ -37,7 +37,7 @@ We have two options: Create a new workspace, or we can use this repo as a worksp
repo init -u https://github.com/polarfire-soc/polarfire-soc-yocto-manifests.git -b main -m default.xml repo init -u https://github.com/polarfire-soc/polarfire-soc-yocto-manifests.git -b main -m default.xml
<a id="orgfd26467"></a> <a id="orgf613432"></a>
## Update the repo workspace ## Update the repo workspace
@ -45,45 +45,45 @@ We have two options: Create a new workspace, or we can use this repo as a worksp
repo rebase repo rebase
<a id="org7077080"></a> <a id="org5551fb8"></a>
## Set up the Bitbake environment ## Set up the Bitbake environment
. ./meta-polarfire-soc-yocto-bsp/polarfire-soc_yocto_setup.sh . ./meta-polarfire-soc-yocto-bsp/polarfire-soc_yocto_setup.sh
<a id="orge052232"></a> <a id="orge48b62d"></a>
## Building Board Disk Image ## Building Board Disk Image
<a id="org4594f3e"></a> <a id="org260c449"></a>
### Building a Linux Image with a root file system (RootFS) ### Building a Linux Image with a root file system (RootFS)
MACHINE=icicle-kit-es bitbake mpfs-dev-cli MACHINE=icicle-kit-es bitbake mpfs-dev-cli
<a id="orgec80779"></a> <a id="org920972e"></a>
### Building a RAM-based Root Filestystem ### Building a RAM-based Root Filestystem
MACHINE=icicle-kit-es bitbake -R conf/initramfs.conf mpfs-initramfs-image MACHINE=icicle-kit-es bitbake -R conf/initramfs.conf mpfs-initramfs-image
<a id="org38ff821"></a> <a id="org31f047f"></a>
### Building a Linux Image for an external QSPI flash memory ### Building a Linux Image for an external QSPI flash memory
<a id="org23fb3ff"></a> <a id="org0ce15e7"></a>
### Flashing an SD Card ### 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 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
<a id="orge93c43d"></a> <a id="org47ba498"></a>
# References # References

Loading…
Cancel
Save