clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
futarisIRCcloud has joined #yosys
<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?
<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
<emeb> I'll try just changing $(CROSS) to point to my riscv32i stuff
<emeb> seems to have built. loaded the bitstream and firmware into the flash and the thing configures OK
<emeb> what's the uart baudrate?
<emeb> ah - 1Mbps
<emeb> works
<emeb> getting the Command prompt
<emeb> ok - "r" command starts USB and I get enumeration on my PC
<emeb> so - seems your stuff works on my board
<emeb> lots of [!] Got SETUP while busy !?? - I assume that's just because it's not fully finished.
Cerpin has joined #yosys
leviathanch has joined #yosys
emeb_mac has joined #yosys
s3ntry has quit [Remote host closed the connection]
emeb has quit [Quit: Leaving.]
cr1901 has quit [Ping timeout: 246 seconds]
cr1901 has joined #yosys
citypw has joined #yosys
cr1901 has quit [Ping timeout: 268 seconds]
cr1901 has joined #yosys
PyroPeter has quit [Ping timeout: 252 seconds]
cr1901 has quit [Ping timeout: 272 seconds]
PyroPeter has joined #yosys
cr1901 has joined #yosys
<emeb_mac> pushed new video stuff -> https://github.com/emeb/up5k_basic
<tpb> Title: GitHub - emeb/up5k_basic: A small 6502 system with MS BASIC in ROM (at github.com)
pie___ has joined #yosys
pie__ has quit [Ping timeout: 246 seconds]
gsi__ has joined #yosys
gsi_ has quit [Ping timeout: 246 seconds]
danieljabailey has quit [Ping timeout: 245 seconds]
rohitksingh has joined #yosys
<tnt> emeb_mac: so it enumerated ?
<tnt> emeb_mac: mmm, that message is actaully an error, it shouldn't happen.
citypw has quit [Ping timeout: 272 seconds]
<emeb_mac> tnt: it seems to have enumerated - happy seeming messages in the Linux syslog
TFKyle has quit [Quit: :q!]
<emeb_mac> that's a lot further than I got with the tinyfpga bootloader on the same hardware
citypw has joined #yosys
<tnt> emeb_mac: if you do a lsusb -v -d 1d50:e1e1 does it show all the fields or does it show any error ?
<emeb_mac> tnt: tried starting up again on another machine and it's not spewing those errors. lsusb seems to show all the fields.
<emeb_mac> so - must have been some kind of fluke / intermittent thing.
<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.
<emeb_mac> here's the output: https://pastebin.com/tkDZjkjC
<tpb> Title: $ lsusb -v -d 1d50:e1e1 Bus 001 Device 005: ID 1d50:e1e1 OpenMoko, Inc. Co - Pastebin.com (at pastebin.com)
<emeb_mac> possibly some missing stuff
rohitksingh has quit [Ping timeout: 246 seconds]
<emeb_mac> (according to msg at top)
<tnt> Oh you need sudo
<tpb> Title: Bus 001 Device 005: ID 1d50:e1e1 OpenMoko, Inc. Device Descriptor: bLength - Pastebin.com (at pastebin.com)
<emeb_mac> no err at top, but errs at bottom now
<tnt> Yeah those are 'expected'. It just doesn't support those features (and that's perfectly fine according to specs, they are not mandatory).
<tnt> Nice. Now just need to implement DFU to make it do something useful :p
<emeb_mac> sweet - nice to see that it's working. Also nice confirmation that my board supports USB.
<tnt> yup.
<emeb_mac> it's all just software now - easy. :P
<tnt> Well ... I need an SPI controller.
<tnt> But I think I'll use the hard IP for this.
<tnt> The hard IP interface is wishbone like, so it's pretty easy to connec to the picrorv32.
<emeb_mac> Sounds fun - I've never heard of anyone actually using those hard IP SPI / I2C cores
<emeb_mac> is that because the current SPI flash interface is read-only?
<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.
<emeb_mac> ah, ok - I hadn't studied it.
<tnt> I'm wondering if plugging my hdmi video core into the 6502 would be doable.
<emeb_mac> that'd be interesting
<tnt> Probably need some 'paging' mechanism because (1) it expects a 16 bits data bus, (2) it has a 48k address space :p
<emeb_mac> a bit of glue - easy to add
<emeb_mac> bedtime - gn
<tnt> gn
emeb_mac has quit [Ping timeout: 246 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 246 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 245 seconds]
citypw has quit [Ping timeout: 252 seconds]
kraiskil has joined #yosys
cr1901_modern has joined #yosys
leviathanch has quit [Remote host closed the connection]
kraiskil has quit [Ping timeout: 245 seconds]
<somlo> daveshah: can you rebase PR 219 to the new nextpnr master? (getting a merge conflict in common/placer1.cc)
emeb has joined #yosys
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
leviathanch has joined #yosys
marex-cloud has joined #yosys
develonepi3 has quit [Remote host closed the connection]
<emeb> tnt: looking at the SB_SPI documentation from Lattice - cute how they don't actually provide a register map for it.
<emeb> (until you go to the 3rd level "advanced" document)
<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.
kraiskil has joined #yosys
flaviusb has quit [Ping timeout: 245 seconds]
flaviusb has joined #yosys
kraiskil has quit [Ping timeout: 252 seconds]
maikmerten has joined #yosys
kraiskil has joined #yosys
<tnt> emeb: you can also consider a non-transparent bridge.
kraiskil has quit [Ping timeout: 245 seconds]
rohitksingh has joined #yosys
danieljabailey has joined #yosys
leviathanch has quit [Remote host closed the connection]
rohitksingh has quit [Ping timeout: 252 seconds]
kraiskil has joined #yosys
janrinze has joined #yosys
<janrinze> daveshah: does the recent changes in nextpnr mean that inout can be used on pins now without specific SB_IO stuff?
emeb_mac has joined #yosys
futarisIRCcloud has joined #yosys
maikmerten has quit [Quit: Ex-Chat]
kraiskil has quit [Ping timeout: 244 seconds]
develonepi3 has joined #yosys
GuzTech has joined #yosys
kraiskil has joined #yosys
gsi__ is now known as gsi_
GuzTech has quit [Remote host closed the connection]
danieljabailey has quit [Ping timeout: 244 seconds]
tpb has quit [Remote host closed the connection]
tpb has joined #yosys