defconfurs / dcfurs-badge-dc28 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
it appears the USB ID listed on line 510 of the make file '1d50:6130'
does not line up with production hardware '26f3:1338'
Line 510 in 8b284d5
Getting the following error when I try to compile with ./make.py
:
BIOS [bios.bin] building...
Compiling [bios_printf.c]
riscv64-unknown-elf-gcc: fatal error: cannot read spec file 'nano.specs': No such file or directory
compilation terminated.
Traceback (most recent call last):
File "./make.py", line 522, in <module>
main()
File "./make.py", line 494, in main
buildrom('bios')
File "./make.py", line 285, in buildrom
compile(objfile, srcfile)
File "./make.py", line 163, in compile
subprocess.check_call([gcc] + CFLAGS + ['-c', '-o', target, source], stderr=subprocess.STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['riscv64-unknown-elf-gcc', '-Os', '-march=rv32i', '-mabi=ilp32', '-I', '/opt/dcfurs-badge-dc28', '-ffunction-sections', '-fdata-sections', '--specs=nano.specs', '-D', '_POSIX_TIMERS', '-D', '_POSIX_MONOTONIC_CLOCK=200112L', '-c', '-o', '/opt/dcfurs-badge-dc28/bios/bios_printf.o', '/opt/dcfurs-badge-dc28/bios/bios_printf.c']' returned non-zero exit status 1.
Using Ubuntu 20.04 LTS with the gcc-riscv64-unknown-elf
and dfu-util
from the standard ubuntu repo
I've tried everything and can't get the code to compile:
dotornot@Elwood:~/Downloads/dcfurs-badge-dc28$ sudo ./make.py build
[sudo] password for dotornot:
BIOS [bios.bin] building...
Compiling [trap.c]
Traceback (most recent call last):
File "./make.py", line 522, in <module>
main()
File "./make.py", line 494, in main
buildrom('bios')
File "./make.py", line 285, in buildrom
compile(objfile, srcfile)
File "./make.py", line 163, in compile
subprocess.check_call([gcc] + CFLAGS + ['-c', '-o', target, source], stderr=subprocess.STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'riscv64-unknown-elf-gcc'
Brand new install of Ubuntu.
riscv-gnu-toolchain fully installed with multilib. I'm genuinely stuck.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.