OpenEmbedded/Yocto layer for RISC-V Architecture
Find a file
Ricardo Salveti 7664795675 qemu-riscv: update to the latest
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
2018-06-22 00:38:31 -07:00
conf Disable PIE 2018-06-21 15:30:37 -07:00
recipes-core recipes-core: sysvinit-inittab: Work around getty issue 2018-04-10 22:12:26 -07:00
recipes-devtools qemu-riscv: update to the latest 2018-06-22 00:38:31 -07:00
recipes-extended/ghostscript ghostscript: Fix typo in FILESEXTRAPATHS_prepend 2018-02-15 01:08:42 -08:00
recipes-kernel/linux recipes-kernel: Update to the 4.17 RISC-V Linux kernel 2018-06-21 06:22:29 -07:00
recipes-support libgpg-error: drop patch as it was merged in 1.28 2018-05-07 14:39:21 -07:00
tools/manifests Add setup scripts 2018-03-16 17:16:53 -07:00
wic wic: add kickstarter file for freedom-u540 2018-03-26 21:51:50 -07:00
.travis.yml travis: Use mkdir -p so we can reuse the existing directories 2018-03-16 18:32:49 -07:00
LICENSE Initial commit 2017-10-02 23:08:43 -07:00
README.md Document syncing workspace intructions 2018-06-21 15:59:00 -07:00
setup.sh Add setup scripts 2018-03-16 17:16:53 -07:00

meta-riscv

RISC-V Architecture Layer for OpenEmbedded/Yocto

license Build Status

Description

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:

  • Distro-less (only with OE-Core).
  • Angstrom.
  • Yocto/Poky (main focus of testing).

Dependencies

This layer depends on:

  • URI: git://github.com/openembedded/openembedded-core
    • branch: master
    • revision: HEAD
  • URI: git://github.com/openembedded/bitbake
    • branch: master
    • revision: HEAD

Quick Start

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.

Create workspace

mkdir 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

Update existing workspace

In order to bring all layers uptodate with upstream

cd riscv-yocto
repo sync
repo rebase

Setup Build Environment

. ./meta-riscv/setup.sh

Build Image

bitbake core-image-full-cmdline

Run in QEMU

runqemu nographic

Running wic.gz image on hardware

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

Maintainer(s)

  • Khem Raj <raj dot khem at gmail.com>