Re: [9fans] Trying to make 9front work on QWERTZ

2019-07-25 Thread Rodrigo G . López
i have a qwertz but i use it with the us layout (any other layout sucks for programming). i think you can change the layout with kbmap(1), and set it to de or whatever, although i don't have a 9 machine with me right now so can't tell for sure. if the default map doesn't work, read it, ask on #cat

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread cinap_lenrek
i just commited everything i got for the raspberry pi 4. sorry that this took so long. i was trying to get the ethernet reliable but this has some bizzare issue that i was unable to resolve. http://code.9front.org/hg/plan9front/rev/889b634159e5 http://code.9front.org/hg/plan9front/rev/55d93e47a2d

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread Richard Miller
Thanks, I'll take a look at this. Have you seen any pi4 h/w docs or have you been working just from linux drivers? I've been stalled on getting ether4330 to initialise. Putting some coherence() calls into emmc.c helped (I don't like out-of-order cpus) but I keep getting spurious interrupt 1023 f

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread cinap_lenrek
> Thanks, I'll take a look at this. Have you seen any pi4 h/w docs > or have you been working just from linux drivers? no, i wish. only reading linux source and deciphering device tree mazes. :( > I've been stalled on getting ether4330 to initialise. Putting > some coherence() calls into emmc.c

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread Richard Miller
> no, i wish. only reading linux source and deciphering device tree > mazes. :( Supposedly a h/w manual is being edited now. > i think theres a bug with the dma code tho. you actually need to > invalidate caches *AFTER* the hw completed because the > core can speculatively prefetch memory and bri

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread Richard Miller
> Your dmaflush then calls cachedwbse Sorry I meant cachdwbinvse !

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread cinap_lenrek
> Your dmaflush code doesn't look to me like it will do the right > thing if the dma buffer isn't cache aligned. (Could this ever be > the case in the 9front kernel?) Suppose dma starts, cpu prefetches > some old data into the cache line overlapping the start of the dma > buffer, then dma complete

[9fans] 5c bug

2019-07-25 Thread Steve Simon
Hi, I traced a long standing cifs issue to 5c the compiler. The code in lib9p to validate wstat calls uses a neat bit of casting which fails when using 5c. /sys/src/lib9p/srv.c:658-669 These following lines missfire reporting type or qid change when trying to rename files over cifs. if

Re: [9fans] Trying to make 9front work on QWERTZ

2019-07-25 Thread Jens K. Loewe
I tried using kbmap (which is not that easy without < and > on the keyboard), but the key still has no function for me. Weird, honestly. :-/ Thank you for the information that a 9front mailing list exists. I may want to look for that, although I guess that most of them are here as well. > Am 25

Re: [9fans] Raspberry Pi 4

2019-07-25 Thread cinap_lenrek
arrg! and i forgot the clean BEFORE the issuing dma. -- cinap

Re: [9fans] 5c bug

2019-07-25 Thread Charles Forsyth
5c shouldn't discard the cast, which implies a mask, but you should also rewrite the code as you suggest. (it's not just 5c, since it's the same for several other RISCy ones.) On Thu, Jul 25, 2019 at 12:20 PM Steve Simon wrote: > Hi, > > I traced a long standing cifs issue to 5c the compiler. >

Re: [9fans] question re acme and plumber

2019-07-25 Thread James A. Robinson
Thanks, I stopped digging after that and just added a shell script wrapper to reformat the lines in question ¯\_(ツ)_/¯ $ cat ~/bin/mvn #!/bin/sh /usr/local/bin/mvn "$@" | sed 's!\.java:\[\([0-9]*\),[0-9]*\]!.java:\1!g'; On Wed, Jul 24, 2019 at 2:19 PM Ole-Hjalmar Kristensen wrote: > > I think th

Re: [9fans] Git/fs: Possibly Usable

2019-07-25 Thread Ori Bernstein
On Sun, 21 Jul 2019 16:06:54 -0500 clue...@tonymendoza.us wrote: > Thanks Ori! > > I pulled it down today and started using it against a few GitHub repos I > have. For those who are thinking about using it, it only uses 'git' and > 'git+ssh' style URLs, but they work so far without incident.

Re: [9fans] Trying to make 9front work on QWERTZ

2019-07-25 Thread Lucio De Re
On 7/25/19, Jens K. Loewe wrote: > I tried using kbmap (which is not that easy without < and > on the > keyboard), but the key still has no function for me. Weird, honestly. :-/ > Legacy Plan 9, with /dev/kbmap device driver, uses F11 and F12 to trigger monitoring keystrokes. Maybe that will help

[9fans] Plan 9 C compiler for Xtensa CPUs

2019-07-25 Thread Cyber Fonic
I was reading the post Why Didn't Plan 9 Succeed on Hacker News. Made me think that Plan 9 for IoT system of systems could be viable. To that end, ESP-32 modules look capable enough to run Plan 9, but is there a Plan 9 C compiler for Xtensa ISA CPUs