*** tpb has joined #tomu | 00:00 | |
xobs | kevans91: It was a personal token with "repo" permission. | 00:44 |
---|---|---|
xobs | st-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 #tomu | 00:45 | |
xobs | Also, 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 IRC | 00:45 | |
*** whatnic29 has joined #tomu | 00:46 | |
*** whatnick_ has quit IRC | 00:48 | |
*** emeb has left #tomu | 01:57 | |
*** whatnic29 has quit IRC | 01:59 | |
*** whatnick has joined #tomu | 02:04 | |
*** whatnick has quit IRC | 02:14 | |
*** whatnick has joined #tomu | 02:17 | |
kevans91 | xobs: perfect, thanks- | 02:21 |
kevans91 | it's a bit annoying how long it takes to install the rust pkg on freebsd | 02:21 |
kevans91 | Under GCE, at least | 02:21 |
kevans91 | xobs: 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 well | 03:26 |
tpb | Title: Cirrus CI (at cirrus-ci.com) | 03:26 |
kevans91 | all I've managed to do so far was swap out the api keys for one I just generated | 03:26 |
*** rohitksingh has joined #tomu | 03:27 | |
kevans91 | and it is indeed available here now: https://github.com/kevans91/wishbone-utils/releases | 03:27 |
tpb | Title: Releases · kevans91/wishbone-utils · GitHub (at github.com) | 03:27 |
xobs | Well, if you like you can give me your changes and I can try it in the main repo. | 03:33 |
kevans91 | The 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 out | 03:34 |
kevans91 | https://github.com/kevans91/wishbone-utils/commit/7e51b8b87f7a5b210583b34bfb861d9c73cda216 | 03:34 |
tpb | Title: Switch token to mine · kevans91/wishbone-utils@7e51b8b · GitHub (at github.com) | 03:34 |
daurnimator | So now that I have a FOMU and the ability to write stuff for it.... what on earth should I do with it? :P | 03:39 |
CarlFK | patch the boot loader to ... um.. do fail safe thing when something something | 03:42 |
xobs | kevans91: freebsd looks like it's working now, yay! | 04:58 |
kevans91 | \o/ | 05:05 |
kevans91 | Thanks again! | 05:05 |
mithro | daurnimator: Have you done the workshop? | 05:10 |
*** whatnick has quit IRC | 05:11 | |
daurnimator | mithro: almost got the blink working (had a red fade instead). But 90% of the way I think | 05:12 |
*** whatnick_ has joined #tomu | 05:13 | |
mithro | daurnimator: Rust? https://workshop.fomu.im/en/latest/riscv.html#using-rust | 05:14 |
daurnimator | mithro: zig. https://github.com/im-tomu/fomu-workshop/pull/140 | 05:14 |
tpb | Title: Add zig example by daurnimator · Pull Request #140 · im-tomu/fomu-workshop · GitHub (at github.com) | 05:14 |
mithro | daurnimator: Ahh your the zig person | 05:15 |
daurnimator | mithro: yep. you gave me the FOMU :) | 05:15 |
mithro | daurnimator: Never heard of it before | 05:16 |
daurnimator | mithro: thoughts on the code you see there in the PR? | 05:16 |
*** rohitksingh has quit IRC | 05:19 | |
*** CarlFK has quit IRC | 05:19 | |
mithro | daurnimator: You probably want to do a set of generic csr accessor functions and autogenerate the register set from the csr.csv file | 05:24 |
daurnimator | Yeah I didn't find out that it was in some machine readable format until *after* I wrote out most of those modules | 05:24 |
mithro | daurnimator: https://github.com/enjoy-digital/litex/pull/339/files | 05:25 |
tpb | Title: CSR Improvements and Cleanup by gsomlo · Pull Request #339 · enjoy-digital/litex · GitHub (at github.com) | 05:26 |
mithro | daurnimator: and https://github.com/enjoy-digital/litex/issues/314 | 05:28 |
tpb | Title: We need to document LiteX CSRs! · Issue #314 · enjoy-digital/litex · GitHub (at github.com) | 05:28 |
daurnimator | mithro: I also saw something called "svd2rust"? how does that relate | 05:28 |
*** ppisati has quit IRC | 05:28 | |
mithro | daurnimator: There is something which goes csr.csv to svd I think | 05:28 |
mithro | xobs will know | 05:28 |
xobs | daurnimator: 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 |
daurnimator | What *is* svd? I'm not familiar with the format | 05:30 |
daurnimator | And is everything in there also present in the csv file? | 05:31 |
mithro | http://www.keil.com/pack/doc/CMSIS/SVD/html/index.html | 05:31 |
daurnimator | eek, XML | 05:32 |
xobs | I'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 |
mithro | xobs: Any reason we don't just add svd generation to litex for everything normally? | 05:33 |
xobs | mithro: no reason other than its complicated. We could merge lxsocdoc if you want that. | 05:34 |
*** ppisati has joined #tomu | 05:35 | |
mithro | Does it fall back sensibly when no extra lxsocdoc stuff is there? | 05:35 |
xobs | Yeah. For actual documentation you get things like http://rm.fomu.im/ctrl.html since the ctrl block is currently completely undocumented. | 05:41 |
tpb | Title: CTRL Fomu Bootloader documentation (at rm.fomu.im) | 05:41 |
*** whatnick_ has quit IRC | 06:12 | |
*** whatnick has joined #tomu | 06:13 | |
*** CarlFK has joined #tomu | 06:39 | |
*** futarisIRCcloud has joined #tomu | 07:16 | |
*** dontrash[m] has quit IRC | 07:59 | |
*** manf[m] has quit IRC | 07:59 | |
*** synaption[m] has quit IRC | 07:59 | |
*** tannewt has quit IRC | 07:59 | |
*** ukembedded has quit IRC | 07:59 | |
*** johnhmay has quit IRC | 07:59 | |
*** evelyn has quit IRC | 07:59 | |
*** leons has quit IRC | 08:00 | |
*** alexhw[m] has quit IRC | 08:00 | |
*** chrissi^ has quit IRC | 08:00 | |
*** olasd has quit IRC | 08:00 | |
*** ssb has quit IRC | 08:00 | |
*** part has quit IRC | 08:00 | |
*** bunnie[m] has quit IRC | 08:00 | |
*** EmilKarlson has quit IRC | 08:00 | |
*** felix_ has quit IRC | 08:00 | |
*** flokli has quit IRC | 08:00 | |
*** pinoaffe has quit IRC | 08:00 | |
*** bjonnh has quit IRC | 08:00 | |
*** xobs has quit IRC | 08:02 | |
*** tmarble2 has quit IRC | 08:02 | |
*** whatnick has quit IRC | 08:02 | |
*** jesse_m[m] has quit IRC | 08:02 | |
*** jimt[m] has quit IRC | 08:02 | |
*** cdmatter has quit IRC | 08:02 | |
*** thaytan has quit IRC | 08:03 | |
*** tiwalun has quit IRC | 08:03 | |
*** nrossi has quit IRC | 08:03 | |
*** cdmatter has joined #tomu | 08:03 | |
*** foosinn[m] has quit IRC | 08:03 | |
*** kaeso[m] has quit IRC | 08:03 | |
*** pinoaffe has joined #tomu | 08:04 | |
*** flokli has joined #tomu | 08:04 | |
*** felix_ has joined #tomu | 08:04 | |
*** bjonnh has joined #tomu | 08:04 | |
*** thaytan has joined #tomu | 08:04 | |
*** im-tomu has left #tomu | 08:12 | |
*** im-tomu has joined #tomu | 08:12 | |
*** im-tomu has left #tomu | 08:19 | |
*** im-tomu has joined #tomu | 08:19 | |
*** im-tomu has left #tomu | 08:20 | |
*** im-tomu has joined #tomu | 08:20 | |
*** tannewt has joined #tomu | 08:46 | |
*** ukembedded has joined #tomu | 08:46 | |
*** johnhmay has joined #tomu | 08:46 | |
*** evelyn has joined #tomu | 08:46 | |
*** chrissi^ has joined #tomu | 08:46 | |
*** olasd has joined #tomu | 08:46 | |
*** ssb has joined #tomu | 08:46 | |
*** part has joined #tomu | 08:46 | |
*** whatnick has joined #tomu | 08:55 | |
*** wrtlprnft has quit IRC | 09:54 | |
*** wrtlprnft has joined #tomu | 09:54 | |
*** alexhw has quit IRC | 11:03 | |
*** im-tomu has left #tomu | 11:10 | |
*** im-tomu has joined #tomu | 11:10 | |
*** Hunter has joined #tomu | 11:12 | |
*** im-tomu has left #tomu | 11:16 | |
*** im-tomu has joined #tomu | 11:17 | |
*** im-tomu has left #tomu | 11:38 | |
*** im-tomu has joined #tomu | 11:38 | |
*** whatnick has quit IRC | 11:47 | |
*** Hunter has quit IRC | 11:47 | |
*** whatnick has joined #tomu | 11:47 | |
*** promach3 has joined #tomu | 11:50 | |
*** jesse_m[m] has joined #tomu | 11:50 | |
*** david-sawatzke[m has joined #tomu | 11:50 | |
*** foosinn[m] has joined #tomu | 11:50 | |
*** leons has joined #tomu | 11:50 | |
*** EmilKarlson has joined #tomu | 11:50 | |
*** xobs has joined #tomu | 11:50 | |
*** kaeso[m] has joined #tomu | 11:50 | |
*** tiwalun has joined #tomu | 11:50 | |
*** jimt[m] has joined #tomu | 11:50 | |
*** manf[m] has joined #tomu | 11:50 | |
*** dontrash[m] has joined #tomu | 11:50 | |
*** tmarble2 has joined #tomu | 11:50 | |
*** bunnie[m] has joined #tomu | 11:50 | |
*** alexhw[m] has joined #tomu | 11:50 | |
*** synaption[m] has joined #tomu | 11:50 | |
*** nrossi has joined #tomu | 11:50 | |
*** im-tomu has left #tomu | 12:01 | |
*** im-tomu has joined #tomu | 12:01 | |
*** im-tomu has left #tomu | 13:05 | |
*** im-tomu has joined #tomu | 13:06 | |
st-gourichon-f | Thanks xobs for your hints. | 13:50 |
st-gourichon-f | (yesterday) | 13:50 |
*** xkapastel has joined #tomu | 14:07 | |
*** im-tomu has left #tomu | 14:16 | |
*** im-tomu has joined #tomu | 14:16 | |
*** im-tomu has left #tomu | 14:47 | |
*** im-tomu has joined #tomu | 14:47 | |
*** im-tomu has left #tomu | 15:02 | |
*** im-tomu has joined #tomu | 15:02 | |
*** cdmatter has quit IRC | 15:08 | |
*** cdmatter has joined #tomu | 15:08 | |
*** emeb has joined #tomu | 15:34 | |
*** im-tomu has left #tomu | 15:40 | |
*** im-tomu has joined #tomu | 15:41 | |
*** alexhw has joined #tomu | 15:43 | |
*** rohitksingh has joined #tomu | 15:43 | |
*** im-tomu has left #tomu | 15:49 | |
*** im-tomu has joined #tomu | 15:50 | |
*** im-tomu has left #tomu | 16:26 | |
*** im-tomu has joined #tomu | 16:26 | |
*** TheJJ has quit IRC | 16:39 | |
*** TheJJ has joined #tomu | 16:40 | |
*** rohitksingh has quit IRC | 16:51 | |
*** FxPape has quit IRC | 16:54 | |
*** xkapastel has quit IRC | 16:57 | |
*** rohitksingh has joined #tomu | 17:10 | |
*** FxPape has joined #tomu | 18:05 | |
*** rohitksingh has quit IRC | 18:08 | |
*** rohitksingh has joined #tomu | 19:13 | |
*** rohitksingh has quit IRC | 19:24 | |
*** rohitksingh has joined #tomu | 19:37 | |
*** squelch_ has joined #tomu | 20: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 |
tnt | Tomu ? You mean Fomu right ? | 20:07 |
tnt | And 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 squelch | 20:11 | |
*** rohitksingh has quit IRC | 20:21 | |
*** whatnick_ has joined #tomu | 20:25 | |
daveshah | Probably about 2 orders of magnitude too small for BOOM | 20:26 |
squelch | I suppose I have a Zedboard for when I'm ready to get bigger. | 20:27 |
squelch | Will it work for running a stripped down kernel? | 20:27 |
daveshah | What device? The Zedboard could manage Rocket, but not BOOM | 20:28 |
*** whatnick has quit IRC | 20:28 | |
squelch | Even a smaller BOOM? | 20:28 |
squelch | CS-FOMU-01 | 20:28 |
daveshah | No | 20:28 |
squelch | Sorry if these are new guy-ish questions, I don't exactly have a lot of expert guidance around me :( | 20:29 |
daveshah | Right its important to get feel for the orders of magnitude here | 20:30 |
squelch | My 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 |
squelch | It's a master's thesis project. Feels like a lot to bite off and chew, but here I am. | 20:31 |
daveshah | There might be some simpler out of order cores that could fit on a Zedboard | 20:31 |
daveshah | A fomu is going to be 32 bit in order only, realistically | 20:32 |
squelch | It 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 IRC | 20:34 | |
*** whatnick has joined #tomu | 20:34 | |
daveshah | You could use a simulator like Verilator, it would be slow but fine if you don't need an OS | 20:37 |
squelch | To do sidechannel / covert channel experiments you need to run two processes to characterize the channel. | 20:37 |
daveshah | You could start with something lightweight like Zephyr | 20:38 |
squelch | I 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 interact | 20:38 |
squelch | An RTOS was an option I've been considering | 20:40 |
squelch | I was actually considering FreeRTOS | 20:40 |
*** emeb has left #tomu | 21:00 | |
*** xantoz_ has joined #tomu | 21:07 | |
squelch | So. Following the workshop guide for Fomu, I've interacted with the micropython shell successfully but Wishbone tosses me an error. | 21:15 |
squelch | ERROR [wishbone_tool::bridge::usb] unable to open usb device: NotSupported | 21:16 |
*** alexhw has quit IRC | 21:19 | |
*** thaytan has quit IRC | 21:19 | |
*** Yatekii has quit IRC | 21:19 | |
*** Vercas has quit IRC | 21:19 | |
*** techman83 has quit IRC | 21:19 | |
*** coderobe has quit IRC | 21:19 | |
*** xantoz has quit IRC | 21:19 | |
*** _stew_ has quit IRC | 21:19 | |
*** MadHacker has quit IRC | 21:19 | |
*** MadHacker has joined #tomu | 21:27 | |
*** CarlFK has quit IRC | 21:30 | |
*** whatnick_ has joined #tomu | 21:40 | |
*** whatnick has quit IRC | 21:43 | |
*** alexhw has joined #tomu | 22:03 | |
*** thaytan has joined #tomu | 22:03 | |
*** Yatekii has joined #tomu | 22:03 | |
*** Vercas has joined #tomu | 22:03 | |
*** techman83 has joined #tomu | 22:03 | |
*** coderobe has joined #tomu | 22:03 | |
*** _stew_ has joined #tomu | 22:03 | |
*** rohitksingh has joined #tomu | 22:17 | |
*** rohitksingh has quit IRC | 22:54 | |
*** rohitksingh has joined #tomu | 23:01 | |
*** rohitksingh has quit IRC | 23:45 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!