*** tpb has joined #litex | 00:00 | |
*** rj has quit IRC | 00:14 | |
*** rj has joined #litex | 00:16 | |
*** Bertl_oO is now known as Bertl_zZ | 00:38 | |
*** lf has quit IRC | 00:53 | |
*** lf has joined #litex | 00:53 | |
*** rj has quit IRC | 00:54 | |
*** nickoe_ has joined #litex | 01:33 | |
*** gruetze_ has joined #litex | 01:33 | |
*** shivampotdar has quit IRC | 01:38 | |
*** nickoe has quit IRC | 01:38 | |
*** gruetzkopf has quit IRC | 01:39 | |
*** joseng has quit IRC | 01:39 | |
*** shivampotdar has joined #litex | 01:48 | |
*** Degi_ has joined #litex | 03:00 | |
*** Degi has quit IRC | 03:02 | |
*** Degi_ is now known as Degi | 03:02 | |
shorne | interesting, 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 boot | 04:54 |
---|---|---|
shorne | it looks like some kind of timing issue | 04:54 |
shorne | with some debug it shows the f_mount call fails | 05:37 |
shorne | looking more | 05:37 |
*** pftbest has joined #litex | 06:08 | |
*** rozpruwacz has joined #litex | 06:12 | |
*** pftbest has joined #litex | 06:29 | |
*** pftbest has quit IRC | 06:34 | |
shorne | Is 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 bios | 06:42 |
shorne | I seem to have to do "./arty.py ...option... --build; ./arty.py ...options... --load" which requires waiting for the bitstream to build | 06:43 |
shorne | the --no-compile-gateware option doesn't seem to do anything | 06:44 |
*** kgugala_ has joined #litex | 06:52 | |
*** kgugala has quit IRC | 06:54 | |
*** pftbest has joined #litex | 06:55 | |
zyp | the 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 supported | 06:56 |
shorne | zyp: thats what I figured, but wasn't sure, thanks for clarifying | 07:04 |
*** rozpruwacz has quit IRC | 07:30 | |
*** rozpruwacz has joined #litex | 07:31 | |
*** joseng has joined #litex | 07:34 | |
_florent_ | shorne: That's not supported directly in the LiteX-Targets, but it's possible to easily rebuild the BIOS and reload it | 07: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#L76 | 07: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-L109 | 07: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-L944 | 07:59 |
_florent_ | this will only reset the CPU and not the whole SoC | 07:59 |
*** TMM has quit IRC | 08:47 | |
*** TMM has joined #litex | 08:47 | |
*** rozpruwacz has quit IRC | 09:03 | |
*** Bertl_zZ is now known as Bertl | 09:07 | |
*** rozpruwacz has joined #litex | 09:19 | |
*** rozpruwacz has quit IRC | 09:28 | |
*** rozpruwacz has joined #litex | 09: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/e48b269d77567e251d34bd501d8cb390a91ee675 | 09:54 |
_florent_ | nats`: I'm planning to cleanup/improve litex.build in not too long... | 09:59 |
*** jryans has quit IRC | 10:36 | |
*** CarlFK[m] has quit IRC | 10:36 | |
*** disasm[m] has quit IRC | 10:36 | |
*** leons has quit IRC | 10:36 | |
*** shoragan[m] has quit IRC | 10:36 | |
*** JJJollyjim has quit IRC | 10:36 | |
*** shivampotdar has quit IRC | 10:36 | |
*** promach3 has quit IRC | 10:36 | |
*** apolkosnik[m] has quit IRC | 10:36 | |
*** jevinskie[m] has quit IRC | 10:36 | |
*** sajattack[m] has quit IRC | 10:36 | |
*** xobs has quit IRC | 10:36 | |
*** david-sawatzke[m has quit IRC | 10:36 | |
*** disasm[m] has joined #litex | 10:46 | |
*** sajattack[m] has joined #litex | 11:07 | |
*** shoragan[m] has joined #litex | 11:07 | |
*** jryans has joined #litex | 11:07 | |
*** shivampotdar has joined #litex | 11:07 | |
*** leons has joined #litex | 11:07 | |
*** david-sawatzke[m has joined #litex | 11:07 | |
*** promach3 has joined #litex | 11:07 | |
*** jevinskie[m] has joined #litex | 11:07 | |
*** xobs has joined #litex | 11:07 | |
*** enick_4 has joined #litex | 11:07 | |
*** CarlFK[m] has joined #litex | 11:07 | |
*** Guest68587 has joined #litex | 11:07 | |
*** apolkosnik[m] has joined #litex | 11:07 | |
shorne | _florent_: thanks, I will try that tomorrow | 11:41 |
shorne | the sdcard failing to boot seems mostly due to something wrong with how I built my sdcard partition table/fat32 filesystem | 11:42 |
shorne | I am not sure why enabling sdcard_debug statements fixes the issue, but I am trying to get to the root cause | 11:43 |
gatecat | anyone seen "TypeError: Expression of unrecognized type: 'ClockSignal'" before? | 12:04 |
gatecat | it seems to be related to using `wishbone.SRAM` to read from a memory | 12:05 |
gatecat | ah, my error, wishbone.SRAM isn't supposed to be a submodule | 12:10 |
*** shorne has quit IRC | 12:14 | |
somlo | shorne: with libfatfs all FAT partition sizes *should* work, but empirically I've had better luck with fat16 | 12:29 |
somlo | * in LiteX bios (i.e., for booting from the sdcard) | 12:31 |
*** acathlaway is now known as acathla | 12:37 | |
nats` | _florent_, you mean that using the default clock isn't mapped correctly ? | 12:47 |
*** CarlFK has joined #litex | 13:34 | |
*** rj has joined #litex | 13:46 | |
*** Bertl is now known as Bertl_oO | 16:25 | |
*** rozpruwacz has quit IRC | 16:37 | |
*** rj has quit IRC | 16:41 | |
*** TMM has quit IRC | 16:54 | |
*** TMM has joined #litex | 16:54 | |
*** shorne has joined #litex | 17:34 | |
*** CaRo has joined #litex | 17:59 | |
*** peeps[zen] is now known as peepsalot | 18:00 | |
*** CaRo has quit IRC | 18:01 | |
_florent_ | nats`: There was a typo in the code preventing the constraint to be generated. | 18:02 |
*** rj has joined #litex | 19:06 | |
*** rj has quit IRC | 19:32 | |
*** rj has joined #litex | 19:34 | |
*** smiteff has joined #litex | 19:40 | |
*** geertu has quit IRC | 19:42 | |
*** simeonm has quit IRC | 19:42 | |
*** geertu has joined #litex | 19: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 gruetzkopf | 19:59 | |
*** rj has quit IRC | 20:16 | |
*** rj has joined #litex | 20:19 | |
*** rozpruwacz has joined #litex | 20:33 | |
*** rj has quit IRC | 21:00 | |
*** rj has joined #litex | 21:03 | |
*** rj has quit IRC | 21:45 | |
*** rj has joined #litex | 21:47 | |
*** pftbest has quit IRC | 22:00 | |
*** pftbest has joined #litex | 22:13 | |
*** rj has quit IRC | 22:20 | |
*** rj has joined #litex | 22:26 | |
zyp | in case anyone is interested; I started building a wrapper around luna: https://paste.jvnv.net/view/ODFvB | 22:32 |
tpb | Title: JVnV Pastebin View paste – Untitled (at paste.jvnv.net) | 22:32 |
zyp | just had my first luna-in-litex USBDevice enumerate :) haven't tested the streams yet | 22:33 |
*** rj has quit IRC | 22:47 | |
*** rozpruwacz has quit IRC | 23:23 | |
*** key2 has quit IRC | 23:24 | |
*** key2 has joined #litex | 23:24 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!