Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image

2016-10-27 Thread Chris McGee
I was thinking about this myself. I'm more in favour of a script that downloads 
the go source and compiles it since it seems to be more in the spirit of plan9.

The trouble is that Go has made it harder to do now that you have to have an 
n-1 version of Go to compile n. This started with 1.5 but 1.5 doesn't seem to 
compile or run well on plan9.

Maybe a compromise would be to have tbz binaries for 1.7 and a script that 
takes them and uses it to compile a fresh copy from sources and cleans up the 
bootstrap. Otherwise, you need to cross compile from another OS. Yuck.

Chris

> On Oct 27, 2016, at 12:26 PM, Marshall Conover  wrote:
> 
> Hi All!
> 
>I compiled a Go binary for use on Richard Miller's raspberry pi image in 
> contrib (thanks for that Richard, by the way). I threw up a link to the 
> binary in a previous email a week or two ago, but I think that email got spam 
> filtered, so I won't link it again - but, is there a good place to make this 
> available for ease-of-use? Woudl've been nice to just hget a tgz and extract 
> it when I was getting things up and running the other day, instead of getting 
> go set up on my linux box, compiling it, setting the final_goroot, etc. 
> Richard, if you're comfortable with it, I could pass it to you to throw up on 
> your contrib.
> 
> Thanks!
> 
> Marshall


[9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image

2016-10-27 Thread Marshall Conover
Hi All!

   I compiled a Go binary for use on Richard Miller's raspberry pi image in
contrib (thanks for that Richard, by the way). I threw up a link to the
binary in a previous email a week or two ago, but I think that email got
spam filtered, so I won't link it again - but, is there a good place to
make this available for ease-of-use? Woudl've been nice to just hget a tgz
and extract it when I was getting things up and running the other day,
instead of getting go set up on my linux box, compiling it, setting the
final_goroot, etc. Richard, if you're comfortable with it, I could pass it
to you to throw up on your contrib.

Thanks!

Marshall


[9fans] usb serial on raspberry pi (again)

2016-10-27 Thread Steve Simon
Hi,

I have upgraded my pi desktop to a 3 which is noticable faster.

I am using Richard's pi image which as usual works perfectly, but for one 
wrinkle.
I cannot get the usb serial interfaces we use to work. I have never managed to 
get
usb serial adapters to work with the raspberry pi, though never had problems on 
x86 boxen.

The device I have to use (it is integrated into our gear) identifies itself as:
255 csp 0xff vid 0x10c4 did 0xea60 'Silicon Labs' 'CP2102 USB to 
UART Bridge Controller' dwcotg
ep6.1 enabled bulk rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 
hub 2 port 4 busy

and is set up with:

b115200 c0 d0 e0 l8 m0 pn r0 s1 i0 
dev(0) type(0)  framing(0) overruns(0) berr(0)  serr(0)

Text into the pi works fine, but outgoing text seems stalled until text is 
received,
I can type ahead and when I receive data the queued outgoing data is sent.

does this ring any bells with anyone?
any suggestions where to look in the usb serial code?

-Steve