1
0
mirror of synced 2026-01-20 01:25:14 +00:00

126 Commits

Author SHA1 Message Date
Romain Dolbeau
5094d1d213 re-enable USB in PROM, make sure the SDRAM request don't inadvertently kill the USB request 2021-07-18 12:44:48 -04:00
Romain Dolbeau
38e3431c7f cleaning up some stuff, disable USB Host for testing SDRAM disk 2021-07-18 10:19:53 -04:00
Romain Dolbeau
023e84b734 swap on sbusfpga_sdram seems to work, but hogs the bus 2021-07-18 08:14:57 -04:00
Romain Dolbeau
c5e9a025b4 switch sdram access from Wishbone to dedicated port, seems to be more reliable 2021-07-18 05:08:37 -04:00
Romain Dolbeau
2f5b4eecfb blk dev/dk support for sbusfpga_sdram 2021-07-18 02:52:37 -04:00
Romain Dolbeau
b86cf18e19 Oups forgot the DMA engine (this version with wishbone Converter) 2021-07-18 02:47:15 -04:00
Romain Dolbeau
0bd6b69dd9 Oups forgot the DMA engine (this version with wishbone Converter) 2021-07-18 02:47:06 -04:00
Romain Dolbeau
cd9fa81a82 access the SDRAM using a custom DMA; unreliable yet 2021-07-17 11:03:44 -04:00
Romain Dolbeau
4303270b53 minor renaming, think about buffering writes 2021-07-15 04:07:10 -04:00
Romain Dolbeau
6d4ba3aaa1 clean dmesg 2021-07-14 11:17:57 -04:00
Romain Dolbeau
9437d287db read PROM from Wishbone (simplify things, save resources as it was mapped there already anyway), add sd_card (unused, un-promed yet) 2021-07-14 08:30:27 -04:00
Romain Dolbeau
b46bdf382a update prom 2021-07-14 06:36:56 -04:00
Romain Dolbeau
d42a4672f9 fix export for driver 2021-07-14 06:36:35 -04:00
Romain Dolbeau
1f733a1a4c driver to initialize the SDRAM (should be done in the PROM, but easier in C...) 2021-07-14 06:35:58 -04:00
Romain Dolbeau
bd011b9d9f Forgotten-to-commit update 2021-07-14 06:35:20 -04:00
Romain Dolbeau
b98fedf47a cleanup, CSR for prom & netbsd (preliminary) 2021-07-14 05:15:42 -04:00
Romain Dolbeau
b2ff488740 prom 2021-07-14 05:14:19 -04:00
Romain Dolbeau
564c5276dc drop unused file 2021-06-27 09:52:07 -04:00
Romain Dolbeau
1c69ec1d6f configure the sdram; prom is not initializing it properly yet 2021-06-27 09:49:46 -04:00
Romain Dolbeau
4dd8693576 DMA supports byte & hword (needed), identify devices but unstable 2021-06-25 06:43:19 -04:00
Romain Dolbeau
6459b79ed1 bring back cross-domain using a wishbone adapter 2021-06-24 05:00:36 -04:00
Romain Dolbeau
d3aa008b8b cleanups 2021-06-23 07:56:39 -04:00
Romain Dolbeau
4ad0a648e3 swap endianness on flash prefix 2021-06-23 03:48:25 -04:00
Romain Dolbeau
da0c49062d deleted 2021-06-22 14:56:51 -04:00
Romain Dolbeau
b6bbbd05e8 HWord support, needed 2021-06-21 13:17:08 -04:00
Romain Dolbeau
c8baa1fb6e Byte support, needed; still need HWord... 2021-06-21 12:54:10 -04:00
Romain Dolbeau
df88e17e9d upd 2021-06-21 11:40:17 -04:00
Romain Dolbeau
5cdec193d2 oups 2021-06-21 03:15:39 -04:00
Romain Dolbeau
b2e4a450e1 Still very wonkey, DMA burning cycles 2021-06-21 03:04:51 -04:00
Romain Dolbeau
c9269b9f2e not yet working , DMA very suspicious, at least interrupt seems to propagate... 2021-06-20 11:22:15 -04:00
Romain Dolbeau
0297df0131 not working, the DMA seems to fails at frame 3... 2021-06-19 11:40:36 -04:00
Romain Dolbeau
c649cc4440 drop address mapping, simply map the NetBSd DVMA virtual space (?) as Wishbone physical address 2021-06-19 04:00:06 -04:00
Romain Dolbeau
3c7fefadb9 still some issues on registers, master mode draft 2021-06-19 02:10:54 -04:00
Romain Dolbeau
8f4d05c872 timeout to avoid hang when something on the wishbone is a bit slow 2021-06-17 10:00:08 -04:00
Romain Dolbeau
3b1a8bf5cf read/write registers in Wishbone space (burst untested) 2021-06-15 12:03:04 -04:00
Romain Dolbeau
0759bad402 Add a FIFO for CDC between SBus (in cd_sbus) and Wishbone (in a 100 MHz cd_sys) 2021-06-15 09:59:51 -04:00
Romain Dolbeau
98ec770e68 fix wishbone.sel, now the PROM can control the LEDs :-) 2021-06-15 05:32:36 -04:00
Romain Dolbeau
5c66170a3a Wishbone is word-addressed (still no lock) 2021-06-15 02:31:07 -04:00
Romain Dolbeau
49b4dae59d more cleanups, Chaser still not going to control mode :-/ 2021-06-14 09:20:44 -04:00
Romain Dolbeau
94a2a7eb7a more grrrr syntax 2021-06-13 14:19:55 -04:00
Romain Dolbeau
914e44a463 grrrr, syntax 2021-06-13 13:37:24 -04:00
Romain Dolbeau
156c2960c8 more stuff, with some weird bugs... 2021-06-13 12:42:35 -04:00
Romain Dolbeau
a7e05afe1c PoC for Migen version of the SBus slave FSM; is recognized by PROM 2021-06-13 04:07:04 -04:00
Romain Dolbeau
b6534c2615 FAT now mount RO, to be tested more thoroughly 2021-03-21 11:12:30 -04:00
Romain Dolbeau
2c8c294090 update status 2021-03-16 13:50:53 -04:00
Romain Dolbeau
3335f1991a save current status; can read label but not yet mount a partition... 2021-03-16 04:47:42 -04:00
Romain Dolbeau
4b2f974e12 Userland SW bug :-(, seem to work now, disabling some debug stuuf 2021-02-28 03:51:05 -05:00
Romain Dolbeau
aa8f136c04 error msg on timeout 2021-02-28 03:50:11 -05:00
Romain Dolbeau
cebda9e613 HW post-increment of counter in AES for GCM 2021-01-24 06:47:05 -05:00
Romain Dolbeau
22bcceb3a6 screenshot of prom view 2021-01-24 05:07:40 -05:00