Commit Graph

28 Commits

Author SHA1 Message Date
3bcd5ee328 jig: all-tests: disable spi test
It's having issues, owing to the lack of a proper sensor.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-26 18:45:46 +08:00
2a3c5d352e sw: tester: adjust tester time to 900us/1ms
This is in-line with the datasheet.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-26 18:23:27 +08:00
165cf24bc7 factory-bitstream: rework led to fix pulse counter
Now we count the number of transitions.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-26 18:19:15 +08:00
18178e4a71 jig: sync with nearly-final version
This is nearly the final version of the factory test jig.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-26 13:31:36 +08:00
337e1a370c spi: don't shift into "QPI" mode
Assume we're not running in QPI mode.

There were some issues involving corruption that were observed as a
result of shifting into QPI mode when in SPI mode.  Disable this change.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-25 23:50:20 +08:00
946c7f8ec1 jig: add jig information
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-24 19:10:37 +08:00
372ab22b10 sw: minor formatting improvements for tester
Add the version number, and make the final "Pass" text be more easily
parsed by a simple grep.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-23 17:30:11 +08:00
8b2241a9e6 hw: support duty cycles other than 50%
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-23 17:09:01 +08:00
6d8875850c sw: initial commit of mvp test
This version of the test runs end-to-end, and should be
mostly feature complete.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-23 17:07:55 +08:00
5ff6153b53 sw: add initial tests for spi and rgb
These tests are still a work-in-progress, but they form the basis of
what will be the factory test.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-23 09:51:45 +08:00
0c8f29c7bf hw: add pulse detector to rgb block
This will be used to validate that the RGB LED is working.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-23 09:50:08 +08:00
8e811ff03e hw: deps: use experimental valentyusb implementation
This attempts to fix some metastability that shows up, but it's unclear
whether this is the correct approach.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-23 09:49:06 +08:00
d728421d0c sw: add printf
We'll use this to print debugging information out the serial port.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 15:47:04 +08:00
ba8314c823 sw: outline of serial device
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 15:26:27 +08:00
e8aaac5cfe sw: first software commit
The software is untested, but it builds.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 15:02:00 +08:00
dd14bb4d29 initial commit
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 11:36:49 +08:00
57c6bfd770 lxbuildenv: update mkmscimg path
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 11:19:57 +08:00
a63a76e6e5 lxbuildenv: update tool paths
The tool paths have changed in upstream litex.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 11:18:36 +08:00
d982fec70c lxbuildenv: allow for lxbuildenv to not be at root
Allow the lxbuildenv command to be somewhere other than the root of a
git repository.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 11:15:51 +08:00
06afa0c8f6 doc: update documentation line endings
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 11:15:11 +08:00
6df64495e3 git: add attributes and ignore
We've had a lot of trouble with differing line endings.  Add a
gitattributes file to force Unix-style line endings.

Additionally, add various well-known extensions to a gitignore file.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 11:14:26 +08:00
1b5fd89699 lxbuildenv: improve ice40/nextpnr support
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-19 11:59:59 +08:00
b7eab7ea91 lxbuildenv: remove :main from lib spec
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 17:43:10 +08:00
3f20d25688 lxbuildenv: sync with current upstream tools
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 17:41:46 +08:00
095d5c8cd7 lxbuildenv: enforce '.py' ending, use forward slashes for git
For git repos, use forward slashes.  They're more cross-platform.

Also, ensure the destination program ends in '.py'.

Signed-off-by: Sean Cross <sean@xobs.io>
2018-09-27 16:28:26 +08:00
f5a9410c2b lxbuildenv: add more deps
Signed-off-by: Sean Cross <sean@xobs.io>
2018-09-27 16:20:46 +08:00
d336599e9b lxbuildenv: imporive first-time initialization
Signed-off-by: Sean Cross <sean@xobs.io>
2018-09-27 16:17:12 +08:00
2550876426 initial commit
Signed-off-by: Sean Cross <sean@xobs.io>
2018-09-27 15:34:24 +08:00