From owner-freebsd-arm@FreeBSD.ORG Wed Aug 13 14:39:41 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0B029D4 for ; Wed, 13 Aug 2014 14:39:41 +0000 (UTC) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (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 94F812020 for ; Wed, 13 Aug 2014 14:39:41 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id r10so14534939pdi.20 for ; Wed, 13 Aug 2014 07:39:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=5yqNu3LO4+037wniwu7rd4gdY1OUTTFterEW0fhTPlM=; b=LlxyDM9Oa6m0jL4+QgKhjITplgorst5NBhdTCwA7un0P9w4dhpAcaTN3q5g7qE4oti mLQ3TSGF5KK/S0lejZAr8v2Y0xgTZOs61tb+Qjwk+R1u8d5kaenCjrlnS8kCn7iu72pt o1t1WR58dL+pnunCF8PiHc9pXjK3rzZeOsBkSetwToGCot0ZPZtY0bta0GiRx2VwEan0 JXHwysRGxh2q/+Fm+bk+XMFBFQ4yU09OkvzzvSMo7PFyKEVVHyKHmUJHPUJSzua/qjoB pDb7mF6MZPEUGPK39bAK9ocyOW6SPZhHVhx9FMehIWKgcANQcFZpTeumJ/KH7jsymAYW qUQg== X-Gm-Message-State: ALoCoQlmOB1XAw8GvbFnlKg7vH4X07CYguu/ui0ZxZ53EYd05j+xPRAuBdOl8N8RvBhJ5g6B3xjh X-Received: by 10.69.18.11 with SMTP id gi11mr1533470pbd.163.1407940430681; Wed, 13 Aug 2014 07:33:50 -0700 (PDT) Received: from [192.168.1.100] (c-24-6-220-224.hsd1.ca.comcast.net. [24.6.220.224]) by mx.google.com with ESMTPSA id xr3sm2318055pbb.51.2014.08.13.07.33.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Aug 2014 07:33:49 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: U-boot for Banana Pi From: Tim Kientzle In-Reply-To: <53EB41EC.1080507@toomeek.waw.pl> Date: Wed, 13 Aug 2014 07:33:38 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> To: TooMeeK Admin 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: Wed, 13 Aug 2014 14:39:41 -0000 On Aug 13, 2014, at 3:46 AM, TooMeeK Admin wrote: > Problem solved by: > rm /usr/local/bin/gcc > rm /usr/obj/arm.armv6/usr/src/tmp/usr/bin/gcc > ln -s /usr/local/bin/gcc47 /usr/local/bin/gcc > set HOSTCC=3Dgcc Any of the following should work for you: HOSTCC=3Dgcc47 (because apparently you have a native compiler = installed called =93gcc47) HOSTCC=3Dcc (the standard system compiler works for native builds) HOSTCC=3Dclang (U-Boot=92s host portions don=92t require GCC) > gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- USE_PRIVATE_LIBGCC=3Dyes = clean > gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- USE_PRIVATE_LIBGCC=3Dyes = Bananapi_config > gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- USE_PRIVATE_LIBGCC=3Dyes You can also specify HOSTCC on the gmake command line: gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- HOSTCC=3Dcc = USE_PRIVATE_LIBGCC=3Dyes >=20 > =46rom the beginning there was no such file like /usr/local/bin/gcc > I've ended up on: > OBJCOPY spl/u-boot-spl.bin > MKSUNXI spl/sunxi-spl.bin > CAT u-boot-sunxi-with-spl.bin >=20 > So here is my u-boot for the next step ;) >=20 > Thank You. > Cheers, TooMeeK >=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"