SlideShare uma empresa Scribd logo
1 de 82
Baixar para ler offline
How to run Linux on RISC-V
Drew Fustini
drew@oshpark.com
Twitter: @pdp7
Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
with open hardware and open source FPGA tools
FOSDEM (2020-02-02)
●
Open Source Hardware designer at OSH Park
●
PCB manufacturing service in the USA
●
drew@oshpark.com / Twitter: @oshpark
●
Volunteer Member of Board of Directors of
BeagleBoard.org Foundation
●
small open source Linux boards
●
drew@beagleboard.org
●
Volunteer Member of the Board of Directors of
the Open Source Hardware Association
(OSHWA)
●
Open Source Hardware Certification
Program: https://certification.oshwa.org/
Open Hardware Summit 2020 in NYC (USA)
on March 13th
(Friday)
https://2020.oshwa.org/
Statement of Principles:
Hardware whose design is
made publicly available so
that anyone can study,
modify, distribute, make,
and sell the design or
hardware based on that design
Documentation required for electronics:
Schematics Board Layout
Editable source files for CAD software such as KiCad or EAGLE
Bill of Materials (BoM)
Not strict requirement, but best practice is for all components available from
distributors in low quantity
36c3 talk:
Linux on Open Source Hardware with
Open Source chip design
Section:
RISC-V
the instruction set for everything?
Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
●
When you write a program in the Arduino IDE,
it is compiled into instructions for the
microcontroller to execute.
●
How does the compiler know what instructions
the chip understands?
– defined by the Instruction Set Architecture
– The ISA is a standard, a set of rules that define
the tasks the processor can perform.
– Examples: x86 (Intel/AMD) and ARM
●
Both are proprietary and need commercial licensing
●
RISC-V: Free and Open RISC Instruction Set
Arch
– “new instruction set architecture (ISA) that was
originally designed to support computer architecture
research and education and is now set to become a
standard open architecture for industry”
●
RISC-V: Free and Open RISC Instruction Set
Arch
●
Instruction Sets Want To Be Free: A Case for RISC-V
– David Patterson, UC Berekely – co-creator of the original RISC!
– https://www.youtube.com/watch?v=mD-njD2QKN0
●
RISC-V Summit 2019: State of the Union
– Krste Asanovic, UC Berkeley
– https://www.youtube.com/watch?v=jdkFi9_Hw-c
RISC-V and Industry
●
Designed to be extensible
– Microcontroller to supercomputer
●
RISC-V Foundation now controls standard: riscv.org
– Over 400 members: companies, universities and more
– YouTube channel has hundreds of talks!
●
https://www.youtube.com/channel/UC5gLmcFuvdGbajs4VL-WU3g
●
Companies like Nvidia and Western Digital will ship millions of
devices with RISC-V
●
Avoid ARM licensing fees
●
Freedom to leverage open source implementations
●
BOOM, Rocket, PULP, SweRV, and many more
RISC-V and the world
●
RISC-V Foundation moving from US to Switzerland
●
Nations such as India have RISC-V initiatives
– Desire for sovereign technology and avoid backdoors
from other nations
●
Strong interest from chipmakers in China
– U.S. companies have been banned from doing business
with Huawei… who’s next?
– ARM deemed UK-origin tech so ok to do business with
Huawei, but what will brexit-govt bring?
●
My column in the latest Hackspace Magazine is
an introduction to RISC-V and how it is enabling
open source chip design:
– hackspace.raspberrypi.org/issues/27/
●
OnChip Open-V
“completely free (as in freedom) and open
source 32-bit microcontroller based on the
RISC-V architecture”
OnChip Open-V
●
lowRISC is a not-for-profit organisation whose goal
is to produce a fully open source System-on-Chip
(SoC) in volume
– “We will produce a SoC design to populate a low-cost
community development board and to act as an ideal
starting point for derivative open-source and
commercial designs”
●
OpenTitan project with Google
– Announcing OpenTitan, the First Transparent Silicon Root of Trust
●
The Future of Operating Systems on RISC-V
– Alex Bradbury gives an overview of the status and
development of RISC-V as it relates to modern
operating systems, highlighting major research
strands, controversies, and opportunities to get
involved.
– https://www.youtube.com/watch?v=emnN9p4vhzk
●
Tutorial for the v0.7 lowRISC release
●
By Jonathan Kimmitt (lead developer), and Alex Bradbury (lead
reviewer)
●
https://www.cl.cam.ac.uk/~jrrk2/docs/ariane-v0.7/tutorial/
●
Digilent Nexys A7-100T: $265
●
This tutorial adds further functionality towards the final SoC design:
– Graphical Colour Console with X-windows support incorporating mouse and
keyboard events.
– Choice of SD-Card, Quad-SPI or Ethernet TFTP boot-loader with DHCP support.
– Linux 5.3.8 RISCV kernel and updated Debian userland with advanced package
tool.
– Choice of RV64-GC Rocket (Chisel) or Ariane (SystemVerilog) CPU
●
FOSSi Foundation
– The Free and Open Source Silicon Foundation
– “non-profit foundation with the mission to promote
and assist free and open digital hardware designs”
– Events: ORConf, Latch-up, Week of OSHW
– Open Source Silicon Design Ecosystem
●
Talk by FOSSi co-founder Julius Baxter
●
LibreCores
– Project of the FOSSi Foundation
– “gateway to free and open source digital
designs and other components that you can
use and re-use in your digital designs”
– “advances the idea of OpenCores.org”
SiFive
●
“founded by the creators of the free and open
RISC-V architecture as a reaction to the end of
conventional transistor scaling and escalating
chip design costs”
●
HiFive1: Arduino-Compatible RISC-V Dev Kit
SiFive FE310 microcontroller
●
FOSDEM 2018 talk
– YouTube: “Igniting the Open Hardware Ecosystem
with RISC-V: SiFive's Freedom U500 is the World's
First Linux-capable Open Source SoC Platform”
– Interview with Palmer Dabbelt of SiFive
SiFive: Linux on RISC-V
●
HiFive Unleashed on Crowd Supply
SiFive: Linux on RISC-V
RISC-V Summit 2019: Linux on RISC V Fedora and
Firmware Status Update
●
https://www.youtube.com/watch?v=WC6e3g8uWdk
●
Wei Fu – Software Engineer, Red Hat
●
Experiment to get Linux on the low cost Kendryte
K210 RISC-V microcontroller
– dual core 64-bit RISC-V at 400MHz with 8MB SRAM
– Sipeed MAix BiT for RISC-V $13
– PDF: RISC-V NOMMU and M-mode Linux
– youtube.com/watch?v=ycG592N9EMA&t=10394
– jump to 2h 53m
●
Many RISC-V Improvements Ready For Linux 5.5:
M-Mode, SECCOMP, Other Features
●
Andes 27-series CPU
– “32-bit A27 and 64-bit AX27 and NX27V cores, which will
enter production in Q1 2020.”
– Andes’ RISC-V SoC debuts with AI-ready VPU as Microchip
opens access to its PolarFire SoC
●
Microchip PolarFire SoC FPGA
– Hard RISC-V with FPGA fabric… like the Xilinx Zync for ARM
●
NXP iMX with RISC-V instead of ARM!
– “OpenHW Group Unveils CORE-V Chassis SoC Project, Buil
ding on PULP Project IP”
Coming in 2020?
Coming in 2020?
●
Goal: Sub-$100 Open Source Hardware
board that can run Linux on RISC-V
●
Possible by FOSDEM 2021?
●
Interested in working together?
– drew@oshpark.com / Twitter: @pdp7
– create a mailing list?
OSHW RISC-V Linux board for
less than $100?
Section:
Open Source FPGA tools
Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
●
Hackspace Magazine column about how about
open source FPGA tools developed by
Claire Wolf (oe1cxw), David Shah and others
have made FPGAs more accessible than ever
before to makers and hackers:
– hackspace.raspberrypi.org/issues/26/
Open Source and FPGAs
●
Keynote at Hackday Supercon 2019 by
Dr. Megan Wachs of SiFive
●
“RISC-V and FPGAs: Open Source Hardware
Hacking”
– https://www.youtube.com/watch?v=vCG5_nxm2G4
●
Open Source toolchains for FPGAs!
– Project IceStorm for Lattice iCE40
●
“A Free and Open Source Verilog-to-Bitstream Flow for iC
E40 FPGAs”
by Claire Wolf (oe1cxw) at 32c3
Open Source and FPGAs
●
Open Source toolchains for FPGAs!
– Project Trellis for Lattice ECP5
– “Project Trellis and nextpnr FOSS FPGA flow for the
Lattice ECP5”
- David Shah (@fpga_dave)
●
youtube.com/watch?v=0se7kNes3EU
Open Source and FPGAs
●
Open Source toolchains for FPGAs!
– Project X-Ray and SymbiFlow for Xilinix Series 7
– Timothy ‘mithro’ Ansell: “Xilinx Series 7 FPGAs Now
Have a Fully Open Source Toolchain!” (almost)
●
youtube.com/watch?v=EHePto95qoE
Open Source and FPGAs
●
Open Source Hardware boards with Lattice
ECP5 FPGA with open RISC-V “soft” CPU:
– Orange Crab by Greg Davill
●
https://github.com/gregdavill/OrangeCrab
Open Source and FPGAs
●
Radiona.org ULX3S
●
https://www.crowdsupply.com/radiona/ulx3s
Open Source and FPGAs
●
Open Source Hardware boards with Lattice
ECP5 FPGA with open RISC-V “soft” CPU:
– David Shah's Trellis board (Ultimate ECP5 Board)
– https://github.com/daveshah1/TrellisBoard
Open Source and FPGAs
Section:
Linux on the Hackaday Badge
Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
Hackaday 2019 Supercon badge
●
RISC-V “soft” core on ECP5 FPGA
●
Gigantic FPGA In A Game Boy Form Factor
“Team Linux on Badge”
“Team Linux on Badge”
●
Blog post: Hackaday Supercon badge boots Linux
using SDRAM cartridge
– https://blog.oshpark.com/2019/12/20/boot-linux-on-this-
hackaday-supercon-badge-with-this-sdram-cartridge/
●
Michael Welling (@QwertyEmedded), Tim Ansell
(@mithro), Sean Cross (@xobs), Jacob Creedon
(@jacobcreedon)
●
First attempt: use the built-in 16MB SRAM…
no luck :(
– (though xobs now might have a way to do it)
“Team Linux on Badge”
●
Second attempt:
– Jacob Creedon designed an a cartridge board that
adds 32MB of SDRAM to the Hackaday Supercon
badge… before the event!
“Team Linux on Badge”
●
Second attempt:
– Jacob Creedon designed an a cartridge board that
adds 32MB of SDRAM to the Hackaday Supercon
badge… before the event!
●
LiteX used to build cores, create SoCs and full
FPGA designs.
●
LiteX is based on Migen
●
Migen lets you do FPGA design in Python!
●
https://github.com/enjoy-digital/litex
Linux on LiteX-VexRiscv
●
VexRiscv: 32-bit Linux Capable RISC-V CPU
●
SoC built using VexRiscv core and LiteX
moduels like LiteDRAM, LiteEth, LiteSDCard, ...
– github.com/litex-hub/linux-on-litex-vexriscv
●
upstream support for Hackaday Supercon badge:
– https://github.com/litex-hub/litex-boards/pull/31
●
upstream support for Hackaday Supercon badge:
– https://github.com/litex-hub/litex-boards/pull/31
●
upstream support for Hackaday Supercon badge:
– https://github.com/litex-hub/litex-boards/pull/31
●
Opened GitHub issue:
– optimize performance on Hackaday Badge #35
●
https://github.com/litex-hub/litex-boards/issues/35
●
Now 10x faster!
– https://asciinema.org/a/Pcm3vd1BEdEKY9srYX6Ms
NfCE
– Thanks to enjoy-digital
Slides:
github.com/pdp7/talks/blob/master/fosdem20.pdf
Drew Fustini
drew@oshpark.com
@pdp7
This work is licensed under a Creative Commons
Attribution-ShareAlike 4.0 International License.

Mais conteúdo relacionado

Mais procurados

How to design your own chip?
How to design your own chip?How to design your own chip?
How to design your own chip?Philipp Wagner
 
Rapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry PiRapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry PiLeon Anavi
 
Open Source Hardware for Good
Open Source Hardware for GoodOpen Source Hardware for Good
Open Source Hardware for GoodDrew Fustini
 
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre SiliconEmbedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre SiliconAnne Nicolas
 
Free and Open Source Software Tools for Making Open Source Hardware
 Free and Open Source Software Tools for Making Open Source Hardware Free and Open Source Software Tools for Making Open Source Hardware
Free and Open Source Software Tools for Making Open Source HardwareLeon Anavi
 
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxSamsung Open Source Group
 
IoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and BeyondIoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and BeyondSamsung Open Source Group
 
Open Source Hardware, Linux and RISC-V
Open Source Hardware, Linux and RISC-VOpen Source Hardware, Linux and RISC-V
Open Source Hardware, Linux and RISC-VDrew Fustini
 
Dragon board 410c workshop - slideshow
Dragon board 410c workshop - slideshowDragon board 410c workshop - slideshow
Dragon board 410c workshop - slideshow96Boards
 
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...Samsung Open Source Group
 
LAS16-106: GNU Toolchain Development Lifecycle
LAS16-106: GNU Toolchain Development LifecycleLAS16-106: GNU Toolchain Development Lifecycle
LAS16-106: GNU Toolchain Development LifecycleLinaro
 
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivityIoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivitySamsung Open Source Group
 

Mais procurados (20)

How to design your own chip?
How to design your own chip?How to design your own chip?
How to design your own chip?
 
Rapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry PiRapid IoT Prototyping with Tizen on Raspberry Pi
Rapid IoT Prototyping with Tizen on Raspberry Pi
 
Open Source Hardware for Good
Open Source Hardware for GoodOpen Source Hardware for Good
Open Source Hardware for Good
 
FPGA MiSTer (July 2019)
FPGA MiSTer (July 2019)FPGA MiSTer (July 2019)
FPGA MiSTer (July 2019)
 
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre SiliconEmbedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
 
Tools for FPGA Development
Tools for FPGA DevelopmentTools for FPGA Development
Tools for FPGA Development
 
Free and Open Source Software Tools for Making Open Source Hardware
 Free and Open Source Software Tools for Making Open Source Hardware Free and Open Source Software Tools for Making Open Source Hardware
Free and Open Source Software Tools for Making Open Source Hardware
 
Toward "OCF Automotive" profile
Toward "OCF Automotive" profileToward "OCF Automotive" profile
Toward "OCF Automotive" profile
 
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
 
IoTivity: From Devices to the Cloud
IoTivity: From Devices to the CloudIoTivity: From Devices to the Cloud
IoTivity: From Devices to the Cloud
 
Openoffice and Linux
Openoffice and LinuxOpenoffice and Linux
Openoffice and Linux
 
IoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and BeyondIoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and Beyond
 
Open Source Hardware, Linux and RISC-V
Open Source Hardware, Linux and RISC-VOpen Source Hardware, Linux and RISC-V
Open Source Hardware, Linux and RISC-V
 
Dragon board 410c workshop - slideshow
Dragon board 410c workshop - slideshowDragon board 410c workshop - slideshow
Dragon board 410c workshop - slideshow
 
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
 
LAS16-106: GNU Toolchain Development Lifecycle
LAS16-106: GNU Toolchain Development LifecycleLAS16-106: GNU Toolchain Development Lifecycle
LAS16-106: GNU Toolchain Development Lifecycle
 
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivityIoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
 
GENIVI + OCF Cooperation
GENIVI + OCF CooperationGENIVI + OCF Cooperation
GENIVI + OCF Cooperation
 
Le Device Tree Linux
Le Device Tree LinuxLe Device Tree Linux
Le Device Tree Linux
 
IoTivity on Tizen: How to
IoTivity on Tizen: How toIoTivity on Tizen: How to
IoTivity on Tizen: How to
 

Semelhante a How to run Linux on RISC-V

Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)Drew Fustini
 
Linux on Open Source Hardware with Open Source chip design (36c3)
Linux on Open Source Hardware with Open Source chip design (36c3)Linux on Open Source Hardware with Open Source chip design (36c3)
Linux on Open Source Hardware with Open Source chip design (36c3)Drew Fustini
 
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practiceEmbedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practiceEmbeddedFest
 
Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4Wei Fu
 
SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...
SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...
SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...South Tyrol Free Software Conference
 
Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Drew Fustini
 
Open Source Hardware and Libre Silicon
Open Source Hardware and Libre SiliconOpen Source Hardware and Libre Silicon
Open Source Hardware and Libre SiliconDrew Fustini
 
SFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete Approach
SFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete ApproachSFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete Approach
SFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete ApproachSouth Tyrol Free Software Conference
 
The Future of Operating Systems on RISC-V
The Future of Operating Systems on RISC-VThe Future of Operating Systems on RISC-V
The Future of Operating Systems on RISC-VC4Media
 
Linux on Open Source Hardware
Linux on Open Source HardwareLinux on Open Source Hardware
Linux on Open Source HardwareDrew Fustini
 
Build an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC NotebookBuild an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC NotebookRoberto Innocenti
 
Making Open Source Hardware IoT with Raspberry Pi
Making Open Source Hardware IoT with Raspberry PiMaking Open Source Hardware IoT with Raspberry Pi
Making Open Source Hardware IoT with Raspberry PiLeon Anavi
 
Portland Science Hack Day: Open Source Hardware
Portland Science Hack Day: Open Source HardwarePortland Science Hack Day: Open Source Hardware
Portland Science Hack Day: Open Source HardwareDrew Fustini
 
RISC-V software state of the union
RISC-V software state of the unionRISC-V software state of the union
RISC-V software state of the unionRISC-V International
 
Introduction to Open Source Hardware, OSHWA and Open Hardware Summit
Introduction to Open Source Hardware, OSHWA and Open Hardware SummitIntroduction to Open Source Hardware, OSHWA and Open Hardware Summit
Introduction to Open Source Hardware, OSHWA and Open Hardware SummitDrew Fustini
 
Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?GlobalLogic Ukraine
 
OpenSPARC on FPGAs
OpenSPARC on FPGAsOpenSPARC on FPGAs
OpenSPARC on FPGAsDVClub
 
IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishBruno Cornec
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 

Semelhante a How to run Linux on RISC-V (20)

Linux on RISC-V
Linux on RISC-VLinux on RISC-V
Linux on RISC-V
 
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)
 
Linux on Open Source Hardware with Open Source chip design (36c3)
Linux on Open Source Hardware with Open Source chip design (36c3)Linux on Open Source Hardware with Open Source chip design (36c3)
Linux on Open Source Hardware with Open Source chip design (36c3)
 
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practiceEmbedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
 
Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4Fedora on risc-v_tokyo_30_sep_2019_v4
Fedora on risc-v_tokyo_30_sep_2019_v4
 
SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...
SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...
SFScon 22 - Roberto Innocenti - Start Enjoy Yourself with Open Hardware POWER...
 
Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)
 
Open Source Hardware and Libre Silicon
Open Source Hardware and Libre SiliconOpen Source Hardware and Libre Silicon
Open Source Hardware and Libre Silicon
 
SFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete Approach
SFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete ApproachSFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete Approach
SFScon 2020 - Roberto Innocenti - 202x Open Hardware Concrete Approach
 
The Future of Operating Systems on RISC-V
The Future of Operating Systems on RISC-VThe Future of Operating Systems on RISC-V
The Future of Operating Systems on RISC-V
 
Linux on Open Source Hardware
Linux on Open Source HardwareLinux on Open Source Hardware
Linux on Open Source Hardware
 
Build an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC NotebookBuild an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC Notebook
 
Making Open Source Hardware IoT with Raspberry Pi
Making Open Source Hardware IoT with Raspberry PiMaking Open Source Hardware IoT with Raspberry Pi
Making Open Source Hardware IoT with Raspberry Pi
 
Portland Science Hack Day: Open Source Hardware
Portland Science Hack Day: Open Source HardwarePortland Science Hack Day: Open Source Hardware
Portland Science Hack Day: Open Source Hardware
 
RISC-V software state of the union
RISC-V software state of the unionRISC-V software state of the union
RISC-V software state of the union
 
Introduction to Open Source Hardware, OSHWA and Open Hardware Summit
Introduction to Open Source Hardware, OSHWA and Open Hardware SummitIntroduction to Open Source Hardware, OSHWA and Open Hardware Summit
Introduction to Open Source Hardware, OSHWA and Open Hardware Summit
 
Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?
 
OpenSPARC on FPGAs
OpenSPARC on FPGAsOpenSPARC on FPGAs
OpenSPARC on FPGAs
 
IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live Redfish
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 

Mais de Drew Fustini

Autodesk EAGLE and OSH Park
Autodesk EAGLE and OSH ParkAutodesk EAGLE and OSH Park
Autodesk EAGLE and OSH ParkDrew Fustini
 
BeagleBone Blue at Maker Faire 2017
BeagleBone Blue at Maker Faire 2017BeagleBone Blue at Maker Faire 2017
BeagleBone Blue at Maker Faire 2017Drew Fustini
 
Google Summer of Code and BeagleBoard.org
Google Summer of Code and BeagleBoard.orgGoogle Summer of Code and BeagleBoard.org
Google Summer of Code and BeagleBoard.orgDrew Fustini
 
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
Taking the BeagleBone Cookbook recipes beyond BeagleBone BlackTaking the BeagleBone Cookbook recipes beyond BeagleBone Black
Taking the BeagleBone Cookbook recipes beyond BeagleBone BlackDrew Fustini
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)Drew Fustini
 
Espruino - JavaScript for Microcontrollers
Espruino - JavaScript for MicrocontrollersEspruino - JavaScript for Microcontrollers
Espruino - JavaScript for MicrocontrollersDrew Fustini
 
Eudyptula Challenge
Eudyptula ChallengeEudyptula Challenge
Eudyptula ChallengeDrew Fustini
 
Open Hardware Summit 2014
Open Hardware Summit 2014Open Hardware Summit 2014
Open Hardware Summit 2014Drew Fustini
 
fustini-resume-oshw
fustini-resume-oshwfustini-resume-oshw
fustini-resume-oshwDrew Fustini
 
chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606Drew Fustini
 
MinnowBoard MAX: Open Source Hardware 64-bit x86 Single Board Computer
MinnowBoard MAX: Open Source Hardware  64-bit x86 Single Board ComputerMinnowBoard MAX: Open Source Hardware  64-bit x86 Single Board Computer
MinnowBoard MAX: Open Source Hardware 64-bit x86 Single Board ComputerDrew Fustini
 
Embedded Linux primer
Embedded Linux primerEmbedded Linux primer
Embedded Linux primerDrew Fustini
 

Mais de Drew Fustini (12)

Autodesk EAGLE and OSH Park
Autodesk EAGLE and OSH ParkAutodesk EAGLE and OSH Park
Autodesk EAGLE and OSH Park
 
BeagleBone Blue at Maker Faire 2017
BeagleBone Blue at Maker Faire 2017BeagleBone Blue at Maker Faire 2017
BeagleBone Blue at Maker Faire 2017
 
Google Summer of Code and BeagleBoard.org
Google Summer of Code and BeagleBoard.orgGoogle Summer of Code and BeagleBoard.org
Google Summer of Code and BeagleBoard.org
 
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
Taking the BeagleBone Cookbook recipes beyond BeagleBone BlackTaking the BeagleBone Cookbook recipes beyond BeagleBone Black
Taking the BeagleBone Cookbook recipes beyond BeagleBone Black
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)
 
Espruino - JavaScript for Microcontrollers
Espruino - JavaScript for MicrocontrollersEspruino - JavaScript for Microcontrollers
Espruino - JavaScript for Microcontrollers
 
Eudyptula Challenge
Eudyptula ChallengeEudyptula Challenge
Eudyptula Challenge
 
Open Hardware Summit 2014
Open Hardware Summit 2014Open Hardware Summit 2014
Open Hardware Summit 2014
 
fustini-resume-oshw
fustini-resume-oshwfustini-resume-oshw
fustini-resume-oshw
 
chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606
 
MinnowBoard MAX: Open Source Hardware 64-bit x86 Single Board Computer
MinnowBoard MAX: Open Source Hardware  64-bit x86 Single Board ComputerMinnowBoard MAX: Open Source Hardware  64-bit x86 Single Board Computer
MinnowBoard MAX: Open Source Hardware 64-bit x86 Single Board Computer
 
Embedded Linux primer
Embedded Linux primerEmbedded Linux primer
Embedded Linux primer
 

Último

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Último (20)

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

How to run Linux on RISC-V

  • 1. How to run Linux on RISC-V Drew Fustini drew@oshpark.com Twitter: @pdp7 Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf with open hardware and open source FPGA tools FOSDEM (2020-02-02)
  • 2. ● Open Source Hardware designer at OSH Park ● PCB manufacturing service in the USA ● drew@oshpark.com / Twitter: @oshpark ● Volunteer Member of Board of Directors of BeagleBoard.org Foundation ● small open source Linux boards ● drew@beagleboard.org ● Volunteer Member of the Board of Directors of the Open Source Hardware Association (OSHWA) ● Open Source Hardware Certification Program: https://certification.oshwa.org/
  • 3.
  • 4. Open Hardware Summit 2020 in NYC (USA) on March 13th (Friday) https://2020.oshwa.org/
  • 5. Statement of Principles: Hardware whose design is made publicly available so that anyone can study, modify, distribute, make, and sell the design or hardware based on that design
  • 6. Documentation required for electronics: Schematics Board Layout Editable source files for CAD software such as KiCad or EAGLE Bill of Materials (BoM) Not strict requirement, but best practice is for all components available from distributors in low quantity
  • 7. 36c3 talk: Linux on Open Source Hardware with Open Source chip design
  • 8. Section: RISC-V the instruction set for everything? Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
  • 9. ● When you write a program in the Arduino IDE, it is compiled into instructions for the microcontroller to execute. ● How does the compiler know what instructions the chip understands? – defined by the Instruction Set Architecture – The ISA is a standard, a set of rules that define the tasks the processor can perform. – Examples: x86 (Intel/AMD) and ARM ● Both are proprietary and need commercial licensing
  • 10. ● RISC-V: Free and Open RISC Instruction Set Arch – “new instruction set architecture (ISA) that was originally designed to support computer architecture research and education and is now set to become a standard open architecture for industry”
  • 11. ● RISC-V: Free and Open RISC Instruction Set Arch ● Instruction Sets Want To Be Free: A Case for RISC-V – David Patterson, UC Berekely – co-creator of the original RISC! – https://www.youtube.com/watch?v=mD-njD2QKN0 ● RISC-V Summit 2019: State of the Union – Krste Asanovic, UC Berkeley – https://www.youtube.com/watch?v=jdkFi9_Hw-c
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. RISC-V and Industry ● Designed to be extensible – Microcontroller to supercomputer ● RISC-V Foundation now controls standard: riscv.org – Over 400 members: companies, universities and more – YouTube channel has hundreds of talks! ● https://www.youtube.com/channel/UC5gLmcFuvdGbajs4VL-WU3g ● Companies like Nvidia and Western Digital will ship millions of devices with RISC-V ● Avoid ARM licensing fees ● Freedom to leverage open source implementations ● BOOM, Rocket, PULP, SweRV, and many more
  • 21.
  • 22.
  • 23. RISC-V and the world ● RISC-V Foundation moving from US to Switzerland ● Nations such as India have RISC-V initiatives – Desire for sovereign technology and avoid backdoors from other nations ● Strong interest from chipmakers in China – U.S. companies have been banned from doing business with Huawei… who’s next? – ARM deemed UK-origin tech so ok to do business with Huawei, but what will brexit-govt bring?
  • 24. ● My column in the latest Hackspace Magazine is an introduction to RISC-V and how it is enabling open source chip design: – hackspace.raspberrypi.org/issues/27/
  • 25. ● OnChip Open-V “completely free (as in freedom) and open source 32-bit microcontroller based on the RISC-V architecture”
  • 27. ● lowRISC is a not-for-profit organisation whose goal is to produce a fully open source System-on-Chip (SoC) in volume – “We will produce a SoC design to populate a low-cost community development board and to act as an ideal starting point for derivative open-source and commercial designs” ● OpenTitan project with Google – Announcing OpenTitan, the First Transparent Silicon Root of Trust
  • 28. ● The Future of Operating Systems on RISC-V – Alex Bradbury gives an overview of the status and development of RISC-V as it relates to modern operating systems, highlighting major research strands, controversies, and opportunities to get involved. – https://www.youtube.com/watch?v=emnN9p4vhzk
  • 29. ● Tutorial for the v0.7 lowRISC release ● By Jonathan Kimmitt (lead developer), and Alex Bradbury (lead reviewer) ● https://www.cl.cam.ac.uk/~jrrk2/docs/ariane-v0.7/tutorial/ ● Digilent Nexys A7-100T: $265 ● This tutorial adds further functionality towards the final SoC design: – Graphical Colour Console with X-windows support incorporating mouse and keyboard events. – Choice of SD-Card, Quad-SPI or Ethernet TFTP boot-loader with DHCP support. – Linux 5.3.8 RISCV kernel and updated Debian userland with advanced package tool. – Choice of RV64-GC Rocket (Chisel) or Ariane (SystemVerilog) CPU
  • 30. ● FOSSi Foundation – The Free and Open Source Silicon Foundation – “non-profit foundation with the mission to promote and assist free and open digital hardware designs” – Events: ORConf, Latch-up, Week of OSHW – Open Source Silicon Design Ecosystem ● Talk by FOSSi co-founder Julius Baxter
  • 31. ● LibreCores – Project of the FOSSi Foundation – “gateway to free and open source digital designs and other components that you can use and re-use in your digital designs” – “advances the idea of OpenCores.org”
  • 32. SiFive ● “founded by the creators of the free and open RISC-V architecture as a reaction to the end of conventional transistor scaling and escalating chip design costs”
  • 33. ● HiFive1: Arduino-Compatible RISC-V Dev Kit SiFive FE310 microcontroller
  • 34. ● FOSDEM 2018 talk – YouTube: “Igniting the Open Hardware Ecosystem with RISC-V: SiFive's Freedom U500 is the World's First Linux-capable Open Source SoC Platform” – Interview with Palmer Dabbelt of SiFive SiFive: Linux on RISC-V
  • 35. ● HiFive Unleashed on Crowd Supply SiFive: Linux on RISC-V
  • 36. RISC-V Summit 2019: Linux on RISC V Fedora and Firmware Status Update ● https://www.youtube.com/watch?v=WC6e3g8uWdk ● Wei Fu – Software Engineer, Red Hat
  • 37.
  • 38.
  • 39.
  • 40.
  • 41. ● Experiment to get Linux on the low cost Kendryte K210 RISC-V microcontroller – dual core 64-bit RISC-V at 400MHz with 8MB SRAM – Sipeed MAix BiT for RISC-V $13 – PDF: RISC-V NOMMU and M-mode Linux – youtube.com/watch?v=ycG592N9EMA&t=10394 – jump to 2h 53m ● Many RISC-V Improvements Ready For Linux 5.5: M-Mode, SECCOMP, Other Features
  • 42.
  • 43.
  • 44. ● Andes 27-series CPU – “32-bit A27 and 64-bit AX27 and NX27V cores, which will enter production in Q1 2020.” – Andes’ RISC-V SoC debuts with AI-ready VPU as Microchip opens access to its PolarFire SoC ● Microchip PolarFire SoC FPGA – Hard RISC-V with FPGA fabric… like the Xilinx Zync for ARM ● NXP iMX with RISC-V instead of ARM! – “OpenHW Group Unveils CORE-V Chassis SoC Project, Buil ding on PULP Project IP” Coming in 2020?
  • 45.
  • 47. ● Goal: Sub-$100 Open Source Hardware board that can run Linux on RISC-V ● Possible by FOSDEM 2021? ● Interested in working together? – drew@oshpark.com / Twitter: @pdp7 – create a mailing list? OSHW RISC-V Linux board for less than $100?
  • 48. Section: Open Source FPGA tools Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
  • 49. ● Hackspace Magazine column about how about open source FPGA tools developed by Claire Wolf (oe1cxw), David Shah and others have made FPGAs more accessible than ever before to makers and hackers: – hackspace.raspberrypi.org/issues/26/ Open Source and FPGAs
  • 50. ● Keynote at Hackday Supercon 2019 by Dr. Megan Wachs of SiFive ● “RISC-V and FPGAs: Open Source Hardware Hacking” – https://www.youtube.com/watch?v=vCG5_nxm2G4
  • 51.
  • 52. ● Open Source toolchains for FPGAs! – Project IceStorm for Lattice iCE40 ● “A Free and Open Source Verilog-to-Bitstream Flow for iC E40 FPGAs” by Claire Wolf (oe1cxw) at 32c3 Open Source and FPGAs
  • 53. ● Open Source toolchains for FPGAs! – Project Trellis for Lattice ECP5 – “Project Trellis and nextpnr FOSS FPGA flow for the Lattice ECP5” - David Shah (@fpga_dave) ● youtube.com/watch?v=0se7kNes3EU Open Source and FPGAs
  • 54. ● Open Source toolchains for FPGAs! – Project X-Ray and SymbiFlow for Xilinix Series 7 – Timothy ‘mithro’ Ansell: “Xilinx Series 7 FPGAs Now Have a Fully Open Source Toolchain!” (almost) ● youtube.com/watch?v=EHePto95qoE Open Source and FPGAs
  • 55. ● Open Source Hardware boards with Lattice ECP5 FPGA with open RISC-V “soft” CPU: – Orange Crab by Greg Davill ● https://github.com/gregdavill/OrangeCrab Open Source and FPGAs
  • 56.
  • 58. ● Open Source Hardware boards with Lattice ECP5 FPGA with open RISC-V “soft” CPU: – David Shah's Trellis board (Ultimate ECP5 Board) – https://github.com/daveshah1/TrellisBoard Open Source and FPGAs
  • 59.
  • 60. Section: Linux on the Hackaday Badge Slides: https://github.com/pdp7/talks/blob/master/fosdem20.pdf
  • 61. Hackaday 2019 Supercon badge ● RISC-V “soft” core on ECP5 FPGA ● Gigantic FPGA In A Game Boy Form Factor
  • 62. “Team Linux on Badge”
  • 63. “Team Linux on Badge” ● Blog post: Hackaday Supercon badge boots Linux using SDRAM cartridge – https://blog.oshpark.com/2019/12/20/boot-linux-on-this- hackaday-supercon-badge-with-this-sdram-cartridge/ ● Michael Welling (@QwertyEmedded), Tim Ansell (@mithro), Sean Cross (@xobs), Jacob Creedon (@jacobcreedon) ● First attempt: use the built-in 16MB SRAM… no luck :( – (though xobs now might have a way to do it)
  • 64. “Team Linux on Badge” ● Second attempt: – Jacob Creedon designed an a cartridge board that adds 32MB of SDRAM to the Hackaday Supercon badge… before the event!
  • 65. “Team Linux on Badge” ● Second attempt: – Jacob Creedon designed an a cartridge board that adds 32MB of SDRAM to the Hackaday Supercon badge… before the event!
  • 66. ● LiteX used to build cores, create SoCs and full FPGA designs. ● LiteX is based on Migen ● Migen lets you do FPGA design in Python! ● https://github.com/enjoy-digital/litex
  • 67.
  • 68. Linux on LiteX-VexRiscv ● VexRiscv: 32-bit Linux Capable RISC-V CPU ● SoC built using VexRiscv core and LiteX moduels like LiteDRAM, LiteEth, LiteSDCard, ... – github.com/litex-hub/linux-on-litex-vexriscv
  • 69.
  • 70. ● upstream support for Hackaday Supercon badge: – https://github.com/litex-hub/litex-boards/pull/31
  • 71. ● upstream support for Hackaday Supercon badge: – https://github.com/litex-hub/litex-boards/pull/31
  • 72. ● upstream support for Hackaday Supercon badge: – https://github.com/litex-hub/litex-boards/pull/31
  • 73.
  • 74.
  • 75.
  • 76.
  • 77. ● Opened GitHub issue: – optimize performance on Hackaday Badge #35 ● https://github.com/litex-hub/litex-boards/issues/35 ● Now 10x faster! – https://asciinema.org/a/Pcm3vd1BEdEKY9srYX6Ms NfCE – Thanks to enjoy-digital
  • 78.
  • 79.
  • 80.
  • 81.
  • 82. Slides: github.com/pdp7/talks/blob/master/fosdem20.pdf Drew Fustini drew@oshpark.com @pdp7 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.