From owner-freebsd-arm@FreeBSD.ORG Mon Oct 13 21:50:44 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C97886AE for ; Mon, 13 Oct 2014 21:50:44 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 58BBB3DE for ; Mon, 13 Oct 2014 21:50:43 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9DLoIi1082389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 13 Oct 2014 23:50:19 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9DLoCEn068053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Oct 2014 23:50:12 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9DLoCxc054694; Mon, 13 Oct 2014 23:50:12 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9DLoCwP054693; Mon, 13 Oct 2014 23:50:12 +0200 (CEST) (envelope-from ticso) Date: Mon, 13 Oct 2014 23:50:12 +0200 From: Bernd Walter To: Alie Tan Subject: Re: SPI device on Raspberry PI Message-ID: <20141013215012.GH38905@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <935B7003-F750-42E7-9100-C27028B6A111@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: "freebsd-arm@FreeBSD.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 21:50:44 -0000 On Wed, Oct 30, 2013 at 05:22:26PM +0700, Alie Tan wrote: > Its already commited to the HEAD > http://svnweb.freebsd.org/base?view=revision&revision=257062 I just need SPI for a small test. Hoped that the BBB has SPI, but it seems we have no driver yet, so I will use a PI (currently building current). In the meantime I've read the sourcecode to get an idea on how to use it from userland. What puzzles me is the clock rate, which is set by SPI globaly. Since I never used SPI in FreeBSD I wonder if this is just on the PI, if this always done that way, or if I understood something wrong? Usually I would expect either globaly atomic with transfer setup, or per CS setting, because it is not untypical to mix different speed SPI slaves. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Mon Oct 13 23:51:09 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91447CED for ; Mon, 13 Oct 2014 23:51:09 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 310C95EB for ; Mon, 13 Oct 2014 23:51:09 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id j5so7636305qga.31 for ; Mon, 13 Oct 2014 16:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nE7TGL9QiJ+9lNbJrgwR5UyKCOOL9EfbmmtoRNX5J4c=; b=KXk0ezbyV+21TGr28jh5vY+iak9XTGpy8KrJuGoe1hJKfUDOI8rt3VikHizoMQNHXN u0bJk04i27HrJkVVoos8e12CXN1vnzV4+6tbYjbEHQjUlnXdc7+0CdQcPPJjuQUbaQQ/ hfJ4NLQkhS6vCl9EEcOAs6w8D8pLDlFLr8mrwz91hbU5nrfmlu3C0pzO1d/SeXlhNbj2 OWZmyodxBzNQaUpl69xnOUJakMUMXykdacJOHhZ5dqLJxbb0C71rTbh8F8UdJAv1K/Ce Yb6iX7973bb+1gTj4Atlmh5Ez/CSsMeFxfkg7pVcllOwpRHv04UNfKrgFba4Y8L+zk4o j53Q== MIME-Version: 1.0 X-Received: by 10.224.67.136 with SMTP id r8mr3431228qai.24.1413244268260; Mon, 13 Oct 2014 16:51:08 -0700 (PDT) Received: by 10.140.105.161 with HTTP; Mon, 13 Oct 2014 16:51:08 -0700 (PDT) Date: Mon, 13 Oct 2014 13:51:08 -1000 Message-ID: Subject: Build xdev fails in libatf-c++ From: Felix Johnson To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 23:51:09 -0000 Hello, I'm trying to set up a cross-build environment for my Beagleboard XM, using a FreeBSD 11 snapshot on an AMD64 virtual machine. I updated /usr/src to -HEAD revision 273066, and followed the "build xdev" instructions in crochet. Unfortunately, the build dies in make depend for lib/atf/libatf-c++. It looks like it's missing an include reference to the C++ standard libraries: ===> lib/atf/libatf-c (obj) ===> lib/atf/libatf-c++ (obj) ===> lib/atf/libatf-c (depend) ===> lib/atf/libatf-c++ (depend) rm -f .depend CC='cc -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib' mkdep -f .depend -a -DHAVE_CONFIG_H -DATF_ARCH='"arm"' -DATF_BUILD_CC='"cc -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' -DATF_BUILD_CFLAGS='"-O -pipe "' -DATF_BUILD_CPP='"cpp -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' -DATF_BUILD_CPPFLAGS='""' -DATF_BUILD_CXX='"c++ -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' -DATF_BUILD_CXXFLAGS='"-O -pipe "' -DATF_CONFDIR='"/etc/atf"' -DATF_C_TESTS_BASE='"/usr/tests/lib/atf/libatf-c"' -DATF_INCLUDEDIR='"/usr/include"' -DATF_LIBDIR='"/usr/lib"' -DATF_LIBEXECDIR='"/usr/libexec"' -DATF_MACHINE='"armv6"' -DATF_M4='"/usr/bin/m4"' -DATF_PKGDATADIR='"/usr/share/atf"' -DATF_SHELL='"/bin/sh"' -DATF_WORKDIR='"/tmp"' -I/usr/src/contrib/atf -I/usr/src/lib/atf/libatf-c++/../libatf-c -I. -DHAVE_CONFIG_H /usr/src/contrib/atf/atf-c++/detail/application.cpp /usr/src/contrib/atf/atf-c++/build.cpp /usr/src/contrib/atf/atf-c++/check.cpp /usr/src/contrib/atf/atf-c++/config.cpp /usr/src/contrib/atf/atf-c++/detail/env.cpp /usr/src/contrib/atf/atf-c++/detail/exceptions.cpp /usr/src/contrib/atf/atf-c++/detail/fs.cpp /usr/src/contrib/atf/atf-c++/detail/process.cpp /usr/src/contrib/atf/atf-c++/tests.cpp /usr/src/contrib/atf/atf-c++/detail/text.cpp /usr/src/contrib/atf/atf-c++/utils.cpp /usr/src/contrib/atf/atf-c++/detail/application.cpp:38:19: error: cstdarg: No such file or directory /usr/src/contrib/atf/atf-c++/detail/application.cpp:39:18: error: cstdio: No such file or directory /usr/src/contrib/atf/atf-c++/detail/application.cpp:40:19: error: cstdlib: No such file or directory /usr/src/contrib/atf/atf-c++/detail/application.cpp:41:19: error: cstring: No such file or directory /usr/src/contrib/atf/atf-c++/detail/application.cpp:42:20: error: iostream: No such file or directory In file included from /usr/src/contrib/atf/atf-c++/detail/application.cpp:48: /usr/src/contrib/atf/atf-c++/detail/application.hpp:33:19: error: ostream: No such file or directory /usr/src/contrib/atf/atf-c++/detail/application.hpp:34:15: error: set: No such file or directory ... In file included from /usr/src/contrib/atf/atf-c++/utils.cpp:37: /usr/src/contrib/atf/atf-c++/utils.hpp:37:18: error: string: No such file or directory mkdep: compile failed *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/atf/libatf-c++ *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/atf *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 When I modify /usr/src/lib/atf/libatf-c++/Makefile to a reference to a c++ include directory, the make depend completes but there's a lot of template errors: ===> lib/atf/libatf-c++ (obj) ===> lib/atf/libatf-c (depend) ===> lib/atf/libatf-c++ (depend) ===> lib/atf/libatf-c (all) ===> lib/atf/libatf-c++ (all) c++ -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib -O -pipe -DHAVE_CONFIG_H -DATF_ARCH='"arm"' -DATF_BUILD_CC='"cc -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' -DATF_BUILD_CFLAGS='"-O -pipe "' -DATF_BUILD_CPP='"cpp -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' -DATF_BUILD_CPPFLAGS='""' -DATF_BUILD_CXX='"c++ -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' -DATF_BUILD_CXXFLAGS='"-O -pipe "' -DATF_CONFDIR='"/etc/atf"' -DATF_C_TESTS_BASE='"/usr/tests/lib/atf/libatf-c"' -DATF_INCLUDEDIR='"/usr/include"' -DATF_LIBDIR='"/usr/lib"' -DATF_LIBEXECDIR='"/usr/libexec"' -DATF_MACHINE='"armv6"' -DATF_M4='"/usr/bin/m4"' -DATF_PKGDATADIR='"/usr/share/atf"' -DATF_SHELL='"/bin/sh"' -DATF_WORKDIR='"/tmp"' -I/usr/src/contrib/atf -I/usr/src/lib/atf/libatf-c++/../libatf-c -I. -I/usr/src/contrib/libc++/include -DHAVE_CONFIG_H -c /usr/src/contrib/atf/atf-c++/detail/application.cpp -o application.o In file included from /usr/src/contrib/libc++/include/algorithm:627, from /usr/src/contrib/libc++/include/string:439, from /usr/src/contrib/libc++/include/__locale:15, from /usr/src/contrib/libc++/include/ios:216, from /usr/src/contrib/libc++/include/iostream:38, from /usr/src/contrib/atf/atf-c++/detail/application.cpp:42: /usr/src/contrib/libc++/include/memory:3768: error: default template arguments may not be used in function templates /usr/src/contrib/libc++/include/memory:3775: error: default template arguments may not be used in function templates /usr/src/contrib/libc++/include/memory:3782: error: default template arguments may not be used in function templates /usr/src/contrib/libc++/include/memory:3814: error: default template arguments may not be used in function templates /usr/src/contrib/libc++/include/memory:3843: error: default template arguments may not be used in function templates /usr/src/contrib/libc++/include/memory:3852: error: default template arguments may not be used in function templates In file included from /usr/src/contrib/libc++/include/__mutex_base:16, from /usr/src/contrib/libc++/include/mutex:176, from /usr/src/contrib/libc++/include/__locale:18, from /usr/src/contrib/libc++/include/ios:216, from /usr/src/contrib/libc++/include/iostream:38, from /usr/src/contrib/atf/atf-c++/detail/application.cpp:42: /usr/src/contrib/libc++/include/system_error:249: error: expected identifier before 'class' /usr/src/contrib/libc++/include/system_error:251: error: ISO C++ forbids initialization of member 'address_family_not_supported' /usr/src/contrib/libc++/include/system_error:251: error: making 'address_family_not_supported' static /usr/src/contrib/libc++/include/system_error:251: error: ISO C++ forbids in-class initialization of non-const static member 'address_family_not_supported' /usr/src/contrib/libc++/include/system_error:252: error: ISO C++ forbids initialization of member 'address_in_use' /usr/src/contrib/libc++/include/system_error:252: error: making 'address_in_use' static /usr/src/contrib/libc++/include/system_error:252: error: ISO C++ forbids in-class initialization of non-const static member 'address_in_use' /usr/src/contrib/libc++/include/system_error:253: error: ISO C++ forbids initialization of member 'address_not_available' /usr/src/contrib/libc++/include/system_error:253: error: making 'address_not_available' static /usr/src/contrib/libc++/include/system_error:253: error: ISO C++ forbids in-class initialization of non-const static member 'address_not_available' /usr/src/contrib/libc++/include/system_error:254: error: ISO C++ forbids initialization of member 'already_connected' /usr/src/contrib/libc++/include/system_error:254: error: making 'already_connected' static /usr/src/contrib/libc++/include/system_error:254: error: ISO C++ forbids in-class initialization of non-const static member 'already_connected' /usr/src/contrib/libc++/include/system_error:255: error: ISO C++ forbids initialization of member 'argument_list_too_long' /usr/src/contrib/libc++/include/system_error:255: error: making 'argument_list_too_long' static /usr/src/contrib/libc++/include/system_error:255: error: ISO C++ forbids in-class initialization of non-const static member 'argument_list_too_long' /usr/src/contrib/libc++/include/system_error:256: error: ISO C++ forbids initialization of member 'argument_out_of_domain' /usr/src/contrib/libc++/include/system_error:256: error: making 'argument_out_of_domain' static /usr/src/contrib/libc++/include/system_error:256: error: ISO C++ forbids in-class initialization of non-const static member 'argument_out_of_domain' /usr/src/contrib/libc++/include/system_error:257: error: ISO C++ forbids initialization of member 'bad_address' /usr/src/contrib/libc++/include/system_error:257: error: making 'bad_address' static /usr/src/contrib/libc++/include/system_error:257: error: ISO C++ forbids in-class initialization of non-const static member 'bad_address' /usr/src/contrib/libc++/include/system_error:258: error: ISO C++ forbids initialization of member 'bad_file_descriptor' /usr/src/contrib/libc++/include/system_error:258: error: making 'bad_file_descriptor' static /usr/src/contrib/libc++/include/system_error:258: error: ISO C++ forbids in-class initialization of non-const static member 'bad_file_descriptor' /usr/src/contrib/libc++/include/system_error:259: error: ISO C++ forbids initialization of member 'bad_message' /usr/src/contrib/libc++/include/system_error:259: error: making 'bad_message' static /usr/src/contrib/libc++/include/system_error:259: error: ISO C++ forbids in-class initialization of non-const static member 'bad_message' /usr/src/contrib/libc++/include/system_error:260: error: ISO C++ forbids initialization of member 'broken_pipe' /usr/src/contrib/libc++/include/system_error:260: error: making 'broken_pipe' static /usr/src/contrib/libc++/include/system_error:260: error: ISO C++ forbids in-class initialization of non-const static member 'broken_pipe' /usr/src/contrib/libc++/include/system_error:261: error: ISO C++ forbids initialization of member 'connection_aborted' /usr/src/contrib/libc++/include/system_error:261: error: making 'connection_aborted' static /usr/src/contrib/libc++/include/system_error:261: error: ISO C++ forbids in-class initialization of non-const static member 'connection_aborted' /usr/src/contrib/libc++/include/system_error:262: error: ISO C++ forbids initialization of member 'connection_already_in_progress' /usr/src/contrib/libc++/include/system_error:262: error: making 'connection_already_in_progress' static /usr/src/contrib/libc++/include/system_error:262: error: ISO C++ forbids in-class initialization of non-const static member 'connection_already_in_progress' /usr/src/contrib/libc++/include/system_error:263: error: ISO C++ forbids initialization of member 'connection_refused' /usr/src/contrib/libc++/include/system_error:263: error: making 'connection_refused' static /usr/src/contrib/libc++/include/system_error:263: error: ISO C++ forbids in-class initialization of non-const static member 'connection_refused' /usr/src/contrib/libc++/include/system_error:264: error: ISO C++ forbids initialization of member 'connection_reset' /usr/src/contrib/libc++/include/system_error:264: error: making 'connection_reset' static /usr/src/contrib/libc++/include/system_error:264: error: ISO C++ forbids in-class initialization of non-const static member 'connection_reset' /usr/src/contrib/libc++/include/system_error:265: error: ISO C++ forbids initialization of member 'cross_device_link' /usr/src/contrib/libc++/include/system_error:265: error: making 'cross_device_link' static /usr/src/contrib/libc++/include/system_error:265: error: ISO C++ forbids in-class initialization of non-const static member 'cross_device_link' /usr/src/contrib/libc++/include/system_error:266: error: ISO C++ forbids initialization of member 'destination_address_required' /usr/src/contrib/libc++/include/system_error:266: error: making 'destination_address_required' static /usr/src/contrib/libc++/include/system_error:266: error: ISO C++ forbids in-class initialization of non-const static member 'destination_address_required' /usr/src/contrib/libc++/include/system_error:267: error: ISO C++ forbids initialization of member 'device_or_resource_busy' /usr/src/contrib/libc++/include/system_error:267: error: making 'device_or_resource_busy' static /usr/src/contrib/libc++/include/system_error:267: error: ISO C++ forbids in-class initialization of non-const static member 'device_or_resource_busy' /usr/src/contrib/libc++/include/system_error:268: error: ISO C++ forbids initialization of member 'directory_not_empty' /usr/src/contrib/libc++/include/system_error:268: error: making 'directory_not_empty' static /usr/src/contrib/libc++/include/system_error:268: error: ISO C++ forbids in-class initialization of non-const static member 'directory_not_empty' /usr/src/contrib/libc++/include/system_error:269: error: ISO C++ forbids initialization of member 'executable_format_error' /usr/src/contrib/libc++/include/system_error:269: error: making 'executable_format_error' static /usr/src/contrib/libc++/include/system_error:269: error: ISO C++ forbids in-class initialization of non-const static member 'executable_format_error' /usr/src/contrib/libc++/include/system_error:270: error: ISO C++ forbids initialization of member 'file_exists' /usr/src/contrib/libc++/include/system_error:270: error: making 'file_exists' static /usr/src/contrib/libc++/include/system_error:270: error: ISO C++ forbids in-class initialization of non-const static member 'file_exists' /usr/src/contrib/libc++/include/system_error:271: error: ISO C++ forbids initialization of member 'file_too_large' /usr/src/contrib/libc++/include/system_error:271: error: making 'file_too_large' static /usr/src/contrib/libc++/include/system_error:271: error: ISO C++ forbids in-class initialization of non-const static member 'file_too_large' /usr/src/contrib/libc++/include/system_error:272: error: ISO C++ forbids initialization of member 'filename_too_long' /usr/src/contrib/libc++/include/system_error:272: error: making 'filename_too_long' static /usr/src/contrib/libc++/include/system_error:272: error: ISO C++ forbids in-class initialization of non-const static member 'filename_too_long' /usr/src/contrib/libc++/include/system_error:273: error: ISO C++ forbids initialization of member 'function_not_supported' /usr/src/contrib/libc++/include/system_error:273: error: making 'function_not_supported' static /usr/src/contrib/libc++/include/system_error:273: error: ISO C++ forbids in-class initialization of non-const static member 'function_not_supported' /usr/src/contrib/libc++/include/system_error:274: error: ISO C++ forbids initialization of member 'host_unreachable' /usr/src/contrib/libc++/include/system_error:274: error: making 'host_unreachable' static /usr/src/contrib/libc++/include/system_error:274: error: ISO C++ forbids in-class initialization of non-const static member 'host_unreachable' /usr/src/contrib/libc++/include/system_error:275: error: ISO C++ forbids initialization of member 'identifier_removed' /usr/src/contrib/libc++/include/system_error:275: error: making 'identifier_removed' static /usr/src/contrib/libc++/include/system_error:275: error: ISO C++ forbids in-class initialization of non-const static member 'identifier_removed' /usr/src/contrib/libc++/include/system_error:276: error: ISO C++ forbids initialization of member 'illegal_byte_sequence' /usr/src/contrib/libc++/include/system_error:276: error: making 'illegal_byte_sequence' static /usr/src/contrib/libc++/include/system_error:276: error: ISO C++ forbids in-class initialization of non-const static member 'illegal_byte_sequence' /usr/src/contrib/libc++/include/system_error:277: error: ISO C++ forbids initialization of member 'inappropriate_io_control_operation' /usr/src/contrib/libc++/include/system_error:277: error: making 'inappropriate_io_control_operation' static /usr/src/contrib/libc++/include/system_error:277: error: ISO C++ forbids in-class initialization of non-const static member 'inappropriate_io_control_operation' /usr/src/contrib/libc++/include/system_error:278: error: ISO C++ forbids initialization of member 'interrupted' /usr/src/contrib/libc++/include/system_error:278: error: making 'interrupted' static /usr/src/contrib/libc++/include/system_error:278: error: ISO C++ forbids in-class initialization of non-const static member 'interrupted' /usr/src/contrib/libc++/include/system_error:279: error: ISO C++ forbids initialization of member 'invalid_argument' /usr/src/contrib/libc++/include/system_error:279: error: making 'invalid_argument' static /usr/src/contrib/libc++/include/system_error:279: error: ISO C++ forbids in-class initialization of non-const static member 'invalid_argument' /usr/src/contrib/libc++/include/system_error:280: error: ISO C++ forbids initialization of member 'invalid_seek' /usr/src/contrib/libc++/include/system_error:280: error: making 'invalid_seek' static /usr/src/contrib/libc++/include/system_error:280: error: ISO C++ forbids in-class initialization of non-const static member 'invalid_seek' /usr/src/contrib/libc++/include/system_error:281: error: ISO C++ forbids initialization of member 'io_error' /usr/src/contrib/libc++/include/system_error:281: error: making 'io_error' static /usr/src/contrib/libc++/include/system_error:281: error: ISO C++ forbids in-class initialization of non-const static member 'io_error' /usr/src/contrib/libc++/include/system_error:282: error: ISO C++ forbids initialization of member 'is_a_directory' /usr/src/contrib/libc++/include/system_error:282: error: making 'is_a_directory' static /usr/src/contrib/libc++/include/system_error:282: error: ISO C++ forbids in-class initialization of non-const static member 'is_a_directory' /usr/src/contrib/libc++/include/system_error:283: error: ISO C++ forbids initialization of member 'message_size' /usr/src/contrib/libc++/include/system_error:283: error: making 'message_size' static /usr/src/contrib/libc++/include/system_error:283: error: ISO C++ forbids in-class initialization of non-const static member 'message_size' /usr/src/contrib/libc++/include/system_error:284: error: ISO C++ forbids initialization of member 'network_down' /usr/src/contrib/libc++/include/system_error:284: error: making 'network_down' static /usr/src/contrib/libc++/include/system_error:284: error: ISO C++ forbids in-class initialization of non-const static member 'network_down' /usr/src/contrib/libc++/include/system_error:285: error: ISO C++ forbids initialization of member 'network_reset' /usr/src/contrib/libc++/include/system_error:285: error: making 'network_reset' static /usr/src/contrib/libc++/include/system_error:285: error: ISO C++ forbids in-class initialization of non-const static member 'network_reset' /usr/src/contrib/libc++/include/system_error:286: error: ISO C++ forbids initialization of member 'network_unreachable' /usr/src/contrib/libc++/include/system_error:286: error: making 'network_unreachable' static /usr/src/contrib/libc++/include/system_error:286: error: ISO C++ forbids in-class initialization of non-const static member 'network_unreachable' /usr/src/contrib/libc++/include/system_error:287: error: ISO C++ forbids initialization of member 'no_buffer_space' /usr/src/contrib/libc++/include/system_error:287: error: making 'no_buffer_space' static /usr/src/contrib/libc++/include/system_error:287: error: ISO C++ forbids in-class initialization of non-const static member 'no_buffer_space' /usr/src/contrib/libc++/include/system_error:288: error: ISO C++ forbids initialization of member 'no_child_process' /usr/src/contrib/libc++/include/system_error:288: error: making 'no_child_process' static /usr/src/contrib/libc++/include/system_error:288: error: ISO C++ forbids in-class initialization of non-const static member 'no_child_process' /usr/src/contrib/libc++/include/system_error:289: error: ISO C++ forbids initialization of member 'no_link' /usr/src/contrib/libc++/include/system_error:289: error: making 'no_link' static /usr/src/contrib/libc++/include/system_error:289: error: ISO C++ forbids in-class initialization of non-const static member 'no_link' /usr/src/contrib/libc++/include/system_error:290: error: ISO C++ forbids initialization of member 'no_lock_available' /usr/src/contrib/libc++/include/system_error:290: error: making 'no_lock_available' static /usr/src/contrib/libc++/include/system_error:290: error: ISO C++ forbids in-class initialization of non-const static member 'no_lock_available' /usr/src/contrib/libc++/include/system_error:292: error: ISO C++ forbids initialization of member 'no_message_available' /usr/src/contrib/libc++/include/system_error:292: error: making 'no_message_available' static /usr/src/contrib/libc++/include/system_error:292: error: ISO C++ forbids in-class initialization of non-const static member 'no_message_available' /usr/src/contrib/libc++/include/system_error:296: error: ISO C++ forbids initialization of member 'no_message' /usr/src/contrib/libc++/include/system_error:296: error: making 'no_message' static /usr/src/contrib/libc++/include/system_error:296: error: ISO C++ forbids in-class initialization of non-const static member 'no_message' /usr/src/contrib/libc++/include/system_error:297: error: ISO C++ forbids initialization of member 'no_protocol_option' /usr/src/contrib/libc++/include/system_error:297: error: making 'no_protocol_option' static /usr/src/contrib/libc++/include/system_error:297: error: ISO C++ forbids in-class initialization of non-const static member 'no_protocol_option' /usr/src/contrib/libc++/include/system_error:298: error: ISO C++ forbids initialization of member 'no_space_on_device' /usr/src/contrib/libc++/include/system_error:298: error: making 'no_space_on_device' static /usr/src/contrib/libc++/include/system_error:298: error: ISO C++ forbids in-class initialization of non-const static member 'no_space_on_device' /usr/src/contrib/libc++/include/system_error:300: error: ISO C++ forbids initialization of member 'no_stream_resources' /usr/src/contrib/libc++/include/system_error:300: error: making 'no_stream_resources' static /usr/src/contrib/libc++/include/system_error:300: error: ISO C++ forbids in-class initialization of non-const static member 'no_stream_resources' /usr/src/contrib/libc++/include/system_error:304: error: ISO C++ forbids initialization of member 'no_such_device_or_address' /usr/src/contrib/libc++/include/system_error:304: error: making 'no_such_device_or_address' static /usr/src/contrib/libc++/include/system_error:304: error: ISO C++ forbids in-class initialization of non-const static member 'no_such_device_or_address' /usr/src/contrib/libc++/include/system_error:305: error: ISO C++ forbids initialization of member 'no_such_device' /usr/src/contrib/libc++/include/system_error:305: error: making 'no_such_device' static /usr/src/contrib/libc++/include/system_error:305: error: ISO C++ forbids in-class initialization of non-const static member 'no_such_device' /usr/src/contrib/libc++/include/system_error:306: error: ISO C++ forbids initialization of member 'no_such_file_or_directory' /usr/src/contrib/libc++/include/system_error:306: error: making 'no_such_file_or_directory' static /usr/src/contrib/libc++/include/system_error:306: error: ISO C++ forbids in-class initialization of non-const static member 'no_such_file_or_directory' /usr/src/contrib/libc++/include/system_error:307: error: ISO C++ forbids initialization of member 'no_such_process' /usr/src/contrib/libc++/include/system_error:307: error: making 'no_such_process' static /usr/src/contrib/libc++/include/system_error:307: error: ISO C++ forbids in-class initialization of non-const static member 'no_such_process' /usr/src/contrib/libc++/include/system_error:308: error: ISO C++ forbids initialization of member 'not_a_directory' /usr/src/contrib/libc++/include/system_error:308: error: making 'not_a_directory' static /usr/src/contrib/libc++/include/system_error:308: error: ISO C++ forbids in-class initialization of non-const static member 'not_a_directory' /usr/src/contrib/libc++/include/system_error:309: error: ISO C++ forbids initialization of member 'not_a_socket' /usr/src/contrib/libc++/include/system_error:309: error: making 'not_a_socket' static /usr/src/contrib/libc++/include/system_error:309: error: ISO C++ forbids in-class initialization of non-const static member 'not_a_socket' /usr/src/contrib/libc++/include/system_error:311: error: ISO C++ forbids initialization of member 'not_a_stream' /usr/src/contrib/libc++/include/system_error:311: error: making 'not_a_stream' static /usr/src/contrib/libc++/include/system_error:311: error: ISO C++ forbids in-class initialization of non-const static member 'not_a_stream' /usr/src/contrib/libc++/include/system_error:315: error: ISO C++ forbids initialization of member 'not_connected' /usr/src/contrib/libc++/include/system_error:315: error: making 'not_connected' static /usr/src/contrib/libc++/include/system_error:315: error: ISO C++ forbids in-class initialization of non-const static member 'not_connected' /usr/src/contrib/libc++/include/system_error:316: error: ISO C++ forbids initialization of member 'not_enough_memory' /usr/src/contrib/libc++/include/system_error:316: error: making 'not_enough_memory' static /usr/src/contrib/libc++/include/system_error:316: error: ISO C++ forbids in-class initialization of non-const static member 'not_enough_memory' /usr/src/contrib/libc++/include/system_error:317: error: ISO C++ forbids initialization of member 'not_supported' /usr/src/contrib/libc++/include/system_error:317: error: making 'not_supported' static /usr/src/contrib/libc++/include/system_error:317: error: ISO C++ forbids in-class initialization of non-const static member 'not_supported' /usr/src/contrib/libc++/include/system_error:318: error: ISO C++ forbids initialization of member 'operation_canceled' /usr/src/contrib/libc++/include/system_error:318: error: making 'operation_canceled' static /usr/src/contrib/libc++/include/system_error:318: error: ISO C++ forbids in-class initialization of non-const static member 'operation_canceled' /usr/src/contrib/libc++/include/system_error:319: error: ISO C++ forbids initialization of member 'operation_in_progress' /usr/src/contrib/libc++/include/system_error:319: error: making 'operation_in_progress' static /usr/src/contrib/libc++/include/system_error:319: error: ISO C++ forbids in-class initialization of non-const static member 'operation_in_progress' /usr/src/contrib/libc++/include/system_error:320: error: ISO C++ forbids initialization of member 'operation_not_permitted' /usr/src/contrib/libc++/include/system_error:320: error: making 'operation_not_permitted' static /usr/src/contrib/libc++/include/system_error:320: error: ISO C++ forbids in-class initialization of non-const static member 'operation_not_permitted' /usr/src/contrib/libc++/include/system_error:321: error: ISO C++ forbids initialization of member 'operation_not_supported' /usr/src/contrib/libc++/include/system_error:321: error: making 'operation_not_supported' static /usr/src/contrib/libc++/include/system_error:321: error: ISO C++ forbids in-class initialization of non-const static member 'operation_not_supported' /usr/src/contrib/libc++/include/system_error:322: error: ISO C++ forbids initialization of member 'operation_would_block' /usr/src/contrib/libc++/include/system_error:322: error: making 'operation_would_block' static /usr/src/contrib/libc++/include/system_error:322: error: ISO C++ forbids in-class initialization of non-const static member 'operation_would_block' /usr/src/contrib/libc++/include/system_error:323: error: ISO C++ forbids initialization of member 'owner_dead' /usr/src/contrib/libc++/include/system_error:323: error: making 'owner_dead' static /usr/src/contrib/libc++/include/system_error:323: error: ISO C++ forbids in-class initialization of non-const static member 'owner_dead' /usr/src/contrib/libc++/include/system_error:324: error: ISO C++ forbids initialization of member 'permission_denied' /usr/src/contrib/libc++/include/system_error:324: error: making 'permission_denied' static /usr/src/contrib/libc++/include/system_error:324: error: ISO C++ forbids in-class initialization of non-const static member 'permission_denied' /usr/src/contrib/libc++/include/system_error:325: error: ISO C++ forbids initialization of member 'protocol_error' /usr/src/contrib/libc++/include/system_error:325: error: making 'protocol_error' static /usr/src/contrib/libc++/include/system_error:325: error: ISO C++ forbids in-class initialization of non-const static member 'protocol_error' /usr/src/contrib/libc++/include/system_error:326: error: ISO C++ forbids initialization of member 'protocol_not_supported' /usr/src/contrib/libc++/include/system_error:326: error: making 'protocol_not_supported' static /usr/src/contrib/libc++/include/system_error:326: error: ISO C++ forbids in-class initialization of non-const static member 'protocol_not_supported' /usr/src/contrib/libc++/include/system_error:327: error: ISO C++ forbids initialization of member 'read_only_file_system' /usr/src/contrib/libc++/include/system_error:327: error: making 'read_only_file_system' static /usr/src/contrib/libc++/include/system_error:327: error: ISO C++ forbids in-class initialization of non-const static member 'read_only_file_system' /usr/src/contrib/libc++/include/system_error:328: error: ISO C++ forbids initialization of member 'resource_deadlock_would_occur' /usr/src/contrib/libc++/include/system_error:328: error: making 'resource_deadlock_would_occur' static /usr/src/contrib/libc++/include/system_error:328: error: ISO C++ forbids in-class initialization of non-const static member 'resource_deadlock_would_occur' /usr/src/contrib/libc++/include/system_error:329: error: ISO C++ forbids initialization of member 'resource_unavailable_try_again' /usr/src/contrib/libc++/include/system_error:329: error: making 'resource_unavailable_try_again' static /usr/src/contrib/libc++/include/system_error:329: error: ISO C++ forbids in-class initialization of non-const static member 'resource_unavailable_try_again' /usr/src/contrib/libc++/include/system_error:330: error: ISO C++ forbids initialization of member 'result_out_of_range' /usr/src/contrib/libc++/include/system_error:330: error: making 'result_out_of_range' static /usr/src/contrib/libc++/include/system_error:330: error: ISO C++ forbids in-class initialization of non-const static member 'result_out_of_range' /usr/src/contrib/libc++/include/system_error:331: error: ISO C++ forbids initialization of member 'state_not_recoverable' /usr/src/contrib/libc++/include/system_error:331: error: making 'state_not_recoverable' static /usr/src/contrib/libc++/include/system_error:331: error: ISO C++ forbids in-class initialization of non-const static member 'state_not_recoverable' /usr/src/contrib/libc++/include/system_error:333: error: ISO C++ forbids initialization of member 'stream_timeout' /usr/src/contrib/libc++/include/system_error:333: error: making 'stream_timeout' static /usr/src/contrib/libc++/include/system_error:333: error: ISO C++ forbids in-class initialization of non-const static member 'stream_timeout' /usr/src/contrib/libc++/include/system_error:337: error: ISO C++ forbids initialization of member 'text_file_busy' /usr/src/contrib/libc++/include/system_error:337: error: making 'text_file_busy' static /usr/src/contrib/libc++/include/system_error:337: error: ISO C++ forbids in-class initialization of non-const static member 'text_file_busy' /usr/src/contrib/libc++/include/system_error:338: error: ISO C++ forbids initialization of member 'timed_out' /usr/src/contrib/libc++/include/system_error:338: error: making 'timed_out' static /usr/src/contrib/libc++/include/system_error:338: error: ISO C++ forbids in-class initialization of non-const static member 'timed_out' /usr/src/contrib/libc++/include/system_error:339: error: ISO C++ forbids initialization of member 'too_many_files_open_in_system' /usr/src/contrib/libc++/include/system_error:339: error: making 'too_many_files_open_in_system' static /usr/src/contrib/libc++/include/system_error:339: error: ISO C++ forbids in-class initialization of non-const static member 'too_many_files_open_in_system' /usr/src/contrib/libc++/include/system_error:340: error: ISO C++ forbids initialization of member 'too_many_files_open' /usr/src/contrib/libc++/include/system_error:340: error: making 'too_many_files_open' static /usr/src/contrib/libc++/include/system_error:340: error: ISO C++ forbids in-class initialization of non-const static member 'too_many_files_open' /usr/src/contrib/libc++/include/system_error:341: error: ISO C++ forbids initialization of member 'too_many_links' /usr/src/contrib/libc++/include/system_error:341: error: making 'too_many_links' static /usr/src/contrib/libc++/include/system_error:341: error: ISO C++ forbids in-class initialization of non-const static member 'too_many_links' /usr/src/contrib/libc++/include/system_error:342: error: ISO C++ forbids initialization of member 'too_many_symbolic_link_levels' /usr/src/contrib/libc++/include/system_error:342: error: making 'too_many_symbolic_link_levels' static /usr/src/contrib/libc++/include/system_error:342: error: ISO C++ forbids in-class initialization of non-const static member 'too_many_symbolic_link_levels' /usr/src/contrib/libc++/include/system_error:343: error: ISO C++ forbids initialization of member 'value_too_large' /usr/src/contrib/libc++/include/system_error:343: error: making 'value_too_large' static /usr/src/contrib/libc++/include/system_error:343: error: ISO C++ forbids in-class initialization of non-const static member 'value_too_large' /usr/src/contrib/libc++/include/system_error:344: error: ISO C++ forbids initialization of member 'wrong_protocol_type' /usr/src/contrib/libc++/include/system_error:344: error: making 'wrong_protocol_type' static /usr/src/contrib/libc++/include/system_error:344: error: ISO C++ forbids in-class initialization of non-const static member 'wrong_protocol_type' /usr/src/contrib/libc++/include/system_error:345: error: expected ';' before '}' token /usr/src/contrib/libc++/include/system_error:345: error: expected `;' before '}' token /usr/src/contrib/libc++/include/system_error:345: error: multiple types in one declaration /usr/src/contrib/libc++/include/system_error: In function 'std::__1::error_condition std::__1::make_error_condition(std::__1::errc)': /usr/src/contrib/libc++/include/system_error:468: error: invalid static_cast from type 'std::__1::errc' to type 'int' /usr/src/contrib/libc++/include/system_error: In function 'std::__1::error_code std::__1::make_error_code(std::__1::errc)': /usr/src/contrib/libc++/include/system_error:545: error: invalid static_cast from type 'std::__1::errc' to type 'int' In file included from /usr/src/contrib/libc++/include/iostream:38, from /usr/src/contrib/atf/atf-c++/detail/application.cpp:42: /usr/src/contrib/libc++/include/ios: At global scope: /usr/src/contrib/libc++/include/ios:384: error: expected identifier before 'class' /usr/src/contrib/libc++/include/ios:386: error: ISO C++ forbids initialization of member 'stream' /usr/src/contrib/libc++/include/ios:386: error: making 'stream' static /usr/src/contrib/libc++/include/ios:386: error: ISO C++ forbids in-class initialization of non-const static member 'stream' /usr/src/contrib/libc++/include/ios:387: error: expected ';' before '}' token /usr/src/contrib/libc++/include/ios:387: error: expected `;' before '}' token /usr/src/contrib/libc++/include/ios:387: error: multiple types in one declaration /usr/src/contrib/libc++/include/ios: In function 'std::__1::error_code std::__1::make_error_code(std::__1::io_errc)': /usr/src/contrib/libc++/include/ios:405: error: invalid static_cast from type 'std::__1::io_errc' to type 'int' /usr/src/contrib/libc++/include/ios: In function 'std::__1::error_condition std::__1::make_error_condition(std::__1::io_errc)': /usr/src/contrib/libc++/include/ios:412: error: invalid static_cast from type 'std::__1::io_errc' to type 'int' /usr/src/contrib/libc++/include/ios: At global scope: /usr/src/contrib/libc++/include/ios:419: error: 'stream' is not a member of 'std::__1::io_errc' /usr/src/contrib/libc++/include/ios:420: error: 'stream' is not a member of 'std::__1::io_errc' /usr/src/contrib/libc++/include/type_traits: In instantiation of 'std::__1::is_base_of': /usr/src/contrib/libc++/include/type_traits:856: instantiated from 'std::__1::__is_convertible' /usr/src/contrib/libc++/include/type_traits:909: instantiated from 'std::__1::is_convertible' /usr/src/contrib/libc++/include/iterator:379: instantiated from 'std::__1::__iterator_traits*, int>, true>' /usr/src/contrib/libc++/include/iterator:398: instantiated from 'std::__1::iterator_traits*, int> >' /usr/src/contrib/libc++/include/iterator:364: instantiated from 'const bool std::__1::__has_iterator_category*, int> > >::value' /usr/src/contrib/libc++/include/iterator:422: instantiated from 'std::__1::__is_forward_iterator*, int> >' /usr/src/contrib/libc++/include/__tree:1682: instantiated from 'typename std::__1::__tree<_Tp, _Compare, _Allocator>::__node_base::pointer& std::__1::__tree<_Tp, _Compare, _Allocator>::__find_equal(std::__1::__tree_const_iterator<_Tp, typename std::__1::allocator_traits::rebind_alloc::void_pointer> >::other>::pointer, typename std::__1::allocator_traits<_Allocator>::difference_type>, typename std::__1::__tree_node_base::void_pointer>::pointer&, const _Key&) [with _Key = atf::application::option, _Tp = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/libc++/include/__tree:1885: instantiated from 'typename std::__1::__tree<_Tp, _Compare, _Allocator>::iterator std::__1::__tree<_Tp, _Compare, _Allocator>::__insert_unique(std::__1::__tree_const_iterator<_Tp, typename std::__1::allocator_traits::rebind_alloc::void_pointer> >::other>::pointer, typename std::__1::allocator_traits<_Allocator>::difference_type>, const _Tp&) [with _Tp = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/libc++/include/set:608: instantiated from 'void std::__1::set<_Key, _Compare, _Allocator>::insert(_InputIterator, _InputIterator) [with _InputIterator = std::__1::__tree_const_iterator*, int>, _Key = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/libc++/include/set:466: instantiated from 'std::__1::set<_Key, _Compare, _Allocator>::set(const std::__1::set<_Key, _Compare, _Allocator>&) [with _Key = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/atf/atf-c++/detail/application.cpp:130: instantiated from here /usr/src/contrib/libc++/include/type_traits:793: error: call of overloaded '_Dst(std::__1::__is_base_of_imp::_Src&)' is ambiguous /usr/src/contrib/libc++/include/type_traits:777: note: candidates are: std::__1::__is_base_of_imp::_Dst<_Tp>::_Dst(const volatile _Tp&) [with _Tp = std::__1::input_iterator_tag] /usr/src/contrib/libc++/include/type_traits:776: note: std::__1::__is_base_of_imp::_Dst::_Dst(const std::__1::__is_base_of_imp::_Dst&) /usr/src/contrib/libc++/include/type_traits: In instantiation of 'std::__1::is_base_of': /usr/src/contrib/libc++/include/type_traits:856: instantiated from 'std::__1::__is_convertible' /usr/src/contrib/libc++/include/type_traits:909: instantiated from 'std::__1::is_convertible' /usr/src/contrib/libc++/include/iterator:413: instantiated from 'std::__1::__has_iterator_category_convertible_to*, int>, std::__1::forward_iterator_tag, true>' /usr/src/contrib/libc++/include/iterator:422: instantiated from 'std::__1::__is_forward_iterator*, int> >' /usr/src/contrib/libc++/include/__tree:1682: instantiated from 'typename std::__1::__tree<_Tp, _Compare, _Allocator>::__node_base::pointer& std::__1::__tree<_Tp, _Compare, _Allocator>::__find_equal(std::__1::__tree_const_iterator<_Tp, typename std::__1::allocator_traits::rebind_alloc::void_pointer> >::other>::pointer, typename std::__1::allocator_traits<_Allocator>::difference_type>, typename std::__1::__tree_node_base::void_pointer>::pointer&, const _Key&) [with _Key = atf::application::option, _Tp = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/libc++/include/__tree:1885: instantiated from 'typename std::__1::__tree<_Tp, _Compare, _Allocator>::iterator std::__1::__tree<_Tp, _Compare, _Allocator>::__insert_unique(std::__1::__tree_const_iterator<_Tp, typename std::__1::allocator_traits::rebind_alloc::void_pointer> >::other>::pointer, typename std::__1::allocator_traits<_Allocator>::difference_type>, const _Tp&) [with _Tp = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/libc++/include/set:608: instantiated from 'void std::__1::set<_Key, _Compare, _Allocator>::insert(_InputIterator, _InputIterator) [with _InputIterator = std::__1::__tree_const_iterator*, int>, _Key = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/libc++/include/set:466: instantiated from 'std::__1::set<_Key, _Compare, _Allocator>::set(const std::__1::set<_Key, _Compare, _Allocator>&) [with _Key = atf::application::option, _Compare = std::__1::less, _Allocator = std::__1::allocator]' /usr/src/contrib/atf/atf-c++/detail/application.cpp:130: instantiated from here /usr/src/contrib/libc++/include/type_traits:793: error: call of overloaded '_Dst(std::__1::__is_base_of_imp::_Src&)' is ambiguous /usr/src/contrib/libc++/include/type_traits:777: note: candidates are: std::__1::__is_base_of_imp::_Dst<_Tp>::_Dst(const volatile _Tp&) [with _Tp = std::__1::forward_iterator_tag] /usr/src/contrib/libc++/include/type_traits:776: note: std::__1::__is_base_of_imp::_Dst::_Dst(const std::__1::__is_base_of_imp::_Dst&) *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/atf/libatf-c++ *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/atf *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Any ideas on how I can fix this? I'd be happy to work with someone to debug this. Thanks! Felix From owner-freebsd-arm@FreeBSD.ORG Mon Oct 13 23:53:01 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6862E2E for ; Mon, 13 Oct 2014 23:53:01 +0000 (UTC) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9507769A for ; Mon, 13 Oct 2014 23:53:01 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id bj1so6768821pad.1 for ; Mon, 13 Oct 2014 16:52:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=JZ3eDUjDp3uhCHZGgKiX94Jwur05/HhqI0F8L/Ve4Jc=; b=g+kC9ILUDlNv/y9W79fiSCeesSxKMBNR5pDHtVSbWge+HYWckvpBbLClnN53zAt4Hh oo2MF5/Me9hzqImIrazj8wn6a4wqkMwWhfqkaXGa22/BK55vGkBvacvKOBNO/7LNkoNN L1w8UK3OuDWVQF+WEizBmOQ1mOgTmmytYpdxAWzrdTCzSyKLqBuuMrXfdGSQbSVf0YOA V44L+yKa/KqrF+WQmb7oWrKFcX9gKljVDw7V7wdsTu6naM5gy7Ke1TTGYUaEumq74g2r PIUDsg2Zwo8fGVYjkSaq7+McH4W9H6ZLKuCAF2bqV2DJBeGE9V6XDuPQZ9Mn4m2uzp6I y27g== X-Gm-Message-State: ALoCoQn4bnGQIPCkS7i3ztqlIrd38JPUoksANPlT3mX7KsX3hcL/h5nxE+z8KTmXXlECn2A45cFg X-Received: by 10.70.26.35 with SMTP id i3mr1699034pdg.84.1413244375737; Mon, 13 Oct 2014 16:52:55 -0700 (PDT) Received: from [10.64.26.87] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id k11sm8483579pbq.0.2014.10.13.16.52.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Oct 2014 16:52:55 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_4C0936E9-8FC1-478A-8AB7-E3B8DBD60CEF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Build xdev fails in libatf-c++ From: Warner Losh In-Reply-To: Date: Mon, 13 Oct 2014 17:52:52 -0600 Message-Id: <8E6864FE-B535-4377-913B-44C9117DA291@bsdimp.com> References: To: Felix Johnson X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 23:53:01 -0000 --Apple-Mail=_4C0936E9-8FC1-478A-8AB7-E3B8DBD60CEF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Build it WITHOUT_TESTS. The folks that added the tests never took the = time to make it work. Warner On Oct 13, 2014, at 5:51 PM, Felix Johnson = wrote: > Hello, >=20 > I'm trying to set up a cross-build environment for my Beagleboard XM, > using a FreeBSD 11 snapshot on an AMD64 virtual machine. >=20 > I updated /usr/src to -HEAD revision 273066, > and followed the "build xdev" instructions in crochet. >=20 > Unfortunately, the build dies in make depend for lib/atf/libatf-c++. > It looks like it's missing an include reference to the C++ standard > libraries: > =3D=3D=3D> lib/atf/libatf-c (obj) > =3D=3D=3D> lib/atf/libatf-c++ (obj) > =3D=3D=3D> lib/atf/libatf-c (depend) > =3D=3D=3D> lib/atf/libatf-c++ (depend) > rm -f .depend > CC=3D'cc -isystem //usr/armv6-freebsd/usr/include > -L//usr/armv6-freebsd/usr/lib --sysroot=3D//usr/armv6-freebsd/ > -B//usr/armv6-freebsd/usr/libexec -B//usr/armv6-freebsd/usr/bin > -B//usr/armv6-freebsd/usr/lib' mkdep -f .depend -a -DHAVE_CONFIG_H > -DATF_ARCH=3D'"arm"' -DATF_BUILD_CC=3D'"cc -isystem > //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' > -DATF_BUILD_CFLAGS=3D'"-O -pipe "' -DATF_BUILD_CPP=3D'"cpp -isystem > //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' > -DATF_BUILD_CPPFLAGS=3D'""' -DATF_BUILD_CXX=3D'"c++ -isystem > //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' > -DATF_BUILD_CXXFLAGS=3D'"-O -pipe "' -DATF_CONFDIR=3D'"/etc/atf"' > -DATF_C_TESTS_BASE=3D'"/usr/tests/lib/atf/libatf-c"' > -DATF_INCLUDEDIR=3D'"/usr/include"' -DATF_LIBDIR=3D'"/usr/lib"' > -DATF_LIBEXECDIR=3D'"/usr/libexec"' -DATF_MACHINE=3D'"armv6"' > -DATF_M4=3D'"/usr/bin/m4"' -DATF_PKGDATADIR=3D'"/usr/share/atf"' > -DATF_SHELL=3D'"/bin/sh"' -DATF_WORKDIR=3D'"/tmp"' = -I/usr/src/contrib/atf > -I/usr/src/lib/atf/libatf-c++/../libatf-c -I. -DHAVE_CONFIG_H > /usr/src/contrib/atf/atf-c++/detail/application.cpp > /usr/src/contrib/atf/atf-c++/build.cpp > /usr/src/contrib/atf/atf-c++/check.cpp > /usr/src/contrib/atf/atf-c++/config.cpp > /usr/src/contrib/atf/atf-c++/detail/env.cpp > /usr/src/contrib/atf/atf-c++/detail/exceptions.cpp > /usr/src/contrib/atf/atf-c++/detail/fs.cpp > /usr/src/contrib/atf/atf-c++/detail/process.cpp > /usr/src/contrib/atf/atf-c++/tests.cpp > /usr/src/contrib/atf/atf-c++/detail/text.cpp > /usr/src/contrib/atf/atf-c++/utils.cpp > /usr/src/contrib/atf/atf-c++/detail/application.cpp:38:19: error: = cstdarg: > No such file or directory > /usr/src/contrib/atf/atf-c++/detail/application.cpp:39:18: error: = cstdio: > No such file or directory > /usr/src/contrib/atf/atf-c++/detail/application.cpp:40:19: error: = cstdlib: > No such file or directory > /usr/src/contrib/atf/atf-c++/detail/application.cpp:41:19: error: = cstring: > No such file or directory > /usr/src/contrib/atf/atf-c++/detail/application.cpp:42:20: error: = iostream: > No such file or directory > In file included from > /usr/src/contrib/atf/atf-c++/detail/application.cpp:48: > /usr/src/contrib/atf/atf-c++/detail/application.hpp:33:19: error: = ostream: > No such file or directory > /usr/src/contrib/atf/atf-c++/detail/application.hpp:34:15: error: set: = No > such file or directory > ... > > In file included from /usr/src/contrib/atf/atf-c++/utils.cpp:37: > /usr/src/contrib/atf/atf-c++/utils.hpp:37:18: error: string: No such = file > or directory > mkdep: compile failed > *** Error code 1 >=20 > Stop. > make[5]: stopped in /usr/src/lib/atf/libatf-c++ > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/lib/atf > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > When I modify /usr/src/lib/atf/libatf-c++/Makefile to a reference to a = c++ > include directory, > the make depend completes but there's a lot of template errors: > =3D=3D=3D> lib/atf/libatf-c++ (obj) > =3D=3D=3D> lib/atf/libatf-c (depend) > =3D=3D=3D> lib/atf/libatf-c++ (depend) > =3D=3D=3D> lib/atf/libatf-c (all) > =3D=3D=3D> lib/atf/libatf-c++ (all) > c++ -isystem //usr/armv6-freebsd/usr/include = -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib -O -pipe > -DHAVE_CONFIG_H -DATF_ARCH=3D'"arm"' -DATF_BUILD_CC=3D'"cc -isystem > //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' > -DATF_BUILD_CFLAGS=3D'"-O -pipe "' -DATF_BUILD_CPP=3D'"cpp -isystem > //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' > -DATF_BUILD_CPPFLAGS=3D'""' -DATF_BUILD_CXX=3D'"c++ -isystem > //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib > --sysroot=3D//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec > -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"' > -DATF_BUILD_CXXFLAGS=3D'"-O -pipe "' -DATF_CONFDIR=3D'"/etc/atf"' > -DATF_C_TESTS_BASE=3D'"/usr/tests/lib/atf/libatf-c"' > -DATF_INCLUDEDIR=3D'"/usr/include"' -DATF_LIBDIR=3D'"/usr/lib"' > -DATF_LIBEXECDIR=3D'"/usr/libexec"' -DATF_MACHINE=3D'"armv6"' > -DATF_M4=3D'"/usr/bin/m4"' -DATF_PKGDATADIR=3D'"/usr/share/atf"' > -DATF_SHELL=3D'"/bin/sh"' -DATF_WORKDIR=3D'"/tmp"' = -I/usr/src/contrib/atf > -I/usr/src/lib/atf/libatf-c++/../libatf-c -I. > -I/usr/src/contrib/libc++/include -DHAVE_CONFIG_H -c > /usr/src/contrib/atf/atf-c++/detail/application.cpp -o application.o > In file included from /usr/src/contrib/libc++/include/algorithm:627, > from /usr/src/contrib/libc++/include/string:439, > from /usr/src/contrib/libc++/include/__locale:15, > from /usr/src/contrib/libc++/include/ios:216, > from /usr/src/contrib/libc++/include/iostream:38, > from > /usr/src/contrib/atf/atf-c++/detail/application.cpp:42: > /usr/src/contrib/libc++/include/memory:3768: error: default template > arguments may not be used in function templates > /usr/src/contrib/libc++/include/memory:3775: error: default template > arguments may not be used in function templates > /usr/src/contrib/libc++/include/memory:3782: error: default template > arguments may not be used in function templates > /usr/src/contrib/libc++/include/memory:3814: error: default template > arguments may not be used in function templates > /usr/src/contrib/libc++/include/memory:3843: error: default template > arguments may not be used in function templates > /usr/src/contrib/libc++/include/memory:3852: error: default template > arguments may not be used in function templates > In file included from /usr/src/contrib/libc++/include/__mutex_base:16, > from /usr/src/contrib/libc++/include/mutex:176, > from /usr/src/contrib/libc++/include/__locale:18, > from /usr/src/contrib/libc++/include/ios:216, > from /usr/src/contrib/libc++/include/iostream:38, > from > /usr/src/contrib/atf/atf-c++/detail/application.cpp:42: > /usr/src/contrib/libc++/include/system_error:249: error: expected > identifier before 'class' > /usr/src/contrib/libc++/include/system_error:251: error: ISO C++ = forbids > initialization of member 'address_family_not_supported' > /usr/src/contrib/libc++/include/system_error:251: error: making > 'address_family_not_supported' static > /usr/src/contrib/libc++/include/system_error:251: error: ISO C++ = forbids > in-class initialization of non-const static member > 'address_family_not_supported' > /usr/src/contrib/libc++/include/system_error:252: error: ISO C++ = forbids > initialization of member 'address_in_use' > /usr/src/contrib/libc++/include/system_error:252: error: making > 'address_in_use' static > /usr/src/contrib/libc++/include/system_error:252: error: ISO C++ = forbids > in-class initialization of non-const static member 'address_in_use' > /usr/src/contrib/libc++/include/system_error:253: error: ISO C++ = forbids > initialization of member 'address_not_available' > /usr/src/contrib/libc++/include/system_error:253: error: making > 'address_not_available' static > /usr/src/contrib/libc++/include/system_error:253: error: ISO C++ = forbids > in-class initialization of non-const static member = 'address_not_available' > /usr/src/contrib/libc++/include/system_error:254: error: ISO C++ = forbids > initialization of member 'already_connected' > /usr/src/contrib/libc++/include/system_error:254: error: making > 'already_connected' static > /usr/src/contrib/libc++/include/system_error:254: error: ISO C++ = forbids > in-class initialization of non-const static member 'already_connected' > /usr/src/contrib/libc++/include/system_error:255: error: ISO C++ = forbids > initialization of member 'argument_list_too_long' > /usr/src/contrib/libc++/include/system_error:255: error: making > 'argument_list_too_long' static > /usr/src/contrib/libc++/include/system_error:255: error: ISO C++ = forbids > in-class initialization of non-const static member = 'argument_list_too_long' > /usr/src/contrib/libc++/include/system_error:256: error: ISO C++ = forbids > initialization of member 'argument_out_of_domain' > /usr/src/contrib/libc++/include/system_error:256: error: making > 'argument_out_of_domain' static > /usr/src/contrib/libc++/include/system_error:256: error: ISO C++ = forbids > in-class initialization of non-const static member = 'argument_out_of_domain' > /usr/src/contrib/libc++/include/system_error:257: error: ISO C++ = forbids > initialization of member 'bad_address' > /usr/src/contrib/libc++/include/system_error:257: error: making > 'bad_address' static > /usr/src/contrib/libc++/include/system_error:257: error: ISO C++ = forbids > in-class initialization of non-const static member 'bad_address' > /usr/src/contrib/libc++/include/system_error:258: error: ISO C++ = forbids > initialization of member 'bad_file_descriptor' > /usr/src/contrib/libc++/include/system_error:258: error: making > 'bad_file_descriptor' static > /usr/src/contrib/libc++/include/system_error:258: error: ISO C++ = forbids > in-class initialization of non-const static member = 'bad_file_descriptor' > /usr/src/contrib/libc++/include/system_error:259: error: ISO C++ = forbids > initialization of member 'bad_message' > /usr/src/contrib/libc++/include/system_error:259: error: making > 'bad_message' static > /usr/src/contrib/libc++/include/system_error:259: error: ISO C++ = forbids > in-class initialization of non-const static member 'bad_message' > /usr/src/contrib/libc++/include/system_error:260: error: ISO C++ = forbids > initialization of member 'broken_pipe' > /usr/src/contrib/libc++/include/system_error:260: error: making > 'broken_pipe' static > /usr/src/contrib/libc++/include/system_error:260: error: ISO C++ = forbids > in-class initialization of non-const static member 'broken_pipe' > /usr/src/contrib/libc++/include/system_error:261: error: ISO C++ = forbids > initialization of member 'connection_aborted' > /usr/src/contrib/libc++/include/system_error:261: error: making > 'connection_aborted' static > /usr/src/contrib/libc++/include/system_error:261: error: ISO C++ = forbids > in-class initialization of non-const static member = 'connection_aborted' > /usr/src/contrib/libc++/include/system_error:262: error: ISO C++ = forbids > initialization of member 'connection_already_in_progress' > /usr/src/contrib/libc++/include/system_error:262: error: making > 'connection_already_in_progress' static > /usr/src/contrib/libc++/include/system_error:262: error: ISO C++ = forbids > in-class initialization of non-const static member > 'connection_already_in_progress' > /usr/src/contrib/libc++/include/system_error:263: error: ISO C++ = forbids > initialization of member 'connection_refused' > /usr/src/contrib/libc++/include/system_error:263: error: making > 'connection_refused' static > /usr/src/contrib/libc++/include/system_error:263: error: ISO C++ = forbids > in-class initialization of non-const static member = 'connection_refused' > /usr/src/contrib/libc++/include/system_error:264: error: ISO C++ = forbids > initialization of member 'connection_reset' > /usr/src/contrib/libc++/include/system_error:264: error: making > 'connection_reset' static > /usr/src/contrib/libc++/include/system_error:264: error: ISO C++ = forbids > in-class initialization of non-const static member 'connection_reset' > /usr/src/contrib/libc++/include/system_error:265: error: ISO C++ = forbids > initialization of member 'cross_device_link' > /usr/src/contrib/libc++/include/system_error:265: error: making > 'cross_device_link' static > /usr/src/contrib/libc++/include/system_error:265: error: ISO C++ = forbids > in-class initialization of non-const static member 'cross_device_link' > /usr/src/contrib/libc++/include/system_error:266: error: ISO C++ = forbids > initialization of member 'destination_address_required' > /usr/src/contrib/libc++/include/system_error:266: error: making > 'destination_address_required' static > /usr/src/contrib/libc++/include/system_error:266: error: ISO C++ = forbids > in-class initialization of non-const static member > 'destination_address_required' > /usr/src/contrib/libc++/include/system_error:267: error: ISO C++ = forbids > initialization of member 'device_or_resource_busy' > /usr/src/contrib/libc++/include/system_error:267: error: making > 'device_or_resource_busy' static > /usr/src/contrib/libc++/include/system_error:267: error: ISO C++ = forbids > in-class initialization of non-const static member = 'device_or_resource_busy' > /usr/src/contrib/libc++/include/system_error:268: error: ISO C++ = forbids > initialization of member 'directory_not_empty' > /usr/src/contrib/libc++/include/system_error:268: error: making > 'directory_not_empty' static > /usr/src/contrib/libc++/include/system_error:268: error: ISO C++ = forbids > in-class initialization of non-const static member = 'directory_not_empty' > /usr/src/contrib/libc++/include/system_error:269: error: ISO C++ = forbids > initialization of member 'executable_format_error' > /usr/src/contrib/libc++/include/system_error:269: error: making > 'executable_format_error' static > /usr/src/contrib/libc++/include/system_error:269: error: ISO C++ = forbids > in-class initialization of non-const static member = 'executable_format_error' > /usr/src/contrib/libc++/include/system_error:270: error: ISO C++ = forbids > initialization of member 'file_exists' > /usr/src/contrib/libc++/include/system_error:270: error: making > 'file_exists' static > /usr/src/contrib/libc++/include/system_error:270: error: ISO C++ = forbids > in-class initialization of non-const static member 'file_exists' > /usr/src/contrib/libc++/include/system_error:271: error: ISO C++ = forbids > initialization of member 'file_too_large' > /usr/src/contrib/libc++/include/system_error:271: error: making > 'file_too_large' static > /usr/src/contrib/libc++/include/system_error:271: error: ISO C++ = forbids > in-class initialization of non-const static member 'file_too_large' > /usr/src/contrib/libc++/include/system_error:272: error: ISO C++ = forbids > initialization of member 'filename_too_long' > /usr/src/contrib/libc++/include/system_error:272: error: making > 'filename_too_long' static > /usr/src/contrib/libc++/include/system_error:272: error: ISO C++ = forbids > in-class initialization of non-const static member 'filename_too_long' > /usr/src/contrib/libc++/include/system_error:273: error: ISO C++ = forbids > initialization of member 'function_not_supported' > /usr/src/contrib/libc++/include/system_error:273: error: making > 'function_not_supported' static > /usr/src/contrib/libc++/include/system_error:273: error: ISO C++ = forbids > in-class initialization of non-const static member = 'function_not_supported' > /usr/src/contrib/libc++/include/system_error:274: error: ISO C++ = forbids > initialization of member 'host_unreachable' > /usr/src/contrib/libc++/include/system_error:274: error: making > 'host_unreachable' static > /usr/src/contrib/libc++/include/system_error:274: error: ISO C++ = forbids > in-class initialization of non-const static member 'host_unreachable' > /usr/src/contrib/libc++/include/system_error:275: error: ISO C++ = forbids > initialization of member 'identifier_removed' > /usr/src/contrib/libc++/include/system_error:275: error: making > 'identifier_removed' static > /usr/src/contrib/libc++/include/system_error:275: error: ISO C++ = forbids > in-class initialization of non-const static member = 'identifier_removed' > /usr/src/contrib/libc++/include/system_error:276: error: ISO C++ = forbids > initialization of member 'illegal_byte_sequence' > /usr/src/contrib/libc++/include/system_error:276: error: making > 'illegal_byte_sequence' static > /usr/src/contrib/libc++/include/system_error:276: error: ISO C++ = forbids > in-class initialization of non-const static member = 'illegal_byte_sequence' > /usr/src/contrib/libc++/include/system_error:277: error: ISO C++ = forbids > initialization of member 'inappropriate_io_control_operation' > /usr/src/contrib/libc++/include/system_error:277: error: making > 'inappropriate_io_control_operation' static > /usr/src/contrib/libc++/include/system_error:277: error: ISO C++ = forbids > in-class initialization of non-const static member > 'inappropriate_io_control_operation' > /usr/src/contrib/libc++/include/system_error:278: error: ISO C++ = forbids > initialization of member 'interrupted' > /usr/src/contrib/libc++/include/system_error:278: error: making > 'interrupted' static > /usr/src/contrib/libc++/include/system_error:278: error: ISO C++ = forbids > in-class initialization of non-const static member 'interrupted' > /usr/src/contrib/libc++/include/system_error:279: error: ISO C++ = forbids > initialization of member 'invalid_argument' > /usr/src/contrib/libc++/include/system_error:279: error: making > 'invalid_argument' static > /usr/src/contrib/libc++/include/system_error:279: error: ISO C++ = forbids > in-class initialization of non-const static member 'invalid_argument' > /usr/src/contrib/libc++/include/system_error:280: error: ISO C++ = forbids > initialization of member 'invalid_seek' > /usr/src/contrib/libc++/include/system_error:280: error: making > 'invalid_seek' static > /usr/src/contrib/libc++/include/system_error:280: error: ISO C++ = forbids > in-class initialization of non-const static member 'invalid_seek' > /usr/src/contrib/libc++/include/system_error:281: error: ISO C++ = forbids > initialization of member 'io_error' > /usr/src/contrib/libc++/include/system_error:281: error: making = 'io_error' > static > /usr/src/contrib/libc++/include/system_error:281: error: ISO C++ = forbids > in-class initialization of non-const static member 'io_error' > /usr/src/contrib/libc++/include/system_error:282: error: ISO C++ = forbids > initialization of member 'is_a_directory' > /usr/src/contrib/libc++/include/system_error:282: error: making > 'is_a_directory' static > /usr/src/contrib/libc++/include/system_error:282: error: ISO C++ = forbids > in-class initialization of non-const static member 'is_a_directory' > /usr/src/contrib/libc++/include/system_error:283: error: ISO C++ = forbids > initialization of member 'message_size' > /usr/src/contrib/libc++/include/system_error:283: error: making > 'message_size' static > /usr/src/contrib/libc++/include/system_error:283: error: ISO C++ = forbids > in-class initialization of non-const static member 'message_size' > /usr/src/contrib/libc++/include/system_error:284: error: ISO C++ = forbids > initialization of member 'network_down' > /usr/src/contrib/libc++/include/system_error:284: error: making > 'network_down' static > /usr/src/contrib/libc++/include/system_error:284: error: ISO C++ = forbids > in-class initialization of non-const static member 'network_down' > /usr/src/contrib/libc++/include/system_error:285: error: ISO C++ = forbids > initialization of member 'network_reset' > /usr/src/contrib/libc++/include/system_error:285: error: making > 'network_reset' static > /usr/src/contrib/libc++/include/system_error:285: error: ISO C++ = forbids > in-class initialization of non-const static member 'network_reset' > /usr/src/contrib/libc++/include/system_error:286: error: ISO C++ = forbids > initialization of member 'network_unreachable' > /usr/src/contrib/libc++/include/system_error:286: error: making > 'network_unreachable' static > /usr/src/contrib/libc++/include/system_error:286: error: ISO C++ = forbids > in-class initialization of non-const static member = 'network_unreachable' > /usr/src/contrib/libc++/include/system_error:287: error: ISO C++ = forbids > initialization of member 'no_buffer_space' > /usr/src/contrib/libc++/include/system_error:287: error: making > 'no_buffer_space' static > /usr/src/contrib/libc++/include/system_error:287: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_buffer_space' > /usr/src/contrib/libc++/include/system_error:288: error: ISO C++ = forbids > initialization of member 'no_child_process' > /usr/src/contrib/libc++/include/system_error:288: error: making > 'no_child_process' static > /usr/src/contrib/libc++/include/system_error:288: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_child_process' > /usr/src/contrib/libc++/include/system_error:289: error: ISO C++ = forbids > initialization of member 'no_link' > /usr/src/contrib/libc++/include/system_error:289: error: making = 'no_link' > static > /usr/src/contrib/libc++/include/system_error:289: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_link' > /usr/src/contrib/libc++/include/system_error:290: error: ISO C++ = forbids > initialization of member 'no_lock_available' > /usr/src/contrib/libc++/include/system_error:290: error: making > 'no_lock_available' static > /usr/src/contrib/libc++/include/system_error:290: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_lock_available' > /usr/src/contrib/libc++/include/system_error:292: error: ISO C++ = forbids > initialization of member 'no_message_available' > /usr/src/contrib/libc++/include/system_error:292: error: making > 'no_message_available' static > /usr/src/contrib/libc++/include/system_error:292: error: ISO C++ = forbids > in-class initialization of non-const static member = 'no_message_available' > /usr/src/contrib/libc++/include/system_error:296: error: ISO C++ = forbids > initialization of member 'no_message' > /usr/src/contrib/libc++/include/system_error:296: error: making > 'no_message' static > /usr/src/contrib/libc++/include/system_error:296: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_message' > /usr/src/contrib/libc++/include/system_error:297: error: ISO C++ = forbids > initialization of member 'no_protocol_option' > /usr/src/contrib/libc++/include/system_error:297: error: making > 'no_protocol_option' static > /usr/src/contrib/libc++/include/system_error:297: error: ISO C++ = forbids > in-class initialization of non-const static member = 'no_protocol_option' > /usr/src/contrib/libc++/include/system_error:298: error: ISO C++ = forbids > initialization of member 'no_space_on_device' > /usr/src/contrib/libc++/include/system_error:298: error: making > 'no_space_on_device' static > /usr/src/contrib/libc++/include/system_error:298: error: ISO C++ = forbids > in-class initialization of non-const static member = 'no_space_on_device' > /usr/src/contrib/libc++/include/system_error:300: error: ISO C++ = forbids > initialization of member 'no_stream_resources' > /usr/src/contrib/libc++/include/system_error:300: error: making > 'no_stream_resources' static > /usr/src/contrib/libc++/include/system_error:300: error: ISO C++ = forbids > in-class initialization of non-const static member = 'no_stream_resources' > /usr/src/contrib/libc++/include/system_error:304: error: ISO C++ = forbids > initialization of member 'no_such_device_or_address' > /usr/src/contrib/libc++/include/system_error:304: error: making > 'no_such_device_or_address' static > /usr/src/contrib/libc++/include/system_error:304: error: ISO C++ = forbids > in-class initialization of non-const static member > 'no_such_device_or_address' > /usr/src/contrib/libc++/include/system_error:305: error: ISO C++ = forbids > initialization of member 'no_such_device' > /usr/src/contrib/libc++/include/system_error:305: error: making > 'no_such_device' static > /usr/src/contrib/libc++/include/system_error:305: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_such_device' > /usr/src/contrib/libc++/include/system_error:306: error: ISO C++ = forbids > initialization of member 'no_such_file_or_directory' > /usr/src/contrib/libc++/include/system_error:306: error: making > 'no_such_file_or_directory' static > /usr/src/contrib/libc++/include/system_error:306: error: ISO C++ = forbids > in-class initialization of non-const static member > 'no_such_file_or_directory' > /usr/src/contrib/libc++/include/system_error:307: error: ISO C++ = forbids > initialization of member 'no_such_process' > /usr/src/contrib/libc++/include/system_error:307: error: making > 'no_such_process' static > /usr/src/contrib/libc++/include/system_error:307: error: ISO C++ = forbids > in-class initialization of non-const static member 'no_such_process' > /usr/src/contrib/libc++/include/system_error:308: error: ISO C++ = forbids > initialization of member 'not_a_directory' > /usr/src/contrib/libc++/include/system_error:308: error: making > 'not_a_directory' static > /usr/src/contrib/libc++/include/system_error:308: error: ISO C++ = forbids > in-class initialization of non-const static member 'not_a_directory' > /usr/src/contrib/libc++/include/system_error:309: error: ISO C++ = forbids > initialization of member 'not_a_socket' > /usr/src/contrib/libc++/include/system_error:309: error: making > 'not_a_socket' static > /usr/src/contrib/libc++/include/system_error:309: error: ISO C++ = forbids > in-class initialization of non-const static member 'not_a_socket' > /usr/src/contrib/libc++/include/system_error:311: error: ISO C++ = forbids > initialization of member 'not_a_stream' > /usr/src/contrib/libc++/include/system_error:311: error: making > 'not_a_stream' static > /usr/src/contrib/libc++/include/system_error:311: error: ISO C++ = forbids > in-class initialization of non-const static member 'not_a_stream' > /usr/src/contrib/libc++/include/system_error:315: error: ISO C++ = forbids > initialization of member 'not_connected' > /usr/src/contrib/libc++/include/system_error:315: error: making > 'not_connected' static > /usr/src/contrib/libc++/include/system_error:315: error: ISO C++ = forbids > in-class initialization of non-const static member 'not_connected' > /usr/src/contrib/libc++/include/system_error:316: error: ISO C++ = forbids > initialization of member 'not_enough_memory' > /usr/src/contrib/libc++/include/system_error:316: error: making > 'not_enough_memory' static > /usr/src/contrib/libc++/include/system_error:316: error: ISO C++ = forbids > in-class initialization of non-const static member 'not_enough_memory' > /usr/src/contrib/libc++/include/system_error:317: error: ISO C++ = forbids > initialization of member 'not_supported' > /usr/src/contrib/libc++/include/system_error:317: error: making > 'not_supported' static > /usr/src/contrib/libc++/include/system_error:317: error: ISO C++ = forbids > in-class initialization of non-const static member 'not_supported' > /usr/src/contrib/libc++/include/system_error:318: error: ISO C++ = forbids > initialization of member 'operation_canceled' > /usr/src/contrib/libc++/include/system_error:318: error: making > 'operation_canceled' static > /usr/src/contrib/libc++/include/system_error:318: error: ISO C++ = forbids > in-class initialization of non-const static member = 'operation_canceled' > /usr/src/contrib/libc++/include/system_error:319: error: ISO C++ = forbids > initialization of member 'operation_in_progress' > /usr/src/contrib/libc++/include/system_error:319: error: making > 'operation_in_progress' static > /usr/src/contrib/libc++/include/system_error:319: error: ISO C++ = forbids > in-class initialization of non-const static member = 'operation_in_progress' > /usr/src/contrib/libc++/include/system_error:320: error: ISO C++ = forbids > initialization of member 'operation_not_permitted' > /usr/src/contrib/libc++/include/system_error:320: error: making > 'operation_not_permitted' static > /usr/src/contrib/libc++/include/system_error:320: error: ISO C++ = forbids > in-class initialization of non-const static member = 'operation_not_permitted' > /usr/src/contrib/libc++/include/system_error:321: error: ISO C++ = forbids > initialization of member 'operation_not_supported' > /usr/src/contrib/libc++/include/system_error:321: error: making > 'operation_not_supported' static > /usr/src/contrib/libc++/include/system_error:321: error: ISO C++ = forbids > in-class initialization of non-const static member = 'operation_not_supported' > /usr/src/contrib/libc++/include/system_error:322: error: ISO C++ = forbids > initialization of member 'operation_would_block' > /usr/src/contrib/libc++/include/system_error:322: error: making > 'operation_would_block' static > /usr/src/contrib/libc++/include/system_error:322: error: ISO C++ = forbids > in-class initialization of non-const static member = 'operation_would_block' > /usr/src/contrib/libc++/include/system_error:323: error: ISO C++ = forbids > initialization of member 'owner_dead' > /usr/src/contrib/libc++/include/system_error:323: error: making > 'owner_dead' static > /usr/src/contrib/libc++/include/system_error:323: error: ISO C++ = forbids > in-class initialization of non-const static member 'owner_dead' > /usr/src/contrib/libc++/include/system_error:324: error: ISO C++ = forbids > initialization of member 'permission_denied' > /usr/src/contrib/libc++/include/system_error:324: error: making > 'permission_denied' static > /usr/src/contrib/libc++/include/system_error:324: error: ISO C++ = forbids > in-class initialization of non-const static member 'permission_denied' > /usr/src/contrib/libc++/include/system_error:325: error: ISO C++ = forbids > initialization of member 'protocol_error' > /usr/src/contrib/libc++/include/system_error:325: error: making > 'protocol_error' static > /usr/src/contrib/libc++/include/system_error:325: error: ISO C++ = forbids > in-class initialization of non-const static member 'protocol_error' > /usr/src/contrib/libc++/include/system_error:326: error: ISO C++ = forbids > initialization of member 'protocol_not_supported' > /usr/src/contrib/libc++/include/system_error:326: error: making > 'protocol_not_supported' static > /usr/src/contrib/libc++/include/system_error:326: error: ISO C++ = forbids > in-class initialization of non-const static member = 'protocol_not_supported' > /usr/src/contrib/libc++/include/system_error:327: error: ISO C++ = forbids > initialization of member 'read_only_file_system' > /usr/src/contrib/libc++/include/system_error:327: error: making > 'read_only_file_system' static > /usr/src/contrib/libc++/include/system_error:327: error: ISO C++ = forbids > in-class initialization of non-const static member = 'read_only_file_system' > /usr/src/contrib/libc++/include/system_error:328: error: ISO C++ = forbids > initialization of member 'resource_deadlock_would_occur' > /usr/src/contrib/libc++/include/system_error:328: error: making > 'resource_deadlock_would_occur' static > /usr/src/contrib/libc++/include/system_error:328: error: ISO C++ = forbids > in-class initialization of non-const static member > 'resource_deadlock_would_occur' > /usr/src/contrib/libc++/include/system_error:329: error: ISO C++ = forbids > initialization of member 'resource_unavailable_try_again' > /usr/src/contrib/libc++/include/system_error:329: error: making > 'resource_unavailable_try_again' static > /usr/src/contrib/libc++/include/system_error:329: error: ISO C++ = forbids > in-class initialization of non-const static member > 'resource_unavailable_try_again' > /usr/src/contrib/libc++/include/system_error:330: error: ISO C++ = forbids > initialization of member 'result_out_of_range' > /usr/src/contrib/libc++/include/system_error:330: error: making > 'result_out_of_range' static > /usr/src/contrib/libc++/include/system_error:330: error: ISO C++ = forbids > in-class initialization of non-const static member = 'result_out_of_range' > /usr/src/contrib/libc++/include/system_error:331: error: ISO C++ = forbids > initialization of member 'state_not_recoverable' > /usr/src/contrib/libc++/include/system_error:331: error: making > 'state_not_recoverable' static > /usr/src/contrib/libc++/include/system_error:331: error: ISO C++ = forbids > in-class initialization of non-const static member = 'state_not_recoverable' > /usr/src/contrib/libc++/include/system_error:333: error: ISO C++ = forbids > initialization of member 'stream_timeout' > /usr/src/contrib/libc++/include/system_error:333: error: making > 'stream_timeout' static > /usr/src/contrib/libc++/include/system_error:333: error: ISO C++ = forbids > in-class initialization of non-const static member 'stream_timeout' > /usr/src/contrib/libc++/include/system_error:337: error: ISO C++ = forbids > initialization of member 'text_file_busy' > /usr/src/contrib/libc++/include/system_error:337: error: making > 'text_file_busy' static > /usr/src/contrib/libc++/include/system_error:337: error: ISO C++ = forbids > in-class initialization of non-const static member 'text_file_busy' > /usr/src/contrib/libc++/include/system_error:338: error: ISO C++ = forbids > initialization of member 'timed_out' > /usr/src/contrib/libc++/include/system_error:338: error: making = 'timed_out' > static > /usr/src/contrib/libc++/include/system_error:338: error: ISO C++ = forbids > in-class initialization of non-const static member 'timed_out' > /usr/src/contrib/libc++/include/system_error:339: error: ISO C++ = forbids > initialization of member 'too_many_files_open_in_system' > /usr/src/contrib/libc++/include/system_error:339: error: making > 'too_many_files_open_in_system' static > /usr/src/contrib/libc++/include/system_error:339: error: ISO C++ = forbids > in-class initialization of non-const static member > 'too_many_files_open_in_system' > /usr/src/contrib/libc++/include/system_error:340: error: ISO C++ = forbids > initialization of member 'too_many_files_open' > /usr/src/contrib/libc++/include/system_error:340: error: making > 'too_many_files_open' static > /usr/src/contrib/libc++/include/system_error:340: error: ISO C++ = forbids > in-class initialization of non-const static member = 'too_many_files_open' > /usr/src/contrib/libc++/include/system_error:341: error: ISO C++ = forbids > initialization of member 'too_many_links' > /usr/src/contrib/libc++/include/system_error:341: error: making > 'too_many_links' static > /usr/src/contrib/libc++/include/system_error:341: error: ISO C++ = forbids > in-class initialization of non-const static member 'too_many_links' > /usr/src/contrib/libc++/include/system_error:342: error: ISO C++ = forbids > initialization of member 'too_many_symbolic_link_levels' > /usr/src/contrib/libc++/include/system_error:342: error: making > 'too_many_symbolic_link_levels' static > /usr/src/contrib/libc++/include/system_error:342: error: ISO C++ = forbids > in-class initialization of non-const static member > 'too_many_symbolic_link_levels' > /usr/src/contrib/libc++/include/system_error:343: error: ISO C++ = forbids > initialization of member 'value_too_large' > /usr/src/contrib/libc++/include/system_error:343: error: making > 'value_too_large' static > /usr/src/contrib/libc++/include/system_error:343: error: ISO C++ = forbids > in-class initialization of non-const static member 'value_too_large' > /usr/src/contrib/libc++/include/system_error:344: error: ISO C++ = forbids > initialization of member 'wrong_protocol_type' > /usr/src/contrib/libc++/include/system_error:344: error: making > 'wrong_protocol_type' static > /usr/src/contrib/libc++/include/system_error:344: error: ISO C++ = forbids > in-class initialization of non-const static member = 'wrong_protocol_type' > /usr/src/contrib/libc++/include/system_error:345: error: expected ';' > before '}' token > /usr/src/contrib/libc++/include/system_error:345: error: expected `;' > before '}' token > /usr/src/contrib/libc++/include/system_error:345: error: multiple = types in > one declaration > /usr/src/contrib/libc++/include/system_error: In function > 'std::__1::error_condition = std::__1::make_error_condition(std::__1::errc)': > /usr/src/contrib/libc++/include/system_error:468: error: invalid > static_cast from type 'std::__1::errc' to type 'int' > /usr/src/contrib/libc++/include/system_error: In function > 'std::__1::error_code std::__1::make_error_code(std::__1::errc)': > /usr/src/contrib/libc++/include/system_error:545: error: invalid > static_cast from type 'std::__1::errc' to type 'int' > In file included from /usr/src/contrib/libc++/include/iostream:38, > from > /usr/src/contrib/atf/atf-c++/detail/application.cpp:42: > /usr/src/contrib/libc++/include/ios: At global scope: > /usr/src/contrib/libc++/include/ios:384: error: expected identifier = before > 'class' > /usr/src/contrib/libc++/include/ios:386: error: ISO C++ forbids > initialization of member 'stream' > /usr/src/contrib/libc++/include/ios:386: error: making 'stream' static > /usr/src/contrib/libc++/include/ios:386: error: ISO C++ forbids = in-class > initialization of non-const static member 'stream' > /usr/src/contrib/libc++/include/ios:387: error: expected ';' before = '}' > token > /usr/src/contrib/libc++/include/ios:387: error: expected `;' before = '}' > token > /usr/src/contrib/libc++/include/ios:387: error: multiple types in one > declaration > /usr/src/contrib/libc++/include/ios: In function 'std::__1::error_code > std::__1::make_error_code(std::__1::io_errc)': > /usr/src/contrib/libc++/include/ios:405: error: invalid static_cast = from > type 'std::__1::io_errc' to type 'int' > /usr/src/contrib/libc++/include/ios: In function = 'std::__1::error_condition > std::__1::make_error_condition(std::__1::io_errc)': > /usr/src/contrib/libc++/include/ios:412: error: invalid static_cast = from > type 'std::__1::io_errc' to type 'int' > /usr/src/contrib/libc++/include/ios: At global scope: > /usr/src/contrib/libc++/include/ios:419: error: 'stream' is not a = member of > 'std::__1::io_errc' > /usr/src/contrib/libc++/include/ios:420: error: 'stream' is not a = member of > 'std::__1::io_errc' > /usr/src/contrib/libc++/include/type_traits: In instantiation of > 'std::__1::is_base_of std::__1::bidirectional_iterator_tag>': > /usr/src/contrib/libc++/include/type_traits:856: instantiated from > 'std::__1::__is_convertible std::__1::input_iterator_tag, 0u, 0u>' > /usr/src/contrib/libc++/include/type_traits:909: instantiated from > 'std::__1::is_convertible std::__1::input_iterator_tag>' > /usr/src/contrib/libc++/include/iterator:379: instantiated from > = 'std::__1::__iterator_traits std::__1::__tree_node*, int>, true>' > /usr/src/contrib/libc++/include/iterator:398: instantiated from > = 'std::__1::iterator_traits std::__1::__tree_node*, int> >' > /usr/src/contrib/libc++/include/iterator:364: instantiated from = 'const > bool > = std::__1::__has_iterator_category std::__1::__tree_node*, int> > = >::value' > /usr/src/contrib/libc++/include/iterator:422: instantiated from > = 'std::__1::__is_forward_iterator std::__1::__tree_node*, int> >' > /usr/src/contrib/libc++/include/__tree:1682: instantiated from = 'typename > std::__1::__tree<_Tp, _Compare, _Allocator>::__node_base::pointer& > std::__1::__tree<_Tp, _Compare, > _Allocator>::__find_equal(std::__1::__tree_const_iterator<_Tp, = typename > std::__1::allocator_traits = std::__1::allocator_traits<_Allocator>::rebind_alloc typename std::__1::allocator_traits<_Allocator>::void_pointer> >> ::other>::pointer, typename > std::__1::allocator_traits<_Allocator>::difference_type>, typename > std::__1::__tree_node_base std::__1::allocator_traits<_Allocator>::void_pointer>::pointer&, const > _Key&) [with _Key =3D atf::application::option, _Tp =3D > atf::application::option, _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/libc++/include/__tree:1885: instantiated from = 'typename > std::__1::__tree<_Tp, _Compare, _Allocator>::iterator = std::__1::__tree<_Tp, > _Compare, = _Allocator>::__insert_unique(std::__1::__tree_const_iterator<_Tp, > typename std::__1::allocator_traits = std::__1::allocator_traits<_Allocator>::rebind_alloc typename std::__1::allocator_traits<_Allocator>::void_pointer> >> ::other>::pointer, typename > std::__1::allocator_traits<_Allocator>::difference_type>, const _Tp&) = [with > _Tp =3D atf::application::option, _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/libc++/include/set:608: instantiated from 'void > std::__1::set<_Key, _Compare, _Allocator>::insert(_InputIterator, > _InputIterator) [with _InputIterator =3D > std::__1::__tree_const_iterator std::__1::__tree_node*, int>, _Key =3D > atf::application::option, _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/libc++/include/set:466: instantiated from > 'std::__1::set<_Key, _Compare, _Allocator>::set(const = std::__1::set<_Key, > _Compare, _Allocator>&) [with _Key =3D atf::application::option, = _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/atf/atf-c++/detail/application.cpp:130: = instantiated > from here > /usr/src/contrib/libc++/include/type_traits:793: error: call of = overloaded > = '_Dst(std::__1::__is_base_of_imp::_Src&)' > is ambiguous > /usr/src/contrib/libc++/include/type_traits:777: note: candidates are: > std::__1::__is_base_of_imp::_Dst<_Tp>::_Dst(const volatile _Tp&) [with = _Tp > =3D std::__1::input_iterator_tag] > /usr/src/contrib/libc++/include/type_traits:776: note: > = std::__1::__is_base_of_imp::_Dst::_Dst(const= > std::__1::__is_base_of_imp::_Dst&) > /usr/src/contrib/libc++/include/type_traits: In instantiation of > 'std::__1::is_base_of std::__1::bidirectional_iterator_tag>': > /usr/src/contrib/libc++/include/type_traits:856: instantiated from > 'std::__1::__is_convertible std::__1::forward_iterator_tag, 0u, 0u>' > /usr/src/contrib/libc++/include/type_traits:909: instantiated from > 'std::__1::is_convertible std::__1::forward_iterator_tag>' > /usr/src/contrib/libc++/include/iterator:413: instantiated from > = 'std::__1::__has_iterator_category_convertible_to std::__1::__tree_node*, int>, > std::__1::forward_iterator_tag, true>' > /usr/src/contrib/libc++/include/iterator:422: instantiated from > = 'std::__1::__is_forward_iterator std::__1::__tree_node*, int> >' > /usr/src/contrib/libc++/include/__tree:1682: instantiated from = 'typename > std::__1::__tree<_Tp, _Compare, _Allocator>::__node_base::pointer& > std::__1::__tree<_Tp, _Compare, > _Allocator>::__find_equal(std::__1::__tree_const_iterator<_Tp, = typename > std::__1::allocator_traits = std::__1::allocator_traits<_Allocator>::rebind_alloc typename std::__1::allocator_traits<_Allocator>::void_pointer> >> ::other>::pointer, typename > std::__1::allocator_traits<_Allocator>::difference_type>, typename > std::__1::__tree_node_base std::__1::allocator_traits<_Allocator>::void_pointer>::pointer&, const > _Key&) [with _Key =3D atf::application::option, _Tp =3D > atf::application::option, _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/libc++/include/__tree:1885: instantiated from = 'typename > std::__1::__tree<_Tp, _Compare, _Allocator>::iterator = std::__1::__tree<_Tp, > _Compare, = _Allocator>::__insert_unique(std::__1::__tree_const_iterator<_Tp, > typename std::__1::allocator_traits = std::__1::allocator_traits<_Allocator>::rebind_alloc typename std::__1::allocator_traits<_Allocator>::void_pointer> >> ::other>::pointer, typename > std::__1::allocator_traits<_Allocator>::difference_type>, const _Tp&) = [with > _Tp =3D atf::application::option, _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/libc++/include/set:608: instantiated from 'void > std::__1::set<_Key, _Compare, _Allocator>::insert(_InputIterator, > _InputIterator) [with _InputIterator =3D > std::__1::__tree_const_iterator std::__1::__tree_node*, int>, _Key =3D > atf::application::option, _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/libc++/include/set:466: instantiated from > 'std::__1::set<_Key, _Compare, _Allocator>::set(const = std::__1::set<_Key, > _Compare, _Allocator>&) [with _Key =3D atf::application::option, = _Compare =3D > std::__1::less, _Allocator =3D > std::__1::allocator]' > /usr/src/contrib/atf/atf-c++/detail/application.cpp:130: = instantiated > from here > /usr/src/contrib/libc++/include/type_traits:793: error: call of = overloaded > = '_Dst(std::__1::__is_base_of_imp::_Src&)' > is ambiguous > /usr/src/contrib/libc++/include/type_traits:777: note: candidates are: > std::__1::__is_base_of_imp::_Dst<_Tp>::_Dst(const volatile _Tp&) [with = _Tp > =3D std::__1::forward_iterator_tag] > /usr/src/contrib/libc++/include/type_traits:776: note: > = std::__1::__is_base_of_imp::_Dst::_Dst(con= st > std::__1::__is_base_of_imp::_Dst&) > *** Error code 1 >=20 > Stop. > make[5]: stopped in /usr/src/lib/atf/libatf-c++ > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/lib/atf > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src >=20 > Any ideas on how I can fix this? I'd be happy to work with someone to = debug > this. >=20 > Thanks! > Felix > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --Apple-Mail=_4C0936E9-8FC1-478A-8AB7-E3B8DBD60CEF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUPGXUAAoJEGwc0Sh9sBEA88IP/RwqOQRGhZdWISYqLkQVhMI5 2PKVrj2sCDGMNA9fnbMB+DnIT3tVXNWSemxFEGJZREvMThLe8SSFq6IvWpc4a/b8 UN1akja9s1IUM+EaCk1YTzJY4O8o9DycO1KySiQruIuvvfYz7UCdgR5ZTY69acNe k7Z1g4puI1teHNePBSfMea5ADaPX4c+4YEsMij/2oO9P0wbYGLQLEhueTCjy/cR7 1bV6Z+hdlvpk6+5HVo0Upl01I4f9+fjWUCl/7diE+Cmq5tTRWujLSbwX6soAm6HT THuM4J8B1/IaLVgJFC8+gOrL0Y5rgM8QHTawiuL15xyC2/1CpEgLfcThRq5Zm6/t 1DKlZcZjT4IMH/ITOUxRmhHVhbnxrGr1gjl36fcAulx2SdDBf1T/165ua2UC6+Jm jv/a0OqLfzN9Es83vJIQPm7/pIy7G9dcobgMA28/Q0QgqqfL/ZJ+zxw0wP5ek2Xm aixVbs/JJLXosPwEI3ep5QjwE8lF5uUfy1jwwcu9QszNKbM2VXmPaSFWOvtuta8L R9eejwbnaeYGPK0ovZUpu9HZQFd8Y5EcYbjPyOW4VGPqs4jLh7B5ef6vz996vDWp KqYcdy56hlsbQSyY3MEGXIuQWJ9OVgsQv7n/+boLmyPjXsdRoV1BaIo8ynRM8UNI 8zRcFNi46uul4YJrnnvf =nLdq -----END PGP SIGNATURE----- --Apple-Mail=_4C0936E9-8FC1-478A-8AB7-E3B8DBD60CEF-- From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 00:36:07 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09FFF408 for ; Tue, 14 Oct 2014 00:36:07 +0000 (UTC) Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA25BA5F for ; Tue, 14 Oct 2014 00:36:06 +0000 (UTC) Received: from [172.16.10.140] (gw.mountain2sea.com [71.70.135.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id A67AC12F3 for ; Mon, 13 Oct 2014 20:27:42 -0400 (EDT) From: Tom Pusateri Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Solid-run cubox-i or hummingboard Message-Id: Date: Mon, 13 Oct 2014 20:28:13 -0400 To: "freebsd-arm@FreeBSD.org" Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) X-Mailer: Apple Mail (2.1990.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 00:36:07 -0000 Does anyone have a bootable img for the solid run i.MX6 (armv7) based = boards? The Hummingboard is for sale now on New Egg. It has an mSATA port ($99 = model) and gigabit ethernet so it's going to be a fast little board. I see in the snapshot directories, support for Beaglebone, pandaboard, = RPi, and zedboard. I assume none of these will work. Thanks, Tom= From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 01:22:38 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D538087D for ; Tue, 14 Oct 2014 01:22:38 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D1C1E4B for ; Tue, 14 Oct 2014 01:22:38 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id h11so5278021wiw.7 for ; Mon, 13 Oct 2014 18:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jaF0E4kUCRkRJLii2PoThV5W5pnKJKxPp5bOq+zIyF4=; b=II92DX0PnhW2xLFET5YkC3+r1CFV+eliFO7m/tMQdtHDL9jHadNSi8t8mo1qSuT41e ueHgqVDA/1eytG0XMmTX9vmcY+3li12N0QPpXO9sfSO5hvpnVbC9//LoMVVEP5cyIJjp Fao4roh4BcC/7kBB4goVoT55IGOVoU2Y/fH90y8uwiWpgnxVazoTaeaQWgEt41pOE0ML 2yxSM8nPbSU1qa4wyOdX/MxbNe4su2U9cwSZwQbVXNME5pKDiQfXyxOwup7p5JWuCRb+ afiDN2wrvs+YxrQUZxr/NG1xCHdBkbGe6X0K1pKVb6mXeHhs132fll4gwVsqkXaH3uJf yBaA== MIME-Version: 1.0 X-Received: by 10.194.223.101 with SMTP id qt5mr1867852wjc.58.1413249756374; Mon, 13 Oct 2014 18:22:36 -0700 (PDT) Received: by 10.216.127.72 with HTTP; Mon, 13 Oct 2014 18:22:36 -0700 (PDT) In-Reply-To: <20141013215012.GH38905@cicely7.cicely.de> References: <935B7003-F750-42E7-9100-C27028B6A111@gmail.com> <20141013215012.GH38905@cicely7.cicely.de> Date: Mon, 13 Oct 2014 22:22:36 -0300 Message-ID: Subject: Re: SPI device on Raspberry PI From: Luiz Otavio O Souza To: ticso@cicely.de Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@FreeBSD.org" , Alie Tan X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 01:22:38 -0000 On 13 October 2014 18:50, Bernd Walter wrote: > On Wed, Oct 30, 2013 at 05:22:26PM +0700, Alie Tan wrote: >> Its already commited to the HEAD >> http://svnweb.freebsd.org/base?view=revision&revision=257062 > > I just need SPI for a small test. > Hoped that the BBB has SPI, but it seems we have no driver yet, so I > will use a PI (currently building current). > In the meantime I've read the sourcecode to get an idea on how to use > it from userland. > What puzzles me is the clock rate, which is set by SPI globaly. > Since I never used SPI in FreeBSD I wonder if this is just on the > PI, if this always done that way, or if I understood something wrong? > Usually I would expect either globaly atomic with transfer setup, or > per CS setting, because it is not untypical to mix different speed SPI > slaves. I think that the BBB SPI driver development is in progress. Well, as you have noted, our SPI support is minimum, there is no userland support, no interface to deal with bus speed from devices, you need to provide tx and rx buffers even if they won't be used and the list goes on. There is a patch to add support to SD/mmc over SPI which adds a interface to configure the bus speed from the SPI device (the SD card uses a slow bus speeds during the card identification and then switch to the supported speed). I've plans to eventually fix this and the others issues once i get done with GPIO interrupts (but help is always welcome). Luiz From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 02:06:40 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C91F5EE7 for ; Tue, 14 Oct 2014 02:06:40 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 74C86231 for ; Tue, 14 Oct 2014 02:06:39 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9E26Kia084674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 14 Oct 2014 04:06:21 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9E26FTh075497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2014 04:06:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9E26FlG056319; Tue, 14 Oct 2014 04:06:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9E26FBj056318; Tue, 14 Oct 2014 04:06:15 +0200 (CEST) (envelope-from ticso) Date: Tue, 14 Oct 2014 04:06:15 +0200 From: Bernd Walter To: Luiz Otavio O Souza Subject: Re: SPI device on Raspberry PI Message-ID: <20141014020615.GI38905@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <935B7003-F750-42E7-9100-C27028B6A111@gmail.com> <20141013215012.GH38905@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: "freebsd-arm@FreeBSD.org" , ticso@cicely.de, Alie Tan X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 02:06:41 -0000 On Mon, Oct 13, 2014 at 10:22:36PM -0300, Luiz Otavio O Souza wrote: > On 13 October 2014 18:50, Bernd Walter wrote: > > On Wed, Oct 30, 2013 at 05:22:26PM +0700, Alie Tan wrote: > >> Its already commited to the HEAD > >> http://svnweb.freebsd.org/base?view=revision&revision=257062 > > > > I just need SPI for a small test. > > Hoped that the BBB has SPI, but it seems we have no driver yet, so I > > will use a PI (currently building current). > > In the meantime I've read the sourcecode to get an idea on how to use > > it from userland. > > What puzzles me is the clock rate, which is set by SPI globaly. > > Since I never used SPI in FreeBSD I wonder if this is just on the > > PI, if this always done that way, or if I understood something wrong? > > Usually I would expect either globaly atomic with transfer setup, or > > per CS setting, because it is not untypical to mix different speed SPI > > slaves. > > I think that the BBB SPI driver development is in progress. Oh great. > Well, as you have noted, our SPI support is minimum, there is no > userland support, no interface to deal with bus speed from devices, > you need to provide tx and rx buffers even if they won't be used and > the list goes on. Ok - no userland, that explains why I failed to find devnode code. So my quick and dirty device test also requires a kernel module. In my special case it's about a device with CS, therefor it can't be shared with others anyway and kernel module, well it's not a big deal. > There is a patch to add support to SD/mmc over SPI which adds a > interface to configure the bus speed from the SPI device (the SD card > uses a slow bus speeds during the card identification and then switch > to the supported speed). Sounds like an interesting patch. > I've plans to eventually fix this and the others issues once i get > done with GPIO interrupts (but help is always welcome). I hope to find time to work on FreeBSD again. During the last few years paid work reduced my available time too much. But on my priority list are a bunch of iMX6 systems to run FreeBSD first, also a good oporunity to learn about uboot and and fdt, which are both still pretty new for me. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 02:39:06 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43CD72C8 for ; Tue, 14 Oct 2014 02:39:06 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1801D6AC for ; Tue, 14 Oct 2014 02:39:05 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Xds0t-0009Ek-Qo; Tue, 14 Oct 2014 02:39:03 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id s9E2d2uV045636; Mon, 13 Oct 2014 20:39:02 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+YUATCD8ma+knAoHxbG+Rk X-Authentication-Warning: paranoia.hippie.lan: Host revolution.hippie.lan [172.22.42.240] claimed to be [172.22.42.240] Subject: Re: Solid-run cubox-i or hummingboard From: Ian Lepore To: Tom Pusateri In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Mon, 13 Oct 2014 20:39:01 -0600 Message-ID: <1413254341.12052.380.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@FreeBSD.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 02:39:06 -0000 On Mon, 2014-10-13 at 20:28 -0400, Tom Pusateri wrote: > Does anyone have a bootable img for the solid run i.MX6 (armv7) based boards? > > The Hummingboard is for sale now on New Egg. It has an mSATA port ($99 model) and gigabit ethernet so it's going to be a fast little board. > > I see in the snapshot directories, support for Beaglebone, pandaboard, RPi, and zedboard. I assume none of these will work. > We're not yet quite to the point where a generic imx6 kernel can run on any board using vendor-supplied fdt data, but it shouldn't be too hard to start with the wandboard config and create dts files that describe those boards. The current state of imx6 support is detailed here: https://wiki.freebsd.org/FreeBSD/arm/imx6 -- Ian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 03:06:08 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B7096D0; Tue, 14 Oct 2014 03:06:08 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CEC5A0C; Tue, 14 Oct 2014 03:06:07 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9E363tw085039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 14 Oct 2014 05:06:03 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9E35v4p075907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2014 05:05:57 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9E35vQa056592; Tue, 14 Oct 2014 05:05:57 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9E35vfL056591; Tue, 14 Oct 2014 05:05:57 +0200 (CEST) (envelope-from ticso) Date: Tue, 14 Oct 2014 05:05:57 +0200 From: Bernd Walter To: Ian Lepore Subject: Re: Solid-run cubox-i or hummingboard Message-ID: <20141014030557.GJ38905@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <1413254341.12052.380.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1413254341.12052.380.camel@revolution.hippie.lan> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: "freebsd-arm@FreeBSD.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 03:06:08 -0000 On Mon, Oct 13, 2014 at 08:39:01PM -0600, Ian Lepore wrote: > On Mon, 2014-10-13 at 20:28 -0400, Tom Pusateri wrote: > > Does anyone have a bootable img for the solid run i.MX6 (armv7) based boards? > > > > The Hummingboard is for sale now on New Egg. It has an mSATA port ($99 model) and gigabit ethernet so it's going to be a fast little board. > > > > I see in the snapshot directories, support for Beaglebone, pandaboard, RPi, and zedboard. I assume none of these will work. > > > > We're not yet quite to the point where a generic imx6 kernel can run on > any board using vendor-supplied fdt data, but it shouldn't be too hard > to start with the wandboard config and create dts files that describe > those boards. The current state of imx6 support is detailed here: > > https://wiki.freebsd.org/FreeBSD/arm/imx6 I have the two bigger hummingboards (and a bunch of other iMX6). In about 2-3 weeks I should have manged to free up enough time to see if I can boot them. fdt differences about IO used for SD, console, ... are obvious and clear. But what is required at uboot level? -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 03:28:07 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5F3FAC2 for ; Tue, 14 Oct 2014 03:28:07 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 730ADBD8 for ; Tue, 14 Oct 2014 03:28:06 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9E3RnLm085141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 14 Oct 2014 05:27:50 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9E3Rku4076048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2014 05:27:46 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9E3RjFT056685; Tue, 14 Oct 2014 05:27:45 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9E3RhWb056684; Tue, 14 Oct 2014 05:27:43 +0200 (CEST) (envelope-from ticso) Date: Tue, 14 Oct 2014 05:27:43 +0200 From: Bernd Walter To: Andreas Schwarz Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices Message-ID: <20141014032743.GK38905@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20140825165622.6771b548@X220.alogt.com> <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> <20140826074951.4cf5a8fc@X220.alogt.com> <53FD1646.2010103@ceetonetechnology.com> <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: George Rosamond , freebsd-arm@freebsd.org, Tim Kientzle X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 03:28:08 -0000 On Wed, Aug 27, 2014 at 02:14:00AM +0200, Andreas Schwarz wrote: > On Tue, 26 Aug 2014 19:20:38 -0400 > George Rosamond wrote: > > Erich Dollansky wrote: > > > On Mon, 25 Aug 2014 16:35:36 +0200 (CEST) > > > Andreas Schwarz wrote: > > > > > >> I've got also two B+ Models two weeks ago and I'm able to use the > > >> image (r269955) from my B Models without any problems. The only > > >> thing, what I had to do, was to upgrade the bootloader to a recent > > >> version. > > >> > > >> Have a look at : > > >> > > >> https://github.com/raspberrypi/firmware/tree/master/boot > > >> > > > I used now the image from > > > > > > http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20140725/raspberry-pi/ > > > > > > and the machine boots. I do not know more at the moment. > > > > I assume the entire RPi firmware from Github directory gets dumped into > > /boot/msdos? > > Yes, but we don't need the kernel.img, at this point we are loading the > uboot.img (keep uboot.img and ubldr from your existing boot partition). In my case the update was even required to work with the SD card. I got timeout errors after size line. The same card worked fine in a 512MB B. After updating the bootcode to those from: https://github.com/raspberrypi/firmware/tree/master/boot Just bootcoed.bin wasn't enough, I also had to get fixup* and startup*. The card and USB worked fine after updating all the files. I also tested the updated bootcode on a normal 512MB B and it also booted. Would be nice to have crochet updated for the newer bootcode. If required I can also test boot on a 256MB B. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 04:13:14 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83DEDDB2 for ; Tue, 14 Oct 2014 04:13:14 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 16DFEF5F for ; Tue, 14 Oct 2014 04:13:13 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9E4DAxv085380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 14 Oct 2014 06:13:10 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9E4D57o076357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2014 06:13:05 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9E4D5md056905; Tue, 14 Oct 2014 06:13:05 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9E4D54r056904; Tue, 14 Oct 2014 06:13:05 +0200 (CEST) (envelope-from ticso) Date: Tue, 14 Oct 2014 06:13:05 +0200 From: Bernd Walter To: Andreas Schwarz Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices Message-ID: <20141014041305.GM38905@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20140825165622.6771b548@X220.alogt.com> <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> <20140826074951.4cf5a8fc@X220.alogt.com> <53FD1646.2010103@ceetonetechnology.com> <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> <20141014032743.GK38905@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141014032743.GK38905@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: George Rosamond , freebsd-arm@freebsd.org, Tim Kientzle X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 04:13:14 -0000 On Tue, Oct 14, 2014 at 05:27:43AM +0200, Bernd Walter wrote: > On Wed, Aug 27, 2014 at 02:14:00AM +0200, Andreas Schwarz wrote: > > On Tue, 26 Aug 2014 19:20:38 -0400 > > George Rosamond wrote: > > > Erich Dollansky wrote: > > > > On Mon, 25 Aug 2014 16:35:36 +0200 (CEST) > > > > Andreas Schwarz wrote: > > > > > > > >> I've got also two B+ Models two weeks ago and I'm able to use the > > > >> image (r269955) from my B Models without any problems. The only > > > >> thing, what I had to do, was to upgrade the bootloader to a recent > > > >> version. > > > >> > > > >> Have a look at : > > > >> > > > >> https://github.com/raspberrypi/firmware/tree/master/boot > > > >> > > > > I used now the image from > > > > > > > > http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20140725/raspberry-pi/ > > > > > > > > and the machine boots. I do not know more at the moment. > > > > > > I assume the entire RPi firmware from Github directory gets dumped into > > > /boot/msdos? > > > > Yes, but we don't need the kernel.img, at this point we are loading the > > uboot.img (keep uboot.img and ubldr from your existing boot partition). > > In my case the update was even required to work with the SD card. > I got timeout errors after size line. > The same card worked fine in a 512MB B. > > After updating the bootcode to those from: > https://github.com/raspberrypi/firmware/tree/master/boot > Just bootcoed.bin wasn't enough, I also had to get fixup* and startup*. > The card and USB worked fine after updating all the files. > I also tested the updated bootcode on a normal 512MB B and it also booted. > Would be nice to have crochet updated for the newer bootcode. > If required I can also test boot on a 256MB B. Ok - that card problem seems random or contact related. Whatever, it is 6 am - time to sleep ;-) -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 09:49:32 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C84D943C for ; Tue, 14 Oct 2014 09:49:32 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 AFE661B4 for ; Tue, 14 Oct 2014 09:49:32 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9E9nWFc092170 for ; Tue, 14 Oct 2014 09:49:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 194251] Efika MX Smartbook (imx51) WiFi does not work anymore Date: Tue, 14 Oct 2014 09:49:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yom@iaelu.net X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 09:49:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194251 --- Comment #12 from Guillaume Bibaut --- (In reply to Aleksandr Rybalko from comment #9) > Hi Guillaume! > > so, looks like ehci core works fine, at least it attach t.pad and keyboard. > since it so, we have to find: > 1. if wireless card is alive; > 2. if GPIO pin give us required value. > > To make test simple, you can try to test wireless card somewhere else. > For example: I use that card in my laptop. > Are you able to do that? > > Ian, do we write some default values to pinmux? If so, it is bad idea. Not > always possible to get all required information about board, but pinmux is > not so simple to test it by hand and get things which is left. > > Thanks! I've been able to get the wireless card from the EfikaMX, I'll test it later today on a computer with PCIE slot. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 15:51:53 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55554892 for ; Tue, 14 Oct 2014 15:51:53 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC293EA6 for ; Tue, 14 Oct 2014 15:51:52 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id l18so11326312wgh.5 for ; Tue, 14 Oct 2014 08:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rbFirFb0qrn/yg0QhzMLy/21bhlHaYR1s45O+UXbSY0=; b=K/3M4lGd4vKKGtZWzol7K7UTGtB9D1tlAv6iAZhTnpwJJRgvln28tHwed/EcoeItJ3 xO2AQhbQ1M6Swndqgec7BDLxNYUbrBx5aAnnWLM4J6rrj2om3zXaIDEWP+i927BEPEWV NzX0X62Wi8rENZUr9DSAshWfqImLZ9RyKEN2P2BFBjLELW1riijAfDhHssexTHJHl5xo F2jxbLaEyLk//dvQVYhGXqzfAmAJY0uMhsdFQTOZLjpOfePBcNy84o2x0KC+OkDBfgmt PynBk6mYZhx36LH1k7CgPzajz6nuLLw3a1lnl/X92GTDfdwOqXmy+EGQfxEDkKPTClyH d5Gw== MIME-Version: 1.0 X-Received: by 10.180.76.68 with SMTP id i4mr6336065wiw.56.1413301910682; Tue, 14 Oct 2014 08:51:50 -0700 (PDT) Received: by 10.216.127.72 with HTTP; Tue, 14 Oct 2014 08:51:50 -0700 (PDT) In-Reply-To: <20141014041305.GM38905@cicely7.cicely.de> References: <20140825165622.6771b548@X220.alogt.com> <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> <20140826074951.4cf5a8fc@X220.alogt.com> <53FD1646.2010103@ceetonetechnology.com> <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> <20141014032743.GK38905@cicely7.cicely.de> <20141014041305.GM38905@cicely7.cicely.de> Date: Tue, 14 Oct 2014 12:51:50 -0300 Message-ID: Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices From: Luiz Otavio O Souza To: ticso@cicely.de Content-Type: multipart/mixed; boundary=f46d043c814a58e5e0050563feb1 Cc: Andreas Schwarz , George Rosamond , "freebsd-arm@freebsd.org" , Tim Kientzle X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 15:51:53 -0000 --f46d043c814a58e5e0050563feb1 Content-Type: text/plain; charset=UTF-8 On 14 October 2014 01:13, Bernd Walter wrote: > On Tue, Oct 14, 2014 at 05:27:43AM +0200, Bernd Walter wrote: >> On Wed, Aug 27, 2014 at 02:14:00AM +0200, Andreas Schwarz wrote: >> > On Tue, 26 Aug 2014 19:20:38 -0400 >> > George Rosamond wrote: >> > > Erich Dollansky wrote: >> > > > On Mon, 25 Aug 2014 16:35:36 +0200 (CEST) >> > > > Andreas Schwarz wrote: >> > > > >> > > >> I've got also two B+ Models two weeks ago and I'm able to use the >> > > >> image (r269955) from my B Models without any problems. The only >> > > >> thing, what I had to do, was to upgrade the bootloader to a recent >> > > >> version. >> > > >> >> > > >> Have a look at : >> > > >> >> > > >> https://github.com/raspberrypi/firmware/tree/master/boot >> > > >> >> > > > I used now the image from >> > > > >> > > > http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20140725/raspberry-pi/ >> > > > >> > > > and the machine boots. I do not know more at the moment. >> > > >> > > I assume the entire RPi firmware from Github directory gets dumped into >> > > /boot/msdos? >> > >> > Yes, but we don't need the kernel.img, at this point we are loading the >> > uboot.img (keep uboot.img and ubldr from your existing boot partition). >> >> In my case the update was even required to work with the SD card. >> I got timeout errors after size line. >> The same card worked fine in a 512MB B. >> >> After updating the bootcode to those from: >> https://github.com/raspberrypi/firmware/tree/master/boot >> Just bootcoed.bin wasn't enough, I also had to get fixup* and startup*. >> The card and USB worked fine after updating all the files. >> I also tested the updated bootcode on a normal 512MB B and it also booted. >> Would be nice to have crochet updated for the newer bootcode. >> If required I can also test boot on a 256MB B. > > Ok - that card problem seems random or contact related. > Whatever, it is 6 am - time to sleep ;-) I've found a missing silicon bug workaround on our driver. It's pretty recent and i'm still building new images to test with more cards, but it did fix all the instability i was seeing on the identification of one of my cards. Together with the new firmware (yes, there is another SD fix there) my RPi B rev 2 (with this same card) has gone from unusable to rock stable (i've done 80 cold boots without any damage/corruption to the card). Please, give it a try and let me know if it helps. Luiz --f46d043c814a58e5e0050563feb1 Content-Type: text/plain; charset=US-ASCII; name="bcm2835_sdhci.diff" Content-Disposition: attachment; filename="bcm2835_sdhci.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i19f0i530 SW5kZXg6IHN5cy9hcm0vYnJvYWRjb20vYmNtMjgzNS9iY20yODM1X3NkaGNpLmMKPT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PQotLS0gc3lzL2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfc2RoY2kuYwkocmV2aXNpb24g MjcyOTI4KQorKysgc3lzL2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfc2RoY2kuYwkod29y a2luZyBjb3B5KQpAQCAtMzEyLDIxICszMTIsMTAgQEAKIHN0YXRpYyBpbmxpbmUgdm9pZAogV1I0 KHN0cnVjdCBiY21fc2RoY2lfc29mdGMgKnNjLCBidXNfc2l6ZV90IG9mZiwgdWludDMyX3QgdmFs KQogeworCiAJYnVzX3NwYWNlX3dyaXRlXzQoc2MtPnNjX2JzdCwgc2MtPnNjX2JzaCwgb2ZmLCB2 YWwpOwotCi0JaWYgKChvZmYgIT0gU0RIQ0lfQlVGRkVSICYmIG9mZiAhPSBTREhDSV9JTlRfU1RB VFVTICYmIG9mZiAhPSBTREhDSV9DTE9DS19DT05UUk9MKSkKLQl7Ci0JCWludCB0aW1lb3V0ID0g MTAwMDAwOwotCQl3aGlsZSAodmFsICE9IGJ1c19zcGFjZV9yZWFkXzQoc2MtPnNjX2JzdCwgc2Mt PnNjX2JzaCwgb2ZmKSAKLQkJICAgICYmIC0tdGltZW91dCA+IDApCi0JCQljb250aW51ZTsKLQot CQlpZiAodGltZW91dCA8PSAwKQotCQkJcHJpbnRmKCJzZGhjaV9icmNtOiB3cml0aW5nIDB4JVgg dG8gcmVnIDB4JVggIgotCQkJCSJhbHdheXMgZ2l2ZXMgMHglWFxuIiwKLQkJCQl2YWwsICh1aW50 MzJfdClvZmYsIAotCQkJCWJ1c19zcGFjZV9yZWFkXzQoc2MtPnNjX2JzdCwgc2MtPnNjX2JzaCwg b2ZmKSk7Ci0JfQorCWlmIChzYy0+c2Nfc2xvdC5jbG9jayA+IDApCisJCURFTEFZKCgoMiAqIDEw MDAwMDApIC8gc2MtPnNjX3Nsb3QuY2xvY2spICsgMSk7CiB9CiAKIHN0YXRpYyB1aW50OF90Cg== --f46d043c814a58e5e0050563feb1-- From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 16:09:40 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AC97E27 for ; Tue, 14 Oct 2014 16:09:40 +0000 (UTC) Received: from silvertown.webconquest.com (milkzilla.webconquest.com [83.162.247.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 2D12A4E for ; Tue, 14 Oct 2014 16:09:39 +0000 (UTC) Received: by silvertown.webconquest.com (Postfix, from userid 500) id 3511260E87; Tue, 14 Oct 2014 18:00:07 +0200 (CEST) Date: Tue, 14 Oct 2014 18:00:07 +0200 From: Remco Rijnders To: freebsd-arm@freebsd.org Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices Message-ID: <20141014160007.GW26494@silvertown.webconquest.com> References: <20140825165622.6771b548@X220.alogt.com> <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> <20140826074951.4cf5a8fc@X220.alogt.com> <53FD1646.2010103@ceetonetechnology.com> <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> <20141014032743.GK38905@cicely7.cicely.de> <20141014041305.GM38905@cicely7.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 16:09:40 -0000 On Tue, Oct 14, 2014 at 12:51:50PM -0300, Luiz wrote in : >I've found a missing silicon bug workaround on our driver. > >It's pretty recent and i'm still building new images to test with more >cards, but it did fix all the instability i was seeing on the >identification of one of my cards. > >Together with the new firmware (yes, there is another SD fix there) my >RPi B rev 2 (with this same card) has gone from unusable to rock >stable (i've done 80 cold boots without any damage/corruption to the >card). > >Please, give it a try and let me know if it helps. Hi Luiz, I am new to both FreeBSD and to the Raspberry Pi, but have tried in the past few days to boot the combination of the two. Problems I've encountered were "no display" (fixed by setting, hdmi_force_hotplug=1, but this was not needed with the default NOOBS installation), and no working Ethernet and USB. I'd be happy to try your version. Do you have it available as an image somewhere? Best regards, Remco From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 19:58:31 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C6A93CC for ; Tue, 14 Oct 2014 19:58:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 83875DAA for ; Tue, 14 Oct 2014 19:58:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9EJwVoT051640 for ; Tue, 14 Oct 2014 19:58:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 194251] Efika MX Smartbook (imx51) WiFi does not work anymore Date: Tue, 14 Oct 2014 19:58:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yom@iaelu.net X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 19:58:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194251 --- Comment #13 from Guillaume Bibaut --- (In reply to Guillaume Bibaut from comment #12) > (In reply to Aleksandr Rybalko from comment #9) > > Hi Guillaume! > > > > so, looks like ehci core works fine, at least it attach t.pad and keyboard. > > since it so, we have to find: > > 1. if wireless card is alive; > > 2. if GPIO pin give us required value. > > > > To make test simple, you can try to test wireless card somewhere else. > > For example: I use that card in my laptop. > > Are you able to do that? > > > > Ian, do we write some default values to pinmux? If so, it is bad idea. Not > > always possible to get all required information about board, but pinmux is > > not so simple to test it by hand and get things which is left. > > > > Thanks! > > I've been able to get the wireless card from the EfikaMX, I'll test it later > today on a computer with PCIE slot. I'm sorry but I can't test the wireless card on my other computer, I thought the slot was the same size but it is not. I had an old laptop, but the wireless card in that laptop is not using the same slot configuration at all. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 20:26:28 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED979A97 for ; Tue, 14 Oct 2014 20:26:28 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D4FF6117 for ; Tue, 14 Oct 2014 20:26:28 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9EKQSA9047402 for ; Tue, 14 Oct 2014 20:26:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 194251] Efika MX Smartbook (imx51) WiFi does not work anymore Date: Tue, 14 Oct 2014 20:26:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ray@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 20:26:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194251 --- Comment #14 from Aleksandr Rybalko --- Ok, then you can try another method (maybe even easy one :) ) Try to prepare and boot from SD card with Genesi's Linux. Thanks. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 20:52:14 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91193FDF; Tue, 14 Oct 2014 20:52:14 +0000 (UTC) Received: from keltia.net (cl-90.mrs-01.fr.sixxs.net [IPv6:2a01:240:fe00:59::2]) (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 2137F3DF; Tue, 14 Oct 2014 20:52:13 +0000 (UTC) Received: from lonrach.local (foret.keltia.net [78.232.116.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: roberto) by keltia.net (Postfix) with ESMTPSA id 7637852A9; Tue, 14 Oct 2014 22:52:10 +0200 (CEST) Date: Tue, 14 Oct 2014 22:52:03 +0200 From: Ollivier Robert To: freebsd-arm@freebsd.org Subject: Online.net new offer featuring ARMv7 based servers [LONG] Message-ID: <20141014205203.GA78703@lonrach.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: MacOS X / MBP 4,1 - FreeBSD 8.0 / T3500-E5520 Nehalem User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 20:52:14 -0000 [not subscribed to -embedded please keep in Cc] Hello, My main hosting company here in France (online.net) just started a new "cloud" offer, based on ARMv7 machines. They are running Marvell Armada XP SOC with 4 cores (MV78460). They are currently supporting only Ubuntu & Gentoo on these machines so I have offered to see how hard it would be to put FreeBSD there. I have access to the support forums and have found a small thread about BSD support with things line that: -=-=- Concerning the support of other OSs there are two BSDs (net & free) that have partial support of the SoC. Booting on the SoC might be possible at the moment, but there are some features that are still missing to have network. The design of the hardware requires support of integrated GiE interface and MDIO bus support/PHY Emulation (called fixed-phy in linux) to be able to have network. Also an equivalent of a linux "device tree" description has to be created. Related information : - http://blog.netbsd.org/tnf/entry/support_for_marvell_armada_xp - https://www.freebsd.org/news/status/report-2011-10-2011-12.html#FreeBSD/arm-on-Marvell-Armada-XP - https://origin-www.marvell.com/embedded-processors/armada-xp/1 (MV78460) -=-=- and this -=-=- We only support the linux kernel for now If you have any recommendations/links about running BSD on custom hardware with arm architecture, your help will be greatly appreciated Today, you can only boot your instance using NBD, but you can imagine to: - boot a linux server on a NBD volume - install a NFS/iSCSI/Samba/S3/TFTP server - export a volume/disk/... - (bonus: you can do raid, encryption, compression) - boot a new server on the exported NFS/iSCSI root volume It is unoptimized, and gives you constraints (i.e. to have the ISCSI host's ip in your boot cmdline) to boot your new servers, but it lets you bypass current limitations We are currently focused on getting a solution for the most common needs: recent kernel, working modules, standard public distributions; But we are also interested about other needs and appreciate help from experts -=-=- A few other things I gathered: - We do not have I believe any "nbd" driver (apparently what goes as "disks" around here). - they use uboot for booting - they want to know whether we have an equivalent to "initrd" which is IIRC the ramdisk-based boot linux has. They use initrd to mount volumes from the nas (and IP/port change with each reboot). - console is through a 9000 bauds serial port More detailed information there: http://philippe.lewin.me/2014/10/14/benchs-specs-online-cloud-preview/ Prices are not yet fixed and they will not start charging till 2 or 3 weeks. Even then, there might be some possibilities that I could keep some machines for free (I'll see about that). In any case, I can get a few of these machines and make them available to anyone interested and server as intermediary. Anyone? They have sent me by mail one of the files (so called c1.dts) (see below) c1.dts (headers in https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts?id=refs/tags /v3.17). -=-=- /* * Device Tree file for Marvell Armada XP evaluation board * (DB-78460-BP) * * Copyright (C) 2012 Marvell * * Lior Amsalem * Gregory CLEMENT * Thomas Petazzoni * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ /dts-v1/; #include "armada-xp-mv78460.dtsi" / { model = "C1 Online Computing"; compatible = "marvell,axp-db", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; chosen { bootargs = "console=ttyS0,9600 earlyprintk"; }; memory { device_type = "memory"; reg = <0 0x00000000 0 0x80000000>; /* 2 GB */ }; soc { ranges = ; devbus-bootcs { status = "okay"; /* Device Bus parameters are required */ /* Read parameters */ devbus,bus-width = <16>; devbus,turn-off-ps = <60000>; devbus,badr-skew-ps = <0>; devbus,acc-first-ps = <124000>; devbus,acc-next-ps = <248000>; devbus,rd-setup-ps = <0>; devbus,rd-hold-ps = <0>; /* Write parameters */ devbus,sync-enable = <0>; devbus,wr-high-ps = <60000>; devbus,wr-low-ps = <60000>; devbus,ale-wr-ps = <60000>; }; internal-regs { uart0: serial@12000 { status = "okay"; }; eth0: ethernet@70000 { status = "okay"; fixed-link = <1 1 1000 0 0>; phy-mode = "sgmii"; }; mvsdio@d4000 { pinctrl-0 = <&sdio_pins>; pinctrl-names = "default"; status = "okay"; /* No CD or WP GPIOs */ broken-cd; }; }; }; aliases { ethernet0 = ð0; serial0 = &uart0; }; };-=-=- -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/ From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 21:19:13 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FED15C7 for ; Tue, 14 Oct 2014 21:19:13 +0000 (UTC) Received: from keltia.net (cl-90.mrs-01.fr.sixxs.net [IPv6:2a01:240:fe00:59::2]) (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 EC9A784C for ; Tue, 14 Oct 2014 21:19:12 +0000 (UTC) Received: from lonrach.local (foret.keltia.net [78.232.116.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: roberto) by keltia.net (Postfix) with ESMTPSA id 67C1F52A9 for ; Tue, 14 Oct 2014 23:19:11 +0200 (CEST) Date: Tue, 14 Oct 2014 23:19:09 +0200 From: Ollivier Robert To: freebsd-arm@freebsd.org Subject: Re: Online.net new offer featuring ARMv7 based servers [LONG] Message-ID: <20141014211909.GB78703@lonrach.local> References: <20141014205203.GA78703@lonrach.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141014205203.GA78703@lonrach.local> X-Operating-System: MacOS X / MBP 4,1 - FreeBSD 8.0 / T3500-E5520 Nehalem User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 21:19:13 -0000 According to Ollivier Robert: > More detailed information there: > http://philippe.lewin.me/2014/10/14/benchs-specs-online-cloud-preview/ More info from dmesg(1) on an Ubuntu instance: -=-=- [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.17.0-66 (jenkins@vtydc3-rz1is-jenkins03) (gcc version 4.9.1 (Ubuntu/Linaro 4.9.1-10ubuntu2) ) #11 SMP Tue Oct 14 08:30:06 CEST 2014 [ 0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine model: C1 Online Computing [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 524287 [ 0.000000] free_area_init_node: node 0, pgdat c0656e00, node_mem_map ee7f8000 [ 0.000000] Normal zone: 1520 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 194560 pages, LIFO batch:31 [ 0.000000] HighMem zone: 2576 pages used for memmap [ 0.000000] HighMem zone: 329727 pages, LIFO batch:31 [ 0.000000] PERCPU: Embedded 7 pages/cpu @ee7c3000 s8192 r8192 d12288 u32768 [ 0.000000] pcpu-alloc: s8192 r8192 d12288 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522767 [ 0.000000] Kernel command line: earlyprintk=ttyS0 nousb console=ttyS0,9600n8 noplymouth ip=dhcp boot=local root=/dev/nbd0 [ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes [ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes [ 0.000000] log_buf_len min size: 16384 bytes [ 0.000000] log_buf_len: 32768 bytes [ 0.000000] early log buf free: 14672(89%) [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] allocated 4194296 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 2064832K/2097148K available (4651K kernel code, 281K rwdata, 1288K rodata, 236K init, 194K bss, 32316K reserved, 1318908K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc05d50f4 (5941 kB) [ 0.000000] .init : 0xc05d6000 - 0xc0611000 ( 236 kB) [ 0.000000] .data : 0xc0612000 - 0xc0658580 ( 282 kB) [ 0.000000] .bss : 0xc0658580 - 0xc0688fd8 ( 195 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: device tree omits to specify unified cache [ 0.000000] L2C: DT/platform modifies aux control register: 0x1a69ef10 -> 0x1a69ef12 [ 0.000000] Aurora cache controller enabled, 32 ways, 2048 kB [ 0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a69ef12 [ 0.000008] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798691800ns [ 0.096141] Console: colour dummy device 80x30 [ 0.150422] Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096) [ 0.310447] pid_max: default: 32768 minimum: 301 [ 0.366860] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.447153] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.532967] Initializing cgroup subsys memory [ 0.586196] Initializing cgroup subsys devices [ 0.640453] Initializing cgroup subsys freezer [ 0.694708] Initializing cgroup subsys net_cls [ 0.748969] Initializing cgroup subsys blkio [ 0.801139] Initializing cgroup subsys perf_event [ 0.858531] CPU: Testing write buffer coherency: ok [ 0.918227] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.993482] Setting up static identity map for 0x46ff78 - 0x46ffd0 [ 1.068773] mvebu-soc-id: MVEBU SoC ID=0x7846, Rev=0x2 [ 1.131447] mvebu-pmsu: Initializing Power Management Service Unit [ 1.207359] Booting CPU 1 [ 1.239902] CPU1: Booted secondary processor [ 1.275974] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 1.276255] Booting CPU 2 [ 1.429798] CPU2: Booted secondary processor [ 1.465973] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 1.466247] Booting CPU 3 [ 1.619786] CPU3: Booted secondary processor [ 1.655974] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 1.656024] Brought up 4 CPUs [ 1.813573] SMP: Total of 4 processors activated. [ 1.870947] CPU: All CPU(s) started in SVC mode. [ 1.927600] devtmpfs: initialized [ 1.968737] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6 [ 2.061858] pinctrl core: initialized pinctrl subsystem [ 2.127388] NET: Registered protocol family 16 [ 2.181848] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 2.265765] cpuidle: using governor ladder [ 2.315866] cpuidle: using governor menu [ 2.366327] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 2 [ 2.366331] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 3 [ 2.366335] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1 [ 2.366337] hw-breakpoint: CPU 3 failed to disable vector catch [ 2.766297] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0 [ 2.906729] vgaarb: loaded [ 2.940374] SCSI subsystem initialized [ 2.986441] libata version 3.00 loaded. [ 2.986545] usbcore: USB support disabled [ 3.035863] Advanced Linux Sound Architecture Driver Initialized. [ 3.110354] Switched to clocksource armada_370_xp_clocksource [ 3.188786] NET: Registered protocol family 2 [ 3.242498] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 3.328052] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 3.406314] TCP: Hash tables configured (established 8192 bind 8192) [ 3.483509] TCP: reno registered [ 3.523194] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 3.595173] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 3.672458] NET: Registered protocol family 1 [ 3.725851] RPC: Registered named UNIX socket transport module. [ 3.797817] RPC: Registered udp transport module. [ 3.855198] RPC: Registered tcp transport module. [ 3.912575] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.990788] PCI: CLS 0 bytes, default 64 [ 3.990914] Unpacking initramfs... [ 4.179763] Freeing initrd memory: 4088K (c6001000 - c63ff000) [ 4.251614] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 4.327326] VFS: Disk quotas dquot_6.5.2 [ 4.375379] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 4.455080] msgmni has been set to 1464 [ 4.502490] bounce: pool size: 64 pages [ 4.549507] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 4.639177] io scheduler noop registered [ 4.687189] io scheduler deadline registered [ 4.739386] io scheduler cfq registered (default) [ 4.797475] armada-xp-pinctrl d0018000.pinctrl: registered pinctrl driver [ 4.880176] irq: Cannot allocate irq_descs @ IRQ35, assuming pre-allocated [ 4.963830] irq: Cannot allocate irq_descs @ IRQ67, assuming pre-allocated [ 5.047391] irq: Cannot allocate irq_descs @ IRQ99, assuming pre-allocated [ 5.130988] mv_xor d0060900.xor: Marvell shared XOR driver [ 5.230424] mv_xor d0060900.xor: Marvell XOR: ( xor cpy ) [ 5.330417] mv_xor d0060900.xor: Marvell XOR: ( xor cpy ) [ 5.396213] mv_xor d00f0900.xor: Marvell shared XOR driver [ 5.500409] mv_xor d00f0900.xor: Marvell XOR: ( xor cpy ) [ 5.600415] mv_xor d00f0900.xor: Marvell XOR: ( xor cpy ) [ 5.700773] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 5.779062] console [ttyS0] disabled [ 5.842977] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 18, base_baud = 15625000) is a 16550A [ 5.951400] console [ttyS0] enabled [ 6.035905] bootconsole [earlycon0] disabled [ 6.139884] nbd: registered device at major 43 [ 6.198562] libphy: Fixed MDIO Bus: probed [ 6.247790] libphy: orion_mdio_bus: probed [ 6.301244] mvneta d0070000.ethernet eth0: Using device tree mac address 00:07:cb:03:23:94 [ 6.400830] mousedev: PS/2 mouse device common for all mice [ 6.467820] I2O subsystem v1.325 [ 6.506490] i2o: max drivers = 8 [ 6.545564] rtc-mv d0010300.rtc: rtc core: registered d0010300.rtc as rtc0 [ 6.628835] orion_wdt: Initial timeout 171 sec [ 6.682669] sdhci: Secure Digital Host Controller Interface driver [ 6.756778] sdhci: Copyright(c) Pierre Ossman [ 6.841807] sdhci-pltfm: SDHCI platform and OF driver helper [ 6.911124] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 6.986513] TCP: cubic registered [ 7.026281] NET: Registered protocol family 17 [ 7.079576] 8021q: 802.1Q VLAN Support v1.8 [ 7.129836] ThumbEE CPU extension supported. [ 7.181057] Registering SWP/SWPB emulation handler [ 7.245237] rtc-mv d0010300.rtc: setting system clock to 2009-04-18 18:42:04 UTC (1240080124) [ 9.421727] mvneta d0070000.ethernet eth0: link up [ 9.491702] Sending DHCP requests ., OK [ 9.581706] IP-Config: Got DHCP answer from 10.1.2.1, my address is 10.1.3.11 [ 9.672080] IP-Config: Complete: [ 9.710783] device=eth0, hwaddr=00:07:cb:03:23:94, ipaddr=10.1.3.11, mask=255.255.254.0, gw=10.1.2.1 [ 9.825530] host=c1-10-1-3-11, domain=cloud.online.net, nis-domain=(none) [ 9.912158] bootserver=10.1.31.34, rootserver=10.1.31.34, rootpath=, mtu=9000 [ 10.000989] nameserver0=10.1.31.38, nameserver1=10.1.31.39 [ 10.074432] ALSA device list: [ 10.109992] No soundcards found. [ 10.151333] Freeing unused kernel memory: 236K (c05d6000 - c0611000) [ 10.327116] PIMOUSS' INIT [ 10.327116] [ 13.446746] udev[1069]: starting version 164 [ 22.356012] EXT4-fs (nbd0): mounted filesystem with ordered data mode. Opts: (null) [ 23.070025] random: init urandom read with 42 bits of entropy available [ 23.323675] init: plymouth-upstart-bridge main process (1299) terminated with status 1 [ 23.418863] init: plymouth-upstart-bridge main process ended, respawning [ 23.543505] init: plymouth-upstart-bridge main process (1308) terminated with status 1 [ 23.638629] init: plymouth-upstart-bridge main process ended, respawning [ 24.105973] init: nbd-root-preserve-client main process (1344) terminated with status 2 [ 24.535151] systemd-udevd[1388]: starting version 204 [ 25.449986] EXT4-fs (nbd0): re-mounted. Opts: (null) [ 25.857691] init: udev-fallback-graphics main process (1469) terminated with status 1 [ 26.630310] random: nonblocking pool is initialized [ 31.944729] init: failsafe main process (1664) killed by TERM signal [ 32.260967] NET: Registered protocol family 10 [ 33.924710] init: plymouth-upstart-bridge main process ended, respawning -=-=- -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/ From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 21:44:14 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F76BD94; Tue, 14 Oct 2014 21:44:14 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBA06B88; Tue, 14 Oct 2014 21:44:13 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id d1so294372wiv.6 for ; Tue, 14 Oct 2014 14:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=6thxyPWuvrnGGKRxjNilduoNUq0IlsNYmQSwAWFgWI0=; b=RMxZPEDfdxi+OuA3wUlz2brQZBU1hrIemdkWjlsM/DHk6lW/2nnK3CxMUQWyiXhcED mOkZ7y30zdAyvfavzo7UeIPTPFwXAMFvDt/Ac0wgGe8fMnhDsXTrhPzob3BciAiLJTPR VEyF+XtlbSp6JW9X7p2lmPghOKYYjqVesHjXI34MOZgTmGDoceLqFxV8HWKgEq7+cEJh +FY/lAigAYtYrPaWX6rDgB3GSrCMD4CrNZx+2jwhV/atBPHW1wNaN+V+M8VMe2aQYTWg hgK+89bsBMJBaW0/oQCjtv6pUAMiMhynJ8BuYgSC2HJtJnfHH4BPuhe5UYqufytAqm+g enXg== MIME-Version: 1.0 X-Received: by 10.180.78.100 with SMTP id a4mr7760179wix.23.1413323051991; Tue, 14 Oct 2014 14:44:11 -0700 (PDT) Sender: zbodek@gmail.com Received: by 10.216.123.1 with HTTP; Tue, 14 Oct 2014 14:44:11 -0700 (PDT) In-Reply-To: <20141014205203.GA78703@lonrach.local> References: <20141014205203.GA78703@lonrach.local> Date: Tue, 14 Oct 2014 23:44:11 +0200 X-Google-Sender-Auth: wxtTxpdiqLKCokrp6m8ey3ddfFA Message-ID: Subject: Re: Online.net new offer featuring ARMv7 based servers [LONG] From: Zbigniew Bodek To: Ollivier Robert Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 21:44:14 -0000 Hello Ollivier, There is a working support for Armada XP in FreeBSD. You can boot the DB board in SMP although (afaik) there may be some problems with SMP on GP boards with different u-boot versions. Kernel works stable but the peripheral interfaces support and power-management looks poor in comparison to Linux (also we have no LPAE support for ARM so no more than ~4GB of memory). Most common interfaces like SATA, USB or PCIe work OK but as you wrote - there is no networking support. Networking interface works on NetBSD, however I have no idea how efficient is it there. AXP's network is not exactly the simplest one so even with NBSD reference I don't expect it to be a trivial copy-paste port to FreeBSD. Also, there is FDT support in FreeBSD but the DTS file is different for FreeBSD and Linux (you can check out sys/boot/fdt/dts/arm/db78460.dts). In theory Linux DTS file will not work with our kernel but with very little work one can tune FreeBSD's DTS as desired (I know that this isn't exactly how FDT should work since DTS is supposed to be OS-independent). I hope that you find these information useful. Please notice that AXP has received much more effort and engineering work on Linux than on FreeBSD so someone would need to focus on FreeBSD now to reduce the distance between those two. Best regards zbb 2014-10-14 22:52 GMT+02:00 Ollivier Robert : > [not subscribed to -embedded please keep in Cc] > > Hello, > > My main hosting company here in France (online.net) just started a new "c= loud" offer, based on ARMv7 machines. They are running Marvell Armada XP S= OC with 4 cores (MV78460). They are currently supporting only Ubuntu & Gen= too on these machines so I have offered to see how hard it would be to put = FreeBSD there. > > I have access to the support forums and have found a small thread about B= SD support with things line that: > > -=3D-=3D- > Concerning the support of other OSs there are two BSDs (net & free) that = have partial support of the SoC. Booting on the SoC might be possible at th= e moment, but there are some features that are still missing to have networ= k. > > The design of the hardware requires support of integrated GiE interface a= nd MDIO bus support/PHY Emulation (called fixed-phy in linux) to be able to= have network. Also an equivalent of a linux "device tree" description has = to be created. > > Related information : > - http://blog.netbsd.org/tnf/entry/support_for_marvell_armada_xp > - https://www.freebsd.org/news/status/report-2011-10-2011-12.html#FreeBSD= /arm-on-Marvell-Armada-XP > - https://origin-www.marvell.com/embedded-processors/armada-xp/1 (MV78460= ) > -=3D-=3D- > > and this > > -=3D-=3D- > We only support the linux kernel for now > If you have any recommendations/links about running BSD on custom hardwar= e with arm architecture, your help will be greatly appreciated > > Today, you can only boot your instance using NBD, but you can imagine to: > - boot a linux server on a NBD volume > - install a NFS/iSCSI/Samba/S3/TFTP server > - export a volume/disk/... > - (bonus: you can do raid, encryption, compression) > - boot a new server on the exported NFS/iSCSI root volume > > It is unoptimized, and gives you constraints (i.e. to have the ISCSI host= 's ip in your boot cmdline) to boot your new servers, but it lets you bypas= s current limitations > > We are currently focused on getting a solution for the most common needs:= recent kernel, working modules, standard public distributions; But we are = also interested about other needs and appreciate help from experts > -=3D-=3D- > > A few other things I gathered: > > - We do not have I believe any "nbd" driver (apparently what goes as "dis= ks" around here). > - they use uboot for booting > - they want to know whether we have an equivalent to "initrd" which is II= RC the ramdisk-based boot linux has. They use initrd to mount volumes from= the nas (and IP/port change with each reboot). > - console is through a 9000 bauds serial port > > More detailed information there: > http://philippe.lewin.me/2014/10/14/benchs-specs-online-cloud-preview/ > > Prices are not yet fixed and they will not start charging till 2 or 3 wee= ks. Even then, there might be some possibilities that I could keep some ma= chines for free (I'll see about that). > > In any case, I can get a few of these machines and make them available to= anyone interested and server as intermediary. > > Anyone? > > They have sent me by mail one of the files (so called c1.dts) (see below) > > c1.dts (headers in https://git.kernel.org/cgit/linux/kernel/git/torvalds/= linux.git/tree/arch/arm/boot/dts?id=3Drefs/tags > /v3.17). > > -=3D-=3D- > /* > * Device Tree file for Marvell Armada XP evaluation board > * (DB-78460-BP) > * > * Copyright (C) 2012 Marvell > * > * Lior Amsalem > * Gregory CLEMENT > * Thomas Petazzoni > * > * This file is licensed under the terms of the GNU General Public > * License version 2. This program is licensed "as is" without any > * warranty of any kind, whether express or implied. > */ > > /dts-v1/; > #include "armada-xp-mv78460.dtsi" > > / { > model =3D "C1 Online Computing"; > compatible =3D "marvell,axp-db", "marvell,armadaxp-mv78460", "mar= vell,armadaxp", "marvell,armada-370-xp"; > > chosen { > bootargs =3D "console=3DttyS0,9600 earlyprintk"; > }; > > memory { > device_type =3D "memory"; > reg =3D <0 0x00000000 0 0x80000000>; /* 2 GB */ > }; > > soc { > ranges =3D MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 > MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000>; > > devbus-bootcs { > status =3D "okay"; > > /* Device Bus parameters are required */ > > /* Read parameters */ > devbus,bus-width =3D <16>; > devbus,turn-off-ps =3D <60000>; > devbus,badr-skew-ps =3D <0>; > devbus,acc-first-ps =3D <124000>; > devbus,acc-next-ps =3D <248000>; > devbus,rd-setup-ps =3D <0>; > devbus,rd-hold-ps =3D <0>; > > /* Write parameters */ > devbus,sync-enable =3D <0>; > devbus,wr-high-ps =3D <60000>; > devbus,wr-low-ps =3D <60000>; > devbus,ale-wr-ps =3D <60000>; > > }; > > internal-regs { > uart0: serial@12000 { > status =3D "okay"; > }; > > eth0: ethernet@70000 { > status =3D "okay"; > fixed-link =3D <1 1 1000 0 0>; > phy-mode =3D "sgmii"; > }; > > mvsdio@d4000 { > pinctrl-0 =3D <&sdio_pins>; > pinctrl-names =3D "default"; > status =3D "okay"; > /* No CD or WP GPIOs */ > broken-cd; > }; > > }; > }; > aliases { > ethernet0 =3D ð0; > serial0 =3D &uart0; > }; > };-=3D-=3D- > > > -- > Ollivier ROBERT -=3D- FreeBSD: The Power to Serve! -=3D- roberto@keltia.f= reenix.fr > In memoriam to Ondine : http://ondine.keltia.net/ > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.or= g" From owner-freebsd-arm@FreeBSD.ORG Wed Oct 15 01:56:07 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB8F56CA for ; Wed, 15 Oct 2014 01:56:06 +0000 (UTC) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A755B7CD for ; Wed, 15 Oct 2014 01:56:06 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id g10so313266pdj.18 for ; Tue, 14 Oct 2014 18:56:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=wuwrglzphPuCpGeXyB8524ZTx8grx2pyg90wHfb3VDI=; b=I5MYnbTKwgnASkbHTC7h2b7lfvuqCS/zSxE8jmwDDg7SXos6RMBAobdPLpLnpn1bX2 pFsN+yG1pawUKZfYUscJN/s7+JHipKeC6q/b/p41bnkJvxO1auxQoFBSjea2mVipET8i 4G5rfs58OwreauegZeaUc8Kt12SoiUVuR29pPVH8SEOERq89kAO3/0y0NF3MFVHR5dcm 2lu+cgxTQxyukNPymglVCEuU1hUrmUBW52MZvht/1lOW27hb7DivrIqZ7JA73wlJr9Pp QGF4pLjZB0U2Kmx0oPgbzHyDbuzGQ6YG5BHW4TiXjUa02tJDtYyNmK0XUyG92I2Z2qKr Trcg== X-Gm-Message-State: ALoCoQnUxMI2jIqTz60Bv/d3jmzpRRVWmpln0D7Q1kmVnOZFniZLvnIaMtSa2JyY+27xk+0CE+qU X-Received: by 10.70.65.37 with SMTP id u5mr9167836pds.93.1413338160050; Tue, 14 Oct 2014 18:56:00 -0700 (PDT) Received: from [10.64.26.87] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id gz1sm15438703pbb.8.2014.10.14.18.55.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 18:55:59 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_9C2397BB-9D3F-462C-8ABF-2408CD299D9F"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Online.net new offer featuring ARMv7 based servers [LONG] From: Warner Losh In-Reply-To: Date: Tue, 14 Oct 2014 19:55:56 -0600 Message-Id: References: <20141014205203.GA78703@lonrach.local> To: Zbigniew Bodek X-Mailer: Apple Mail (2.1878.6) Cc: Ollivier Robert , "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 01:56:07 -0000 --Apple-Mail=_9C2397BB-9D3F-462C-8ABF-2408CD299D9F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Oct 14, 2014, at 3:44 PM, Zbigniew Bodek wrote: > Also, there is FDT support in FreeBSD but the DTS file is different > for FreeBSD and Linux (you can check out > sys/boot/fdt/dts/arm/db78460.dts). In theory Linux DTS file will not > work with our kernel but with very little work one can tune FreeBSD's > DTS as desired (I know that this isn't exactly how FDT should work > since DTS is supposed to be OS-independent). The ideal we=92re striving for is to be able to use unmodified vendor = DTS files. We=92re not there yet, and there=92s some issues that need to be = overcome in specific cases before we will be there. If you or anybody else is = doing work in this area, please consider improving the compatibility. We=92ll = gain more in the long run, imho. Warner --Apple-Mail=_9C2397BB-9D3F-462C-8ABF-2408CD299D9F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUPdQsAAoJEGwc0Sh9sBEABI0QAIsbYDWixXI2+pgDAfyQhFF/ C7WjH33mmTXuEviGRwy7JrKmJsSi9TKFQXFfL1PcZEC/zV2K2STdmaXp6iYPA4wV 2LI/Kt6vHu8Du0QCI95IxU6CyvmeBwX25CyF4V+0esSknwcndTV92f5t5FjcZUgI yscO8YA9+nLA9lBYfa+4UJAQBk3MUhwJYo8wzeerS1+1g5HdUacqWkbTtA7ovf29 AxI/ULGd9nZyibVGPS6mpjOuUqjj043jxGjKShN7VPj7RsjuID1Fua060BIkI2iK b7rrcevrfAfCji8HhUE2lByNSF8VGmG5OMp6wT/sCFROrAAkC7F6TByxeUvHTDgm u8ve2aq8Ew1LE1Z22hHKDyKwPIjWGJcjz8nqtQV84uSrEflzhMm7UwaisihhT8mX DOMl/sQSCZQ6d1TT6B/AINDGGRdNarOZN8wNPpxhmAr/dWRcZwfc99Xzeeg3m2nP 5wvW/h8s+CF6Y9J75DKWynbWkIzbFMDCMKx1fC/eJegeZYZ9QNjPyzcoG6AdFG7B oCU/Wk0ZdwrRpvxmlJbm8U/u6kNxcav063FlSqscTiBWFDmUN2p+geayP1LAic/9 IjX2gU+2ide4LmNg8dUC9V6ex0Y9PJgXSydIo9aC2iMWOgaK99/keoJooJbZRcvW fIDn1ZUddGUTBwQzRqo9 =Csh+ -----END PGP SIGNATURE----- --Apple-Mail=_9C2397BB-9D3F-462C-8ABF-2408CD299D9F-- From owner-freebsd-arm@FreeBSD.ORG Wed Oct 15 03:01:54 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7551AA1D for ; Wed, 15 Oct 2014 03:01:54 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (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 3759AE4C for ; Wed, 15 Oct 2014 03:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date; bh=usDMhB8JfzwZ+vlxx67YVBNUSUXkJ30UOhOAlriOd4w=; b=S2PtPMeVLVpCmGpI4CFAuiaPStVMZdyXBltD2We9SolR/M8BaIW9aD/yLyGFANOrlwQQU5z4QlZIbFw5/ocXRtpwoD99HPerJqAACEw6YhIRfRac5DpkAtBXglWx+YHlS8RpHckg74VUnRUQwZrdyP1oh0RfWL0XgQMWmcTkhWs=; Received: from [203.174.11.50] (port=60916 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1XeEqQ-000U8d-0V for freebsd-arm@freebsd.org; Tue, 14 Oct 2014 21:01:46 -0600 Date: Wed, 15 Oct 2014 11:01:41 +0800 From: Erich Dollansky To: freebsd-arm@freebsd.org Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices Message-ID: <20141015110141.2946327d@X220.alogt.com> In-Reply-To: References: <20140825165622.6771b548@X220.alogt.com> <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> <20140826074951.4cf5a8fc@X220.alogt.com> <53FD1646.2010103@ceetonetechnology.com> <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> <20141014032743.GK38905@cicely7.cicely.de> <20141014041305.GM38905@cicely7.cicely.de> Organization: ALO Green Technologies MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 03:01:54 -0000 Hi Luiz, I am travelling at the moment. Will onlyt be able to test the coming week. Thanks for your work. Erich On Tue, 14 Oct 2014 12:51:50 -0300 Luiz Otavio O Souza wrote: > On 14 October 2014 01:13, Bernd Walter wrote: > > On Tue, Oct 14, 2014 at 05:27:43AM +0200, Bernd Walter wrote: > >> On Wed, Aug 27, 2014 at 02:14:00AM +0200, Andreas Schwarz wrote: > >> > On Tue, 26 Aug 2014 19:20:38 -0400 > >> > George Rosamond wrote: > >> > > Erich Dollansky wrote: > >> > > > On Mon, 25 Aug 2014 16:35:36 +0200 (CEST) > >> > > > Andreas Schwarz wrote: > >> > > > > >> > > >> I've got also two B+ Models two weeks ago and I'm able to > >> > > >> use the image (r269955) from my B Models without any > >> > > >> problems. The only thing, what I had to do, was to upgrade > >> > > >> the bootloader to a recent version. > >> > > >> > >> > > >> Have a look at : > >> > > >> > >> > > >> https://github.com/raspberrypi/firmware/tree/master/boot > >> > > >> > >> > > > I used now the image from > >> > > > > >> > > > http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20140725/raspberry-pi/ > >> > > > > >> > > > and the machine boots. I do not know more at the moment. > >> > > > >> > > I assume the entire RPi firmware from Github directory gets > >> > > dumped into /boot/msdos? > >> > > >> > Yes, but we don't need the kernel.img, at this point we are > >> > loading the uboot.img (keep uboot.img and ubldr from your > >> > existing boot partition). > >> > >> In my case the update was even required to work with the SD card. > >> I got timeout errors after size line. > >> The same card worked fine in a 512MB B. > >> > >> After updating the bootcode to those from: > >> https://github.com/raspberrypi/firmware/tree/master/boot > >> Just bootcoed.bin wasn't enough, I also had to get fixup* and > >> startup*. The card and USB worked fine after updating all the > >> files. I also tested the updated bootcode on a normal 512MB B and > >> it also booted. Would be nice to have crochet updated for the > >> newer bootcode. If required I can also test boot on a 256MB B. > > > > Ok - that card problem seems random or contact related. > > Whatever, it is 6 am - time to sleep ;-) > > I've found a missing silicon bug workaround on our driver. > > It's pretty recent and i'm still building new images to test with more > cards, but it did fix all the instability i was seeing on the > identification of one of my cards. > > Together with the new firmware (yes, there is another SD fix there) my > RPi B rev 2 (with this same card) has gone from unusable to rock > stable (i've done 80 cold boots without any damage/corruption to the > card). > > Please, give it a try and let me know if it helps. > > Luiz From owner-freebsd-arm@FreeBSD.ORG Wed Oct 15 10:11:54 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A2E81B4; Wed, 15 Oct 2014 10:11:54 +0000 (UTC) Received: from keltia.net (cl-90.mrs-01.fr.sixxs.net [IPv6:2a01:240:fe00:59::2]) (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 38848E72; Wed, 15 Oct 2014 10:11:53 +0000 (UTC) Received: from lonrach.local (foret.keltia.net [78.232.116.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: roberto) by keltia.net (Postfix) with ESMTPSA id CBFF0529E; Wed, 15 Oct 2014 12:11:50 +0200 (CEST) Date: Wed, 15 Oct 2014 12:11:49 +0200 From: Ollivier Robert To: Warner Losh Subject: Re: Online.net new offer featuring ARMv7 based servers [LONG] Message-ID: <20141015101148.GB78787@lonrach.local> References: <20141014205203.GA78703@lonrach.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: MacOS X / MBP 4,1 - FreeBSD 8.0 / T3500-E5520 Nehalem User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 10:11:54 -0000 According to Warner Losh: > The ideal we’re striving for is to be able to use unmodified vendor DTS > files. We’re not there yet, and there’s some issues that need to be overcome > in specific cases before we will be there. If you or anybody else is doing > work in this area, please consider improving the compatibility. We’ll gain > more in the long run, imho. The thing is that I know next to nothing with respect to ARM stuff. I can make machines available through online.net incl. serial console access and do liaison with them though. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/ From owner-freebsd-arm@FreeBSD.ORG Wed Oct 15 19:40:43 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E44EF14D for ; Wed, 15 Oct 2014 19:40:43 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 CBE3168B for ; Wed, 15 Oct 2014 19:40:43 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9FJehKB090297 for ; Wed, 15 Oct 2014 19:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 194251] Efika MX Smartbook (imx51) WiFi does not work anymore Date: Wed, 15 Oct 2014 19:40:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yom@iaelu.net X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 19:40:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194251 --- Comment #15 from Guillaume Bibaut --- (In reply to Aleksandr Rybalko from comment #14) > Ok, then you can try another method (maybe even easy one :) ) > Try to prepare and boot from SD card with Genesi's Linux. > > Thanks. I've tried to follow your advice, but it seems that the SD card won't load from the u-boot.imx I found there : http://people.freebsd.org/%7Eray/u-boot_efika_mx_smartbook.imx when I type 'mmc rescan', it tells me : esdhc_init: Card did not respond to voltage select! I wanted to try that linux installation with the dd'd sd card : http://techuman.wordpress.com/2014/05/02/ubuntu-12-04-lts-now-running-on-efika-mx-smartbook/ -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Fri Oct 17 08:45:24 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F01B4A6 for ; Fri, 17 Oct 2014 08:45:24 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp07.smtpout.orange.fr [80.12.242.129]) by mx1.freebsd.org (Postfix) with ESMTP id B5A878E2 for ; Fri, 17 Oct 2014 08:45:22 +0000 (UTC) Received: from wwinf1c10 ([10.223.79.53]) by mwinf5d30 with ME id 48lF1p00C190ruq038lFiQ; Fri, 17 Oct 2014 10:45:15 +0200 X-ME-Helo: wwinf1c10 X-ME-Auth: Z2RhbG1hc0B3YW5hZG9vLmZy X-ME-Date: Fri, 17 Oct 2014 10:45:15 +0200 X-ME-IP: 90.53.112.205 Date: Fri, 17 Oct 2014 10:45:15 +0200 (CEST) From: Gilles DALMAS Reply-To: Gilles DALMAS To: Ganbold Tsagaankhuu Message-ID: <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> In-Reply-To: References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> <1886035707.11136.1411219513483.JavaMail.www@wwinf1p20> <284420224.12277.1411223197278.JavaMail.www@wwinf1p20> Subject: Re: kernel debugger on cubietruck MIME-Version: 1.0 X-Originating-IP: [90.53.112.205] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 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 Oct 2014 08:45:24 -0000 Hi, I just saw this page of "man" on the website of freebsd, could she could no= t solve the problem of GMAC driver? http://www.freebsd.org/cgi/man.cgi?query=3Dgem&sektion=3D4 > Message du 20/09/14 16:30 > De : "Ganbold Tsagaankhuu"=20 > A : "Gilles DALMAS"=20 > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > Objet : Re: kernel debugger on cubietruck >=20 > > > On Sat, Sep 20, 2014 at 10:26 PM, Gilles DALMAS wrote: > > i comment emac line from : >=20 > # Ethernet > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 loop > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ether > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mii > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 smscphy > #device =C2=A0=C2=A0=C2=A0 cpsw > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bpf >=20 > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 emac >=20 > # USB ethernet support, requires miibus > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 miibus > =C2=A0 > and re run the compilation ? > Just build kernel only and try. > Ganbold > =C2=A0 > =C2=A0 > no need to re created the sd card ? just the USB flash ? > =C2=A0 > Message du 20/09/14 16:09 > > De : "Ganbold Tsagaankhuu"=20 > > A : "Gilles DALMAS"=20 > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > Objet : Re: kernel debugger on cubietruck > >=20 > > > > > > On Sat, Sep 20, 2014 at 9:25 PM, Gilles DALMAS wrote: > > I did not know much about debug kernel, but when I pass the trace command, = I get: > >=20 > > db> trace > > Tracing pid 0 tid 100000 td 0xc08ba870 > > db_trace_self() at db_trace_self > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04eba6c=C2= =A0 lr =3D 0xc0232780 (db_hex2dec+0x4d8) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5750=C2= =A0 fp =3D 0xc08e5768 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc08ba1c4 > > db_hex2dec() at db_hex2dec+0x4d8 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0232780=C2= =A0 lr =3D 0xc02320f0 (db_command_loop+0x2fc) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5770=C2= =A0 fp =3D 0xc08e5810 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000000 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x00000063 > > db_command_loop() at db_command_loop+0x2fc > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc02320f0=C2= =A0 lr =3D 0xc0231e54 (db_command_loop+0x60) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5818=C2= =A0 fp =3D 0xc08e5828 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc0528609=C2= =A0 r5 =3D 0xc0540c1c > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba1b0=C2= =A0 r7 =3D 0xc08e5a48 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000001=C2= =A0 r9 =3D 0xc05d2918 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc0615aa4 > > db_command_loop() at db_command_loop+0x60 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0231e54=C2= =A0 lr =3D 0xc023481c (X_db_symbol_values+0x250) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5830=C2= =A0 fp =3D 0xc08e5950 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0xc08ba1bc > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8 > > X_db_symbol_values() at X_db_symbol_values+0x250 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc023481c=C2= =A0 lr =3D 0xc0352c88 (kdb_trap+0x15c) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5958=C2= =A0 fp =3D 0xc08e5978 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000005 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8=C2= =A0 r7 =3D 0xc08e5a48 > > kdb_trap() at kdb_trap+0x15c > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0352c88=C2= =A0 lr =3D 0xc050138c (data_abort_handler+0x680) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5980=C2= =A0 fp =3D 0xc08e5998 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5a48=C2= =A0 r5 =3D 0x00000005 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x600001d3=C2= =A0 r7 =3D 0x00000000 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000013=C2= =A0 r9 =3D 0xc08e5a48 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0x00000001 > > data_abort_handler() at data_abort_handler+0x680 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc050138c=C2= =A0 lr =3D 0xc0501134 (data_abort_handler+0x428) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e59a0=C2= =A0 fp =3D 0xc08e5a40 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5eb0=C2= =A0 r5 =3D 0xc08ba870 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba548=C2= =A0 r7 =3D 0x00000005 > > data_abort_handler() at data_abort_handler+0x428 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0501134=C2= =A0 lr =3D 0xc04ed754 (exception_exit) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a48=C2= =A0 fp =3D 0xc08e5ab0 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 > > exception_exit() at exception_exit > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04ed754=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r0 =3D 0x00000000=C2= =A0 r1 =3D 0xc0547c85 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r2 =3D 0x00000072=C2= =A0 r3 =3D 0x00000008 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 r12 =3D 0= x00000000 > > strcmp() at strcmp+0x4 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc03d7604=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > Unwind failure (no registers changed) > > > > Please try without=C2=A0emac=C2=A0driver. MII in Cubietruck=C2=A0could be d= ifferent. > > > >=20 Ganbold > >=20 > >=20 =C2=A0 > >=20 > >=20 > > =C2=A0 > >=20 > > > Message du 20/09/14 15:13 > > > De : "Boris Astardzhiev" > > > A : "Gilles DALMAS" > > > Copie =C3=A0 : freebsd-arm@freebsd.org > > > Objet : Re: kernel debugger on cubietruck > > > > > > > > > Hi, > >=20 > > > As far as I see strcmp() is passed a NULL pointer, try issuing a back= trace to get the exact place of calling. > >=20 > > > Regards > >=20 > >=20 On Sep 20, 2014 4:11 PM, "Gilles DALMAS"=C2=A0 wrote: > >=20 > > hi, > > > > > > =C2=A0 > > > > > > I would compile freebsd for it run on a cubietruck. For this I used t= he wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard using option = confifuration "CUBIEBOARD2." everything goes well, but starting on the "tru= ck", I get this message: > > > > > > =C2=A0 > > > > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 > > > Fatal kernel mode data abort: 'Translation Fault (S)' > > > trapframe: 0xc08e5a48 > > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 > > > r0 =3D00000000, r1 =3Dc0547c85, r2 =3D00000072, r3 =3D00000008 > > > r4 =3Dc3b49f00, r5 =3Dc3b4a080, r6 =3Dc3b4a0b8, r7 =3D00000000 > > > r8 =3Dc056b038, r9 =3Dc3ae1700, r10=3Dc05d4930, r11=3Dc08e5ab0 > > > r12=3D00000000, ssp=3Dc08e5a98, slr=3Dc024e0f0, pc =3Dc03d7604 > > > > > > [ thread pid 0 tid 100000 ] > > > Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 strcmp+0x4:=C2=A0=C2=A0=C2= =A0=C2=A0 ldrb=C2=A0=C2=A0=C2=A0 r3, [r0] > > > > > > > > > > > > where is the problem please ? > > > > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " > >=20 > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > From owner-freebsd-arm@FreeBSD.ORG Fri Oct 17 09:00:28 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D425A8F1 for ; Fri, 17 Oct 2014 09:00:28 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92A75A84 for ; Fri, 17 Oct 2014 09:00:28 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id hn15so2524953igb.3 for ; Fri, 17 Oct 2014 02:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CByxAl6bFR0gcl31syhhF2qDGR/NAJsyJOH/J/zcswg=; b=ufRcqwavFdOWZKV/JWsZ4yTOrGC/w+6TxaDHMt/3EbUjrYVgHpFA7d0sQN6fr0u6Kx tQn6s8DIW2km5ymQcjifXt7SeKE0HG+reFglJKJpfPDUMfRNe7gtxNgZbAtTO9VI9Gyr e6WL0gsF+TjFnW3Mhq09ksRio4LQnh25q8KqJiZmQ78UOIrhPbl6kPoBq6mPcdLHfdKx P4nKhPtCTqQSRzfdQff/OWZxSBvZwskzJapI/81go2glpyd+x/4UnI094P9vl0va4a4v QZ4H4uUaehBoYTjjjq/FuFNkOvWGxLIl8Wi02OvfCueRAB9tTZZc4W0EHwORuFRrcNGB UG/Q== MIME-Version: 1.0 X-Received: by 10.50.25.71 with SMTP id a7mr27933507igg.48.1413536427988; Fri, 17 Oct 2014 02:00:27 -0700 (PDT) Received: by 10.64.13.178 with HTTP; Fri, 17 Oct 2014 02:00:27 -0700 (PDT) In-Reply-To: <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> <1886035707.11136.1411219513483.JavaMail.www@wwinf1p20> <284420224.12277.1411223197278.JavaMail.www@wwinf1p20> <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> Date: Fri, 17 Oct 2014 17:00:27 +0800 Message-ID: Subject: Re: kernel debugger on cubietruck From: Ganbold Tsagaankhuu To: Gilles DALMAS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 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 Oct 2014 09:00:28 -0000 On Fri, Oct 17, 2014 at 4:45 PM, Gilles DALMAS wrote: > Hi, > > I just saw this page of "man" on the website of freebsd, could she could > not solve the problem of GMAC driver? > > http://www.freebsd.org/cgi/man.cgi?query=3Dgem&sektion=3D4 > > > If you referring by this to GMAC on A20 then no. However if_dwc driver which was committed recently is close, but needs some more work to make it work for A20. Ganbold > > > > > Message du 20/09/14 16:30 > > > De : "Ganbold Tsagaankhuu" > > A : "Gilles DALMAS" > > Copie =C3=A0 : "freebsd-arm@freebsd.org" > > Objet : Re: kernel debugger on cubietruck > > > > > > > > > > > On Sat, Sep 20, 2014 at 10:26 PM, Gilles DALMAS > wrote: > > >> >> > i comment emac line from : >> > >> > # Ethernet >> > device loop >> > device ether >> > device mii >> > device smscphy >> > #device cpsw >> > device bpf >> > >> > device emac >> > >> > # USB ethernet support, requires miibus >> > device miibus >> >> > >> >> > and re run the compilation ? >> > > > > Just build kernel only and try. > > > > Ganbold > >> > >> >> > >> >> > no need to re created the sd card ? just the USB flash ? >> >> > >> >> > Message du 20/09/14 16:09 >> > > De : "Ganbold Tsagaankhuu" >> > > A : "Gilles DALMAS" >> > > Copie =C3=A0 : "freebsd-arm@freebsd.org" >> >> > > Objet : Re: kernel debugger on cubietruck >> > > >> > > >> >> > > >> >> > > >> On Sat, Sep 20, 2014 at 9:25 PM, Gilles DALMAS >> wrote: >> > > >>> >>> I did not know much about debug kernel, but when I pass the trace >>> command, I get: >>> > > >>> > > db> trace >>> > > Tracing pid 0 tid 100000 td 0xc08ba870 >>> > > db_trace_self() at db_trace_self >>> > > pc =3D 0xc04eba6c lr =3D 0xc0232780 (db_hex2dec+0x4d8) >>> > > sp =3D 0xc08e5750 fp =3D 0xc08e5768 >>> > > r10 =3D 0xc08ba1c4 >>> > > db_hex2dec() at db_hex2dec+0x4d8 >>> > > pc =3D 0xc0232780 lr =3D 0xc02320f0 (db_command_loop+0x2f= c) >>> > > sp =3D 0xc08e5770 fp =3D 0xc08e5810 >>> > > r4 =3D 0x00000000 r5 =3D 0x00000000 >>> > > r6 =3D 0x00000063 >>> > > db_command_loop() at db_command_loop+0x2fc >>> > > pc =3D 0xc02320f0 lr =3D 0xc0231e54 (db_command_loop+0x60= ) >>> > > sp =3D 0xc08e5818 fp =3D 0xc08e5828 >>> > > r4 =3D 0xc0528609 r5 =3D 0xc0540c1c >>> > > r6 =3D 0xc08ba1b0 r7 =3D 0xc08e5a48 >>> > > r8 =3D 0x00000001 r9 =3D 0xc05d2918 >>> > > r10 =3D 0xc0615aa4 >>> > > db_command_loop() at db_command_loop+0x60 >>> > > pc =3D 0xc0231e54 lr =3D 0xc023481c (X_db_symbol_values+0= x250) >>> > > sp =3D 0xc08e5830 fp =3D 0xc08e5950 >>> > > r4 =3D 0x00000000 r5 =3D 0xc08ba1bc >>> > > r6 =3D 0xc0615ac8 >>> > > X_db_symbol_values() at X_db_symbol_values+0x250 >>> > > pc =3D 0xc023481c lr =3D 0xc0352c88 (kdb_trap+0x15c) >>> > > sp =3D 0xc08e5958 fp =3D 0xc08e5978 >>> > > r4 =3D 0x00000000 r5 =3D 0x00000005 >>> > > r6 =3D 0xc0615ac8 r7 =3D 0xc08e5a48 >>> > > kdb_trap() at kdb_trap+0x15c >>> > > pc =3D 0xc0352c88 lr =3D 0xc050138c (data_abort_handler+0= x680) >>> > > sp =3D 0xc08e5980 fp =3D 0xc08e5998 >>> > > r4 =3D 0xc08e5a48 r5 =3D 0x00000005 >>> > > r6 =3D 0x600001d3 r7 =3D 0x00000000 >>> > > r8 =3D 0x00000013 r9 =3D 0xc08e5a48 >>> > > r10 =3D 0x00000001 >>> > > data_abort_handler() at data_abort_handler+0x680 >>> > > pc =3D 0xc050138c lr =3D 0xc0501134 (data_abort_handler+0= x428) >>> > > sp =3D 0xc08e59a0 fp =3D 0xc08e5a40 >>> > > r4 =3D 0xc08e5eb0 r5 =3D 0xc08ba870 >>> > > r6 =3D 0xc08ba548 r7 =3D 0x00000005 >>> > > data_abort_handler() at data_abort_handler+0x428 >>> > > pc =3D 0xc0501134 lr =3D 0xc04ed754 (exception_exit) >>> > > sp =3D 0xc08e5a48 fp =3D 0xc08e5ab0 >>> > > r4 =3D 0xc3b49f00 r5 =3D 0xc3b4a080 >>> > > r6 =3D 0xc3b4a0b8 r7 =3D 0x00000000 >>> > > r8 =3D 0xc056b038 r9 =3D 0xc3ae1700 >>> > > r10 =3D 0xc05d4930 >>> > > exception_exit() at exception_exit >>> > > pc =3D 0xc04ed754 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0= x2080) >>> > > sp =3D 0xc08e5a98 fp =3D 0xc08e5ab0 >>> > > r0 =3D 0x00000000 r1 =3D 0xc0547c85 >>> > > r2 =3D 0x00000072 r3 =3D 0x00000008 >>> > > r4 =3D 0xc3b49f00 r5 =3D 0xc3b4a080 >>> > > r6 =3D 0xc3b4a0b8 r7 =3D 0x00000000 >>> > > r8 =3D 0xc056b038 r9 =3D 0xc3ae1700 >>> > > r10 =3D 0xc05d4930 r12 =3D 0x00000000 >>> > > strcmp() at strcmp+0x4 >>> > > pc =3D 0xc03d7604 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0= x2080) >>> > > sp =3D 0xc08e5a98 fp =3D 0xc08e5ab0 >>> > > Unwind failure (no registers changed) >>> > > >> >> >> > > >> Please try without emac driver. MII in Cubietruck could be different. >> > > >> >> > > >> Ganbold >> >> > > >> >> > > >> >> >>> >>> > > >>> > > >>> > > >>> > > >>> > > > Message du 20/09/14 15:13 >>> > > > De : "Boris Astardzhiev" >>> > > > A : "Gilles DALMAS" >>> > > > Copie =C3=A0 : freebsd-arm@freebsd.org >>> > > > Objet : Re: kernel debugger on cubietruck >>> > > > >>> > > > >>> > > > Hi, >>> > > >>> > > > As far as I see strcmp() is passed a NULL pointer, try issuing a >>> backtrace to get the exact place of calling. >>> > > >>> > > > Regards >>> > > >>> > > >>> On Sep 20, 2014 4:11 PM, "Gilles DALMAS" wrote: >>> > > >>> > > hi, >>> > > > >>> > > > >>> > > > >>> > > > I would compile freebsd for it run on a cubietruck. For this I >>> used the wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard >>> using option confifuration "CUBIEBOARD2." everything goes well, but >>> starting on the "truck", I get this message: >>> > > > >>> > > > >>> > > > >>> > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 >>> > > > Fatal kernel mode data abort: 'Translation Fault (S)' >>> > > > trapframe: 0xc08e5a48 >>> > > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 >>> > > > r0 =3D00000000, r1 =3Dc0547c85, r2 =3D00000072, r3 =3D00000008 >>> > > > r4 =3Dc3b49f00, r5 =3Dc3b4a080, r6 =3Dc3b4a0b8, r7 =3D00000000 >>> > > > r8 =3Dc056b038, r9 =3Dc3ae1700, r10=3Dc05d4930, r11=3Dc08e5ab0 >>> > > > r12=3D00000000, ssp=3Dc08e5a98, slr=3Dc024e0f0, pc =3Dc03d7604 >>> > > > >>> > > > [ thread pid 0 tid 100000 ] >>> > > > Stopped at strcmp+0x4: ldrb r3, [r0] >>> > > > >>> > > > >>> > > > >>> > > > where is the problem please ? >>> > > > >>> > > > _______________________________________________ >>> > > > freebsd-arm@freebsd.org mailing list >>> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> > > > To unsubscribe, send any mail to " >>> freebsd-arm-unsubscribe@freebsd.org" >>> > > >>> > > _______________________________________________ >>> > > freebsd-arm@freebsd.org mailing list >>> > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> > > To unsubscribe, send any mail to " >>> freebsd-arm-unsubscribe@freebsd.org" >>> >> >> > > >> >> > > > > From owner-freebsd-arm@FreeBSD.ORG Fri Oct 17 14:43:10 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB8C9591 for ; Fri, 17 Oct 2014 14:43:10 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by mx1.freebsd.org (Postfix) with ESMTP id 05EA6FD1 for ; Fri, 17 Oct 2014 14:43:08 +0000 (UTC) Received: from wwinf1h04 ([10.232.41.31]) by mwinf5d16 with ME id 4Ej21p0090gLZME03Ej2AK; Fri, 17 Oct 2014 16:43:02 +0200 X-ME-Helo: wwinf1h04 X-ME-Auth: Z2RhbG1hc0B3YW5hZG9vLmZy X-ME-Date: Fri, 17 Oct 2014 16:43:02 +0200 X-ME-IP: 90.53.112.205 Date: Fri, 17 Oct 2014 16:43:02 +0200 (CEST) From: Gilles DALMAS Reply-To: Gilles DALMAS To: Ganbold Tsagaankhuu Message-ID: <133670783.12729.1413556982270.JavaMail.www@wwinf1h04> In-Reply-To: References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> <1886035707.11136.1411219513483.JavaMail.www@wwinf1p20> <284420224.12277.1411223197278.JavaMail.www@wwinf1p20> <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> Subject: Re: kernel debugger on cubietruck MIME-Version: 1.0 X-Originating-IP: [90.53.112.205] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 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 Oct 2014 14:43:10 -0000 but it's only available for 11-CURRENT ? > Message du 17/10/14 11:00 > De : "Ganbold Tsagaankhuu"=20 > A : "Gilles DALMAS"=20 > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > Objet : Re: kernel debugger on cubietruck >=20 > > > On Fri, Oct 17, 2014 at 4:45 PM, Gilles DALMAS wrote: > > Hi, >=20 > I just saw this page of "man" on the website of freebsd, could she could = not solve the problem of GMAC driver? > http://www.freebsd.org/cgi/man.cgi?query=3Dgem&sektion=3D4 >=20 > > If you referring by this to GMAC on A20 then no. However if_dwc driver whic= h was committed recently is close, but needs some more work to make it work= for A20. > Ganbold =C2=A0 >=20 >=20 >=20 > > Message du 20/09/14 16:30 > > De : "Ganbold Tsagaankhuu"=20 > > A : "Gilles DALMAS"=20 > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > Objet : Re: kernel debugger on cubietruck > >=20 > > > > > > On Sat, Sep 20, 2014 at 10:26 PM, Gilles DALMAS wrote: > > > > i comment emac line from : > >=20 > > # Ethernet > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 loop > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ether > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mii > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 smscphy > > #device =C2=A0=C2=A0=C2=A0 cpsw > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bpf > >=20 > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 emac > >=20 > > # USB ethernet support, requires miibus > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 miibus > > =C2=A0 > > and re run the compilation ? > > Just build kernel only and try. > > Ganbold > > =C2=A0 > > =C2=A0 > > no need to re created the sd card ? just the USB flash ? > > =C2=A0 > Message du 20/09/14 16:09 > > > De : "Ganbold Tsagaankhuu"=20 > > > A : "Gilles DALMAS"=20 > > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > > Objet : Re: kernel debugger on cubietruck > > >=20 > > > > > > > > > On Sat, Sep 20, 2014 at 9:25 PM, Gilles DALMAS wrote: > > > I did not know much about debug kernel, but when I pass the trace command, = I get: > > >=20 > > > db> trace > > > Tracing pid 0 tid 100000 td 0xc08ba870 > > > db_trace_self() at db_trace_self > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04eba6c=C2= =A0 lr =3D 0xc0232780 (db_hex2dec+0x4d8) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5750=C2= =A0 fp =3D 0xc08e5768 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc08ba1c4 > > > db_hex2dec() at db_hex2dec+0x4d8 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0232780=C2= =A0 lr =3D 0xc02320f0 (db_command_loop+0x2fc) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5770=C2= =A0 fp =3D 0xc08e5810 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x00000063 > > > db_command_loop() at db_command_loop+0x2fc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc02320f0=C2= =A0 lr =3D 0xc0231e54 (db_command_loop+0x60) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5818=C2= =A0 fp =3D 0xc08e5828 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc0528609=C2= =A0 r5 =3D 0xc0540c1c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba1b0=C2= =A0 r7 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000001=C2= =A0 r9 =3D 0xc05d2918 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc0615aa4 > > > db_command_loop() at db_command_loop+0x60 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0231e54=C2= =A0 lr =3D 0xc023481c (X_db_symbol_values+0x250) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5830=C2= =A0 fp =3D 0xc08e5950 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0xc08ba1bc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8 > > > X_db_symbol_values() at X_db_symbol_values+0x250 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc023481c=C2= =A0 lr =3D 0xc0352c88 (kdb_trap+0x15c) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5958=C2= =A0 fp =3D 0xc08e5978 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8=C2= =A0 r7 =3D 0xc08e5a48 > > > kdb_trap() at kdb_trap+0x15c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0352c88=C2= =A0 lr =3D 0xc050138c (data_abort_handler+0x680) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5980=C2= =A0 fp =3D 0xc08e5998 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5a48=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x600001d3=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000013=C2= =A0 r9 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0x00000001 > > > data_abort_handler() at data_abort_handler+0x680 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc050138c=C2= =A0 lr =3D 0xc0501134 (data_abort_handler+0x428) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e59a0=C2= =A0 fp =3D 0xc08e5a40 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5eb0=C2= =A0 r5 =3D 0xc08ba870 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba548=C2= =A0 r7 =3D 0x00000005 > > > data_abort_handler() at data_abort_handler+0x428 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0501134=C2= =A0 lr =3D 0xc04ed754 (exception_exit) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a48=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 > > > exception_exit() at exception_exit > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04ed754=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r0 =3D 0x00000000=C2= =A0 r1 =3D 0xc0547c85 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r2 =3D 0x00000072=C2= =A0 r3 =3D 0x00000008 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 r12 =3D= 0x00000000 > > > strcmp() at strcmp+0x4 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc03d7604=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > Unwind failure (no registers changed) > > > > > > Please try without=C2=A0emac=C2=A0driver. MII in Cubietruck=C2=A0could be d= ifferent. > > > > > >=20 Ganbold > > >=20 > > >=20 =C2=A0 > > >=20 > > >=20 > > > =C2=A0 > > >=20 > > > > Message du 20/09/14 15:13 > > > > De : "Boris Astardzhiev" > > > > A : "Gilles DALMAS" > > > > Copie =C3=A0 : freebsd-arm@freebsd.org > > > > Objet : Re: kernel debugger on cubietruck > > > > > > > > > > > > Hi, > > >=20 > > > > As far as I see strcmp() is passed a NULL pointer, try issuing a ba= cktrace to get the exact place of calling. > > >=20 > > > > Regards > > >=20 > > >=20 On Sep 20, 2014 4:11 PM, "Gilles DALMAS"=C2=A0 wrote: > > >=20 > > > hi, > > > > > > > > =C2=A0 > > > > > > > > I would compile freebsd for it run on a cubietruck. For this I used= the wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard using optio= n confifuration "CUBIEBOARD2." everything goes well, but starting on the "t= ruck", I get this message: > > > > > > > > =C2=A0 > > > > > > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 > > > > Fatal kernel mode data abort: 'Translation Fault (S)' > > > > trapframe: 0xc08e5a48 > > > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 > > > > r0 =3D00000000, r1 =3Dc0547c85, r2 =3D00000072, r3 =3D00000008 > > > > r4 =3Dc3b49f00, r5 =3Dc3b4a080, r6 =3Dc3b4a0b8, r7 =3D00000000 > > > > r8 =3Dc056b038, r9 =3Dc3ae1700, r10=3Dc05d4930, r11=3Dc08e5ab0 > > > > r12=3D00000000, ssp=3Dc08e5a98, slr=3Dc024e0f0, pc =3Dc03d7604 > > > > > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 strcmp+0x4:=C2=A0=C2=A0=C2= =A0=C2=A0 ldrb=C2=A0=C2=A0=C2=A0 r3, [r0] > > > > > > > > > > > > > > > > where is the problem please ? > > > > > > > > _______________________________________________ > > > > freebsd-arm@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.o= rg" > > >=20 > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " > > > > > > From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 05:58:50 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B0EE3F1 for ; Sat, 18 Oct 2014 05:58:50 +0000 (UTC) Received: from mail-yh0-x22a.google.com (mail-yh0-x22a.google.com [IPv6:2607:f8b0:4002:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24A25382 for ; Sat, 18 Oct 2014 05:58:50 +0000 (UTC) Received: by mail-yh0-f42.google.com with SMTP id t59so939641yho.29 for ; Fri, 17 Oct 2014 22:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OFRPtRLDPi2I6BKzO2kJLwxo+SFjICi+K22Baovi1tk=; b=BrdM1l2REzPN7qBUldBacUPbVAKGi9v2tfMkCn1WJWbMH0vh4JGp6vjoE2aSuMEuLP PIOY2r38aaHL84ZyLLVj6yG9m8Aln1wEj0uxCqACjpf/e5TnjoIjtOC4hoGrca3AnHxp E0JgbwlQld5h44I8nCeYn2Ryl23Oc0hdsmx8RAI28xjL2FSFpUrfwFUj/hLNdp0sly9J IYyOuNYjcwO8LKwWqjStaCg4YU/zqU0TaiznqW8MO2rlLlk4PmcjbiTFjCBIp2UvkJYT 0qamoZfnLQ7CGHoSsa9/Buf+XOPU0E3V8avMnXIZAFZYK9xkJzdClqFViNUQYfcwdO00 B7LQ== MIME-Version: 1.0 X-Received: by 10.236.74.199 with SMTP id x47mr17983187yhd.41.1413611929213; Fri, 17 Oct 2014 22:58:49 -0700 (PDT) Received: by 10.170.186.141 with HTTP; Fri, 17 Oct 2014 22:58:49 -0700 (PDT) Date: Fri, 17 Oct 2014 22:58:49 -0700 Message-ID: Subject: Building U-Boot From: Russell Haley To: freebsd-arm , Rui Paulo Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 05:58:50 -0000 Hello, I'm trying to build u-boot from the instructions that Mr. Paulo left here: https://wiki.freebsd.org/Digi-CCWMX53 This is the error I get: russell@FreeArm2:/usr/u-boot% gmake ccwmx53js_config arm-linux-gcc: not found arm-linux-gcc: not found usage: dirname string [...] Generating include/autoconf.mk arm-linux-gcc: not found arm-linux-gcc: not found usage: dirname string [...] Generating include/autoconf.mk.dep arm-linux-gcc: not found arm-linux-gcc: not found arm-linux-gcc: not found usage: dirname string [...] arm-linux-gcc: not found usage: dirname string [...] Configuring a wireless module Configuring for ccwmx53 board... russell@FreeArm2:/usr/u-boot% does this mean that making my cross tools failed? make xdev XDEV=arm XDEV_ARCH=arm Thanks, Russ From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 06:38:30 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC66379B for ; Sat, 18 Oct 2014 06:38:30 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by mx1.freebsd.org (Postfix) with ESMTP id AA4A68CE for ; Sat, 18 Oct 2014 06:38:28 +0000 (UTC) Received: from wwinf1p15 ([10.223.75.59]) by mwinf5d25 with ME id 4WeS1p0041Glh7N03WeSgS; Sat, 18 Oct 2014 08:38:26 +0200 X-ME-Helo: wwinf1p15 X-ME-Auth: Z2RhbG1hc0B3YW5hZG9vLmZy X-ME-Date: Sat, 18 Oct 2014 08:38:26 +0200 X-ME-IP: 90.53.191.12 Date: Sat, 18 Oct 2014 08:38:26 +0200 (CEST) From: Gilles DALMAS Reply-To: Gilles DALMAS To: Ganbold Tsagaankhuu Message-ID: <690516400.2059.1413614306421.JavaMail.www@wwinf1p15> In-Reply-To: References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> <1886035707.11136.1411219513483.JavaMail.www@wwinf1p20> <284420224.12277.1411223197278.JavaMail.www@wwinf1p20> <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> Subject: Re: kernel debugger on cubietruck MIME-Version: 1.0 X-Originating-IP: [90.53.191.12] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 06:38:30 -0000 hi ganbold, =C2=A0 suddenly, the compilation for cubieboard is possible?=20 I tried adding "device dwc" with the socfpga include file (include "../alte= ra/socfpga/std.socfpga") in the conf file "CUBIEBOARD2" but I get this erro= r, I does not understand too. linking kernel.debug socfpga_common.o: In function `cpu_reset': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_common.c:54: multip= le definition of `cpu_reset' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:110:= first defined here socfpga_common.o: In function `cpu_reset': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_common.c:54: multip= le definition of `fdt_fixup_table' a10_common.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_common.c:47: fi= rst defined here socfpga_common.o:(.data+0x0): multiple definition of `fdt_pic_table' a10_common.o:(.data+0x0): first defined here socfpga_machdep.o: In function `platform_lastaddr': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:54: multi= ple definition of `platform_lastaddr' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:58: = first defined here socfpga_machdep.o: In function `platform_probe_and_attach': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:61: multi= ple definition of `platform_probe_and_attach' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:64: = first defined here socfpga_machdep.o: In function `platform_gpio_init': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:67: multi= ple definition of `platform_gpio_init' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:69: = first defined here socfpga_machdep.o: In function `platform_late_init': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:73: multi= ple definition of `platform_late_init' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:74: = first defined here socfpga_machdep.o: In function `platform_devmap_init': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:77: multi= ple definition of `platform_devmap_init' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:88: = first defined here socfpga_machdep.o: In function `bus_dma_get_range': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:103: mult= iple definition of `bus_dma_get_range' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:97: = first defined here socfpga_machdep.o: In function `bus_dma_get_range_nb': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_machdep.c:110: mult= iple definition of `bus_dma_get_range_nb' a10_machdep.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a10_machdep.c:103:= first defined here socfpga_mp.o: In function `platform_mp_init_secondary': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_mp.c:87: multiple d= efinition of `platform_mp_init_secondary' a20_mp.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a20/a20_mp.c:60: first = defined here socfpga_mp.o: In function `platform_mp_setmaxid': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_mp.c:96: multiple d= efinition of `platform_mp_setmaxid' a20_mp.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a20/a20_mp.c:68: first = defined here socfpga_mp.o: In function `platform_mp_probe': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_mp.c:114: multiple = definition of `platform_mp_probe' a20_mp.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a20/a20_mp.c:83: first = defined here socfpga_mp.o: In function `platform_mp_start_ap': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_mp.c:126: multiple = definition of `platform_mp_start_ap' a20_mp.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a20/a20_mp.c:96: first = defined here socfpga_mp.o: In function `platform_ipi_send': /usr/home/gilles/freebsd/sys/arm/altera/socfpga/socfpga_mp.c:176: multiple = definition of `platform_ipi_send' a20_mp.o:/usr/home/gilles/freebsd/sys/arm/allwinner/a20/a20_mp.c:154: first= defined here *** Error code 1 Stop. make[2]: stopped in /usr/obj/arm.armv6/usr/home/gilles/freebsd/sys/CUBIEBOA= RD2 *** Error code 1 Stop. make[1]: stopped in /usr/home/gilles/freebsd *** Error code 1 Stop. make: stopped in /usr/home/gilles/freebsd > Message du 17/10/14 11:00 > De : "Ganbold Tsagaankhuu"=20 > A : "Gilles DALMAS"=20 > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > Objet : Re: kernel debugger on cubietruck >=20 > > > On Fri, Oct 17, 2014 at 4:45 PM, Gilles DALMAS wrote: > > Hi, >=20 > I just saw this page of "man" on the website of freebsd, could she could = not solve the problem of GMAC driver? > http://www.freebsd.org/cgi/man.cgi?query=3Dgem&sektion=3D4 >=20 > > If you referring by this to GMAC on A20 then no. However if_dwc driver whic= h was committed recently is close, but needs some more work to make it work= for A20. > Ganbold =C2=A0 >=20 >=20 >=20 > > Message du 20/09/14 16:30 > > De : "Ganbold Tsagaankhuu"=20 > > A : "Gilles DALMAS"=20 > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > Objet : Re: kernel debugger on cubietruck > >=20 > > > > > > On Sat, Sep 20, 2014 at 10:26 PM, Gilles DALMAS wrote: > > > > i comment emac line from : > >=20 > > # Ethernet > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 loop > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ether > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mii > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 smscphy > > #device =C2=A0=C2=A0=C2=A0 cpsw > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bpf > >=20 > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 emac > >=20 > > # USB ethernet support, requires miibus > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 miibus > > =C2=A0 > > and re run the compilation ? > > Just build kernel only and try. > > Ganbold > > =C2=A0 > > =C2=A0 > > no need to re created the sd card ? just the USB flash ? > > =C2=A0 > Message du 20/09/14 16:09 > > > De : "Ganbold Tsagaankhuu"=20 > > > A : "Gilles DALMAS"=20 > > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > > Objet : Re: kernel debugger on cubietruck > > >=20 > > > > > > > > > On Sat, Sep 20, 2014 at 9:25 PM, Gilles DALMAS wrote: > > > I did not know much about debug kernel, but when I pass the trace command, = I get: > > >=20 > > > db> trace > > > Tracing pid 0 tid 100000 td 0xc08ba870 > > > db_trace_self() at db_trace_self > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04eba6c=C2= =A0 lr =3D 0xc0232780 (db_hex2dec+0x4d8) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5750=C2= =A0 fp =3D 0xc08e5768 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc08ba1c4 > > > db_hex2dec() at db_hex2dec+0x4d8 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0232780=C2= =A0 lr =3D 0xc02320f0 (db_command_loop+0x2fc) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5770=C2= =A0 fp =3D 0xc08e5810 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x00000063 > > > db_command_loop() at db_command_loop+0x2fc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc02320f0=C2= =A0 lr =3D 0xc0231e54 (db_command_loop+0x60) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5818=C2= =A0 fp =3D 0xc08e5828 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc0528609=C2= =A0 r5 =3D 0xc0540c1c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba1b0=C2= =A0 r7 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000001=C2= =A0 r9 =3D 0xc05d2918 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc0615aa4 > > > db_command_loop() at db_command_loop+0x60 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0231e54=C2= =A0 lr =3D 0xc023481c (X_db_symbol_values+0x250) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5830=C2= =A0 fp =3D 0xc08e5950 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0xc08ba1bc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8 > > > X_db_symbol_values() at X_db_symbol_values+0x250 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc023481c=C2= =A0 lr =3D 0xc0352c88 (kdb_trap+0x15c) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5958=C2= =A0 fp =3D 0xc08e5978 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8=C2= =A0 r7 =3D 0xc08e5a48 > > > kdb_trap() at kdb_trap+0x15c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0352c88=C2= =A0 lr =3D 0xc050138c (data_abort_handler+0x680) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5980=C2= =A0 fp =3D 0xc08e5998 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5a48=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x600001d3=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000013=C2= =A0 r9 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0x00000001 > > > data_abort_handler() at data_abort_handler+0x680 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc050138c=C2= =A0 lr =3D 0xc0501134 (data_abort_handler+0x428) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e59a0=C2= =A0 fp =3D 0xc08e5a40 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5eb0=C2= =A0 r5 =3D 0xc08ba870 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba548=C2= =A0 r7 =3D 0x00000005 > > > data_abort_handler() at data_abort_handler+0x428 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0501134=C2= =A0 lr =3D 0xc04ed754 (exception_exit) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a48=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 > > > exception_exit() at exception_exit > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04ed754=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r0 =3D 0x00000000=C2= =A0 r1 =3D 0xc0547c85 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r2 =3D 0x00000072=C2= =A0 r3 =3D 0x00000008 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 r12 =3D= 0x00000000 > > > strcmp() at strcmp+0x4 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc03d7604=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > Unwind failure (no registers changed) > > > > > > Please try without=C2=A0emac=C2=A0driver. MII in Cubietruck=C2=A0could be d= ifferent. > > > > > >=20 Ganbold > > >=20 > > >=20 =C2=A0 > > >=20 > > >=20 > > > =C2=A0 > > >=20 > > > > Message du 20/09/14 15:13 > > > > De : "Boris Astardzhiev" > > > > A : "Gilles DALMAS" > > > > Copie =C3=A0 : freebsd-arm@freebsd.org > > > > Objet : Re: kernel debugger on cubietruck > > > > > > > > > > > > Hi, > > >=20 > > > > As far as I see strcmp() is passed a NULL pointer, try issuing a ba= cktrace to get the exact place of calling. > > >=20 > > > > Regards > > >=20 > > >=20 On Sep 20, 2014 4:11 PM, "Gilles DALMAS"=C2=A0 wrote: > > >=20 > > > hi, > > > > > > > > =C2=A0 > > > > > > > > I would compile freebsd for it run on a cubietruck. For this I used= the wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard using optio= n confifuration "CUBIEBOARD2." everything goes well, but starting on the "t= ruck", I get this message: > > > > > > > > =C2=A0 > > > > > > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 > > > > Fatal kernel mode data abort: 'Translation Fault (S)' > > > > trapframe: 0xc08e5a48 > > > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 > > > > r0 =3D00000000, r1 =3Dc0547c85, r2 =3D00000072, r3 =3D00000008 > > > > r4 =3Dc3b49f00, r5 =3Dc3b4a080, r6 =3Dc3b4a0b8, r7 =3D00000000 > > > > r8 =3Dc056b038, r9 =3Dc3ae1700, r10=3Dc05d4930, r11=3Dc08e5ab0 > > > > r12=3D00000000, ssp=3Dc08e5a98, slr=3Dc024e0f0, pc =3Dc03d7604 > > > > > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 strcmp+0x4:=C2=A0=C2=A0=C2= =A0=C2=A0 ldrb=C2=A0=C2=A0=C2=A0 r3, [r0] > > > > > > > > > > > > > > > > where is the problem please ? > > > > > > > > _______________________________________________ > > > > freebsd-arm@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.o= rg" > > >=20 > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " > > > > > > From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 14:37:26 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2CBA6B8 for ; Sat, 18 Oct 2014 14:37:26 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A03960D for ; Sat, 18 Oct 2014 14:37:25 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s9IEb1DS068510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 18 Oct 2014 16:37:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s9IEau1p059070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Oct 2014 16:36:56 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s9IEauBk086481; Sat, 18 Oct 2014 16:36:56 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s9IEatwc086480; Sat, 18 Oct 2014 16:36:55 +0200 (CEST) (envelope-from ticso) Date: Sat, 18 Oct 2014 16:36:55 +0200 From: Bernd Walter To: Russell Haley Subject: Re: Building U-Boot Message-ID: <20141018143655.GB86384@cicely7.cicely.de> Reply-To: ticso@cicely.de References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm , Rui Paulo X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 14:37:27 -0000 On Fri, Oct 17, 2014 at 10:58:49PM -0700, Russell Haley wrote: > Hello, I'm trying to build u-boot from the instructions that Mr. Paulo > left here: > > https://wiki.freebsd.org/Digi-CCWMX53 > > This is the error I get: > > russell@FreeArm2:/usr/u-boot% gmake ccwmx53js_config > arm-linux-gcc: not found > arm-linux-gcc: not found > usage: dirname string [...] > Generating include/autoconf.mk > arm-linux-gcc: not found > arm-linux-gcc: not found > usage: dirname string [...] > Generating include/autoconf.mk.dep > arm-linux-gcc: not found > arm-linux-gcc: not found > arm-linux-gcc: not found > usage: dirname string [...] > arm-linux-gcc: not found > usage: dirname string [...] > Configuring a wireless module > Configuring for ccwmx53 board... > russell@FreeArm2:/usr/u-boot% > > > does this mean that making my cross tools failed? > make xdev XDEV=arm XDEV_ARCH=arm I might be wrong, but from memory make xdev is not just about building tools, it also starts a special setup shell with all the special path and such set. You need to use this shell to find all the xdev tools. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 15:30:45 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A170708 for ; Sat, 18 Oct 2014 15:30:45 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by mx1.freebsd.org (Postfix) with ESMTP id 2827AA97 for ; Sat, 18 Oct 2014 15:30:42 +0000 (UTC) Received: from wwinf1p15 ([10.223.75.59]) by mwinf5d40 with ME id 4fWc1p0051Glh7N03fWc5z; Sat, 18 Oct 2014 17:30:36 +0200 X-ME-Helo: wwinf1p15 X-ME-Auth: Z2RhbG1hc0B3YW5hZG9vLmZy X-ME-Date: Sat, 18 Oct 2014 17:30:36 +0200 X-ME-IP: 90.53.191.12 Date: Sat, 18 Oct 2014 17:30:36 +0200 (CEST) From: Gilles DALMAS Reply-To: Gilles DALMAS To: Ganbold Tsagaankhuu Message-ID: <1388420595.15156.1413646236260.JavaMail.www@wwinf1p15> In-Reply-To: References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> <1886035707.11136.1411219513483.JavaMail.www@wwinf1p20> <284420224.12277.1411223197278.JavaMail.www@wwinf1p20> <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> Subject: Re: kernel debugger on cubietruck MIME-Version: 1.0 X-Originating-IP: [90.53.191.12] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 15:30:45 -0000 I tried to set directly the path of "if_dwc.c" file in the "files.a20" file= but I get this error: cc: warning: argument unused during compilation: '-mfpu=3Dnone' [-Wunused-c= ommand-line-argument] In file included from /usr/home/gilles/freebsd/sys/arm/arm/genassym.c:30: In file included from /usr/home/gilles/freebsd/sys/sys/param.h:134: In file included from ./machine/param.h:49: ./machine/acle-compat.h:182:4: error: Unable to determine architecture vers= ion. #=C2=A0 error Unable to determine architecture version. =C2=A0=C2=A0 ^ In file included from /usr/home/gilles/freebsd/sys/arm/arm/genassym.c:30: In file included from /usr/home/gilles/freebsd/sys/sys/param.h:134: ./machine/param.h:56:5: warning: '__ARM_ARCH' is not defined, evaluates to = 0 [-Wundef] #if __ARM_ARCH >=3D 6 =C2=A0=C2=A0=C2=A0 ^ In file included from /usr/home/gilles/freebsd/sys/arm/arm/genassym.c:33: In file included from /usr/home/gilles/freebsd/sys/sys/proc.h:62: /usr/home/gilles/freebsd/sys/sys/pcpu.h:188:1: error: static_assert failed = "compile-time assertion failed" CTASSERT((PAGE_SIZE / sizeof(struct pcpu)) * sizeof(struct pcpu) =3D=3D PAG= E_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ /usr/home/gilles/freebsd/sys/sys/systm.h:102:21: note: expanded from macro = 'CTASSERT' #define CTASSERT(x)=C2=A0=C2=A0=C2=A0=C2=A0 _Static_assert(x, "compile-time= assertion failed") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~ 1 warning and 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/arm.armv6/usr/home/gilles/freebsd/sys/CUBIEBOA= RD2 *** Error code 1 Stop. make[1]: stopped in /usr/home/gilles/freebsd *** Error code 1 Stop. make: stopped in /usr/home/gilles/freebsd =C2=A0 I do not know if there is a link. > Message du 17/10/14 11:00 > De : "Ganbold Tsagaankhuu"=20 > A : "Gilles DALMAS"=20 > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > Objet : Re: kernel debugger on cubietruck >=20 > > > On Fri, Oct 17, 2014 at 4:45 PM, Gilles DALMAS wrote: > > Hi, >=20 > I just saw this page of "man" on the website of freebsd, could she could = not solve the problem of GMAC driver? > http://www.freebsd.org/cgi/man.cgi?query=3Dgem&sektion=3D4 >=20 > > If you referring by this to GMAC on A20 then no. However if_dwc driver whic= h was committed recently is close, but needs some more work to make it work= for A20. > Ganbold =C2=A0 >=20 >=20 >=20 > > Message du 20/09/14 16:30 > > De : "Ganbold Tsagaankhuu"=20 > > A : "Gilles DALMAS"=20 > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > Objet : Re: kernel debugger on cubietruck > >=20 > > > > > > On Sat, Sep 20, 2014 at 10:26 PM, Gilles DALMAS wrote: > > > > i comment emac line from : > >=20 > > # Ethernet > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 loop > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ether > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mii > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 smscphy > > #device =C2=A0=C2=A0=C2=A0 cpsw > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bpf > >=20 > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 emac > >=20 > > # USB ethernet support, requires miibus > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 miibus > > =C2=A0 > > and re run the compilation ? > > Just build kernel only and try. > > Ganbold > > =C2=A0 > > =C2=A0 > > no need to re created the sd card ? just the USB flash ? > > =C2=A0 > Message du 20/09/14 16:09 > > > De : "Ganbold Tsagaankhuu"=20 > > > A : "Gilles DALMAS"=20 > > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > > Objet : Re: kernel debugger on cubietruck > > >=20 > > > > > > > > > On Sat, Sep 20, 2014 at 9:25 PM, Gilles DALMAS wrote: > > > I did not know much about debug kernel, but when I pass the trace command, = I get: > > >=20 > > > db> trace > > > Tracing pid 0 tid 100000 td 0xc08ba870 > > > db_trace_self() at db_trace_self > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04eba6c=C2= =A0 lr =3D 0xc0232780 (db_hex2dec+0x4d8) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5750=C2= =A0 fp =3D 0xc08e5768 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc08ba1c4 > > > db_hex2dec() at db_hex2dec+0x4d8 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0232780=C2= =A0 lr =3D 0xc02320f0 (db_command_loop+0x2fc) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5770=C2= =A0 fp =3D 0xc08e5810 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x00000063 > > > db_command_loop() at db_command_loop+0x2fc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc02320f0=C2= =A0 lr =3D 0xc0231e54 (db_command_loop+0x60) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5818=C2= =A0 fp =3D 0xc08e5828 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc0528609=C2= =A0 r5 =3D 0xc0540c1c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba1b0=C2= =A0 r7 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000001=C2= =A0 r9 =3D 0xc05d2918 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc0615aa4 > > > db_command_loop() at db_command_loop+0x60 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0231e54=C2= =A0 lr =3D 0xc023481c (X_db_symbol_values+0x250) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5830=C2= =A0 fp =3D 0xc08e5950 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0xc08ba1bc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8 > > > X_db_symbol_values() at X_db_symbol_values+0x250 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc023481c=C2= =A0 lr =3D 0xc0352c88 (kdb_trap+0x15c) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5958=C2= =A0 fp =3D 0xc08e5978 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8=C2= =A0 r7 =3D 0xc08e5a48 > > > kdb_trap() at kdb_trap+0x15c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0352c88=C2= =A0 lr =3D 0xc050138c (data_abort_handler+0x680) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5980=C2= =A0 fp =3D 0xc08e5998 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5a48=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x600001d3=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000013=C2= =A0 r9 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0x00000001 > > > data_abort_handler() at data_abort_handler+0x680 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc050138c=C2= =A0 lr =3D 0xc0501134 (data_abort_handler+0x428) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e59a0=C2= =A0 fp =3D 0xc08e5a40 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5eb0=C2= =A0 r5 =3D 0xc08ba870 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba548=C2= =A0 r7 =3D 0x00000005 > > > data_abort_handler() at data_abort_handler+0x428 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0501134=C2= =A0 lr =3D 0xc04ed754 (exception_exit) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a48=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 > > > exception_exit() at exception_exit > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04ed754=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r0 =3D 0x00000000=C2= =A0 r1 =3D 0xc0547c85 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r2 =3D 0x00000072=C2= =A0 r3 =3D 0x00000008 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 r12 =3D= 0x00000000 > > > strcmp() at strcmp+0x4 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc03d7604=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > Unwind failure (no registers changed) > > > > > > Please try without=C2=A0emac=C2=A0driver. MII in Cubietruck=C2=A0could be d= ifferent. > > > > > >=20 Ganbold > > >=20 > > >=20 =C2=A0 > > >=20 > > >=20 > > > =C2=A0 > > >=20 > > > > Message du 20/09/14 15:13 > > > > De : "Boris Astardzhiev" > > > > A : "Gilles DALMAS" > > > > Copie =C3=A0 : freebsd-arm@freebsd.org > > > > Objet : Re: kernel debugger on cubietruck > > > > > > > > > > > > Hi, > > >=20 > > > > As far as I see strcmp() is passed a NULL pointer, try issuing a ba= cktrace to get the exact place of calling. > > >=20 > > > > Regards > > >=20 > > >=20 On Sep 20, 2014 4:11 PM, "Gilles DALMAS"=C2=A0 wrote: > > >=20 > > > hi, > > > > > > > > =C2=A0 > > > > > > > > I would compile freebsd for it run on a cubietruck. For this I used= the wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard using optio= n confifuration "CUBIEBOARD2." everything goes well, but starting on the "t= ruck", I get this message: > > > > > > > > =C2=A0 > > > > > > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 > > > > Fatal kernel mode data abort: 'Translation Fault (S)' > > > > trapframe: 0xc08e5a48 > > > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 > > > > r0 =3D00000000, r1 =3Dc0547c85, r2 =3D00000072, r3 =3D00000008 > > > > r4 =3Dc3b49f00, r5 =3Dc3b4a080, r6 =3Dc3b4a0b8, r7 =3D00000000 > > > > r8 =3Dc056b038, r9 =3Dc3ae1700, r10=3Dc05d4930, r11=3Dc08e5ab0 > > > > r12=3D00000000, ssp=3Dc08e5a98, slr=3Dc024e0f0, pc =3Dc03d7604 > > > > > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 strcmp+0x4:=C2=A0=C2=A0=C2= =A0=C2=A0 ldrb=C2=A0=C2=A0=C2=A0 r3, [r0] > > > > > > > > > > > > > > > > where is the problem please ? > > > > > > > > _______________________________________________ > > > > freebsd-arm@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.o= rg" > > >=20 > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " > > > > > > From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 17:43:30 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E3AF5BA for ; Sat, 18 Oct 2014 17:43:30 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtpout002.mac.com [17.172.220.237]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5346B8D7 for ; Sat, 18 Oct 2014 17:43:29 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NDN00L5BFQKUD20@st11p02mm-asmtp002.mac.com> for freebsd-arm@freebsd.org; Sat, 18 Oct 2014 16:42:23 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-10-18_02:2014-10-17,2014-10-18,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1410180173 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: Building U-Boot From: Rui Paulo In-reply-to: Date: Sat, 18 Oct 2014 09:42:20 -0700 Content-transfer-encoding: quoted-printable Message-id: <6AB4ED5B-4C3E-4D57-B3DB-8CFBC41396AC@me.com> References: To: Russell Haley X-Mailer: Apple Mail (2.1990.1) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 17:43:30 -0000 On Oct 17, 2014, at 22:58, Russell Haley wrote: >=20 > Hello, I'm trying to build u-boot from the instructions that Mr. Paulo > left here: >=20 > https://wiki.freebsd.org/Digi-CCWMX53 >=20 > This is the error I get: >=20 > russell@FreeArm2:/usr/u-boot% gmake ccwmx53js_config > arm-linux-gcc: not found > arm-linux-gcc: not found > usage: dirname string [...] > Generating include/autoconf.mk > arm-linux-gcc: not found > arm-linux-gcc: not found > usage: dirname string [...] > Generating include/autoconf.mk.dep > arm-linux-gcc: not found > arm-linux-gcc: not found > arm-linux-gcc: not found > usage: dirname string [...] > arm-linux-gcc: not found > usage: dirname string [...] > Configuring a wireless module > Configuring for ccwmx53 board... > russell@FreeArm2:/usr/u-boot% You need something like "gmake CROSS_COMPILE=3Darmv6-freebsd- = ccwmx53js_config" and I think the right way to use xdev is "make xdev = XDEV=3Darm XDEV_ARCH=3Darmv6". -- Rui Paulo From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 19:04:49 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 920547BA for ; Sat, 18 Oct 2014 19:04:49 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by mx1.freebsd.org (Postfix) with ESMTP id 9C493F2B for ; Sat, 18 Oct 2014 19:04:47 +0000 (UTC) Received: from wwinf1p15 ([10.223.75.59]) by mwinf5d12 with ME id 4j4l1p0051Glh7N03j4lA4; Sat, 18 Oct 2014 21:04:45 +0200 X-ME-Helo: wwinf1p15 X-ME-Auth: Z2RhbG1hc0B3YW5hZG9vLmZy X-ME-Date: Sat, 18 Oct 2014 21:04:45 +0200 X-ME-IP: 109.213.75.129 Date: Sat, 18 Oct 2014 21:04:45 +0200 (CEST) From: Gilles DALMAS Reply-To: Gilles DALMAS To: Ganbold Tsagaankhuu Message-ID: <812654944.20485.1413659085343.JavaMail.www@wwinf1p15> In-Reply-To: References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> <1886035707.11136.1411219513483.JavaMail.www@wwinf1p20> <284420224.12277.1411223197278.JavaMail.www@wwinf1p20> <1486126360.7756.1413535515292.JavaMail.www@wwinf1c10> Subject: Re: kernel debugger on cubietruck MIME-Version: 1.0 X-Originating-IP: [109.213.75.129] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 19:04:49 -0000 I tried to do a make clean, and even putting the original files, it doesn't= . > Message du 17/10/14 11:00 > De : "Ganbold Tsagaankhuu"=20 > A : "Gilles DALMAS"=20 > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > Objet : Re: kernel debugger on cubietruck >=20 > > > On Fri, Oct 17, 2014 at 4:45 PM, Gilles DALMAS wrote: > > Hi, >=20 > I just saw this page of "man" on the website of freebsd, could she could = not solve the problem of GMAC driver? > http://www.freebsd.org/cgi/man.cgi?query=3Dgem&sektion=3D4 >=20 > > If you referring by this to GMAC on A20 then no. However if_dwc driver whic= h was committed recently is close, but needs some more work to make it work= for A20. > Ganbold =C2=A0 >=20 >=20 >=20 > > Message du 20/09/14 16:30 > > De : "Ganbold Tsagaankhuu"=20 > > A : "Gilles DALMAS"=20 > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > Objet : Re: kernel debugger on cubietruck > >=20 > > > > > > On Sat, Sep 20, 2014 at 10:26 PM, Gilles DALMAS wrote: > > > > i comment emac line from : > >=20 > > # Ethernet > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 loop > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ether > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 mii > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 smscphy > > #device =C2=A0=C2=A0=C2=A0 cpsw > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bpf > >=20 > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 emac > >=20 > > # USB ethernet support, requires miibus > > device=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 miibus > > =C2=A0 > > and re run the compilation ? > > Just build kernel only and try. > > Ganbold > > =C2=A0 > > =C2=A0 > > no need to re created the sd card ? just the USB flash ? > > =C2=A0 > Message du 20/09/14 16:09 > > > De : "Ganbold Tsagaankhuu"=20 > > > A : "Gilles DALMAS"=20 > > > Copie =C3=A0 : "freebsd-arm@freebsd.org"=20 > > > Objet : Re: kernel debugger on cubietruck > > >=20 > > > > > > > > > On Sat, Sep 20, 2014 at 9:25 PM, Gilles DALMAS wrote: > > > I did not know much about debug kernel, but when I pass the trace command, = I get: > > >=20 > > > db> trace > > > Tracing pid 0 tid 100000 td 0xc08ba870 > > > db_trace_self() at db_trace_self > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04eba6c=C2= =A0 lr =3D 0xc0232780 (db_hex2dec+0x4d8) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5750=C2= =A0 fp =3D 0xc08e5768 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc08ba1c4 > > > db_hex2dec() at db_hex2dec+0x4d8 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0232780=C2= =A0 lr =3D 0xc02320f0 (db_command_loop+0x2fc) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5770=C2= =A0 fp =3D 0xc08e5810 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x00000063 > > > db_command_loop() at db_command_loop+0x2fc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc02320f0=C2= =A0 lr =3D 0xc0231e54 (db_command_loop+0x60) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5818=C2= =A0 fp =3D 0xc08e5828 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc0528609=C2= =A0 r5 =3D 0xc0540c1c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba1b0=C2= =A0 r7 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000001=C2= =A0 r9 =3D 0xc05d2918 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc0615aa4 > > > db_command_loop() at db_command_loop+0x60 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0231e54=C2= =A0 lr =3D 0xc023481c (X_db_symbol_values+0x250) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5830=C2= =A0 fp =3D 0xc08e5950 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0xc08ba1bc > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8 > > > X_db_symbol_values() at X_db_symbol_values+0x250 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc023481c=C2= =A0 lr =3D 0xc0352c88 (kdb_trap+0x15c) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5958=C2= =A0 fp =3D 0xc08e5978 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0x00000000=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc0615ac8=C2= =A0 r7 =3D 0xc08e5a48 > > > kdb_trap() at kdb_trap+0x15c > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0352c88=C2= =A0 lr =3D 0xc050138c (data_abort_handler+0x680) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5980=C2= =A0 fp =3D 0xc08e5998 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5a48=C2= =A0 r5 =3D 0x00000005 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0x600001d3=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0x00000013=C2= =A0 r9 =3D 0xc08e5a48 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0x00000001 > > > data_abort_handler() at data_abort_handler+0x680 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc050138c=C2= =A0 lr =3D 0xc0501134 (data_abort_handler+0x428) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e59a0=C2= =A0 fp =3D 0xc08e5a40 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc08e5eb0=C2= =A0 r5 =3D 0xc08ba870 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc08ba548=C2= =A0 r7 =3D 0x00000005 > > > data_abort_handler() at data_abort_handler+0x428 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc0501134=C2= =A0 lr =3D 0xc04ed754 (exception_exit) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a48=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 > > > exception_exit() at exception_exit > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc04ed754=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r0 =3D 0x00000000=C2= =A0 r1 =3D 0xc0547c85 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r2 =3D 0x00000072=C2= =A0 r3 =3D 0x00000008 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r4 =3D 0xc3b49f00=C2= =A0 r5 =3D 0xc3b4a080 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r6 =3D 0xc3b4a0b8=C2= =A0 r7 =3D 0x00000000 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r8 =3D 0xc056b038=C2= =A0 r9 =3D 0xc3ae1700 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r10 =3D 0xc05d4930 r12 =3D= 0x00000000 > > > strcmp() at strcmp+0x4 > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc =3D 0xc03d7604=C2= =A0 lr =3D 0xc024e0f0 (mii_phy_flowstatus+0x2080) > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sp =3D 0xc08e5a98=C2= =A0 fp =3D 0xc08e5ab0 > > > Unwind failure (no registers changed) > > > > > > Please try without=C2=A0emac=C2=A0driver. MII in Cubietruck=C2=A0could be d= ifferent. > > > > > >=20 Ganbold > > >=20 > > >=20 =C2=A0 > > >=20 > > >=20 > > > =C2=A0 > > >=20 > > > > Message du 20/09/14 15:13 > > > > De : "Boris Astardzhiev" > > > > A : "Gilles DALMAS" > > > > Copie =C3=A0 : freebsd-arm@freebsd.org > > > > Objet : Re: kernel debugger on cubietruck > > > > > > > > > > > > Hi, > > >=20 > > > > As far as I see strcmp() is passed a NULL pointer, try issuing a ba= cktrace to get the exact place of calling. > > >=20 > > > > Regards > > >=20 > > >=20 On Sep 20, 2014 4:11 PM, "Gilles DALMAS"=C2=A0 wrote: > > >=20 > > > hi, > > > > > > > > =C2=A0 > > > > > > > > I would compile freebsd for it run on a cubietruck. For this I used= the wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard using optio= n confifuration "CUBIEBOARD2." everything goes well, but starting on the "t= ruck", I get this message: > > > > > > > > =C2=A0 > > > > > > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 > > > > Fatal kernel mode data abort: 'Translation Fault (S)' > > > > trapframe: 0xc08e5a48 > > > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 > > > > r0 =3D00000000, r1 =3Dc0547c85, r2 =3D00000072, r3 =3D00000008 > > > > r4 =3Dc3b49f00, r5 =3Dc3b4a080, r6 =3Dc3b4a0b8, r7 =3D00000000 > > > > r8 =3Dc056b038, r9 =3Dc3ae1700, r10=3Dc05d4930, r11=3Dc08e5ab0 > > > > r12=3D00000000, ssp=3Dc08e5a98, slr=3Dc024e0f0, pc =3Dc03d7604 > > > > > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 strcmp+0x4:=C2=A0=C2=A0=C2= =A0=C2=A0 ldrb=C2=A0=C2=A0=C2=A0 r3, [r0] > > > > > > > > > > > > > > > > where is the problem please ? > > > > > > > > _______________________________________________ > > > > freebsd-arm@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.o= rg" > > >=20 > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " > > > > > > From owner-freebsd-arm@FreeBSD.ORG Sat Oct 18 19:17:37 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D833CBD3 for ; Sat, 18 Oct 2014 19:17:37 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1CDFB5 for ; Sat, 18 Oct 2014 19:17:36 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id s9IIa6G2024779; Sat, 18 Oct 2014 18:36:06 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (gateway.kientzle.com [192.168.1.65]) by kientzle.com with SMTP id nnux6itn7n7n7w3ugpia9agqki; Sat, 18 Oct 2014 18:36:06 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Building U-Boot From: Tim Kientzle In-Reply-To: Date: Sat, 18 Oct 2014 11:36:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Russell Haley X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arm , Rui Paulo X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 19:17:37 -0000 On Oct 17, 2014, at 10:58 PM, Russell Haley = wrote: > Hello, I'm trying to build u-boot from the instructions that Mr. Paulo > left here: >=20 > https://wiki.freebsd.org/Digi-CCWMX53 >=20 > This is the error I get: >=20 > russell@FreeArm2:/usr/u-boot% gmake ccwmx53js_config > arm-linux-gcc: not found > arm-linux-gcc: not found U-Boot's build system tries to run the cross-gcc as ${CROSS_COMPILE}gcc. CROSS_COMPILE defaults to "arm-linux-" which is appropriate only if = you're building on Linux. The FreeBSD equivalent is armv6-freebsd-gcc = (assuming you've installed xdev and xdev-links). The full command I use to configure U-Boot: gmake SED=3Dgsed HOSTCC=3Dcc CROSS_COMPILE=3Darmv6-freebsd- = ccwmx53js_config SED=3Dgsed -- U-Boot build relies on some idiosyncrasies of GNU sed; you = may need to install textproc/gsed first. HOSTCC=3Dcc -- U-Boot builds some tools that run on the build host; = those tools can compile with clang or gcc equally well CROSS_COMPILE=3D/usr/armv6-freebsd/usr/bin/ may work slightly better = by not requiring xdev-links.