* [9fans] any updates on go for plan9/arm?
@ 2015-12-31 8:39 Skip Tavakkolian
2015-12-31 8:53 ` lucio
0 siblings, 1 reply; 16+ messages in thread
From: Skip Tavakkolian @ 2015-12-31 8:39 UTC (permalink / raw)
To: 9fans
I just tried cross compiling go1.6beta1 for plan9/arm, using os
x, but no luck. is it still planned for go1.6?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 8:39 [9fans] any updates on go for plan9/arm? Skip Tavakkolian
@ 2015-12-31 8:53 ` lucio
2015-12-31 10:33 ` David du Colombier
0 siblings, 1 reply; 16+ messages in thread
From: lucio @ 2015-12-31 8:53 UTC (permalink / raw)
To: 9fans
> I just tried cross compiling go1.6beta1 for plan9/arm, using os
> x, but no luck. is it still planned for go1.6?
I don't recall any formal submission for that and I'm pretty sure that
it was not on the road map for 1.6.
I know Richard did all the hard work to port Go, but it really is in
the hand of the Go community to make it happen. What Richard
submitted was more in the line of proof of concept and will need some
adjusting (I seem to recall a tar archive?).
Cherry got Go on linux/mips64 going practically alone, it can't be
beyond our means to do it for plan9/arm (and plan9/mips?).
Lucio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 8:53 ` lucio
@ 2015-12-31 10:33 ` David du Colombier
2015-12-31 10:40 ` lucio
2015-12-31 11:03 ` Richard Miller
0 siblings, 2 replies; 16+ messages in thread
From: David du Colombier @ 2015-12-31 10:33 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
Richard Miller's work on the plan9/arm port is available here:
http://9legacy.org/go/patch/go-arm.diff
It has been tested successfully on Rasperry Pi 2 (ARMv7) with *ncpu=1.
There is still a coherency issue that need to be fixed to be able to run
reliably on multiple processors.
--
David du Colombier
[-- Attachment #2: Type: text/html, Size: 456 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 10:33 ` David du Colombier
@ 2015-12-31 10:40 ` lucio
2015-12-31 11:57 ` Richard Miller
2015-12-31 11:03 ` Richard Miller
1 sibling, 1 reply; 16+ messages in thread
From: lucio @ 2015-12-31 10:40 UTC (permalink / raw)
To: 9fans
> http://9legacy.org/go/patch/go-arm.diff
Thank you, David for the details. There are many rPi owners out there
and some may be willing to contribute their efforts, it matters that
they are well informed.
Is the coherency problem documented anywhere? I appreciate I ought to
know the answer, but I don't own a Pi and have not given this as much
attention as I believe I ought to.
Lucio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 10:33 ` David du Colombier
2015-12-31 10:40 ` lucio
@ 2015-12-31 11:03 ` Richard Miller
2015-12-31 13:08 ` David du Colombier
1 sibling, 1 reply; 16+ messages in thread
From: Richard Miller @ 2015-12-31 11:03 UTC (permalink / raw)
To: 9fans
> Richard Miller's work on the plan9/arm port is available here:
>
> http://9legacy.org/go/patch/go-arm.diff
>
> It has been tested successfully on Rasperry Pi 2 (ARMv7) with *ncpu=1.
I think that's a diff against go1.5 -- and it runs on older rpi (ARMv6) too.
In order to pass all the go test suite, a few small plan 9 patches are
required as well.
/n/sources/contrib/miller/go-plan9-arm.tar holds the latest snapshot.
I haven't touched this for a while, so I'll see if it needs updating
for the present state of Go.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 10:40 ` lucio
@ 2015-12-31 11:57 ` Richard Miller
2015-12-31 14:35 ` Charles Forsyth
0 siblings, 1 reply; 16+ messages in thread
From: Richard Miller @ 2015-12-31 11:57 UTC (permalink / raw)
To: 9fans
> Is the coherency problem documented anywhere? I appreciate I ought to
> know the answer, but I don't own a Pi and have not given this as much
> attention as I believe I ought to.
The kernel in /n/sources/contrib/miller/9/bcm supports multicore on the
Raspberry Pi 2, but has an elusive "one last bug" which I suspect has to
do with cache or page table coherency. The symptom is very infrequent
memory corruption under heavy load, and the go test suite with *ncpu=4
occasionally triggers it.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 11:03 ` Richard Miller
@ 2015-12-31 13:08 ` David du Colombier
2015-12-31 13:20 ` David du Colombier
0 siblings, 1 reply; 16+ messages in thread
From: David du Colombier @ 2015-12-31 13:08 UTC (permalink / raw)
To: 9fans
I've just updated the patch so it should apply cleanly on Go 1.6.
Richard, I think the following files have to be updated
to match Go 1.6:
- src/cmd/go/build.go (rebase to the current file)
- src/runtime/os3_plan9.go (regSize → sys.RegSize,
ptrSize → sys.PtrSize and go:nowritebarrier → go:nowritebarrierrec)
- src/runtime/sys_plan9_386.s (m_errstr(BX) → (m_mOS+mOS_errstr)(BX))
--
David du Colombier
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 13:08 ` David du Colombier
@ 2015-12-31 13:20 ` David du Colombier
0 siblings, 0 replies; 16+ messages in thread
From: David du Colombier @ 2015-12-31 13:20 UTC (permalink / raw)
To: 9fans
> I've just updated the patch so it should apply cleanly on Go 1.6.
>
> Richard, I think the following files have to be updated
> to match Go 1.6:
>
> - src/cmd/go/build.go (rebase to the current file)
> - src/runtime/os3_plan9.go (regSize → sys.RegSize,
> ptrSize → sys.PtrSize and go:nowritebarrier → go:nowritebarrierrec)
> - src/runtime/sys_plan9_386.s (m_errstr(BX) → (m_mOS+mOS_errstr)(BX))
And move cas and casp1 functions from src/runtime/sys_plan9_arm.s to
src/runtime/internal/atomic/sys_plan9_arm.s.
--
David du Colombier
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 11:57 ` Richard Miller
@ 2015-12-31 14:35 ` Charles Forsyth
2015-12-31 16:36 ` lucio
0 siblings, 1 reply; 16+ messages in thread
From: Charles Forsyth @ 2015-12-31 14:35 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
On 31 December 2015 at 11:57, Richard Miller <9fans@hamnavoe.com> wrote:
> Raspberry Pi 2, but has an elusive "one last bug" which I suspect has to
> do with cache or page table coherency.
>
It's still got the explicit cache management code from the old bcm, which
isn't right. There might be more.
The hardware will provide full coherency.
I've got some pi2 work to do so I'll work out the changes compared to what
I use.
[-- Attachment #2: Type: text/html, Size: 861 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 14:35 ` Charles Forsyth
@ 2015-12-31 16:36 ` lucio
2015-12-31 19:03 ` Skip Tavakkolian
0 siblings, 1 reply; 16+ messages in thread
From: lucio @ 2015-12-31 16:36 UTC (permalink / raw)
To: 9fans
> I've got some pi2 work to do so I'll work out the changes compared to what
> I use.
Thanks, Charles, Richard and David (in reverse order of appearance),
for the effort. It is heart warming that there is still interest in
Plan 9 and the curiously connected Go (in other words, that I'm not the
only one attracted to the platform).
I guess we'll need to wait for the critical mass or the killer app to
re-launch Plan 9 into the stratosphere :-)
In the meantime, if memory serves, there are no convenient builders for
Plan9/arm and thus no likelihood that Go will be officially released
for Plan9/arm until at least one builder is deployed. In my
experience, David would be the best person to coordinate with, if
builders can be made available.
Lucio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 16:36 ` lucio
@ 2015-12-31 19:03 ` Skip Tavakkolian
2016-01-01 0:31 ` David du Colombier
0 siblings, 1 reply; 16+ messages in thread
From: Skip Tavakkolian @ 2015-12-31 19:03 UTC (permalink / raw)
To: 9fans
> Thanks, Charles, Richard and David (in reverse order of appearance),
> for the effort. It is heart warming that there is still interest in
> Plan 9 and the curiously connected Go (in other words, that I'm not the
> only one attracted to the platform).
Let me add my thanks as well to Go Authors and all who have made Go on
Plan 9 possible. Go really helps Plan 9 deal with the huge number of
API's, subsystems and protocols (e.g. OAuth2, SQL databases, HTTP/2,
etc).
-Skip
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2015-12-31 19:03 ` Skip Tavakkolian
@ 2016-01-01 0:31 ` David du Colombier
2016-01-01 4:35 ` lucio
0 siblings, 1 reply; 16+ messages in thread
From: David du Colombier @ 2016-01-01 0:31 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 88 bytes --]
A plan9/arm builder has been already running for two months.
--
David du Colombier
[-- Attachment #2: Type: text/html, Size: 125 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2016-01-01 0:31 ` David du Colombier
@ 2016-01-01 4:35 ` lucio
2016-01-01 4:53 ` minux
0 siblings, 1 reply; 16+ messages in thread
From: lucio @ 2016-01-01 4:35 UTC (permalink / raw)
To: 9fans
> A plan9/arm builder has been already running for two months.
I knew I'd have to qualify my statement :-)
In your opinion, will Go for plan9/arm be ready for inclusion in 1.7?
Is there any work that needs additional resources to make that
possible?
Lucio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2016-01-01 4:35 ` lucio
@ 2016-01-01 4:53 ` minux
2016-01-01 5:39 ` lucio
0 siblings, 1 reply; 16+ messages in thread
From: minux @ 2016-01-01 4:53 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
I just went through the patch, aside from minor cosmetic
changes, I think it's ready for inclusion into Go 1.7 if
all.bash passes. The author just has to split it up into
CLs and push to Gerrit for review.
[-- Attachment #2: Type: text/html, Size: 353 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2016-01-01 4:53 ` minux
@ 2016-01-01 5:39 ` lucio
2018-02-12 6:08 ` Conor Williams
0 siblings, 1 reply; 16+ messages in thread
From: lucio @ 2016-01-01 5:39 UTC (permalink / raw)
To: 9fans
> I just went through the patch, aside from minor cosmetic
> changes, I think it's ready for inclusion into Go 1.7 if
> all.bash passes. The author just has to split it up into
> CLs and push to Gerrit for review.
That is great, Minux. Thank you very much for taking the trouble.
Maybe 2016 is going to be a good year for Plan 9. Happy new year to
all 9fans!
Lucio.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [9fans] any updates on go for plan9/arm?
2016-01-01 5:39 ` lucio
@ 2018-02-12 6:08 ` Conor Williams
0 siblings, 0 replies; 16+ messages in thread
From: Conor Williams @ 2018-02-12 6:08 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
Happy neuo year bouz
Kotw
On Friday, January 1, 2016, <lucio@proxima.alt.za> wrote:
> > I just went through the patch, aside from minor cosmetic
> > changes, I think it's ready for inclusion into Go 1.7 if
> > all.bash passes. The author just has to split it up into
> > CLs and push to Gerrit for review.
>
> That is great, Minux. Thank you very much for taking the trouble.
>
> Maybe 2016 is going to be a good year for Plan 9. Happy new year to
> all 9fans!
>
> Lucio.
>
>
>
[-- Attachment #2: Type: text/html, Size: 813 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2018-02-12 6:08 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-31 8:39 [9fans] any updates on go for plan9/arm? Skip Tavakkolian
2015-12-31 8:53 ` lucio
2015-12-31 10:33 ` David du Colombier
2015-12-31 10:40 ` lucio
2015-12-31 11:57 ` Richard Miller
2015-12-31 14:35 ` Charles Forsyth
2015-12-31 16:36 ` lucio
2015-12-31 19:03 ` Skip Tavakkolian
2016-01-01 0:31 ` David du Colombier
2016-01-01 4:35 ` lucio
2016-01-01 4:53 ` minux
2016-01-01 5:39 ` lucio
2018-02-12 6:08 ` Conor Williams
2015-12-31 11:03 ` Richard Miller
2015-12-31 13:08 ` David du Colombier
2015-12-31 13:20 ` David du Colombier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).