non-working build on TLII (using QEMU for x86 binaries)
Some checks failed
/ test (push) Failing after 19s

This commit is contained in:
Tobias Platen 2026-05-24 14:05:49 +02:00
parent 34b4a57507
commit fd2c635343
6 changed files with 1811 additions and 61 deletions

View file

@ -1,21 +1,30 @@
DIRU=/home/alex/Desktop/Hacking/libre-chip/fayalite-wip/target/blinky-out
NEXTPNR_DENSITY:=--25k
DIRU=/home/alex/Hacking/FPGA/libre-chip/fayalite/target/blinky-out
NEXTPNR_DENSITY:=--85k
# --nextpnr /home/alex/.guix-profile/bin/nextpnr-ecp5 \
# --ecppack /home/alex/.guix-profile/bin/ecppack \
# --yosys /home/alex/.guix-profile/bin/yosys
# firtool executed with qemu
#FIXME --placeholder-dir
all:
cp $(DIRU)/*.pcf /tmp
#cp $(DIRU)/*.pcf /tmp
RUST_BACKTRACE=full cargo run --example blinky yosys-nextpnr-ecp5 \
--nextpnr /home/alex/.guix-profile/bin/nextpnr-ecp5 \
--platform orangecrab-85k -o target/blinky-out \
--ecppack /home/alex/.guix-profile/bin/ecppack \
--placeholder-dir /tmp/anyPathBuf/orangecrab_r0.2.1.pcf
ls -1 $(DIRU)/*.bit
--placeholder-dir /home/alex/Hacking/FPGA/orangecrab/orangecrab-examples/fayalite/orangecrab_r0.2.1.pcf \
--nextpnr /usr/bin/nextpnr-ecp5
#ls -1 $(DIRU)/*.bit
ls:
ls -1 $(DIRU)
clean:
rm $(DIRU)/*
nextpnr:
cd $(DIRU) && nextpnr-ecp5 --json blinky.json --textcfg blinky.nextpnr.out $(NEXTPNR_DENSITY) \
--package CSFBGA285 --lpf orangecrab_r0.2.1.pcf --lpf-allow-unconstrained
--package CSFBGA285 --lpf /home/alex/Hacking/FPGA/orangecrab/orangecrab-examples/fayalite/orangecrab_r0.2.1.pcf --lpf-allow-unconstrained
pack:
cd $(DIRU) && ecppack --compress --freq 38.8 --input blinky.nextpnr.out --bit blinky.nextpnr.bit
cd $(DIRU) && file *.bit
cd $(DIRU) && file *.bit
clean2:
find . -name "*.bit" -exec rm {} \;
ls2:
find . -name "*.bit"