Commit Graph

382 Commits

Author SHA1 Message Date
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
d091cad4d3 reference: fix pdf files for evt,prod schematic
We had accidentally committed HTML files rather than PDF files.

This fixes #54.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-02 11:31:24 +08:00
Sean Cross
22b37ce441 hacker: use smaller images
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-01 00:32:26 +08:00
Sean Cross
3430f7146c Revert "img: shrink images to 72 dpi"
This reverts commit 0ca121562d.
2019-09-01 00:29:06 +08:00
Sean Cross
0ca121562d img: shrink images to 72 dpi
Just do this as an experiment to see if it makes them fit on the page
better.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-01 00:25:54 +08:00
Sean Cross
d2a1c747be
Merge pull request #53 from TobiX/board-pictures
Add some pictures of the Fomu Hacker
2019-08-31 20:40:07 +08:00
Tobias Gruetzmacher
4a26b1c477 Add some pictures of the Fomu Hacker 2019-08-31 00:57:04 +02:00
Sean Cross
60b9b46c54 README: minor edits to formatting and yosys output
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 12:21:23 +08:00
Sean Cross
ea224a1c97 README: add yosys output, add required files
In addition to the toolchain software, users also need the workshop
files.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 12:16:30 +08:00
Sean Cross
059e44a04b riscv-blink: fix usb stack
This appears to work now.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 07:29:50 +08:00
Sean Cross
a0d1e62ba2 riscv-blink: ld: add ramtext section to .data
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 07:22:24 +08:00
Sean Cross
19541ae43d riscv-blink: commit latest csr.h
This includes the usb address fields, which are present on 1.9+.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 07:20:28 +08:00
Sean Cross
f6639c64cc riscv-blink: disable "leave USB connected" mode
This doesn't appear to work on certain builds of Linux.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 07:19:29 +08:00
Sean Cross
cbdcd33bc8 verilog-blink: fix note about overvolting the led
It's actually the red LED that gets overvolted.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 05:25:25 +08:00
Sean Cross
ba03f6b5d9 riscv-blink: Makefile: create riscv-blink.dfu
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 05:22:25 +08:00
Sean Cross
ff1fc52f5c verilog-blink: create blink.dfu
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 05:22:13 +08:00
Sean Cross
17d6c605a0 verilog-blink: simplify verilog file
This removes a lot of the cruft that came from using `blink.v` as
a test case early on in development.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 05:21:36 +08:00
Sean Cross
51cd59ac7a riscv-blink: fix alignment for rodata
The rodata segment wasn't properly aligned, which was causing
an exception during runtime initialization.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 05:11:05 +08:00
Sean Cross
ef945ac2cb riscv-blink: create riscv-blink.dfu
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 04:48:53 +08:00
Sean Cross
cc2c4103ee riscv-blink: add usb isr
Now that we have a minimal usb stack, hook up the ISR.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 04:47:37 +08:00
Sean Cross
84bc498401 usb: add minimal usb
This should fix enumeration on Linux.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 04:47:08 +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
Sean Cross
13e5a7a968 README: fix cmd.exe %PATH -> %PATH%
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-27 10:50:41 +08:00
Sean Cross
1362f34249 README: dfu-util.exe -> dfu-util
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-25 18:08:13 +02:00
Sean Cross
e78d55c32a
Merge pull request #46 from wrtlprnft/fix_set_address
Fix enumeration failure after loading the riscv-usb-cdcacm.

Foboot v1.9+ now requires the USB device set the address, otherwise it will not respond.  This patch adds a proper response to the `SET_ADDRESS` host request and fixes compatibility with Foboot v1.9+.
2019-08-25 00:09:31 +02:00
Tim Ansell
961d07622e
Merge pull request #48 from ret/master
Add .dfu file creation in workshop_rgb.py
2019-08-24 23:40:59 +02:00
Reto Kramer
36835421cc Add .dfu file creation in workshop_rgb.py 2019-08-24 09:31:10 -07:00
Mathias Plichta
655ca656c3 CDC-ACM demo: Fix SET_ADDRESS bug if using foboot 1.9+
This ports the following commits from https://github.com/xobs/micropython:

 - 5739792
 - d26d470
2019-08-24 16:33:07 +02:00
Tim Ansell
a30963e187
Merge pull request #45 from lromor/macro-fix
Removed non used macro flag for the hacker fomu board.
2019-08-24 11:55:18 +02:00
Leonardo Romor
701ce8ee7f
Included proper "HACKER" macro flag usage. 2019-08-24 11:15:37 +02:00
Tim 'mithro' Ansell
bc5857d5cb Remove unneeded defines. 2019-08-24 10:32:49 +02:00
Tim Ansell
21a424a2d4
Merge pull request #44 from cpresser/remove-double-increment
Remove one of the duplicate i++ in the main-loop
2019-08-24 09:42:17 +02:00
Carsten Presser
a51507e75a Remove one of the duplicate i++ in the main-loop 2019-08-23 17:57:51 +02:00
Sean Cross
05c09bedc1 Merge branch 'master' of github.com:im-tomu/fomu-workshop 2019-08-23 16:28:29 +02: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
bf38bf67ee Make rm use -f 2019-08-23 14:21:09 +02:00
Sean Cross
d7126bb863 Merge branch 'master' of github.com:im-tomu/fomu-workshop 2019-08-23 14:20:09 +02:00
Tim Ansell
d1d316d1d0
Merge pull request #41 from mithro/master
Add DFU suffix inside the workshop.py script
2019-08-23 14:19:27 +02:00
Sean Cross
ffadb53856 micropython-fomu: fix usb_address_write
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-23 14:18:22 +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
37e30cdd5c Adding more docs about minimal example. 2019-08-23 14:13:29 +02:00
Sean Cross
61e2e22774 Merge branch 'master' of github.com:im-tomu/fomu-workshop 2019-08-23 14:06:18 +02:00
Sean Cross
1b801bddf4 micropython-fomu: add support for foboot v1.9.1
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-23 14:06:00 +02:00
Tim 'mithro' Ansell
79e7a6dd91 Add note about submodules. 2019-08-23 13:37:51 +02:00
Tim 'mithro' Ansell
10c0ee26de Adding more sections. 2019-08-23 13:35:16 +02:00
Tim 'mithro' Ansell
6900ebf9a5 Adding more README info for minimal example. 2019-08-23 13:29:09 +02:00