On Mon, Dec 3, 2012 at 10:06 AM, minux <
minu...@gmail.com> wrote:
> This is really encouraging news. I believe you're the second person to have
> Go working on FreeBSD/ARM. congratulations!
Thank you, but you did all the work, I just pulled the bits together.
> the general advice is to have at least 512MiB memory if you want to complete
> all.bash.
> For me I hacked qemu and freebsd kernel GUMSTIX-QEMU config to have
> 512MiB memory so that I can compile all the packages and run all the tests.
au.element14.com is sold out of 512mb Pi's :(
> I'd like to know more about the crash.
I will try to generate some more useful debugging information. Sadly
the image I used had gdb 6.x and no /usr/ports so gdb wasn't available
to me.
> Just curious, are you planing to write a blog post about this?
> or better, we can edit GoArm wiki entry to include info. about Go on
> FreeBSD/ARM.
The core problem (compounded by the secondary probably of not having
the right TTL to USB jtag cable) is the freebsd support for the pi is
under heavy flux, even the build and compile sequence is under heavy
revision, so it is a little like chasing a runaway train at the
moment. Once the Pi support stabilises to something repeatable, i'll
certainly be blogging more about.
> Note: although I used GUMSTIX kernel, I hacked qemu to provide LDREXD/STREXD
> instructions which only appear on ARMv6. At present, Go on FreeBSD/ARM only
> supports ARMv6 or ARMv7 hosts (the new GOARM detection code works really
> well,
> so you don't need to bother setting correct GOARM environment variable).
Yes, that worked brilliantly.