From owner-freebsd-arm@FreeBSD.ORG Wed Aug 13 15:51:46 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A1557E3 for ; Wed, 13 Aug 2014 15:51:46 +0000 (UTC) Received: from poczta.toomeek.waw.pl (unknown [IPv6:2001:67c:232c:1000::fd9b:4fb4]) by mx1.freebsd.org (Postfix) with ESMTP id 3910928FA for ; Wed, 13 Aug 2014 15:51:45 +0000 (UTC) Received: from [192.168.137.1] (cpk219.neoplus.adsl.tpnet.pl [83.31.216.219]) by poczta.toomeek.waw.pl (Postfix) with ESMTPSA id E99DFC60040 for ; Wed, 13 Aug 2014 11:51:41 -0400 (EDT) Message-ID: <53EB8994.9080801@toomeek.waw.pl> Date: Wed, 13 Aug 2014 17:51:48 +0200 From: TooMeeK Admin User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: U-boot for Banana Pi References: <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (poczta.toomeek.waw.pl [0.0.0.0]); Wed, 13 Aug 2014 11:51:42 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.98.1 at a8d2ba546e X-Virus-Status: Clean 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, 13 Aug 2014 15:51:46 -0000 W dniu 2014-08-13 16:33, Tim Kientzle pisze: > > Any of the following should work for you: > HOSTCC=gcc47 (because apparently you have a native compiler installed called “gcc47) > HOSTCC=cc (the standard system compiler works for native builds) > HOSTCC=clang (U-Boot’s host portions don’t require GCC) Yeah, no I know what's the point ;) > You can also specify HOSTCC on the gmake command line: > > gmake -j4 ARCH=arm CROSS_COMPILE=arm-eabi- HOSTCC=cc USE_PRIVATE_LIBGCC=yes Thanks! But anyway, kernel failed to load on Banana Pi.. "reading kernel Error reading cluster ** Unable to read file kernel ** ## Starting application at 0x48000000 ... undefined instruction..." via this command: fatload mmc 0 0x43000000 script.bin; fatload mmc 0 0x48000000 kernel; go 0x48000000 It loads boot.scr It loads script.bin It fails on kernel. But thank You for help with compilation, I was struggling this many hours..