From owner-freebsd-arm@FreeBSD.ORG Wed Aug 13 15:59:27 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 AB8459BC for ; Wed, 13 Aug 2014 15:59:27 +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 7696B297B for ; Wed, 13 Aug 2014 15:59:27 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id h3so11660938igd.3 for ; Wed, 13 Aug 2014 08:59:26 -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=PuSwsrYlogTbNxPi7jFWinFfrjL/YvqHePXnSJtYFXk=; b=FZATTdcuB8ulwNx6M1E4b0Om/PiVtGyBj5asRBpB09hOMwf8d1Pw3LxbYL7YhM7i7X mCgejYuV7MUmeJo+RC9Evmec90Iso98npStu3+N+bopobAJ4oPWUj2Sxb/X3+I1aWXbN SND2Y96E9NcLFbHvkFQXa5wZl363EWlpx/dEMPouE18M8j08lweZ9Jf84VIrSpmqk6Vy GDvaM3ZV3YIg9zdQqzWyrr9yHscqRGE4zYL1kaLMYGp7EYLyRMm7iLenZgEwHca4/VaX GutVkc6PiPmsMqnE0w5k2zbKs8YhqUooEbRIvfQONr6xVsBF5h5ZywWgUfX/kBLMGC4K UD4w== MIME-Version: 1.0 X-Received: by 10.42.207.68 with SMTP id fx4mr7426552icb.67.1407945566890; Wed, 13 Aug 2014 08:59:26 -0700 (PDT) Received: by 10.64.111.104 with HTTP; Wed, 13 Aug 2014 08:59:26 -0700 (PDT) In-Reply-To: <53EB8994.9080801@toomeek.waw.pl> References: <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> <53EB8994.9080801@toomeek.waw.pl> Date: Wed, 13 Aug 2014 23:59:26 +0800 Message-ID: Subject: Re: U-boot for Banana Pi From: Ganbold Tsagaankhuu To: TooMeeK Admin 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: Wed, 13 Aug 2014 15:59:27 -0000 On Wed, Aug 13, 2014 at 11:51 PM, TooMeeK Admin wrote= : > > W dniu 2014-08-13 16:33, Tim Kientzle pisze: > > >> Any of the following should work for you: >> HOSTCC=3Dgcc47 (because apparently you have a native compiler instal= led >> called =E2=80=9Cgcc47) >> HOSTCC=3Dcc (the standard system compiler works for native builds) >> HOSTCC=3Dclang (U-Boot=E2=80=99s host portions don=E2=80=99t require= GCC) >> > Yeah, no I know what's the point ;) > > You can also specify HOSTCC on the gmake command line: >> >> gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- HOSTCC=3Dcc >> USE_PRIVATE_LIBGCC=3Dyes >> > 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 > Are you sure about this? As for Cubieboard (https://wiki.freebsd.org/FreeBSD/arm/Cubieboard) it is like: fatload mmc 0 0x40200000 kernel; go 0x40200100 Ganbold > > 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= .. > > _______________________________________________ > 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" >