Sender | Message | Time |
---|---|---|
24 Apr 2024 | ||
Daniel aka CyReVolt 🐢 | Alright, you can try out what's currently in the repo.
| 23:01:02 |
Daniel aka CyReVolt 🐢 | https://github.com/orangecms/sg_boot this | 23:01:31 |
Daniel aka CyReVolt 🐢 | for verbosity:
| 23:02:36 |
25 Apr 2024 | ||
sorear | In reply to @olku:matrix.orgthe implication is that between step 1 and 2 you migrate to a different hart, since these instructions are for when guests migrate. you could in principle migrate a guest to the same hart with a different VGEIN, but there's no real reason to do that | 00:49:07 |
sorear | the instructions apply everywhere, some instructions have to apply to the old interrupt file, some to the new | 00:50:03 |
Bruce Hoult | In reply to @CyReVolt:matrix.orgWhat’s the status on the original Duo? | 03:36:39 |
Daniel aka CyReVolt 🐢 | In reply to @telegram_512728571:t2bot.io I've figured that one could trigger its fallback to the mask ROM loader by shorting the pads that would hold the second button on the IO board. The SoC is very similar, so the same code may already run; I just need to compare the SRAM and UART base addresses, will then do a test later. I have figured out the header format now for creating a bootable image. Will adjust the tool over the next days to get rid of fixtures, then we can use it to load arbitrary binaries on either SoC, i.e. iteratetively develop the actual code. :) | 07:16:51 |
Daniel aka CyReVolt 🐢 | Download 1000013662.jpg | 07:17:35 |
Daniel aka CyReVolt 🐢 | See the pads here on the top left next to the hole, those three in a row - the middle one plus either side (GND | trigger | GND). | 07:19:25 |
Daniel aka CyReVolt 🐢 | A little help from a screwdriver 🪛 does that job. Otherwise, without the IO board, pulling the second ADC pin high with a resistor to 3V should also do. | 07:21:30 |
Daniel aka CyReVolt 🐢 | I'd happily pay 2 more cents or whatever to have that button. No idea why the left it out. Obtaining one of those turns out to be a pain in the gut here. | 07:23:57 |
olku | In reply to @sorear:matrix.orgdo you mean that I have to send an IPI to a hart to which guest cpu is migrated to? But then it would be needed to do another one IPI to old hart ( because in the step 4 it is mentioned that it is needed to some things related to old interrupt file ) | 08:17:04 |
olku | In reply to @sorear:matrix.orgbut to access EIDELIVERY for example, I have to be on IMSIC's hart of which i want to read/write EIDELIVERY. sounds like that it should be a mechanism how to get to another hart do something and back to old hart. | 08:19:15 |
Daniel aka CyReVolt 🐢 | In reply to @CyReVolt:matrix.orgwell 5V, sorry, see https://community.milkv.io/t/milk-v-duo-nandflash-usb/1423 | 08:33:56 |
Daniel aka CyReVolt 🐢 | Transferring code to the CVITek 1800B worked with my tool. There was no output on the UART though. I'll see if the SRAM address is different, which isn't described in the manual. UART0 seems to have the same base address per the manual. | 08:36:31 |
Daniel aka CyReVolt 🐢 | By no output I mean not after code transfer. The mask ROM loader itself prints stuff as usual, and then stops after said transfer. That is expected, and then I should see my own output. I'll add some stupid initial prints in ASM that do not rely on data locations, just to make sure it really runs. But that's for later. :) | 08:38:29 |
Daniel aka CyReVolt 🐢 |
| 08:50:02 |
Daniel aka CyReVolt 🐢 | aha aha - 0x3BC00000 - neither "VC RAM" nor that address is mentioned in the manual | 08:50:41 |
Daniel aka CyReVolt 🐢 | THAT WORKS! VROOM VROOM! 🥳 | 09:10:13 |
Daniel aka CyReVolt 🐢 | Download 1000013701.jpg | 09:34:51 |
Alpha_nl joined the room. | 09:53:16 | |
Alpha_nl | Доброго времени суток Есть (моя) небольшая программа на C#, примерно 500 строк Ищу специалиста кто поможет переложить её на RISK-V. И оттестировать хотя бы в эмуляторе. Сейчас ищу кто сможет это сделать. Оплата поэтапно. Вопросы в личку . | 09:52:08 |
rkv 🌱 | In reply to @telegram_425741966:t2bot.ioYo buddy, seems like you want to use C# on RISC-V. Please LMK how it goes if you succeed. | 12:12:40 |
Daniel aka CyReVolt 🐢 | There is an RVI session in 25 minutes with Mark Himelstein on the history of RV profiles: https://community.riscv.org/events/details/risc-v-international-risc-v-synergy-forums-technical-talks-and-webinars-presents-risc-v-technical-session-profiles-a-historical-perspective/ | 13:35:17 |
Daniel aka CyReVolt 🐢 | In reply to @CyReVolt:matrix.orgAlso put insulation tape on the USB test pins at the bottom of the Duo board, because the pogo pins on the IO board attaching to them are routed to a USB hub for the 4 ports, and that causes collisions with USB loader mode. | 15:09:02 |
sorear | In reply to @olku:matrix.orgthat sounds like a viable approach, I think in many hypervisor designs it's possible to do steps 2 early and part of 1 as 4 but the recommended steps will work always | 15:21:36 |
sorear | In reply to @olku:matrix.orgyes? like any other hart register, it's local and you need to use an IPI or something similar. there's no hardware mechanism for forcing another hart to save its float or vector registers or do a sfence.vma | 15:23:33 |
olku | In reply to @sorear:matrix.orgyeah, i just wanted to be sure that I am not missing something. thanks | 15:24:20 |
Minimaul 🇺🇸🔱🌐 changed their profile picture. | 19:45:17 | |
Daniel aka CyReVolt 🐢 | In reply to @CyReVolt:matrix.org Alright, the tool is now flexible so you can run your own code. For Duo 256M and Duo S:
For older Duo:
or provide your own binary :) | 21:46:21 |