|
| 1 | +## OpenRISC Tutorials |
| 2 | + |
| 3 | +This repository contains the source for the [OpenRISC architecture tutorials](https://openrisc.io/tutorials/) |
| 4 | + |
| 5 | +These documents are helpful for users who want to get started |
| 6 | +developing software and SoC's using the OpenRISC cpu architecture. |
| 7 | + |
| 8 | +## Outline |
| 9 | + |
| 10 | +We are currently in progress working on a new structure |
| 11 | +and the intended outline is: |
| 12 | + |
| 13 | +``` |
| 14 | +Getting started with OpenRISC |
| 15 | +
|
| 16 | +Programmers Guide |
| 17 | + - Link to the architecture |
| 18 | +
|
| 19 | +Toolchain Options |
| 20 | + Binaries |
| 21 | + - downloads from github, need to setup CI for building |
| 22 | +
|
| 23 | + Obtaining |
| 24 | + - or1k-linux- gcc |
| 25 | + - or1k-elf- newlib |
| 26 | + - or1k-unknown-gnu- glibc |
| 27 | + - or1k-unkiown-musl- musl |
| 28 | + - https://github.com/richfelker/musl-cross-make - or1k/openrisc needs update |
| 29 | + - or1k-unknown-uclibc- |
| 30 | + - https://uclibc-ng.org/docs/ - docs to build |
| 31 | +
|
| 32 | + Platforms |
| 33 | + Loading binaries into platforms. ELF binaries explaination. |
| 34 | + - or1ksim |
| 35 | + - QEMU |
| 36 | + - Fusesoc |
| 37 | + - Litex |
| 38 | +
|
| 39 | +Programs on OpenRISC |
| 40 | +
|
| 41 | + Memory layout |
| 42 | + - Elf binary lays out memeory for linux/bare metal. |
| 43 | +
|
| 44 | +Linux on OpenRISC |
| 45 | + Memory layout |
| 46 | + - In addition to ELF binary |
| 47 | + - Device tree |
| 48 | + - Rootfs loaded to memory for embedded systems / no sd card |
| 49 | +
|
| 50 | + Rootfs |
| 51 | + - buildroot |
| 52 | + - busybox |
| 53 | +
|
| 54 | + Running linux on or1ksim |
| 55 | + - defconfig + busybox |
| 56 | +
|
| 57 | + Running linux on QEMU |
| 58 | + - virt_defconfig + buildroot |
| 59 | +
|
| 60 | + Running linux on Litex SoC |
| 61 | + - SIM + litex_defconfig + buildroot |
| 62 | + - arty + litex_defconfig + buildroot |
| 63 | +
|
| 64 | + Running Linux on fusesoc SoC |
| 65 | + - SIM + defconfig + busybox |
| 66 | + - de0_nano + defconfig + busybox |
| 67 | + - de0_nano-multicore + smp_defconfig + busybox |
| 68 | +``` |
| 69 | + |
0 commit comments