YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
774 stars 70 forks source link

raspbian os 64 bit not supported #43

Open hstarmans opened 2 years ago

hstarmans commented 2 years ago

Code doesn't work out of the box on raspbian os 64 bit. If I build it with

./builder.py build --target=yosys --arch=linux-arm64

I get

Digest: sha256:bc80275e007792e5ca639830eed660addfc037397b1666a728fcea3f123b1d25
Status: Downloaded newer image for yosyshq/cross-linux-arm64:1.1
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /usr/bin/bash: exec format error

==> ERROR : Script returned error code 1.

If I download a release for arm64 I get

pi@raspberrypi:~/projects/oss-cad-suite $ source environment
⦗OSS CAD Suite⦘ pi@raspberrypi:~/projects/oss-cad-suite $ yosys
Bus error
⦗OSS CAD Suite⦘ pi@raspberrypi:~/projects/oss-cad-suite $

If run yosys with gdb i get

(gdb) file yosys
"0x7fc7a6f0d0s": not in executable format: file format not recognized
(gdb)

Before I forget.. thanks for yosys... huge fan! For the moment, I solved it by building yosys from source and using yowas-nextpnr-ice40