Re: [9fans] Pi updates
Cool! Thank you. -Skip > A few months ago I brought up the question of small > platforms suitable for a course on small/embedded > computing. If you recall the conversation, with input > from the collective wisdom, I decided to use the Pi. > At that time several people asked if I could share > any results from the course that I'm able to. I've > finally finished putting some of it together in a form > that's useful. In > > /n/sources/contrib/blstuart/pi/ ... > http://cs.drexel.edu/~bls96/plan9/pi/ ... > > are a collection of changes with all the changes > collected into a tarball: > > /n/sources/contrib/blstuart/pi.tgz > http://cs.drexel.edu/~bls96/plan9/pi.tgz > > The changes include: > - Richard's post 9pi.img changes on contrib > - I2C and SPI contributions from Steve Simon with the > I2C support ported from Inferno > - Enhancements for I2C and SPI > - Devgpio driver > - Man pages for I2C, SPI, and GPIO > - Support for a 320x480 SPI TFT display > - Enhancements to the USB keyboard support to handle > the Rii k12 keyboard/trackpad combination > > I've also posted a little video (apologies in advance for > the quality, or lack thereof) of a Pi with the TFT screen > and k12 keyboard controlling a PiBog vehicle my wife > gave me for Christmas: > > http://cs.drexel.edu/~bls96/plan9/robot9.mp4 > > I'll look into making the slides I used in the lecture > available if there's interest. > > There are some rough edges, but hopefully it might be > useful to some. > > BLS
[9fans] Venti problem on sources
I would like to report the following: tar: dirreadall steve/root/sys/lib/texmf/fonts/pk/ljfour/unihan: venti i/o error or wrong score, block 447265754f80cb7ed8f104a82c3255718ba007bb which seems to point to a sources disk error (/n/sources/contrib/...).. I am shutting the workstation down and thought I'd better make a record of the problem before it's lost. Lucio.
Re: [9fans] Pi updates
Wow, that’s amazing timing. I was reading about SPI on the Pi, considering getting one of those TFT displays, closed the window to head to bed, and there’s your message. This is super useful, thanks. And yes, I’d be interested in seeing your slides, although you’ve already given me enough to keep my busy for a bit. Anthony
[9fans] Pi updates
A few months ago I brought up the question of small platforms suitable for a course on small/embedded computing. If you recall the conversation, with input from the collective wisdom, I decided to use the Pi. At that time several people asked if I could share any results from the course that I'm able to. I've finally finished putting some of it together in a form that's useful. In /n/sources/contrib/blstuart/pi/ ... http://cs.drexel.edu/~bls96/plan9/pi/ ... are a collection of changes with all the changes collected into a tarball: /n/sources/contrib/blstuart/pi.tgz http://cs.drexel.edu/~bls96/plan9/pi.tgz The changes include: - Richard's post 9pi.img changes on contrib - I2C and SPI contributions from Steve Simon with the I2C support ported from Inferno - Enhancements for I2C and SPI - Devgpio driver - Man pages for I2C, SPI, and GPIO - Support for a 320x480 SPI TFT display - Enhancements to the USB keyboard support to handle the Rii k12 keyboard/trackpad combination I've also posted a little video (apologies in advance for the quality, or lack thereof) of a Pi with the TFT screen and k12 keyboard controlling a PiBog vehicle my wife gave me for Christmas: http://cs.drexel.edu/~bls96/plan9/robot9.mp4 I'll look into making the slides I used in the lecture available if there's interest. There are some rough edges, but hopefully it might be useful to some. BLS
Re: [9fans] bug or feature ? --- ip/ping -6
arisawa once said: > is this a feature or a bug? It looks like a bug to me. The code in /sys/src/cmd/ip/ping.c:/^isv4name is too clever for it's own good. Anthony
[9fans] bug or feature ? --- ip/ping -6
hello 9fans, I have once posted the message below to 9front mailing list. however looking the origin of the problem, now I think better place is 9fans. == message posted to 9front mailing list == I am feeling weird that ip/ping -6 does not ping to ipv6 address with /lib/ndb/local. # sys=io # ip=192.168.0.5 # ip=2402:6b00:22cd:bf80::5 # hebe% ip/ping -6a io sending 32 64 byte messages 1000 ms apart to icmpv6!io!1 2402:6b00:22cd:bf80::6 -> 192.168.0.5 0: 192.168.0.5 -> 192.168.0.6 rtt 104 µs, avg rtt 104 µs, ttl = 255 1: 192.168.0.5 -> 192.168.0.6 rtt 85 µs, avg rtt 94 µs, ttl = 255 2: 192.168.0.5 -> 192.168.0.6 rtt 85 µs, avg rtt 91 µs, ttl = 255 3: 192.168.0.5 -> 192.168.0.6 rtt 85 µs, avg rtt 89 µs, ttl = 255 this weirdness comes from the order of ip attributes. # sys=io # ip=2402:6b00:22cd:bf80::5 # ip=192.168.0.5 # hebe% ip/ping -6a io sending 32 64 byte messages 1000 ms apart to icmpv6!io!1 2402:6b00:22cd:bf80::6 -> 2402:6b00:22cd:bf80::5 0: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 102 µs, avg rtt 102 µs, ttl = 255 1: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 88 µs, avg rtt 95 µs, ttl = 255 2: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 84 µs, avg rtt 91 µs, ttl = 255 3: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 104 µs, avg rtt 94 µs, ttl = 255 is this a feature or a bug? Kenji Arisawa