SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
FPGA badge hack:
Linux on RISC-V
Drew Fustini
drew@oshpark.com
Twitter: @pdp7
Slides: https://github.com/pdp7/talks/blob/master/berlin-riscv.pdf
Berlin Hack ‘n Tell (2020-01-28)
●
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”
●
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
●
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/
Hackaday 2019 Supercon badge
●
RISC-V “soft” core on ECP5 FPGA
●
Gigantic FPGA In A Game Boy Form Factor
●
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
●
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
●
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
“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!
●
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:
ttps://github.com/pdp7/talks/blob/master/berlin-riscv.pdf
Drew Fustini
drew@oshpark.com
@pdp7 / @oshpark
This work is licensed under a Creative Commons
Attribution-ShareAlike 4.0 International License.
●
Lattice ECP5 FPGA in Adafruit Feather form
factor and 128MB DDR RAM:
– Orange Crab by Greg Davill
●
https://github.com/gregdavill/OrangeCrab
Open Source ECP5 boards
●
Radiona.org ULX3S
●
https://www.crowdsupply.com/radiona/ulx3s
Open Source ECP5 boards

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Linux on RISC-V
Linux on RISC-VLinux on RISC-V
Linux on RISC-V
 
Easily emulating full systems on amazon fpg as
Easily emulating full systems on amazon fpg asEasily emulating full systems on amazon fpg as
Easily emulating full systems on amazon fpg as
 
RISC-V 30910 kassem_ summit 2020 - so_c_gen
RISC-V 30910 kassem_ summit 2020 - so_c_genRISC-V 30910 kassem_ summit 2020 - so_c_gen
RISC-V 30910 kassem_ summit 2020 - so_c_gen
 
Developing for polar fire soc
Developing for polar fire socDeveloping for polar fire soc
Developing for polar fire soc
 
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
 
George Grey Welcome Keynote - BUD17-100K1
George Grey Welcome Keynote - BUD17-100K1George Grey Welcome Keynote - BUD17-100K1
George Grey Welcome Keynote - BUD17-100K1
 
BKK16-307 LHG OE Initiative
BKK16-307 LHG OE InitiativeBKK16-307 LHG OE Initiative
BKK16-307 LHG OE Initiative
 
RISC-V 30906 hex five multi_zone iot firmware
RISC-V 30906 hex five multi_zone iot firmwareRISC-V 30906 hex five multi_zone iot firmware
RISC-V 30906 hex five multi_zone iot firmware
 
RISC-V Summit 2020: The Next Ten Years
RISC-V Summit 2020: The Next Ten YearsRISC-V Summit 2020: The Next Ten Years
RISC-V Summit 2020: The Next Ten Years
 
RISC-V Online Tutor
RISC-V Online TutorRISC-V Online Tutor
RISC-V Online Tutor
 
BKK16-100K1 George Grey, Linaro CEO Opening Keynote
BKK16-100K1 George Grey, Linaro CEO Opening KeynoteBKK16-100K1 George Grey, Linaro CEO Opening Keynote
BKK16-100K1 George Grey, Linaro CEO Opening Keynote
 
Development Boards for Tizen IoT
Development Boards for Tizen IoTDevelopment Boards for Tizen IoT
Development Boards for Tizen IoT
 
Codasip application class RISC-V processor solutions
Codasip application class RISC-V processor solutionsCodasip application class RISC-V processor solutions
Codasip application class RISC-V processor solutions
 
Introduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential CollaborationIntroduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential Collaboration
 
Gernot heiser unsw sydney and se l4 foundation
Gernot heiser unsw sydney and se l4 foundationGernot heiser unsw sydney and se l4 foundation
Gernot heiser unsw sydney and se l4 foundation
 
JerryScript on RIOT
JerryScript on RIOTJerryScript on RIOT
JerryScript on RIOT
 
BKK16-105 HALs for LITE
BKK16-105 HALs for LITEBKK16-105 HALs for LITE
BKK16-105 HALs for LITE
 
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta VekariaArm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
 
BUD17-TR01: Philosophy of Open Source
BUD17-TR01: Philosophy of Open SourceBUD17-TR01: Philosophy of Open Source
BUD17-TR01: Philosophy of Open Source
 
Open j9 jdk on RISC-V
Open j9 jdk on RISC-VOpen j9 jdk on RISC-V
Open j9 jdk on RISC-V
 

Semelhante a FPGA Badge Hack: Linux on RISC-V

Semelhante a FPGA Badge Hack: Linux on RISC-V (20)

For the Love of Tux: Linux on RISC-V
For the Love of Tux: Linux on RISC-VFor the Love of Tux: Linux on RISC-V
For the Love of Tux: Linux on RISC-V
 
RISC-V and open source chip design
RISC-V and open source chip designRISC-V and open source chip design
RISC-V and open source chip design
 
How to run Linux on RISC-V (FOSS North 2020)
How to run Linux on RISC-V (FOSS North 2020)How to run Linux on RISC-V (FOSS North 2020)
How to run Linux on RISC-V (FOSS North 2020)
 
How to run Linux on RISC-V
How to run Linux on RISC-VHow to run Linux on RISC-V
How to run Linux on RISC-V
 
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...
 
Linux on RISC-V (ELC 2020)
Linux on RISC-V (ELC 2020)Linux on RISC-V (ELC 2020)
Linux on RISC-V (ELC 2020)
 
Tools for FPGA Development
Tools for FPGA DevelopmentTools for FPGA Development
Tools for FPGA Development
 
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
 
Introduction to EasyBuild: Tutorial Part 1
Introduction to EasyBuild: Tutorial Part 1Introduction to EasyBuild: Tutorial Part 1
Introduction to EasyBuild: Tutorial Part 1
 
Using VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear ContainersUsing VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear Containers
 
Linux on Open Source Hardware
Linux on Open Source HardwareLinux on Open Source Hardware
Linux on Open Source Hardware
 
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
 
Deep learning: Hardware Landscape
Deep learning: Hardware LandscapeDeep learning: Hardware Landscape
Deep learning: Hardware Landscape
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARM
 
Module 4 Embedded Linux
Module 4 Embedded LinuxModule 4 Embedded Linux
Module 4 Embedded Linux
 
From Uc To Embedded
From Uc To EmbeddedFrom Uc To Embedded
From Uc To Embedded
 
VEGA Processors.pdf
VEGA  Processors.pdfVEGA  Processors.pdf
VEGA Processors.pdf
 
CHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshopCHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshop
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamQuick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
 

Mais de Drew Fustini

fustini-resume-oshw
fustini-resume-oshwfustini-resume-oshw
fustini-resume-oshw
Drew Fustini
 
chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606
Drew Fustini
 

Mais de Drew Fustini (19)

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
 
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)
 
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
 
Open Source Hardware for Good
Open Source Hardware for GoodOpen Source Hardware for Good
Open Source Hardware for Good
 
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
 
Open Source Hardware and Libre Silicon
Open Source Hardware and Libre SiliconOpen Source Hardware and Libre Silicon
Open Source Hardware and Libre Silicon
 
Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)
 
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
 
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

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
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
Tonystark477637
 
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
 

Último (20)

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
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
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
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
 
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...
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
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
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 

FPGA Badge Hack: Linux on RISC-V

  • 1. FPGA badge hack: Linux on RISC-V Drew Fustini drew@oshpark.com Twitter: @pdp7 Slides: https://github.com/pdp7/talks/blob/master/berlin-riscv.pdf Berlin Hack ‘n Tell (2020-01-28)
  • 2. ● 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
  • 3. ● 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”
  • 4. ● 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
  • 5. ● 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/
  • 6. Hackaday 2019 Supercon badge ● RISC-V “soft” core on ECP5 FPGA ● Gigantic FPGA In A Game Boy Form Factor
  • 7.
  • 8. ● 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
  • 9. ● 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
  • 10. ● 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
  • 11.
  • 12. 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
  • 13. “Team Linux on Badge”
  • 14. “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)
  • 15. “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!
  • 16. “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!
  • 17.
  • 18. ● upstream support for Hackaday Supercon badge: – https://github.com/litex-hub/litex-boards/pull/31
  • 19. ● upstream support for Hackaday Supercon badge: – https://github.com/litex-hub/litex-boards/pull/31
  • 20. ● upstream support for Hackaday Supercon badge: – https://github.com/litex-hub/litex-boards/pull/31
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. ● 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
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Slides: ttps://github.com/pdp7/talks/blob/master/berlin-riscv.pdf Drew Fustini drew@oshpark.com @pdp7 / @oshpark This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
  • 32. ● Lattice ECP5 FPGA in Adafruit Feather form factor and 128MB DDR RAM: – Orange Crab by Greg Davill ● https://github.com/gregdavill/OrangeCrab Open Source ECP5 boards
  • 33.