From owner-freebsd-arm@FreeBSD.ORG Fri Mar 1 01:28:05 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5DF192EC for ; Fri, 1 Mar 2013 01:28:05 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB0CDEB for ; Fri, 1 Mar 2013 01:28:05 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so2958827ieb.1 for ; Thu, 28 Feb 2013 17:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=dLV6ygqzU+UnZYHqsEFEveS8EyLpTec2SMEwuIRPxuw=; b=qCcKbSeFrAYl020Zhf4zgOMFCz7uNjyPSphMeV4rhnLl7L0IeWVJ0i9XM+dNxYEX/z tM7wutf9mqyI2kUhfNBF4bBAtL58UU0lrlhtB9wGy1whLRVGTimLUtoJ9pf7MJLPYOYH iAc6OJ1LH0Guv/BL2yc5ObLCE5Q4pfkMCcb7qiagrnsZeqtsKj9R7ScSeKqUI7kb7W1Q L7iBVYYHXxq36nD1QAHdCGN/O/QE0uF0N7ZVmbJpxXzEt5zFLtpPU9tv5iItNRnKUjRl caDIfqpfBoE88l9uiVJ1kYDfJzjGyrkD/a+4tGs1C13J4I7Ijrux78mxu2vnMFS01Lvo GCsA== MIME-Version: 1.0 X-Received: by 10.50.47.168 with SMTP id e8mr5510127ign.50.1362101284891; Thu, 28 Feb 2013 17:28:04 -0800 (PST) Received: by 10.64.6.230 with HTTP; Thu, 28 Feb 2013 17:28:04 -0800 (PST) In-Reply-To: References: <512FD685.8070009@bluezbox.com> Date: Fri, 1 Mar 2013 09:28:04 +0800 Message-ID: Subject: Re: I u-boot fails to compile From: Ganbold Tsagaankhuu To: XiaoQI Ge Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 01:28:05 -0000 On Fri, Mar 1, 2013 at 8:28 AM, XiaoQI Ge wrote: > I compiled the file size of 22,016 Byte / occupied space of 24,576 Byte is > rather http://people.freebsd.org/ ~~ ganbold / cubieboard / sunxi-spl.bin > size and space are 20,480 Byte is not where Iwrong ah? I observed that in my side too, and I just decided to use prebuilt sunxi-spl.bin. Ganbold > > These files produced the SD card can not start > === > dd if = / dev / zero of = a10.img bs = 1m count = 1 > dd if = sunxi-spl.bin conv = notrunc of = a10.img bs = 1024 seek = 8 > dd if = u-boot.bin conv = notrunc of = a10.img bs = 1024 seek = 32 > dd if = a10.img of = $ {DEVNAME} bs = 1m > === > > === > Welcome to Ge, XiaoQI's Homepage! > Gtalk/E-Mail :ghw@7axu.com > > > > 2013/3/1 Oleksandr Tymoshenko > >> On 2/28/2013 4:07 AM, XiaoQI Ge wrote: >> >>> I tried to compile U-BOOT (https://github.com/linux-**sunxi/u-boot-sunxi >>> ), >>> but failed, suggesting: >>> >>> gmake [1]: *** [u-boot] Segmentation fault: 11 >>> >>> I do not know how to solve. >>> >>> >> In addition to Tim's patches for libc and static you'll also need to use >> gsed instead of >> sed with later versions of u-boot repo. >> Install textproc/gsed and rename sed to gsed in helper.mk. >> I have patch for using user-defined sed name but haven't pushed it to >> upstream yet. >> > _______________________________________________ > 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"