Khem Raj 8fa69a8f27 switch to using OE-Core/bitbake instead of poky | 5 éve | |
---|---|---|
.github | 5 éve | |
conf | 5 éve | |
recipes-core | 6 éve | |
recipes-devtools | 5 éve | |
recipes-extended | 6 éve | |
recipes-kernel | 5 éve | |
recipes-support | 5 éve | |
tools | 5 éve | |
wic | 6 éve | |
.travis.yml | 6 éve | |
LICENSE | 6 éve | |
README.md | 5 éve | |
setup.sh | 5 éve |
RISC-V Architecture Layer for OpenEmbedded/Yocto
This is the general hardware specific BSP overlay for the RISC-V based devices.
More information can be found at: https://riscv.org/ (Official Site)
The core BSP part of meta-riscv should work with different OpenEmbedded/Yocto distributions and layer stacks, such as:
This layer depends on:
Note: You only need this if you do not have an existing Yocto Project build environment.
Make sure to install the repo
command by Google first.
mkdir riscv-yocto && cd riscv-yocto
repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
repo sync
repo start work --all
In order to bring all layers uptodate with upstream
cd riscv-yocto
repo sync
repo rebase
. ./meta-riscv/setup.sh
bitbake core-image-full-cmdline
runqemu nographic
The output of the build will be a <image>.wic.gz
file. You can write this file to an sd card using:
$ zcat <image>-<machine>.wic.gz | sudo dd of=/dev/sdX bs=4M iflag=fullblock oflag=direct conv=fsync status=progress
<raj dot khem at gmail.com>