*** tpb has joined #yosys | 00:00 | |
*** futarisIRCcloud has joined #yosys | 00:12 | |
emeb | tnt: when I built the riscv gcc toolchains there were 4 different ones created riscv32 [i, ic, im, icm] - which is the right one to use? | 00:16 |
---|---|---|
emeb | hmm... your makefile asks for riscv-none-embed with -march=rv32i so I assume that's not the same toolchain as clifford originally was using for his picoRV32 stuff which was all based on the riscv32-unknown-elf stuff | 00:27 |
emeb | I'll try just changing $(CROSS) to point to my riscv32i stuff | 00:30 |
emeb | seems to have built. loaded the bitstream and firmware into the flash and the thing configures OK | 00:41 |
emeb | what's the uart baudrate? | 00:41 |
emeb | ah - 1Mbps | 00:43 |
emeb | works | 00:43 |
emeb | getting the Command prompt | 00:44 |
emeb | ok - "r" command starts USB and I get enumeration on my PC | 00:44 |
emeb | so - seems your stuff works on my board | 00:45 |
emeb | lots of [!] Got SETUP while busy !?? - I assume that's just because it's not fully finished. | 00:47 |
*** Cerpin has joined #yosys | 00:51 | |
*** leviathanch has joined #yosys | 01:01 | |
*** emeb_mac has joined #yosys | 01:16 | |
*** s3ntry has quit IRC | 01:34 | |
*** emeb has quit IRC | 01:39 | |
*** cr1901 has quit IRC | 02:03 | |
*** cr1901 has joined #yosys | 02:12 | |
*** citypw has joined #yosys | 03:17 | |
*** cr1901 has quit IRC | 03:20 | |
*** cr1901 has joined #yosys | 03:25 | |
*** PyroPeter has quit IRC | 03:36 | |
*** cr1901 has quit IRC | 03:47 | |
*** PyroPeter has joined #yosys | 03:49 | |
*** cr1901 has joined #yosys | 04:15 | |
emeb_mac | pushed new video stuff -> https://github.com/emeb/up5k_basic | 04:19 |
tpb | Title: GitHub - emeb/up5k_basic: A small 6502 system with MS BASIC in ROM (at github.com) | 04:19 |
*** pie___ has joined #yosys | 04:34 | |
*** pie__ has quit IRC | 04:37 | |
*** gsi__ has joined #yosys | 05:04 | |
*** gsi_ has quit IRC | 05:07 | |
*** danieljabailey has quit IRC | 06:03 | |
*** rohitksingh has joined #yosys | 06:18 | |
tnt | emeb_mac: so it enumerated ? | 06:24 |
tnt | emeb_mac: mmm, that message is actaully an error, it shouldn't happen. | 06:24 |
*** citypw has quit IRC | 06:28 | |
emeb_mac | tnt: it seems to have enumerated - happy seeming messages in the Linux syslog | 06:29 |
*** TFKyle has quit IRC | 06:30 | |
emeb_mac | that's a lot further than I got with the tinyfpga bootloader on the same hardware | 06:33 |
*** citypw has joined #yosys | 06:40 | |
tnt | emeb_mac: if you do a lsusb -v -d 1d50:e1e1 does it show all the fields or does it show any error ? | 06:44 |
emeb_mac | tnt: tried starting up again on another machine and it's not spewing those errors. lsusb seems to show all the fields. | 06:49 |
emeb_mac | so - must have been some kind of fluke / intermittent thing. | 06:49 |
tnt | possible. I don't actually detect/take into account usb reset at the moment so it might have been in a weird state at the beginning. | 06:50 |
emeb_mac | here's the output: https://pastebin.com/tkDZjkjC | 06:51 |
tpb | Title: $ lsusb -v -d 1d50:e1e1 Bus 001 Device 005: ID 1d50:e1e1 OpenMoko, Inc. Co - Pastebin.com (at pastebin.com) | 06:51 |
emeb_mac | possibly some missing stuff | 06:51 |
*** rohitksingh has quit IRC | 06:51 | |
emeb_mac | (according to msg at top) | 06:51 |
tnt | Oh you need sudo | 06:51 |
emeb_mac | https://pastebin.com/6P86ZPZ5 | 06:53 |
tpb | Title: Bus 001 Device 005: ID 1d50:e1e1 OpenMoko, Inc. Device Descriptor: bLength - Pastebin.com (at pastebin.com) | 06:53 |
emeb_mac | no err at top, but errs at bottom now | 06:53 |
tnt | Yeah those are 'expected'. It just doesn't support those features (and that's perfectly fine according to specs, they are not mandatory). | 06:55 |
tnt | Nice. Now just need to implement DFU to make it do something useful :p | 06:56 |
emeb_mac | sweet - nice to see that it's working. Also nice confirmation that my board supports USB. | 06:56 |
tnt | yup. | 06:56 |
emeb_mac | it's all just software now - easy. :P | 06:57 |
tnt | Well ... I need an SPI controller. | 07:00 |
tnt | But I think I'll use the hard IP for this. | 07:00 |
tnt | The hard IP interface is wishbone like, so it's pretty easy to connec to the picrorv32. | 07:00 |
emeb_mac | Sounds fun - I've never heard of anyone actually using those hard IP SPI / I2C cores | 07:01 |
emeb_mac | is that because the current SPI flash interface is read-only? | 07:02 |
tnt | yeah and it's not even accessible by the picorv32. Basically once the pll locks, a small state machine copies 32k of the flash to one one the SPRAM block, then releases the reset of the picrorv32 and it boots from that SPRAM. | 07:03 |
emeb_mac | ah, ok - I hadn't studied it. | 07:04 |
tnt | I'm wondering if plugging my hdmi video core into the 6502 would be doable. | 07:08 |
emeb_mac | that'd be interesting | 07:08 |
tnt | Probably need some 'paging' mechanism because (1) it expects a 16 bits data bus, (2) it has a 48k address space :p | 07:09 |
emeb_mac | a bit of glue - easy to add | 07:09 |
emeb_mac | bedtime - gn | 07:10 |
tnt | gn | 07:12 |
*** emeb_mac has quit IRC | 07:14 | |
*** rohitksingh has joined #yosys | 08:11 | |
*** rohitksingh has quit IRC | 08:31 | |
*** rohitksingh has joined #yosys | 09:13 | |
*** rohitksingh has quit IRC | 09:23 | |
*** citypw has quit IRC | 10:11 | |
*** kraiskil has joined #yosys | 10:45 | |
*** cr1901_modern has joined #yosys | 11:47 | |
*** leviathanch has quit IRC | 12:09 | |
*** kraiskil has quit IRC | 13:19 | |
somlo | daveshah: can you rebase PR 219 to the new nextpnr master? (getting a merge conflict in common/placer1.cc) | 13:20 |
*** emeb has joined #yosys | 14:13 | |
*** futarisIRCcloud has quit IRC | 14:31 | |
*** leviathanch has joined #yosys | 14:45 | |
*** marex-cloud has joined #yosys | 15:24 | |
*** develonepi3 has quit IRC | 15:28 | |
emeb | tnt: looking at the SB_SPI documentation from Lattice - cute how they don't actually provide a register map for it. | 15:58 |
emeb | (until you go to the 3rd level "advanced" document) | 16:00 |
emeb | Was thinking of hooking that up to the 6502 - would require building a wishbone master for the 6502 and using the RDY line to stall the CPU during the transaction. | 16:10 |
*** kraiskil has joined #yosys | 17:05 | |
*** flaviusb has quit IRC | 17:05 | |
*** flaviusb has joined #yosys | 17:06 | |
*** kraiskil has quit IRC | 17:11 | |
*** maikmerten has joined #yosys | 17:18 | |
*** kraiskil has joined #yosys | 17:24 | |
tnt | emeb: you can also consider a non-transparent bridge. | 17:35 |
*** kraiskil has quit IRC | 17:41 | |
*** rohitksingh has joined #yosys | 17:42 | |
*** danieljabailey has joined #yosys | 18:06 | |
*** leviathanch has quit IRC | 18:16 | |
*** rohitksingh has quit IRC | 18:20 | |
*** kraiskil has joined #yosys | 19:01 | |
*** janrinze has joined #yosys | 20:40 | |
janrinze | daveshah: does the recent changes in nextpnr mean that inout can be used on pins now without specific SB_IO stuff? | 20:41 |
*** emeb_mac has joined #yosys | 21:05 | |
*** futarisIRCcloud has joined #yosys | 21:24 | |
*** maikmerten has quit IRC | 22:28 | |
*** kraiskil has quit IRC | 22:34 | |
*** develonepi3 has joined #yosys | 22:37 | |
*** GuzTech has joined #yosys | 22:41 | |
*** kraiskil has joined #yosys | 22:50 | |
*** gsi__ is now known as gsi_ | 23:29 | |
*** GuzTech has quit IRC | 23:42 | |
*** danieljabailey has quit IRC | 23:58 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!