Go to advanced search

by 9pi
Mon Dec 24, 2012 9:16 am
Forum: Plan 9
Topic: GPIO with Plan 9?
Replies: 3
Views: 15073

Re: GPIO with Plan 9?

Bakul Shah has been working on a gpio driver, which I hope will be available soon. I think it's safe to predict that access to gpio ports will be presented as a set of files - that's the Plan 9 Way.
by 9pi
Thu Dec 20, 2012 5:54 pm
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Re: Plan 9 available

... I don't know if I can update your/my 9pi images too from sources (I suppose P9 download the source code and not the binaries, and then it compiles it, am I right?) ,,, I don't know if your images are compiled with hard float support like Raspbian in order to improve raw performance. Do you know...
by 9pi
Thu Dec 20, 2012 4:57 pm
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Re: Plan 9 available

... it didn't recognize my keyboard or mouse. When did you download the image? The latest version (19 December) has some further usb keyboard / mouse corrections which might help. If not, I suggest editing your cmdline.txt file to remove the parameter 'user=glenda' and add the parameter 'kbargs=-d'...
by 9pi
Wed Dec 19, 2012 5:07 pm
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Re: Plan 9 available

...can you please explain to me the differences between the current versions and forks of Plan 9? ...And btw, since stock Plan 9 isn't dead and is still updated and rebuilded every day, what version did you use to build your Rpi port? 4th Edition as released in 2002? Current (and unstable) developm...
by 9pi
Tue Dec 18, 2012 4:29 pm
Forum: Plan 9
Topic: usb mouse error fixed
Replies: 11
Views: 16374

Re: usb mouse error fixed

I reverted all changes to stock from contrib and simply changed MaxChLen from 16 to 64 (in hid.h). Do you think something else might break because of that ? No, that won't break anything. The buffer should probably be allocated dynamically with the exact size of maxpkt, but your solution is simpler...
by 9pi
Mon Dec 17, 2012 10:19 am
Forum: Plan 9
Topic: usb mouse error fixed
Replies: 11
Views: 16374

Re: usb mouse error fixed

faisyl wrote:kb doesn't exit now - and I can use my keyboard.
Please could you let us know what you changed. Then I can update the driver in case others have similar keyboards.
by 9pi
Sat Dec 15, 2012 8:37 pm
Forum: Plan 9
Topic: usb mouse error fixed
Replies: 11
Views: 16374

Re: usb mouse error fixed

I tried to fix the source in /sys/src/cmd/usb/kb but the kernel seems to refer to some other code, since a recompile and a new message I added doesn't show up when I reboot with the new kernel. Anything I'm missing ? Some of the usb drivers (kb, ether and disk for example) are embedded in the usb d...
by 9pi
Fri Dec 14, 2012 10:09 am
Forum: Plan 9
Topic: usb mouse error fixed
Replies: 11
Views: 16374

usb mouse error fixed

I've put up a new 9pi kernel which corrects an error in the parsing of usb mouse reports in Plan 9. This version should work better with Logitech mice (and perhaps some others), and doesn't require the 'kbargs=-b' parameter in cmdline.txt . If anyone still has mouse problems after switching to this ...
by 9pi
Mon Dec 10, 2012 3:54 pm
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Re: Plan 9 available

skywalker wrote:
Hopefully we'll get an updated 'official' RasPi image soon.
I've put up a new 9pi.img.gz with the updated mouse driver. I haven't made "kbargs=-b" the default, because most users won't need it; if you do, you will still have to edit your cmdline.txt.
by 9pi
Sun Dec 09, 2012 8:17 pm
Forum: Other
Topic: has anyone ported Plan 9 or Inferno to RasPi?
Replies: 14
Views: 5515

Re: has anyone ported Plan 9 or Inferno to RasPi?

Just to finish up this thread - Plan 9 for Raspberry Pi is now available, and has its own section under Operating System Distributions in the forum. As for Inferno, it already runs "hosted" on top of linux on the Pi. Since the architecture-dependent base of native Inferno (drivers, memory management...
by 9pi
Fri Dec 07, 2012 12:05 am
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Re: Plan 9 available

its a RF one i think... its not bluetooth for sure... its a logitech m310 You could try asking in the usenet / google group comp.os.plan9 whether anyone has had experience with this type of mouse. The USB keyboard + mouse driver is the same on all Plan 9 platforms, so it's probably not specifically...
by 9pi
Thu Dec 06, 2012 11:29 pm
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Re: Plan 9 available

i just tried this but my wireless mouse is not working.... Do you know how your wireless mouse communicates with the Pi? If it's Bluetooth, then I'm sorry to say it won't work because Plan 9 has no official Bluetooth support yet. I have an experimental Bluetooth driver which works for some USB Blue...
by 9pi
Sun Dec 02, 2012 9:19 pm
Forum: Plan 9
Topic: Plan 9 available
Replies: 42
Views: 65586

Plan 9 available

Another alternative operating system is now available for the Raspberry Pi: Plan 9 from Bell Labs ( http://plan9.bell-labs.com/plan9 ). There's an installable image (about 144MB compressed) at http://plan9.bell-labs.com/sources/contrib/miller/9pi.img.gz – to try it, just gunzip to the start of a 2GB...
by 9pi
Mon Sep 10, 2012 5:58 pm
Forum: Other
Topic: has anyone ported Plan 9 or Inferno to RasPi?
Replies: 14
Views: 5515

Re: has anyone ported Plan 9 or Inferno to RasPi?

Still a work in progress. To be precise, there's no USB support yet, which means no keyboard and mouse, and no ethernet. (Unless you have an existing Plan 9 network, in which case you can import all these from another Plan 9 machine over a ppp connection via the serial port.) I could put together a...
by 9pi
Wed Sep 05, 2012 10:43 am
Forum: Bare metal, Assembly language
Topic: EMMC - can't get READ_RDY
Replies: 22
Views: 7703

Re: EMMC - can't get READ_RDY

Once you get your code fully working, a writeup of basic steps would be help full, no need for code, just basic steps. Thanks. It seems the problem was underestimating the subtlety of the READ_RDY interrupt. It doesn't mean "data is available in the read fifo", it means "there has been a transition...
by 9pi
Wed Sep 05, 2012 9:36 am
Forum: Bare metal, Assembly language
Topic: EMMC - can't get READ_RDY
Replies: 22
Views: 7703

Re: EMMC - can't get READ_RDY

Is there anything I'm missing in my initialization sequence or does anyone know of any pitfalls they ran into trying to get this setup? Initialisation - what I do is: - write Reset Host Controller to Control1, wait for bit to clear - after writing clock divisor to Control1, wait for Clock Stable bi...
by 9pi
Mon Aug 13, 2012 9:09 am
Forum: Bare metal, Assembly language
Topic: EMMC - can't get READ_RDY
Replies: 22
Views: 7703

Re: EMMC - can't get READ_RDY

There are a lot of errors in the datasheet see here: http://elinux.org/BCM2835_datasheet_errata As a side note are you using a memory read barrier ? Thanks, I've read the errata but there's nothing about EMMC there. Maybe I should add something? Strictly speaking, the armv6 doesn't have a memory re...
by 9pi
Sun Aug 12, 2012 7:10 pm
Forum: Bare metal, Assembly language
Topic: EMMC - can't get READ_RDY
Replies: 22
Views: 7703

Re: EMMC - can't get READ_RDY

Thanks for the pointers to source code. I prefer not to read linux source unless I'm really really desperate. And it turns out there is more to the RiscOS SD driver than just that bit of assembly - in cddl/RiscOS/Sources/HWSupport/SD/SDIODriver there's another 5681 lines of C source and headers. I d...
by 9pi
Sat Aug 11, 2012 8:21 pm
Forum: Bare metal, Assembly language
Topic: EMMC - can't get READ_RDY
Replies: 22
Views: 7703

Re: EMMC - can't get READ_RDY

DexOS wrote:I have not looked into this myself, but did noticed some low level SD/MMC code in the PI's RiscOS port.
Thanks - where can I find the source code?
by 9pi
Sat Aug 11, 2012 7:19 pm
Forum: Bare metal, Assembly language
Topic: EMMC - can't get READ_RDY
Replies: 22
Views: 7703

EMMC - can't get READ_RDY

I'm writing a driver for the SD/MMC host interface, working from information in the BCM2835 datasheet and the official SD card "simplified specifications". I'm able to set up the card, fetch the CID and CSD registers, and select it into transfer state. I issue commands SET_BLOCKLEN(512) and READ_SIN...
by 9pi
Sat Aug 11, 2012 6:49 pm
Forum: Other
Topic: has anyone ported Plan 9 or Inferno to RasPi?
Replies: 14
Views: 5515

Re: has anyone ported Plan 9 or Inferno to RasPi?

Yes, I have Plan 9 running on raspberry pi, including drivers for the reasonably documented hardware devices - timers, uart, video framebuffer (unaccelerated). Currently struggling with SD card driver - it is able to initialise and select the card, but can't manage to read/write blocks yet. USB look...

Go to advanced search