Skip to content
forked from syntacore/sc-bl

Syntacore first stage bootloader

Notifications You must be signed in to change notification settings

ila-embsys/sc-bl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syntacore RISC-V first stage bootloader

About

This package contains the Syntacore first stage bootloader (SCBL) for SCR SDK platforms.

Prerequisites

RISC-V GCC toolchain is required to compile the software.

At this fork added VS Code devcontainer with necessary toolchain in Dockerfile.

To start playing need Visual Studio Code with Remote - Containers plugin and Docker.

Build SCBL

If prerequisites are done -- click "Reopen Folder in Container". After that run preconfigured build task by press Ctrl+Shift+B.

Debug SCBL

To debug code OpenOCD with Syntacore targets should be started on Docker host.

$ openocd.exe -c gdb_port 50000 -f interface/jlink.cfg -f target/syntacore_riscv.cfg

Once OpenOCD started it is possible to start debugging. Use preconfigured GDB RISCV launch. It starts connecting from docker container to host.docker.internal address and connects to OpenOCD on the host. Enjoy!

About

Syntacore first stage bootloader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.5%
  • Assembly 7.6%
  • Makefile 4.7%
  • Shell 1.9%
  • Dockerfile 0.3%