Want to run Linux on open hardware? This talk will explore Open Source Hardware projects capable of that task, and explore how RISC-V and free software FPGA projects can be leveraged to create libre systems.
This talk will explore Open Source Hardware projects relevant to Linux, including boards like BeagleBone, Olimex OLinuXino, the Reform laptop and more.
I will also talk about the importance of the open RISC-V instruction set and free software FPGA toolchains. I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on RISC-V core in the ECP5 FPGA badge. I will explain what LiteX is and how it enabled us to quickly build a SoC capable of running Linux.
Finally, I will explore the landscape of open source chip design projects and the Linux-capable RISC-V silicon chips on horizon for 2020.
Notes
What’s required to be “open hardware”
RISC V: The instruction set for everything?
- ISA=instruction set architecture
- ARM requires commercial licening
What’s different about RISC-V
- simple
- clean slate design
- modular
- extensively/specialization
- small standards base ISA, with multiple standard extensions
- stable
- community design
Ecosystem
- opensource software
- commercial software
- open-source cores
Hardware
- commercial cores
- commercial core provisders
- inhouse cores
Industry
- Most people are just licensing cores from ARM
- open source implementation
- BOOM, Rocket, PULP, SweRV
Chips
lowRISC
- not-for-profit organisation
- OpenTitan project with Google
SiFive
- SiFive FE310 microcontroller
- HiFive1: Arguino Compatible RISC-V dev kit
Linux on RISV-V
- HiFive Unleashed
- best core if you want to run RISC-V Linux
- mostly just a proof of concept
Kendryte K210
PolarFire
- CORE-V Chassis - tapeout 2H 2020
- Hard RISC-V with FPGA fabric
Open Source FPGA Tools
Linux on Badge
- has ECP5 FPGA
- Supported by open source FPGA tool
- Linux running on Supercon badge
- 2019 Supercon badget
- 32 MB of SDRAM to the Hackaday badge
Migen
LiteX
- Litex used to build cores, create SoCs and full FPGA designs
- LiteX Hub - Collaborative FPGA projects around LiteX
- Based on Migen
Linux on LiteX
What baords could you use?
Quickstart - FPGA
- Fomu
- RGB LED
- MicroPython
- Verilog
- LiteX
Quickstart -No Hardware