Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2016 08:20:34 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Tom Vijlbrief <tvijlbrief@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD status for/on ODroid-C2?
Message-ID:  <15615670-92D1-4FA9-9E2D-C957119F348D@dsl-only.net>
In-Reply-To: <CAOQrpVdt-OcA05YFrt=6zwMdyf6Q38PjWP7wAzqSULUQqREPaQ@mail.gmail.com>
References:  <61985953-493F-432C-888E-3F4A06BBCA38@dsl-only.net> <CAOQrpVdt-OcA05YFrt=6zwMdyf6Q38PjWP7wAzqSULUQqREPaQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the notes.

On 2016-Oct-2, at 7:17 AM, Tom Vijlbrief <tvijlbrief[ at ]gmail.com> =
wrote:
>=20
> No change (at least in my tree) since my last report on this list =
somewhere in May or June.
>=20
> The kernel boots with 4 cpus and working usb. I use an usb ethernet =
device and usb disk with the root filesysteem. Compiling and running =
ports works, but a build world fails randomly with a memory access error =
eg after running 15 minutes.

Sounds possibly similar to TARGET_ARCH=3Dpowerpc 's stack-handling SVR4 =
ABI violation when world is built by clang 3.8.0 (bad clang code =
generation). To get to the point of buildworld going through I had to =
change the kernel to provide a so-called "red-zone" on the stack during =
signal handling to protect the stack from being trashed. buildworld gets =
extensive signals (SIGCHLD) and so without the "red-zone" it would =
eventually get trashed addresses, far before getting near completion.

[Context: buildkernel via gcc 4.2.1 but buildworld via clang 3.8.0 .]

[Side note: I've tried aarch64 releng/11.0 (first RELEASE's raw) under =
qemu on Ubuntu 16.04.1 on the ODroid-C2 but it gots periodic illegal =
instructions in very basic operation, no builds active.]

> I don't think it makes sense to work on this  until a freebsd rpi3 =
arm64 port is officially supported...

[FYI: http://ameridroid.com/products/raspberry-pi-2-model-b-1gb-ram =
lists the RPi2B as both "out of stock" and "discontinued" and has for =
some time.]

> Op zo 2 okt. 2016 15:04 schreef Mark Millard <markmi[ at =
]dsl-only.net>:
> . . .
> Anything worth reporting on the ODroid-C2 details for FreeBSD: what =
works, what does not, what needs to be done to boot FreeBSD, and so on? =
(I assume head [CURRENT-12 these days].)
>=20
>=20
> Looking around. . .
>=20
>=20
> https://github.com/tomtor/image-freebsd-c2
>=20
> seems to have last been updated on May 7 (vs. =
https://github.com/tomtor/image-freebsd-pine64 's April 17).
>=20
>=20
> https://github.com/tomtor/freebsd/tree/tc2
>=20
> seems to have last been updated on June 17.


=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15615670-92D1-4FA9-9E2D-C957119F348D>