From owner-freebsd-arm@freebsd.org Fri Jun 17 20:19:02 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 94FF5A789EC for ; Fri, 17 Jun 2016 20:19:02 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (unknown [IPv6:2001:4060:1:1001::14:54]) (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 501B316C2 for ; Fri, 17 Jun 2016 20:19:01 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from [192.168.225.14] (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by fgznet.ch (Postfix) with ESMTPS id D33D6D6186; Fri, 17 Jun 2016 22:18:50 +0200 (CEST) Subject: Re: FreeBSD on the ODroid-C2 (arm64 AMLogic S905) To: Tom Vijlbrief , freebsd-arm@freebsd.org References: From: Andreas Tobler Message-ID: Date: Fri, 17 Jun 2016 22:18:50 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.73 on 127.0.1.1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2016 20:19:02 -0000 Hi Tom, On 12.05.16 18:04, Tom Vijlbrief wrote: > Op vr 6 mei 2016 om 12:40 schreef Tom Vijlbrief : > >> I've been hacking to see if I can get FreeBSD to boot on this little >> device, and I got to this: >> >> > Progress has been made and it now boots and USB-works :-) > (but SD-card reader and Ethernet do not) > > Mikaƫl Urankar added the code to enable multiple processors, > but for now multiple processors are disabled. > > This is very much a work in progress, but for those who would like to > compile their own kernel and boot it on an Odroid-C2, get it from: > > https://github.com/tomtor/freebsd/tree/tc2 > > and build it with: > > make TARGET=arm64 -s buildworld > make TARGET=arm64 buildkernel KERNCONF=ODROIDC2 NO_MODULES=YES I tried and I ended up here: cd: /export/devel/build/test/freebsd-tc2/sys/boot/arm64/aml: No such file or directory I think here is something missing. > I have attached an USB disk and an USB ethernet adapter and the system > boots, NTP adjusts the date and I'm logged in with SSH. > > However, a "portsnap fetch" runs a long time and then exits with: > pid 78242 (sh), uid 0: exited on signal 10 (core dumped), so it is > obviously not ready for general use. > > Boot instructions are here: > > https://github.com/tomtor/image-freebsd-c2 The boot process stops and complains filesystems not known. Might be the card. I also tried to build against -CURRENT but the kernel (tftp booted) just hangs. The board itself is ok, linux does boot. Are you able to update your tree and commit? TIA, Andreas