From owner-freebsd-arm@freebsd.org Sun Oct 2 15:20:43 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC426AEF458 for ; Sun, 2 Oct 2016 15:20:43 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-61.reflexion.net [208.70.210.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BC1B8E8 for ; Sun, 2 Oct 2016 15:20:42 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 21778 invoked from network); 2 Oct 2016 15:20:36 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 2 Oct 2016 15:20:36 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Sun, 02 Oct 2016 11:20:36 -0400 (EDT) Received: (qmail 16295 invoked from network); 2 Oct 2016 15:20:36 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 2 Oct 2016 15:20:36 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 24571EC8BF3; Sun, 2 Oct 2016 08:20:35 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: FreeBSD status for/on ODroid-C2? From: Mark Millard In-Reply-To: Date: Sun, 2 Oct 2016 08:20:34 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <15615670-92D1-4FA9-9E2D-C957119F348D@dsl-only.net> References: <61985953-493F-432C-888E-3F4A06BBCA38@dsl-only.net> To: Tom Vijlbrief X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 15:20:43 -0000 Thanks for the notes. On 2016-Oct-2, at 7:17 AM, Tom Vijlbrief = 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 : > . . . > 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