[9fans] usb9pfs: network booting without the network

2025-02-10 Thread David Boddie
In Plan 9 adjacent territory, this talk came to my attention recently but the video recording didn't appear until today, I think: https://fosdem.org/2025/schedule/event/fosdem-2025-6103-usb9pfs-network-booting-without-the-network/ Doing 9p over USB is interesting, though I would have considered u

[9fans] IWP9 slides and materials

2024-04-23 Thread David Boddie
I wasn't able to push my IWP9 slides to GitHub until late last week, so here they are for those who are interested: https://github.com/dboddie/inferno-cortex-m-paper The slides and paper from the previous year are also available: https://github.com/dboddie/inferno-freeze-slides David ---

Re: [9fans] Plan 9 C compiler for Xtensa CPUs

2023-12-04 Thread David Boddie
On Sat, 10 Aug 2019 16:18:16 +, Charles Forsyth wrote: I haven't had a lot of spare time, but I did the assembler and am about 3/4 through the loader. For the most part it's a straightforward RISC. Might do the disassembler next to help debug the rest, and finally the compiler. Did you ge

Re: [9fans] Thumb compiler oddity

2023-10-11 Thread David Boddie
On Mon Oct 02 09:07:41 2023, Richard Miller wrote: > > In the meantime, I turned off "registerization" for files that could > > potentially have similar code. > > If you want a more targeted workaround without a performance cost, > in the example you posted you can force the compiler to reload th

Re: [9fans] Thumb compiler oddity

2023-10-01 Thread David Boddie
On Wed, 27 Sep 2023 13:32:17 +0100, Richard Miller wrote: Is the problem with the compiler or with the C code? It's a compiler error. The function mkvar() in reg.c is keeping track of unique variables without taking address aliasing into account. Thanks for the diagnosis. I'll dig into the p

[9fans] Thumb compiler oddity

2023-09-24 Thread David Boddie
I'm using the Inferno Thumb compiler, tc, to compile Inferno (unsurprisingly) and encountered a problem. Since 9front appears to have the same compiler, I thought that I should mention it on both 9fans and Inferno mailing lists. The problem is with the libmath/fdlibm/e_exp.c when compiled using tc

Re: [9fans] building blocks speaking 9p

2022-01-29 Thread David Boddie
I've pushed some code to a git repository: https://gitlab.com/dboddie/bare-metal-stm32f405 I'll write more about it as I tidy it up. David On Saturday, 29 January 2022 03:08:31 CET David Boddie wrote: > On Saturday, 29 January 2022 02:04:18 CET Lyndon Nerenberg (VE7TFX/VE6BB

Re: [9fans] building blocks speaking 9p

2022-01-28 Thread David Boddie
On Saturday, 29 January 2022 02:04:18 CET Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > da...@boddie.org.uk writes: > > I am using 5a/tc/tl to build bare metal code for a STM32F405 MCU thanks > > to some hints from Charles Forsyth. > > Could you post some notes on how you're doing that? This is some

Re: [9fans] building blocks speaking 9p

2022-01-28 Thread David Boddie
I'll try and write something useful about it this weekend, and I'll push a branch up to BitBucket/GitLab: https://bitbucket.org/dboddie/inferno-os/branches/ https://gitlab.com/dboddie/inferno-os/-/branches However, it basically boils down to this: * Build Inferno's tc and tl since they are