From owner-freebsd-arm@freebsd.org Sat Aug 4 20:41:58 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EBCC10529B2 for ; Sat, 4 Aug 2018 20:41:58 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A75218801C for ; Sat, 4 Aug 2018 20:41:57 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 14f629da; Sat, 4 Aug 2018 22:41:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=+EDuXWa9IzOKoONEPJOD6Og3HEo=; b=Zov0ob3EuNBRzjbyV5qlU1Hjvitb sFM1ixwC9DD9i0cBfbE/AFxyy1uvdZK/Id6Mx/M1+lJPBsR2i7W85V+VNoDFQJez F06DUeZjMV5aXIOdNUya7muRVXqBQKcyZM3BeWxOhkK1E4tXlML/mrci9PWBkWGG Ee9Pmov9xOlnC9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=WnfNwySRALg02tYBEFs58uEdwJ+2DCi87ZINm5cPbL3kHFMSgSAE5w1L E/tCbHXzSW5aqNf0prcjf4G7zAopQLIenhGgQ0LgC487AIsVh0TaTkePXKk8tSey 3uzA8tikytsloc31JS7Y6/UUie1nQNY+kEM4Hon8IXEHloHcItU= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 23637a38 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 4 Aug 2018 22:41:55 +0200 (CEST) Date: Sat, 4 Aug 2018 22:41:54 +0200 From: Emmanuel Vadot To: Ulrich Grey Cc: John-Mark Gurney , freebsd-arm@freebsd.org Subject: Re: Booting PINE64-LTS does not work Message-Id: <20180804224154.83cc77b14ebaeb0108976097@bidouilliste.com> In-Reply-To: <20180804203554.1143060d0a43f9b7777cba2e@ulrich-grey.de> References: <20180730202020.472bbf8a1b785a12699703ed@ulrich-grey.de> <20180730203159.ec4e72ee641f6a13e05174f2@bidouilliste.com> <20180731014832.GH2884@funkthat.com> <20180731211925.420d4068a8447c8dcbe8c0f0@bidouilliste.com> <20180804203554.1143060d0a43f9b7777cba2e@ulrich-grey.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2018 20:41:58 -0000 On Sat, 4 Aug 2018 20:35:54 +0200 Ulrich Grey wrote: > Thank you for the hint and the commit. > I successfully built an image (12.0-CURRENT r337040) for my board: > PINE A64 LTS Version V 1.2 2018-01-29 > > After booting successfully I realized that one USB 2.0 host on the board does not work. If I understood correctly this usb port can either be routed to one of the ohci/ehci controller or the otg controller, u-boot configures it as the otg one which we don't support. There is a review https://reviews.freebsd.org/D5881 > I tried to build FreeBSD 12.0 CURRENT r337282 buildworld on the board, using an external > USB HD, connected via a D-Link Hub (DUB-H7). > After some hours, the build failed: > ## > ===> lib/clang/liblldb (all) > : jemalloc_arena.c:647: Failed assertion: "nstime_compare(&decay->epoch, &time) Looks like https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229644 > <= 0" c++: error: unable to execute command: Abort trap (core dumped) > c++: error: clang frontend command failed due to signal (use -v to see invocation) > FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) > Target: aarch64-unknown-freebsd12.0 > Thread model: posix > InstalledDir: /usr/bin > c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ > and include the crash backtrace, preprocessed source, and associated run script. c++: > note: diagnostic msg: ******************** > > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > Preprocessed source(s) and associated run script(s) are located at: > c++: note: diagnostic msg: /tmp/SBVariablesOptions-d0770a.cpp > c++: note: diagnostic msg: /tmp/SBVariablesOptions-d0770a.sh > c++: note: diagnostic msg: > > ******************** > --- API/SBVariablesOptions.o --- > *** [API/SBVariablesOptions.o] Error code 254 > ## > > On the console, I got this: > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 693018, size: 4096 > pid 47471 (c++), uid 0: exited on signal 6 (core dumped) > > Please see the build log and the diagnostic messages etc. here: > > http://ulrich-grey.de/dl/FreeBSD/pineA64ltsErrMsg20180804.tgz > -------------------------------------------------------------- > On Tue, 31 Jul 2018 21:19:25 +0200 > Emmanuel Vadot wrote: > > > On Mon, 30 Jul 2018 18:48:32 -0700 > > John-Mark Gurney wrote: > > > > > Emmanuel Vadot wrote this message on Mon, Jul 30, 2018 at 20:31 +0200: > > > > Best way to use FreeBSD on Pine64-LTS is to download the Pine64 > > > > snapshot image and override u-boot with the u-boot-sopine. > > > > > > I'll second this. It works and is easy to do... the README has > > > slightly wrong file names, but it's easy enough to figure out which > > > one is correct... > > > > Fixed in r476018. > > > > > > Or wait until https://reviews.freebsd.org/D16487 is commited. > > > > > > Any specific reason that hasn't been yet? besides it being just > > > created? > > > > Commited in r337000. > > I always wait for someone from re@ for release/ related patches. > > > > > -- > > > John-Mark Gurney Voice: +1 415 225 5579 > > > > > > "All that I will do, has been done, All that I have, has not." > > > > > > -- > > Emmanuel Vadot -- Emmanuel Vadot