Commit Graph

32 Commits

Author SHA1 Message Date
dependabot-preview[bot]
74f650d99a build(deps): bump litex/deps/migen from 562c046 to e2e6c72
Bumps [litex/deps/migen](https://github.com/m-labs/migen) from `562c046` to `e2e6c72`.
- [Release notes](https://github.com/m-labs/migen/releases)
- [Commits](562c046644...e2e6c726c9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:13:28 +00:00
Tim 'mithro' Ansell
4dc82da0e9 Make lxbuildenv.py return 0 on success.
`sys.exit` raises a `SystemExit` exception which causes a bare except to
always trigger. IE the below always prints hello.

```python
import sys
try:
	sys.exit(0)
except:
	print("Hello")
```

However, SystemExit doesn't inherit from Exception, so the following
works as expected.

```python
import sys
try:
	sys.exit(0)
except Exception:
	print("Hello")
```
2020-01-05 09:13:24 -08:00
Tim 'mithro' Ansell
bc783dc3d9 Updating ValentyUSB. 2020-01-02 12:37:11 +00:00
Sean Cross
e64417cfb1 litex: litex_boards: sync with master to fix import issue
The previous version of `litex_boards` was unable to import certain
packages without setuptools, due to unrelated imports being included.

This latest version fixes that issue, and allows for the fomu-toolchain
to work with the `litex_boards` repo.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-10-23 00:06:22 +08:00
Sean Cross
3a96d67339 litex: enable git updating for workshop and workshop_rgb
Having `skip-git` is useful for workshops, where we might not have good
Internet access.  However, it's better to keep it enabled for general
use.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-10-23 00:05:09 +08:00
Sean Cross
90ef5da2c0 litex: simplify designs using litex_boards
Now that we have good default upstream boards, use these to simplify the
workshop files.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-02 18:42:32 +08:00
Sean Cross
7df108d105 litex: sync with upstream litex
This ends up saving 0.5% LUTs, and keeps us up to date.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-02 18:41:35 +08:00
Sean Cross
07095519e6 litex: litex_boards: use upstream with fomu target
The upstream of `litex_boards` now has a `fomu` target that we can use,
including a `_CRG` that works and a usable `BaseSoC`.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-02 18:37:39 +08:00
Sean Cross
6cab25ca58 litex: remove lxsocsupport
Everything from lxsocsupport is now upstream.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-02 18:33:46 +08:00
Sean Cross
d8c9b7281e litex: use local copy of _CRG
Upstream has removed the `platform` object which contained the _CRG,
and the _CRG was defective anyway.

Use a local copy of _CRG while we sort out the upstream instance.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 04:31:47 +08:00
Sean Cross
b85466f525 litex: valentyusb: shrink size of dummyusb
This update shrinks the size of `dummyusb` by ~200 LCs.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 04:31:02 +08:00
Sean Cross
834395acff litex: chmod a+x *.py
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-27 10:51:22 +08:00
Reto Kramer
36835421cc Add .dfu file creation in workshop_rgb.py 2019-08-24 09:31:10 -07:00
Sean Cross
ad8c0dea54 valentyusb: fix dummyusb
This removes excess writes to fix valentyusb's dummyusb module.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-23 16:28:03 +02:00
Tim 'mithro' Ansell
b5c15ef642 Add the DFU suffix inside the workshop.py script.
Update the instructions to use the new `top.dfu`.
2019-08-23 14:14:16 +02:00
Tim 'mithro' Ansell
b0425afec8 Update to litex with https:// for llvm module. 2019-08-21 22:00:55 +02:00
Tim 'mithro' Ansell
c2bb0d059a Update to litex with https:// for minvera. 2019-08-21 21:55:16 +02:00
Sean Cross
cf41a9f618 litex: make litex files device-independent
We now require a --board argument.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-20 17:44:53 +08:00
Sean Cross
8bb60b95fc litex: update valentyusb to fix set_address bug
Previous versions of the debug bridge didn't properly set the address,
and so didn't work on hubs.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-20 17:37:45 +08:00
Sean Cross
c310d197f2 litex: use hacker platform
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-19 20:41:06 +08:00
Sean Cross
28d992de2e litex: fix typo in lxbuildenv
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-19 18:33:50 +08:00
Sean Cross
f7825ddbf1 litex: specify all required dependencies
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-19 18:33:50 +08:00
Sean Cross
beaba58d0c lxbuildenv: make git optional and prefix all messages
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-19 18:33:50 +08:00
Sean Cross
b642686b23 litex: re-enable git support
If this is being checked out from the repo, users will want git
support so that it will recursively clone.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-22 22:32:37 -07:00
Sean Cross
64b382ac72 README: add README and reference files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-21 09:33:04 -07:00
Sean Cross
0538b13a5f litex: workshop_rgb: add rgb version of workshop
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-20 08:37:14 -07:00
Sean Cross
f57ed22b01 litex: workshop: skip git check
Users might not have git installed, so this saves some time.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-20 08:36:50 -07:00
Sean Cross
797cb9349b litex: litex_boards: sync with latest version
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-20 08:35:25 -07:00
Sean Cross
87e50896ef lxbuildenv: check for git, and support skipping submodules
Check for git now, since it's mostly required.

Also add a configuration option, which allows us to skip the
submodule check.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-20 08:31:48 -07:00
Sean Cross
2d9474c4a6 litex: workshop: add some useful defines
These aren't used right now, but they'll come in handy for examples.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-19 19:37:45 -07:00
Sean Cross
95b138b984 riscv-blink: make ledd registers global
Make these registers global so that we can access them from anywhere.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-19 14:41:54 -07:00
Sean Cross
ac9e39bdcf litex: move examples into litex/ directory
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-19 14:31:43 -07:00