Thursday, 2020-01-23

*** tpb has joined #tomu00:00
xobskevans91: It was a personal token with "repo" permission.00:44
xobsst-gourichon-f: yes, that is an ancient version of foboot, and probably isn't even deterministic.  There were clock domain crossing issues with the input, and it has lots of subtle usb stability bugs. I think even the PLL wasn't right.  You should update to 2.0.3.00:44
*** whatnick has joined #tomu00:45
xobsAlso, I just verified that the messible output does in fact work with `wishbone-tool -s messible`: Anything you write into 0xe0008000 will get echoed out the messible.  You can check 0xe0008008 to determine if there is space available.00:45
*** whatnick has quit IRC00:45
*** whatnic29 has joined #tomu00:46
*** whatnick_ has quit IRC00:48
*** emeb has left #tomu01:57
*** whatnic29 has quit IRC01:59
*** whatnick has joined #tomu02:04
*** whatnick has quit IRC02:14
*** whatnick has joined #tomu02:17
kevans91xobs: perfect, thanks-02:21
kevans91it's a bit annoying how long it takes to install the rust pkg on freebsd02:21
kevans91Under GCE, at least02:21
kevans91xobs: I'm at a loss for what's going on -> https://cirrus-ci.com/task/6747340857933824?command=deploy#L22 I got a weird curl error when fetching the release id, but it still succeeded and then the upload worked as well03:26
tpbTitle: Cirrus CI (at cirrus-ci.com)03:26
kevans91all I've managed to do so far was swap out the api keys for one I just generated03:26
*** rohitksingh has joined #tomu03:27
kevans91and it is indeed available here now: https://github.com/kevans91/wishbone-utils/releases03:27
tpbTitle: Releases · kevans91/wishbone-utils · GitHub (at github.com)03:27
xobsWell, if you like you can give me your changes and I can try it in the main repo.03:33
kevans91The only change is actually just the API key thus far- I was going to tack on the FreeBSD major version to the BUILD_TAG, but the first build just sort of worked out03:34
kevans91https://github.com/kevans91/wishbone-utils/commit/7e51b8b87f7a5b210583b34bfb861d9c73cda21603:34
tpbTitle: Switch token to mine · kevans91/wishbone-utils@7e51b8b · GitHub (at github.com)03:34
daurnimatorSo now that I have a FOMU and the ability to write stuff for it.... what on earth should I do with it? :P03:39
CarlFKpatch the boot loader to ... um.. do fail safe thing when something something03:42
xobskevans91: freebsd looks like it's working now, yay!04:58
kevans91\o/05:05
kevans91Thanks again!05:05
mithrodaurnimator: Have you done the workshop?05:10
*** whatnick has quit IRC05:11
daurnimatormithro: almost got the blink working (had a red fade instead). But 90% of the way I think05:12
*** whatnick_ has joined #tomu05:13
mithrodaurnimator: Rust? https://workshop.fomu.im/en/latest/riscv.html#using-rust05:14
daurnimatormithro: zig. https://github.com/im-tomu/fomu-workshop/pull/14005:14
tpbTitle: Add zig example by daurnimator · Pull Request #140 · im-tomu/fomu-workshop · GitHub (at github.com)05:14
mithrodaurnimator: Ahh your the zig person05:15
daurnimatormithro: yep. you gave me the FOMU :)05:15
mithrodaurnimator: Never heard of it before05:16
daurnimatormithro: thoughts on the code you see there in the PR?05:16
*** rohitksingh has quit IRC05:19
*** CarlFK has quit IRC05:19
mithrodaurnimator: You probably want to do a set of generic csr accessor functions and autogenerate the register set from the csr.csv file05:24
daurnimatorYeah I didn't find out that it was in some machine readable format until *after* I wrote out most of those modules05:24
mithrodaurnimator: https://github.com/enjoy-digital/litex/pull/339/files05:25
tpbTitle: CSR Improvements and Cleanup by gsomlo · Pull Request #339 · enjoy-digital/litex · GitHub (at github.com)05:26
mithrodaurnimator: and https://github.com/enjoy-digital/litex/issues/31405:28
tpbTitle: We need to document LiteX CSRs! · Issue #314 · enjoy-digital/litex · GitHub (at github.com)05:28
daurnimatormithro: I also saw something called "svd2rust"? how does that relate05:28
*** ppisati has quit IRC05:28
mithrodaurnimator: There is something which goes csr.csv to svd I think05:28
mithroxobs will know05:28
xobsdaurnimator: svd2rust is what was used to generate https://docs.rs/fomu-pac/0.0.3/fomu_pac/ -- notice how it includes full documentation of all bitfields.05:30
daurnimatorWhat *is* svd? I'm not familiar with the format05:30
daurnimatorAnd is everything in there also present in the csv file?05:31
mithrohttp://www.keil.com/pack/doc/CMSIS/SVD/html/index.html05:31
daurnimatoreek, XML05:32
xobsI'd call the csv a mostly-subset of SVD.  But at least SVD is industry-standard, and has good tools for working with it.05:32
mithroxobs: Any reason we don't just add svd generation to litex for everything normally?05:33
xobsmithro: no reason other than its complicated. We could merge lxsocdoc if you want that.05:34
*** ppisati has joined #tomu05:35
mithroDoes it fall back sensibly when no extra lxsocdoc stuff is there?05:35
xobsYeah. For actual documentation you get things like http://rm.fomu.im/ctrl.html since the ctrl block is currently completely undocumented.05:41
tpbTitle: CTRL Fomu Bootloader documentation (at rm.fomu.im)05:41
*** whatnick_ has quit IRC06:12
*** whatnick has joined #tomu06:13
*** CarlFK has joined #tomu06:39
*** futarisIRCcloud has joined #tomu07:16
*** dontrash[m] has quit IRC07:59
*** manf[m] has quit IRC07:59
*** synaption[m] has quit IRC07:59
*** tannewt has quit IRC07:59
*** ukembedded has quit IRC07:59
*** johnhmay has quit IRC07:59
*** evelyn has quit IRC07:59
*** leons has quit IRC08:00
*** alexhw[m] has quit IRC08:00
*** chrissi^ has quit IRC08:00
*** olasd has quit IRC08:00
*** ssb has quit IRC08:00
*** part has quit IRC08:00
*** bunnie[m] has quit IRC08:00
*** EmilKarlson has quit IRC08:00
*** felix_ has quit IRC08:00
*** flokli has quit IRC08:00
*** pinoaffe has quit IRC08:00
*** bjonnh has quit IRC08:00
*** xobs has quit IRC08:02
*** tmarble2 has quit IRC08:02
*** whatnick has quit IRC08:02
*** jesse_m[m] has quit IRC08:02
*** jimt[m] has quit IRC08:02
*** cdmatter has quit IRC08:02
*** thaytan has quit IRC08:03
*** tiwalun has quit IRC08:03
*** nrossi has quit IRC08:03
*** cdmatter has joined #tomu08:03
*** foosinn[m] has quit IRC08:03
*** kaeso[m] has quit IRC08:03
*** pinoaffe has joined #tomu08:04
*** flokli has joined #tomu08:04
*** felix_ has joined #tomu08:04
*** bjonnh has joined #tomu08:04
*** thaytan has joined #tomu08:04
*** im-tomu has left #tomu08:12
*** im-tomu has joined #tomu08:12
*** im-tomu has left #tomu08:19
*** im-tomu has joined #tomu08:19
*** im-tomu has left #tomu08:20
*** im-tomu has joined #tomu08:20
*** tannewt has joined #tomu08:46
*** ukembedded has joined #tomu08:46
*** johnhmay has joined #tomu08:46
*** evelyn has joined #tomu08:46
*** chrissi^ has joined #tomu08:46
*** olasd has joined #tomu08:46
*** ssb has joined #tomu08:46
*** part has joined #tomu08:46
*** whatnick has joined #tomu08:55
*** wrtlprnft has quit IRC09:54
*** wrtlprnft has joined #tomu09:54
*** alexhw has quit IRC11:03
*** im-tomu has left #tomu11:10
*** im-tomu has joined #tomu11:10
*** Hunter has joined #tomu11:12
*** im-tomu has left #tomu11:16
*** im-tomu has joined #tomu11:17
*** im-tomu has left #tomu11:38
*** im-tomu has joined #tomu11:38
*** whatnick has quit IRC11:47
*** Hunter has quit IRC11:47
*** whatnick has joined #tomu11:47
*** promach3 has joined #tomu11:50
*** jesse_m[m] has joined #tomu11:50
*** david-sawatzke[m has joined #tomu11:50
*** foosinn[m] has joined #tomu11:50
*** leons has joined #tomu11:50
*** EmilKarlson has joined #tomu11:50
*** xobs has joined #tomu11:50
*** kaeso[m] has joined #tomu11:50
*** tiwalun has joined #tomu11:50
*** jimt[m] has joined #tomu11:50
*** manf[m] has joined #tomu11:50
*** dontrash[m] has joined #tomu11:50
*** tmarble2 has joined #tomu11:50
*** bunnie[m] has joined #tomu11:50
*** alexhw[m] has joined #tomu11:50
*** synaption[m] has joined #tomu11:50
*** nrossi has joined #tomu11:50
*** im-tomu has left #tomu12:01
*** im-tomu has joined #tomu12:01
*** im-tomu has left #tomu13:05
*** im-tomu has joined #tomu13:06
st-gourichon-fThanks xobs for your hints.13:50
st-gourichon-f(yesterday)13:50
*** xkapastel has joined #tomu14:07
*** im-tomu has left #tomu14:16
*** im-tomu has joined #tomu14:16
*** im-tomu has left #tomu14:47
*** im-tomu has joined #tomu14:47
*** im-tomu has left #tomu15:02
*** im-tomu has joined #tomu15:02
*** cdmatter has quit IRC15:08
*** cdmatter has joined #tomu15:08
*** emeb has joined #tomu15:34
*** im-tomu has left #tomu15:40
*** im-tomu has joined #tomu15:41
*** alexhw has joined #tomu15:43
*** rohitksingh has joined #tomu15:43
*** im-tomu has left #tomu15:49
*** im-tomu has joined #tomu15:50
*** im-tomu has left #tomu16:26
*** im-tomu has joined #tomu16:26
*** TheJJ has quit IRC16:39
*** TheJJ has joined #tomu16:40
*** rohitksingh has quit IRC16:51
*** FxPape has quit IRC16:54
*** xkapastel has quit IRC16:57
*** rohitksingh has joined #tomu17:10
*** FxPape has joined #tomu18:05
*** rohitksingh has quit IRC18:08
*** rohitksingh has joined #tomu19:13
*** rohitksingh has quit IRC19:24
*** rohitksingh has joined #tomu19:37
*** squelch_ has joined #tomu20:02
squelch_Can Tomu emulate a RISC-V BOOM core?20:04
squelch_Or is it limited to the Rocket / in-order pipelined cores? I'm more sort of wondering about space on the FPGA for the OoO logic.20:05
tntTomu ? You mean Fomu right ?20:07
tntAnd if the question is can you implement a BOOM core inside the FOMU FPGA logic. No.20:08
squelch_Fomu, yes.20:08
squelch_I just keep seeing references to Tomu as I try to get this toolchain going, so I wasn't sure if there was some kind of rebranding I missed.20:09
*** squelch_ is now known as squelch20:11
*** rohitksingh has quit IRC20:21
*** whatnick_ has joined #tomu20:25
daveshahProbably about 2 orders of magnitude too small for BOOM20:26
squelchI suppose I have a Zedboard for when I'm ready to get bigger.20:27
squelchWill it work for running a stripped down kernel?20:27
daveshahWhat device? The Zedboard could manage Rocket, but not BOOM20:28
*** whatnick has quit IRC20:28
squelchEven a smaller BOOM?20:28
squelchCS-FOMU-0120:28
daveshahNo20:28
squelchSorry if these are new guy-ish questions, I don't exactly have a lot of expert guidance around me :(20:29
daveshahRight its important to get  feel for the orders of magnitude here20:30
squelchMy prayed-for endstate here is to run microarchitecture attacks observed working on architectures like x86 on RISC-V cores and see how they do.20:30
squelchIt's a master's thesis project. Feels like a lot to bite off and chew, but here I am.20:31
daveshahThere might be some simpler out of order cores that could fit on a Zedboard20:31
daveshahA fomu is going to be 32 bit in order only, realistically20:32
squelchIt may be a fair place to get an analysis toolchain tested and running, even if I can't explore the effects on OoO cores right away.20:32
*** whatnick_ has quit IRC20:34
*** whatnick has joined #tomu20:34
daveshahYou could use a simulator like Verilator, it would be slow but fine if you don't need an OS20:37
squelchTo do sidechannel / covert channel experiments you need to run two processes to characterize the channel.20:37
daveshahYou could start with something lightweight like Zephyr20:38
squelchI was messing with Verilator and using riscv-pk just to verify I could cross compile into RISC-V but my intuition is that I'm going to need a kernel with a scheduler of some kind in order to observe how two processes interact20:38
squelchAn RTOS was an option I've been considering20:40
squelchI was actually considering FreeRTOS20:40
*** emeb has left #tomu21:00
*** xantoz_ has joined #tomu21:07
squelchSo. Following the workshop guide for Fomu, I've interacted with the micropython shell successfully but Wishbone tosses me an error.21:15
squelchERROR [wishbone_tool::bridge::usb] unable to open usb device: NotSupported21:16
*** alexhw has quit IRC21:19
*** thaytan has quit IRC21:19
*** Yatekii has quit IRC21:19
*** Vercas has quit IRC21:19
*** techman83 has quit IRC21:19
*** coderobe has quit IRC21:19
*** xantoz has quit IRC21:19
*** _stew_ has quit IRC21:19
*** MadHacker has quit IRC21:19
*** MadHacker has joined #tomu21:27
*** CarlFK has quit IRC21:30
*** whatnick_ has joined #tomu21:40
*** whatnick has quit IRC21:43
*** alexhw has joined #tomu22:03
*** thaytan has joined #tomu22:03
*** Yatekii has joined #tomu22:03
*** Vercas has joined #tomu22:03
*** techman83 has joined #tomu22:03
*** coderobe has joined #tomu22:03
*** _stew_ has joined #tomu22:03
*** rohitksingh has joined #tomu22:17
*** rohitksingh has quit IRC22:54
*** rohitksingh has joined #tomu23:01
*** rohitksingh has quit IRC23:45

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!