Thursday, 2020-12-17

*** tpb has joined #litex00:00
*** hansfbaier has joined #litex00:20
*** hansfbaier has quit IRC00:30
*** lf has quit IRC00:54
*** lf has joined #litex00:55
*** Degi_ has joined #litex01:09
*** Degi has quit IRC01:11
*** Degi_ is now known as Degi01:11
*** Dolu has quit IRC01:14
*** vitalmixofnutrie has joined #litex01:22
*** FFY00 has quit IRC01:24
*** ranzbak has quit IRC01:24
*** xfxf has quit IRC01:24
*** SpaceCoaster has quit IRC01:24
*** Stary has quit IRC01:24
*** feldim2425 has quit IRC01:24
*** felix_ has quit IRC01:24
*** alanvgreen has quit IRC01:24
*** tannewt has quit IRC01:24
*** tcal has quit IRC01:24
*** daveshah has quit IRC01:24
*** guan has quit IRC01:24
*** awygle has quit IRC01:24
*** FFY00 has joined #litex01:30
*** ranzbak has joined #litex01:30
*** xfxf has joined #litex01:30
*** SpaceCoaster has joined #litex01:30
*** Stary has joined #litex01:30
*** feldim2425 has joined #litex01:30
*** felix_ has joined #litex01:30
*** alanvgreen has joined #litex01:30
*** tannewt has joined #litex01:30
*** daveshah has joined #litex01:30
*** tcal has joined #litex01:30
*** guan has joined #litex01:30
*** awygle has joined #litex01:30
*** CarlFK has joined #litex02:41
*** vitalmixofnutrie has quit IRC04:21
*** rachsug_ has quit IRC05:13
*** kgugala_ has joined #litex06:20
*** kgugala has quit IRC06:22
*** kgugala_ has quit IRC06:23
*** kgugala__ has joined #litex06:23
*** kgugala has joined #litex07:48
*** kgugala__ has quit IRC07:50
*** kgugala has quit IRC09:04
*** kgugala has joined #litex09:04
*** CarlFK has quit IRC09:30
*** CarlFK has joined #litex10:14
*** Dolu has joined #litex10:46
*** Bertl_zZ is now known as Bertl10:47
*** kgugala_ has joined #litex11:34
*** kgugala has quit IRC11:35
*** Bertl is now known as Bertl_oO11:38
*** kgugala_ has quit IRC12:00
*** kgugala has joined #litex12:02
*** kgugala_ has joined #litex12:03
*** kgugala has quit IRC12:07
*** kgugala has joined #litex12:17
*** kgugala_ has quit IRC12:20
*** Bk42 has joined #litex12:30
Bk42hi everybody12:30
Bk42i use picorv32 in lattice fpga and when i try to enable IRQ my project bloks12:32
Bk42without irq enabled i print some string for control12:32
Bk42if i enable irq i don't see nothing on termina12:33
Bk42terminal*12:33
Bk42some suggest?12:33
Bk42i need to enable irq for may project12:34
Bk42my*12:34
zypare you sure you're not getting stuck in an interrupt handler or something?12:54
Bk42probably yes, but i used native code inside picorv32 equipped on litex12:55
zypI'm not familiar with the picorv32, but in general a common reason things is hanging when you enable interrupts is because you're not clearing the interrupt properly, so as soon as you return from the handler it fires again, keeping it from running normal code12:56
zypusually either that or something about the handler is wrong and trigging a fault12:57
daveshahIt's also worth being aware that picorv32 interrupts are non-standard12:57
zypnormally I'd recommend checking with a debugger what state it's ending up in, but I'm not sure picorv32 has a debugger interface?12:57
Bk42in fact there is a irq external function that must print a simple string12:58
Bk42but i don't see nothing12:58
Bk42terminal is completely blocked12:58
Bk42i think that there isn't a debugger interface13:01
*** proteus-guy has joined #litex13:58
*** proteusguy has joined #litex13:59
*** UA3MQJ has joined #litex14:07
*** roboknight has joined #litex14:21
*** UA3MQJ has quit IRC14:38
*** kgugala_ has joined #litex15:07
*** kgugala has quit IRC15:09
*** futarisIRCcloud has quit IRC15:14
*** kgugala has joined #litex15:18
*** kgugala_ has quit IRC15:23
*** Dolu has quit IRC15:49
somlo_florent_: is there a good way to host pre-built binary images anywhere under litex-hub? I'd rather not make them part of the repo itself (I don't want them tracked by git), but it'd be a nice touch to link them from the mythical README.md :)16:01
somloworst case I can link to my personal web space on www.contrib.andrew.cmu.edu, but that feels somewhat amateurish16:03
daveshahsomlo: github releases?16:03
_florent_somlo: I find github issues convenient for that, I just switch pre-built images for linux-on-litex-vexriscv to github issues yesterday to avoid having the linux-on-litex-vexrisv-prebuilt directory16:03
_florent_https://github.com/litex-hub/linux-on-litex-vexriscv/issues/16416:03
_florent_somlo: just upload the file to the issue and it will be hosted there16:04
somlodaveshah, _florent_: thanks, I'll check out both, see what makes the most sense16:04
somlo_florent_ -- and I assume you can link to the binary blob from the git-tracked repository (specifically, the .md readme file)16:05
_florent_somlo: yes16:06
somlo_florent_: how do you deal with updating the binary blobs -- create a new issue, update the existing one? I'll RTFM, but hopefully you can overwrite a binary blob with a newer version, as part of the issue :)16:06
_florent_somlo: I was planning to update the issue yes, but in the README I just create a link to  the issue, not the files directly16:08
somlo_florent_: ok, thanks, that seems pretty straightforward. I'll have a README.md, several configuration files (for busybox and a bunch of .dts files), but then I wanted to make available a bunch of intermediate things such as the cross-compiled busybox binary, the initramfs.cpio file, vmlinux, and, finally, boot.bin (that in addition to the various bitstream files for the three boards I'm starting out with)16:11
somloI'm just testing my own README.md before uploading it, one final QA pass to straighten out any kinks I can find before going public... :)16:12
*** Dolu has joined #litex17:22
*** Bk42 has quit IRC17:45
somlo_florent_: in simulation, assuming I initialized the RAM with `--ram-init boot.bin`, is there a way to jump to the first RAM address from the bios prompt?18:41
somloI have my sim configured with --with-ethernet, and (if using rocket) the tftp attempt won't time out in any useful amount of time :(18:42
somloso I'm hitting <esc> early on, but then I don't know how to just start whatever I side-loaded into ram on the command line...18:42
*** vitalmixofnutrie has joined #litex20:06
*** vitalmixofnutrie has left #litex20:16
*** FFY00 has quit IRC20:24
*** FFY00 has joined #litex20:25
*** FFY00 has quit IRC20:27
somlook, it's out: https://github.com/litex-hub/linux-on-litex-rocket20:31
daveshahgot your first star from me :)20:32
somloThanks! :D20:43
*** m4ssi has joined #litex21:04
*** m4ssi has quit IRC21:51

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