Skip to content

Instantly share code, notes, and snippets.

@lukego
Created November 2, 2020 11:21
Show Gist options
  • Save lukego/eac43eccf69d6aab19fa7797040de470 to your computer and use it in GitHub Desktop.
Save lukego/eac43eccf69d6aab19fa7797040de470 to your computer and use it in GitHub Desktop.
[luke@thinky:~]$ sudo glasgow run selftest
I: g.device.hardware: building bitstream ID 516432679bfb7b617ff6ad25397c82e8
Warning: Wire top.$flatten\U$$0.$verilog_initial_trigger has an unprocessed 'init' attribute.
Warning: Wire top.$flatten\i2c_target.\bus.$verilog_initial_trigger has an unprocessed 'init' attribute.
Warning: Wire top.$verilog_initial_trigger has an unprocessed 'init' attribute.
build_top.sh: line 8: 26750 Segmentation fault (core dumped) "$NEXTPNR_ICE40" --quiet --placer heap --log top.tim --hx8k --package bg121 --json top.json --pcf top.pcf --asc top.asc
Traceback (most recent call last):
File "/nix/store/x6ixnh5qhzhp9pz1qjy174wn9b426ipf-python3.8-glasgow-unstable-2020-06-29/bin/.glasgow-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/x6ixnh5qhzhp9pz1qjy174wn9b426ipf-python3.8-glasgow-unstable-2020-06-29/lib/python3.8/site-packages/glasgow/cli.py", line 796, in main
exit(loop.run_until_complete(_main()))
File "/nix/store/346skv0d24rqnf4npknbp9h5bs14j8zy-python3-3.8.6/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/nix/store/x6ixnh5qhzhp9pz1qjy174wn9b426ipf-python3.8-glasgow-unstable-2020-06-29/lib/python3.8/site-packages/glasgow/cli.py", line 487, in _main
await device.download_target(plan, rebuild=args.rebuild)
File "/nix/store/x6ixnh5qhzhp9pz1qjy174wn9b426ipf-python3.8-glasgow-unstable-2020-06-29/lib/python3.8/site-packages/glasgow/device/hardware.py", line 363, in download_target
await self.download_bitstream(plan.execute(), plan.bitstream_id)
File "/nix/store/x6ixnh5qhzhp9pz1qjy174wn9b426ipf-python3.8-glasgow-unstable-2020-06-29/lib/python3.8/site-packages/glasgow/target/hardware.py", line 118, in execute
products = self.lower.execute_local(build_dir)
File "/nix/store/95qrfg65204l2jh7ng18d97011am36b2-python3.8-nmigen-unstable-2020-04-02/lib/python3.8/site-packages/nmigen/build/run.py", line 98, in execute_local
subprocess.check_call(["sh", "{}.sh".format(self.script)])
File "/nix/store/346skv0d24rqnf4npknbp9h5bs14j8zy-python3-3.8.6/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sh', 'build_top.sh']' returned non-zero exit status 139.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment