Wednesday, 2021-03-10

*** tpb has joined #litex00:00
*** rj has quit IRC00:14
*** rj has joined #litex00:16
*** Bertl_oO is now known as Bertl_zZ00:38
*** lf has quit IRC00:53
*** lf has joined #litex00:53
*** rj has quit IRC00:54
*** nickoe_ has joined #litex01:33
*** gruetze_ has joined #litex01:33
*** shivampotdar has quit IRC01:38
*** nickoe has quit IRC01:38
*** gruetzkopf has quit IRC01:39
*** joseng has quit IRC01:39
*** shivampotdar has joined #litex01:48
*** Degi_ has joined #litex03:00
*** Degi has quit IRC03:02
*** Degi_ is now known as Degi03:02
shorneinteresting, I have been having issues with litex bios booting linux off sdcard, when I turn on sdcard_debug it boots, when I turn if off it doesnt boot04:54
shorneit looks like some kind of timing issue04:54
shornewith some debug it shows the f_mount call fails05:37
shornelooking more05:37
*** pftbest has joined #litex06:08
*** rozpruwacz has joined #litex06:12
*** pftbest has joined #litex06:29
*** pftbest has quit IRC06:34
shorneIs there a fast way to flash a new bios to the board?  If I make c changes and do " ./arty.py ..platform options.. --load " it doesn't update the bios06:42
shorneI seem to have to do "./arty.py ...option... --build;  ./arty.py ...options... --load"  which requires waiting for the bitstream to build06:43
shornethe --no-compile-gateware option doesn't seem to do anything06:44
*** kgugala_ has joined #litex06:52
*** kgugala has quit IRC06:54
*** pftbest has joined #litex06:55
zypthe bios is stored in blockram initialization in the bitstream so updating it requires either rebuilding the bitstream or rewriting the bitstream to change blockram contents, and I don't think the latter is supported06:56
shornezyp: thats what I figured, but wasn't sure, thanks for clarifying07:04
*** rozpruwacz has quit IRC07:30
*** rozpruwacz has joined #litex07:31
*** joseng has joined #litex07:34
_florent_shorne: That's not supported directly in the LiteX-Targets, but it's possible to easily rebuild the BIOS and reload it07:55
_florent_With a bridge in your SoC (for example JTAGBone in your case), you can set integrated_rom_mode to "rw": https://github.com/enjoy-digital/litedram/blob/master/bench/arty.py#L7607:56
_florent_and then use a simple script to reload the ROM and reset the SoC: https://github.com/enjoy-digital/litedram/blob/master/bench/common.py#L95-L10907:57
_florent_in case reseting the full SoC breaks the bridge, you could comment this: https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L939-L94407:59
_florent_this will only reset the CPU and not the whole SoC07:59
*** TMM has quit IRC08:47
*** TMM has joined #litex08:47
*** rozpruwacz has quit IRC09:03
*** Bertl_zZ is now known as Bertl09:07
*** rozpruwacz has joined #litex09:19
*** rozpruwacz has quit IRC09:28
*** rozpruwacz has joined #litex09:28
_florent_nats`: Thanks for the minimal repro, this was an issue in LiteX, the default CRG is probably not used that often: https://github.com/enjoy-digital/litex/commit/e48b269d77567e251d34bd501d8cb390a91ee67509:54
_florent_nats`: I'm planning to cleanup/improve litex.build in not too long...09:59
*** jryans has quit IRC10:36
*** CarlFK[m] has quit IRC10:36
*** disasm[m] has quit IRC10:36
*** leons has quit IRC10:36
*** shoragan[m] has quit IRC10:36
*** JJJollyjim has quit IRC10:36
*** shivampotdar has quit IRC10:36
*** promach3 has quit IRC10:36
*** apolkosnik[m] has quit IRC10:36
*** jevinskie[m] has quit IRC10:36
*** sajattack[m] has quit IRC10:36
*** xobs has quit IRC10:36
*** david-sawatzke[m has quit IRC10:36
*** disasm[m] has joined #litex10:46
*** sajattack[m] has joined #litex11:07
*** shoragan[m] has joined #litex11:07
*** jryans has joined #litex11:07
*** shivampotdar has joined #litex11:07
*** leons has joined #litex11:07
*** david-sawatzke[m has joined #litex11:07
*** promach3 has joined #litex11:07
*** jevinskie[m] has joined #litex11:07
*** xobs has joined #litex11:07
*** enick_4 has joined #litex11:07
*** CarlFK[m] has joined #litex11:07
*** Guest68587 has joined #litex11:07
*** apolkosnik[m] has joined #litex11:07
shorne_florent_: thanks, I will try that tomorrow11:41
shornethe sdcard failing to boot seems mostly due to something wrong with how I built my sdcard partition table/fat32 filesystem11:42
shorneI am not sure why enabling sdcard_debug statements fixes the issue, but I am trying to get to the root cause11:43
gatecatanyone seen "TypeError: Expression of unrecognized type: 'ClockSignal'" before?12:04
gatecatit seems to be related to using `wishbone.SRAM` to read from a memory12:05
gatecatah, my error, wishbone.SRAM isn't supposed to be a submodule12:10
*** shorne has quit IRC12:14
somloshorne: with libfatfs all FAT partition sizes *should* work, but empirically I've had better luck with fat1612:29
somlo* in LiteX bios (i.e., for booting from the sdcard)12:31
*** acathlaway is now known as acathla12:37
nats`_florent_, you mean that using the default clock isn't mapped correctly ?12:47
*** CarlFK has joined #litex13:34
*** rj has joined #litex13:46
*** Bertl is now known as Bertl_oO16:25
*** rozpruwacz has quit IRC16:37
*** rj has quit IRC16:41
*** TMM has quit IRC16:54
*** TMM has joined #litex16:54
*** shorne has joined #litex17:34
*** CaRo has joined #litex17:59
*** peeps[zen] is now known as peepsalot18:00
*** CaRo has quit IRC18:01
_florent_nats`: There was a typo in the code preventing the constraint to be generated.18:02
*** rj has joined #litex19:06
*** rj has quit IRC19:32
*** rj has joined #litex19:34
*** smiteff has joined #litex19:40
*** geertu has quit IRC19:42
*** simeonm has quit IRC19:42
*** geertu has joined #litex19:48
shorne_florent_: it does seem to work, after the rom load and reset I need to wait about 30 seconds (maybe jtag transfer?)19:49
*** gruetze_ is now known as gruetzkopf19:59
*** rj has quit IRC20:16
*** rj has joined #litex20:19
*** rozpruwacz has joined #litex20:33
*** rj has quit IRC21:00
*** rj has joined #litex21:03
*** rj has quit IRC21:45
*** rj has joined #litex21:47
*** pftbest has quit IRC22:00
*** pftbest has joined #litex22:13
*** rj has quit IRC22:20
*** rj has joined #litex22:26
zypin case anyone is interested; I started building a wrapper around luna: https://paste.jvnv.net/view/ODFvB22:32
tpbTitle: JVnV Pastebin View paste – Untitled (at paste.jvnv.net)22:32
zypjust had my first luna-in-litex USBDevice enumerate :) haven't tested the streams yet22:33
*** rj has quit IRC22:47
*** rozpruwacz has quit IRC23:23
*** key2 has quit IRC23:24
*** key2 has joined #litex23:24

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!