Commit Graph

51 Commits

Author SHA1 Message Date
350497924e README: add simple readme file
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 09:17:20 +08:00
74ec6be245 hw: remove gitignore
It's stored in the root now

Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 09:16:52 +08:00
1c8634e954 gitmodules: add hw deps
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 09:16:36 +08:00
8fe27d9371 Add 'hw/' from commit 'd812378c4d61f7c957ac4bcba15a8344fb7fb458'
git-subtree-dir: hw
git-subtree-mainline: e4af98b4aa
git-subtree-split: d812378c4d
2019-03-05 09:05:50 +08:00
e4af98b4aa generated: update generated csr, mem, and ld files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 09:05:29 +08:00
d812378c4d deps: update valentyusb
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 08:56:30 +08:00
84d4b40897 foboot: move software stuff to sw directory
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 08:54:51 +08:00
a897c7f2fa foboot-bitstream: remove cas module from imports
It's unused in the current implementation.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-28 10:52:06 +08:00
6a147c4333 valentyusb: pull latest version
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-28 10:51:35 +08:00
2ac79e45e9 Makefile: don't re-set GIT_VERSION
Use := to only set GIT_VERSION once.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-28 10:49:02 +08:00
1048cbf999 third_party: minor formatting cleanups
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-28 10:48:47 +08:00
fae65117cd usb: work-in-progress for USB development
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-28 10:48:25 +08:00
1cb67f8f8d crc5-test: add simple program to generate SOF frames
This can be used to tell if we're properly decoding packets.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-28 10:45:37 +08:00
cad2ae01d7 foboot-bitstream: use crystal for 12 MHz clock
This fixes heterodyning that was occurring in the USB block, as it
transitioned from the 48 MHz down to the 12 MHz domain.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-27 14:20:04 +08:00
dd7839cc68 deps: migen: fix upstream ref
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:36:21 +08:00
05480670c5 migen: update submodule
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:32:48 +08:00
6ca4b6a398 deps: valentyusb: update submodule
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:32:28 +08:00
5fbd0fc667 lxbuildenv: riscv: also allow riscv32 toolchain
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:25:16 +08:00
d42418d62a foboot-bitstream: mark executable
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:22:05 +08:00
7caff80f6b foboot-bitstream: change line endings
These matter on non-Windows machines.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:21:23 +08:00
6771d28fb4 foboot-bitstream: work-in-progress commit
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:19:17 +08:00
8b54d5addb csr-test: add simple program to test CSRs
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 16:19:01 +08:00
44880465e6 Merge branch 'master' of git.xobs.io:xobs/foboot-bitstream 2019-02-25 15:16:57 +08:00
49b22a1962 foboot-bitstream: use new-style random rom
Use a new pattern with a new function to generate the random ROM, used
for ROM patching.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-25 15:16:19 +08:00
e66f909bfd lxbuildenv: add '-r' command to run modules under lxbuildenv
This will allow us to e.g. run tests.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 13:54:26 +08:00
30d5a097d2 gitignore: ignore env, build, pycache
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 12:44:19 +08:00
21cdcaaee8 foboot-bitstream: first full build
This actually compiles now, hooray!  But does it work? No.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 12:43:29 +08:00
ee006eff90 deps: add valentyusb
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 12:43:09 +08:00
245a466654 lxsocsupport: ignore pycache files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 12:42:06 +08:00
ea7e99af5b deps: change lx-socsupport to lxsocsupport
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 12:10:15 +08:00
7f77c49c7b lx-socsupport: add submodule
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 11:06:35 +08:00
f9eeee3ff7 lxbuildenv: fix generation of initial python
It still doesn't work (owing to some bit rot), but it's better now.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 10:48:57 +08:00
68694294e1 initial commit
Signed-off-by: Sean Cross <sean@xobs.io>
2019-02-18 10:48:43 +08:00
5f0d83b2e2 wip: packets kinda flow now
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-25 14:28:03 +13:00
d31bcea114 third-party: copy data section at boot
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-25 14:27:43 +13:00
c447457ffc about to break things
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-23 16:52:47 +13:00
167201228f wip: generate a buildable image
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-23 15:25:07 +13:00
9a14f6d08d usb: add stub usb file
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-22 14:02:15 +13:00
d6403cc3ec input: add bios binary files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-22 14:02:04 +13:00
7647b4a620 foboot: use endpoint-based csr files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-22 14:01:46 +13:00
4b4b993075 add input files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-22 13:27:08 +13:00
686640f2e0 remove usb and fix startup
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-22 12:30:52 +13:00
9295c3d6cc makefile: remove C++ and DFU
These aren't so useful right now.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-22 12:30:22 +13:00
249c289aa7 grainuum: add support libraries
Add supporting files for grainuum.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 23:31:51 +08:00
397d153a44 grainuum: initial commit
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 23:03:45 +08:00
b31c0213b5 usb: add empty usb implementation
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 22:37:14 +08:00
ebed2b919f qsort: fix warnings
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 22:13:59 +08:00
c864db3eec initial "working" version
This should print something on the UART.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 22:10:02 +08:00
049a52022c Makefile: include third_party source files
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 19:39:01 +08:00
06d64b8c68 it builds! what more do you want?
Signed-off-by: Sean Cross <sean@xobs.io>
2019-01-01 18:41:37 +08:00