Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the README #6

Open
6 tasks
mithro opened this issue Jul 8, 2019 · 2 comments
Open
6 tasks

Improve the README #6

mithro opened this issue Jul 8, 2019 · 2 comments
Assignees

Comments

@mithro
Copy link
Collaborator

mithro commented Jul 8, 2019

Add info about;

@mithro
Copy link
Collaborator Author

mithro commented Jul 8, 2019

@mateusz-holenko

@mateusz-holenko mateusz-holenko self-assigned this Aug 1, 2019
mateusz-holenko added a commit to antmicro/litex-renode that referenced this issue Aug 1, 2019
mateusz-holenko added a commit to antmicro/litex-renode that referenced this issue Aug 1, 2019
mateusz-holenko added a commit to antmicro/litex-renode that referenced this issue Aug 1, 2019
mithro added a commit that referenced this issue Aug 2, 2019
@gojimmypi
Copy link

I tried this and was not able to get the sample to work. Apparently Vivado is required?

I found multiple arty.py in related repos, but not in this repo.

gojimmypi@ubuntu:~/workspace$ find . -type f -name arty.py
./litex/litex/boards/targets/arty.py
./litex/litex/boards/platforms/arty.py
./litex/litex-boards/litex_boards/targets/arty.py
./litex/litex-boards/litex_boards/platforms/arty.py
./litex-boards/litex_boards/targets/arty.py
./litex-boards/litex_boards/platforms/arty.py

The example usage mentions "build your LiteX platform" (a platform), but nothing seems to happen when calling the arty.py in a platforms directory. Calling one of the scripts in a targets directory gives an error message like this:

chmod -x bios.elf
 OBJCOPY  bios.bin
chmod -x bios.bin
python3 -m litex.soc.software.mkmscimg bios.bin --little
make: Leaving directory '/home/gojimmypi/workspace/litex/litex-boards/litex_boards/targets/soc_ethernetsoc_arty/software/bios'
build_top.sh: line 3: vivado: command not found
Traceback (most recent call last):
  File "arty.py", line 162, in <module>
    main()
  File "arty.py", line 158, in main
    builder.build(**vivado_build_argdict(args))
  File "/home/gojimmypi/workspace/litex/litex/soc/integration/builder.py", line 194, in build
    vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
  File "/home/gojimmypi/workspace/litex/litex/soc/integration/soc.py", line 897, in build
    return self.platform.build(self, *args, **kwargs)
  File "/home/gojimmypi/workspace/litex/litex/build/xilinx/platform.py", line 48, in build
    return self.toolchain.build(self, *args, **kwargs)
  File "/home/gojimmypi/workspace/litex/litex/build/xilinx/vivado.py", line 333, in build
    _run_script(script)
  File "/home/gojimmypi/workspace/litex/litex/build/xilinx/vivado.py", line 88, in _run_script
    raise OSError("Subprocess failed")
OSError: Subprocess failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants