From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirnewton_01@yahoo.ca (Chris McGee) Date: Sun, 11 Sep 2016 13:30:59 -0400 Subject: [9fans] 9front on raspberry pi Message-ID: <9DC07944-9E8F-47D0-9D8E-A1DD1EB9F7AA@yahoo.ca> Topicbox-Message-UUID: 9d397c34-ead9-11e9-9d60-3106f5b1d025 Hi All, I have an experimental (read unstable, may void the warranty) merge of Richard Miller's kernel for raspberry Pi into 9front. It is capable of running Go programs and sdk. The code is here as a drop in replacement for existing /sys/src/9/bcm: https://github.com/sirnewton01/rpi-9front Also, there is a release with an sdcard image there from the last 9front release. Tested briefly with a Pi B+ and Pi 2 B. In theory it could work with other models such as zero. If you find problems either with the code or in testing comments are welcome either as response to this email or github issue. Pull requests are welcome. Cheers, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: multipart/alternative; boundary="Apple-Mail=_3EEFFA7D-17E1-4D98-A4E8-39C6A01CA672" Message-Id: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> Date: Tue, 1 Nov 2016 21:35:47 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a7f7fde4-ead9-11e9-9d60-3106f5b1d025 --Apple-Mail=_3EEFFA7D-17E1-4D98-A4E8-39C6A01CA672 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi All, I have released an experimental 9front raspberry pi image that I use for = my cluster. https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 = Highlights: -Latest 9front release 2016-10-27 -Merged in Richard Millar=E2=80=99s kernel from a couple of months ago -Retains 9front GPIO filesystem structure -Link local ipv4 address on boot (low likelihood of collisions) -Discovery of other nodes using multicast DNS through the =E2=80=98find9p=E2= =80=99 command -9fs mount other nodes on the network -Go 1.7.3 -Git script (works with github and google source repos) Cheers, Chris= --Apple-Mail=_3EEFFA7D-17E1-4D98-A4E8-39C6A01CA672 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi All,

I = have released an experimental 9front raspberry pi image that I use for = my cluster.

Highlights:
-Latest 9front release = 2016-10-27
-Merged in Richard Millar=E2=80=99s = kernel from a couple of months ago
-Retains 9front = GPIO filesystem structure
-Link local ipv4 address = on boot (low likelihood of collisions)
-Discovery = of other nodes using multicast DNS through the =E2=80=98find9p=E2=80=99 = command
-9fs mount other nodes on the = network
-Go 1.7.3
-Git script = (works with github and google source repos)

Cheers,
Chris
= --Apple-Mail=_3EEFFA7D-17E1-4D98-A4E8-39C6A01CA672-- From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> Date: Wed, 2 Nov 2016 14:05:58 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a7fcaace-ead9-11e9-9d60-3106f5b1d025 thanks, i will try. is this for pi1 or pi2 or both? > 2016/11/02 10:35=E3=80=81Chris McGee = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > Hi All, >=20 > I have released an experimental 9front raspberry pi image that I use = for my cluster. > https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 >=20 > Highlights: > -Latest 9front release 2016-10-27 > -Merged in Richard Millar=E2=80=99s kernel from a couple of months ago > -Retains 9front GPIO filesystem structure > -Link local ipv4 address on boot (low likelihood of collisions) > -Discovery of other nodes using multicast DNS through the =E2=80=98find9= p=E2=80=99 command > -9fs mount other nodes on the network > -Go 1.7.3 > -Git script (works with github and google source repos) >=20 > Cheers, > Chris From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> Date: Wed, 2 Nov 2016 16:48:48 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a800fc96-ead9-11e9-9d60-3106f5b1d025 I=E2=80=99ve tried both pi1 and pi2. both devices successfully boot up. my impression only in primitive usage is: pi2 is fine. thanks Chris! pi1 is a bit unsteady on usb device. usb keyboard is sometimes = accidentally detached. > 2016/11/02 14:05=E3=80=81arisawa = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > thanks, i will try. >=20 > is this for pi1 or pi2 or both? >=20 >> 2016/11/02 10:35=E3=80=81Chris McGee = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >>=20 >> Hi All, >>=20 >> I have released an experimental 9front raspberry pi image that I use = for my cluster. >> https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 >>=20 >> Highlights: >> -Latest 9front release 2016-10-27 >> -Merged in Richard Millar=E2=80=99s kernel from a couple of months = ago >> -Retains 9front GPIO filesystem structure >> -Link local ipv4 address on boot (low likelihood of collisions) >> -Discovery of other nodes using multicast DNS through the = =E2=80=98find9p=E2=80=99 command >> -9fs mount other nodes on the network >> -Go 1.7.3 >> -Git script (works with github and google source repos) >>=20 >> Cheers, >> Chris >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> From: Steve Simon Content-Type: text/plain; charset=utf-8 In-Reply-To: <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> Message-Id: <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> Date: Wed, 2 Nov 2016 07:57:42 +0000 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a804f620-ead9-11e9-9d60-3106f5b1d025 hi, this is interesting. can you tell me what the gpio file system looks like (pointer to man page?).= also, is the mDNS client the go one discussed recently or a c implementatio= n? i have never go'ed and have been thinking about writing a upnp renderer for p= lan9 for years... -Steve > On 2 Nov 2016, at 07:48, arisawa wrote: >=20 > I=E2=80=99ve tried both pi1 and pi2. > both devices successfully boot up. >=20 > my impression only in primitive usage is: > pi2 is fine. thanks Chris! > pi1 is a bit unsteady on usb device. usb keyboard is sometimes accidentall= y detached. >=20 >=20 >> 2016/11/02 14:05=E3=80=81arisawa =E3=81=AE=E3=83= =A1=E3=83=BC=E3=83=AB=EF=BC=9A >>=20 >> thanks, i will try. >>=20 >> is this for pi1 or pi2 or both? >>=20 >>> 2016/11/02 10:35=E3=80=81Chris McGee =E3=81=AE=E3=83= =A1=E3=83=BC=E3=83=AB=EF=BC=9A >>>=20 >>> Hi All, >>>=20 >>> I have released an experimental 9front raspberry pi image that I use for= my cluster. >>> https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 >>>=20 >>> Highlights: >>> -Latest 9front release 2016-10-27 >>> -Merged in Richard Millar=E2=80=99s kernel from a couple of months ago >>> -Retains 9front GPIO filesystem structure >>> -Link local ipv4 address on boot (low likelihood of collisions) >>> -Discovery of other nodes using multicast DNS through the =E2=80=98find9= p=E2=80=99 command >>> -9fs mount other nodes on the network >>> -Go 1.7.3 >>> -Git script (works with github and google source repos) >>>=20 >>> Cheers, >>> Chris >>=20 >>=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> Date: Wed, 2 Nov 2016 19:47:14 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8092114-ead9-11e9-9d60-3106f5b1d025 hi steve > 2016/11/02 16:57=E3=80=81Steve Simon = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > can you tell me what the gpio file system looks like try ls -l '#G' them you will find some files such as #G/gpio/CE0 #G/gpio/CE1 #G/gpio/GPI00 #G/gpio/GPI01 ... #G/gpio/ctl #G/gpio/event but something weird. term% mount -a '#G' /dev mount: can=E2=80=99t open '#G': permission denied I don=E2=80=99t know the reason. I haven=E2=80=99t tried GPIO nor mDNS yet, sorry. using large display is frustrating... my portable HDMI display of 1280x800 works fine. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 2 Nov 2016 07:09:11 -0400 Message-Id: <1581592B-4325-4B57-9330-D3BF482BD030@gmail.com> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> In-Reply-To: <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a812ea32-ead9-11e9-9d60-3106f5b1d025 Thanks for trying it out. Can you raise a github issue with any error messag= es or data that I can use to try to fix the problem? I understand that Richard's kernel that I used should work with Pi 1, 2 and z= ero. I have tried it with a Pi 1 B+ and Pi 2 B. Sent from my iPhone > On Nov 2, 2016, at 3:48 AM, arisawa wrote: >=20 > I=E2=80=99ve tried both pi1 and pi2. > both devices successfully boot up. >=20 > my impression only in primitive usage is: > pi2 is fine. thanks Chris! > pi1 is a bit unsteady on usb device. usb keyboard is sometimes accidentall= y detached. >=20 >=20 >> 2016/11/02 14:05=E3=80=81arisawa =E3=81=AE=E3=83= =A1=E3=83=BC=E3=83=AB=EF=BC=9A >>=20 >> thanks, i will try. >>=20 >> is this for pi1 or pi2 or both? >>=20 >>> 2016/11/02 10:35=E3=80=81Chris McGee =E3=81=AE=E3=83= =A1=E3=83=BC=E3=83=AB=EF=BC=9A >>>=20 >>> Hi All, >>>=20 >>> I have released an experimental 9front raspberry pi image that I use for= my cluster. >>> https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 >>>=20 >>> Highlights: >>> -Latest 9front release 2016-10-27 >>> -Merged in Richard Millar=E2=80=99s kernel from a couple of months ago >>> -Retains 9front GPIO filesystem structure >>> -Link local ipv4 address on boot (low likelihood of collisions) >>> -Discovery of other nodes using multicast DNS through the =E2=80=98find9= p=E2=80=99 command >>> -9fs mount other nodes on the network >>> -Go 1.7.3 >>> -Git script (works with github and google source repos) >>>=20 >>> Cheers, >>> Chris >>=20 >>=20 >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 2 Nov 2016 07:15:44 -0400 Message-Id: References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> In-Reply-To: <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8176ad0-ead9-11e9-9d60-3106f5b1d025 The GPIO doesn't have a manual page as far as I know. The implementation cam= e from what is in 9front mainline and is in #G. I agree that it would be goo= d to have a manual page for it there. mDNS is running as bcast9p process and is written in Go. It's based on a Go l= ibrary and uses udp multicast support for plan 9 that is only in latest git m= aster branch, slated for Go 1.8. Go SDK in this image is 1.7.3 though. It should be reasonably stable. Chris > On Nov 2, 2016, at 3:57 AM, Steve Simon wrote: >=20 > hi, >=20 > this is interesting. >=20 > can you tell me what the gpio file system looks like (pointer to man page?= ). also, is the mDNS client the go one discussed recently or a c implementat= ion? >=20 > i have never go'ed and have been thinking about writing a upnp renderer fo= r plan9 for years... >=20 > -Steve >=20 >=20 >> On 2 Nov 2016, at 07:48, arisawa wrote: >>=20 >> I=E2=80=99ve tried both pi1 and pi2. >> both devices successfully boot up. >>=20 >> my impression only in primitive usage is: >> pi2 is fine. thanks Chris! >> pi1 is a bit unsteady on usb device. usb keyboard is sometimes accidental= ly detached. >>=20 >>=20 >>> 2016/11/02 14:05=E3=80=81arisawa =E3=81=AE=E3= =83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >>>=20 >>> thanks, i will try. >>>=20 >>> is this for pi1 or pi2 or both? >>>=20 >>>> 2016/11/02 10:35=E3=80=81Chris McGee =E3=81=AE=E3= =83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >>>>=20 >>>> Hi All, >>>>=20 >>>> I have released an experimental 9front raspberry pi image that I use fo= r my cluster. >>>> https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 >>>>=20 >>>> Highlights: >>>> -Latest 9front release 2016-10-27 >>>> -Merged in Richard Millar=E2=80=99s kernel from a couple of months ago >>>> -Retains 9front GPIO filesystem structure >>>> -Link local ipv4 address on boot (low likelihood of collisions) >>>> -Discovery of other nodes using multicast DNS through the =E2=80=98find= 9p=E2=80=99 command >>>> -9fs mount other nodes on the network >>>> -Go 1.7.3 >>>> -Git script (works with github and google source repos) >>>>=20 >>>> Cheers, >>>> Chris >>>=20 >>>=20 >>=20 >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 2 Nov 2016 07:17:38 -0400 Message-Id: <1ECA9418-4DB3-4C9A-821A-17AA5D0CED32@gmail.com> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> In-Reply-To: <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a81bf01e-ead9-11e9-9d60-3106f5b1d025 > but something weird. > term% mount -a '#G' /dev > mount: can=E2=80=99t open '#G': permission denied > I don=E2=80=99t know the reason. Maybe you want to use bind instead? >=20 > using large display is frustrating... > my portable HDMI display of 1280x800 works fine. >=20 What's wrong with the large display?= From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> Date: Wed, 2 Nov 2016 20:18:05 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8961da8-ead9-11e9-9d60-3106f5b1d025 sorry=20 > mount -a '#G' /dev shoud be bind -a '#G' /dev > 2016/11/02 19:47=E3=80=81arisawa = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > hi steve >=20 >> 2016/11/02 16:57=E3=80=81Steve Simon = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >>=20 >> can you tell me what the gpio file system looks like >=20 > try > ls -l '#G' > them you will find some files such as > #G/gpio/CE0 > #G/gpio/CE1 > #G/gpio/GPI00 > #G/gpio/GPI01 > ... > #G/gpio/ctl > #G/gpio/event > but something weird. > term% mount -a '#G' /dev > mount: can=E2=80=99t open '#G': permission denied > I don=E2=80=99t know the reason. >=20 > I haven=E2=80=99t tried GPIO nor mDNS yet, sorry. >=20 > using large display is frustrating... > my portable HDMI display of 1280x800 works fine. >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: <1ECA9418-4DB3-4C9A-821A-17AA5D0CED32@gmail.com> Date: Wed, 2 Nov 2016 21:05:27 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <8EFCD774-1A77-4B02-BDB3-271768FA8545@ar.aichi-u.ac.jp> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> <1ECA9418-4DB3-4C9A-821A-17AA5D0CED32@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a89d585c-ead9-11e9-9d60-3106f5b1d025 hello Chris, > 2016/11/02 20:17=E3=80=81Chris McGee = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > What's wrong with the large display? the display size is 1920x1200. when I try to resize a window, the mouse cursor flips and it is = difficult to resize. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 2 Nov 2016 09:14:21 -0400 Message-Id: References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> <1ECA9418-4DB3-4C9A-821A-17AA5D0CED32@gmail.com> <8EFCD774-1A77-4B02-BDB3-271768FA8545@ar.aichi-u.ac.jp> In-Reply-To: <8EFCD774-1A77-4B02-BDB3-271768FA8545@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8a60524-ead9-11e9-9d60-3106f5b1d025 Thanks, I'm thinking that could be related to USB problem making the mouse jump arou= nd. Chris > On Nov 2, 2016, at 8:05 AM, arisawa wrote: >=20 > hello Chris, >=20 >> 2016/11/02 20:17=E3=80=81Chris McGee =E3=81=AE=E3=83= =A1=E3=83=BC=E3=83=AB=EF=BC=9A >>=20 >> What's wrong with the large display? >=20 > the display size is 1920x1200. > when I try to resize a window, the mouse cursor flips and it is difficult t= o resize. >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <717dcb1cad631dd02c4d6fd14cfc3f4d@quintile.net> From: "Steve Simon" Date: Wed, 2 Nov 2016 13:31:21 +0000 To: 9fans@9fans.net In-Reply-To: <04B14D87-38E7-4030-B24D-560F3ACB10C2@ar.aichi-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8aa88b0-ead9-11e9-9d60-3106f5b1d025 Thanks for the info. > mount -a '#G' /dev I think you want bind -a '#G' /dev > using large display is frustrating... FWIW I am happily using 1920x1200x8 on my raspberry pi 3, and its very snappy. -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Wed, 2 Nov 2016 13:34:54 +0000 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8aff552-ead9-11e9-9d60-3106f5b1d025 Hi all, anyone seen some strange TLS issues (when talking to windows boxen). tlsClient: devtls expected ver=3D301, saw (len=3D19232) type=3D2a ver=3D= 204f '* OK =EF=BF=BD=03=EF=BF=BD=EF=BF=BD=EF=BF=BD=03' This is running Richard millers raspberry kernel so no 9front encryption = fixes. maybe my TLS needs to be taught more smarts? -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: multipart/alternative; boundary=Apple-Mail-BEE3994D-4D5B-4939-89D6-61F581975CDB Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Wed, 2 Nov 2016 20:01:28 -0400 Message-Id: <6E77BCC9-B8EB-4B24-A4FF-493D6865EA99@gmail.com> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> In-Reply-To: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8bc5a2c-ead9-11e9-9d60-3106f5b1d025 --Apple-Mail-BEE3994D-4D5B-4939-89D6-61F581975CDB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Apologies Richard for misspelling your last name. Chris > On Nov 1, 2016, at 9:35 PM, Chris McGee wrote: >=20 > Hi All, >=20 > I have released an experimental 9front raspberry pi image that I use for m= y cluster. > https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 >=20 > Highlights: > -Latest 9front release 2016-10-27 > -Merged in Richard Millar=E2=80=99s kernel from a couple of months ago > -Retains 9front GPIO filesystem structure > -Link local ipv4 address on boot (low likelihood of collisions) > -Discovery of other nodes using multicast DNS through the =E2=80=98find9p=E2= =80=99 command > -9fs mount other nodes on the network > -Go 1.7.3 > -Git script (works with github and google source repos) >=20 > Cheers, > Chris --Apple-Mail-BEE3994D-4D5B-4939-89D6-61F581975CDB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Apologies Richard for missp= elling your last name.

Chris

On Nov 1= , 2016, at 9:35 PM, Chris McGee <n= ewton688@gmail.com> wrote:

Hi= All,

I have released an= experimental 9front raspberry pi image that I use for my cluster.
https://github.com/sirnewton01/rpi-9front/releases/ta= g/nov-2016

Hig= hlights:
-Latest 9front release 2016-10-27
-Merged in Richard Millar=E2=80=99s kernel from a couple of months a= go
-Retains 9front GPIO filesystem structure
-Link local ipv4 address on boot (low likelihood of collisions)
-Discovery of other nodes using multicast DNS through the= =E2=80=98find9p=E2=80=99 command
-9fs mount other node= s on the network
-Go 1.7.3
-Git sc= ript (works with github and google source repos)

Cheers,
Chris
= --Apple-Mail-BEE3994D-4D5B-4939-89D6-61F581975CDB-- From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: Date: Fri, 4 Nov 2016 09:55:20 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <0D6F0C01-78C1-4586-8287-221CDBDFF01D@ar.aichi-u.ac.jp> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a8cc09ae-ead9-11e9-9d60-3106f5b1d025 Hello=20 > 2016/11/02 20:15=E3=80=81Chris McGee = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > The GPIO doesn't have a manual page as far as I know. The = implementation came from what is in 9front mainline and is in #G. I = agree that it would be good to have a manual page for it there. I do want to know the correspondence between 9front GPIO number and BCM = number sited on http://pinout.xyz/. this information is almost all for the usage. # 9front kernel for raspi at the time 2016-01-02 term% ls '#G/gpio' '#G/gpio/CE0' '#G/gpio/CE1' '#G/gpio/GPIO0' '#G/gpio/GPIO1' '#G/gpio/GPIO10' '#G/gpio/GPIO11' '#G/gpio/GPIO2' '#G/gpio/GPIO3' '#G/gpio/GPIO4' '#G/gpio/GPIO5' '#G/gpio/GPIO6' '#G/gpio/GPIO7' '#G/gpio/GPIO8' '#G/gpio/GPIO9' '#G/gpio/MISO' '#G/gpio/MOSI' '#G/gpio/OK' '#G/gpio/RxD' '#G/gpio/SCL' '#G/gpio/SCLK' '#G/gpio/SDA' '#G/gpio/TxD' '#G/gpio/ctl' '#G/gpio/event' term%=20= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: multipart/alternative; boundary="Apple-Mail=_8D9E1983-2C3F-438B-A295-22DB296BDD0E" Message-Id: <7886E81A-F797-4ABC-9749-4135F042878A@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Date: Sun, 6 Nov 2016 18:29:07 -0500 References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <0D6F0C01-78C1-4586-8287-221CDBDFF01D@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: <0D6F0C01-78C1-4586-8287-221CDBDFF01D@ar.aichi-u.ac.jp> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a945d00e-ead9-11e9-9d60-3106f5b1d025 --Apple-Mail=_8D9E1983-2C3F-438B-A295-22DB296BDD0E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi All, I have cleaned up some of the concurrency code and USB. The new release = is here: https://github.com/sirnewton01/rpi-9front/releases/tag/nov2016-2 = Thanks, Chris --Apple-Mail=_8D9E1983-2C3F-438B-A295-22DB296BDD0E Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Hi All,

I have cleaned up some of the concurrency code and USB. The new release is here:

Thanks,
Chris
--Apple-Mail=_8D9E1983-2C3F-438B-A295-22DB296BDD0E-- From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: arisawa In-Reply-To: <7886E81A-F797-4ABC-9749-4135F042878A@gmail.com> Date: Mon, 7 Nov 2016 20:44:01 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <055375DF-1D3F-4F57-BA53-D7F4AEE1C73E@ar.aichi-u.ac.jp> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <0D6F0C01-78C1-4586-8287-221CDBDFF01D@ar.aichi-u.ac.jp> <7886E81A-F797-4ABC-9749-4135F042878A@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a94a938c-ead9-11e9-9d60-3106f5b1d025 Hello, > 2016/11/07 8:29=E3=80=81Chris McGee = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > Hi All, >=20 > I have cleaned up some of the concurrency code and USB. The new = release is here: > https://github.com/sirnewton01/rpi-9front/releases/tag/nov2016-2 >=20 > Thanks, > Chris many thanks, I will try. by the way I said about raspi 1 > the display size is 1920x1200. > when I try to resize a window, the mouse cursor flips and it is = difficult to resize. This phenomenon was stopped when I connected lan cable. I don=E2=80=99t know the reason. I looked the source code and I guess for raspi 1: Plan9 BCM pin GPIO0 17 11 GPIO1 18 12 GPIO2 27 13 GPIO3 22 15 GPIO4 23 16 GPIO5 24 18 GPIO6 25 18 GPIO7 4 7 GPIO8 28 24 GPIO9 29 21 GPIO10 30 ? GPIO11 31 ? SDA 2 3 SCL 3 5 CE1 7 26 CE0 8 24 MISO 9 21 MOSI 10 19 SCLK 11 23 TxD 14 8 RxD 15 10 and I tried some experiments. (a) turn led light on/off that is connected to GPIO0 pin term% echo function out GPIO0 >ctl term% echo 1 > GPIO0 term% echo 0 > GPIO0 term%=20 the result is OK. (b) read GPIO1 status term% echo function in GPIO1 >ctl I expected: term% cat GPIO1 # low voltage 0 term% however I have: term% cat GPIO1 # low voltage 000000... I expected: term% cat GPIO1 # high voltage 1 term% however I have: term% cat GPIO1 111111... is this a feature or bug? From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Mon, 7 Nov 2016 12:21:12 -0500 Message-Id: <1A7D8BE0-759A-414D-807B-0C939F60A9F2@gmail.com> References: <5F624C8D-9B1D-4961-9D73-B702E84AE56B@gmail.com> <8CCDCD61-01DC-427F-8F56-DB5648C96AB9@ar.aichi-u.ac.jp> <0F5A1973-1C81-4791-AA0F-11F447326FB5@ar.aichi-u.ac.jp> <23C522F1-984A-4060-951D-513A329F7A29@quintile.net> <0D6F0C01-78C1-4586-8287-221CDBDFF01D@ar.aichi-u.ac.jp> <7886E81A-F797-4ABC-9749-4135F042878A@gmail.com> <055375DF-1D3F-4F57-BA53-D7F4AEE1C73E@ar.aichi-u.ac.jp> In-Reply-To: <055375DF-1D3F-4F57-BA53-D7F4AEE1C73E@ar.aichi-u.ac.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 9front on raspberry pi Topicbox-Message-UUID: a94fe030-ead9-11e9-9d60-3106f5b1d025 > On Nov 7, 2016, at 6:44 AM, arisawa wrote: >=20 > by the way I said about raspi 1 >> the display size is 1920x1200. >> when I try to resize a window, the mouse cursor flips and it is difficult= to resize. > This phenomenon was stopped when I connected lan cable. > I don=E2=80=99t know the reason. Interesting data point. Thank you. I tend to keep mine plugged into an activ= e Ethernet switch. I'll try without to see if I can narrow down the problem.= >=20 > I looked the source code and I guess for raspi 1: > Plan9 BCM pin > GPIO0 17 11 > GPIO1 18 12 > GPIO2 27 13 > GPIO3 22 15 > GPIO4 23 16 > GPIO5 24 18 > GPIO6 25 18 > GPIO7 4 7 > GPIO8 28 24 > GPIO9 29 21 > GPIO10 30 ? > GPIO11 31 ? > SDA 2 3 > SCL 3 5 > CE1 7 26 > CE0 8 24 > MISO 9 21 > MOSI 10 19 > SCLK 11 23 > TxD 14 8 > RxD 15 10 >=20 > and I tried some experiments. >=20 > (a) turn led light on/off that is connected to GPIO0 pin Cool, good to know that part is working for others. >=20 > term% echo function out GPIO0 >ctl > term% echo 1 > GPIO0 > term% echo 0 > GPIO0 > term%=20 >=20 > the result is OK. >=20 > (b) read GPIO1 status >=20 > term% echo function in GPIO1 >ctl >=20 > I expected: > term% cat GPIO1 # low voltage > 0 > term% >=20 > however I have: > term% cat GPIO1 # low voltage > 000000... >=20 > I expected: > term% cat GPIO1 # high voltage > 1 > term% >=20 > however I have: > term% cat GPIO1 > 111111... >=20 > is this a feature or bug? >=20 This part is inherited and merged in from original 9front source code. As we= discussed before there seems to be no manual page. I'm not sure the intende= d behaviour and I have not yet tried reading from a gpio pin myself. So in either case on the read it just repeats forever until interrupted? Chris=