From owner-freebsd-arm@FreeBSD.ORG Fri Mar 1 00:36:56 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 80F61A0E for ; Fri, 1 Mar 2013 00:36:56 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id 07E38B0A for ; Fri, 1 Mar 2013 00:36:55 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so2004095wgh.7 for ; Thu, 28 Feb 2013 16:36:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:cc:content-type:x-gm-message-state; bh=+CfmP03DnkC6xan8aCvmBKjt9rN9iLxPP4WH4uHEeQ8=; b=HIdxgrdcvJh/HgSId9K98/KnucsK987ap74n0Ry0pivUsx7aEkUCJDWcx7tWJuZdKc bSG8lC2ZBFzuQ4gscWqrvBmKXUuckuo4wIO+Psz2sb/uVHbT14/LQy1HAvdGF3sJm6xG TtQ0I3CpjGoro5WCEjNT6fzNzdVqHQG1eyigTLcLEuB8tqEqKhJOESnCNMyYwnd5BUeF hk5EkB0ZLyVzf7X6IWf8z27Q1evdM4Ik46N1liNbr/taBkMNXFaRNBfJv07PnkkJzSg+ iO079wVxArE1asRxOaEtbrWseHH8k+xf8qV/1ORQz17mbGQmX9OYjDDS5sN/uhGmslVi R7sA== X-Received: by 10.194.173.167 with SMTP id bl7mr14335735wjc.50.1362097751837; Thu, 28 Feb 2013 16:29:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.0.67 with HTTP; Thu, 28 Feb 2013 16:28:31 -0800 (PST) X-Originating-IP: [74.63.212.29] In-Reply-To: <512FD685.8070009@bluezbox.com> References: <512FD685.8070009@bluezbox.com> From: XiaoQI Ge Date: Fri, 1 Mar 2013 08:28:31 +0800 Message-ID: Subject: Re: I u-boot fails to compile To: Oleksandr Tymoshenko X-Gm-Message-State: ALoCoQlX9rV7DMhqJyiMKex0to1ohHqmCU4YZfiRvyrbpjC4d4zJcZk8KD1eWYug3OCfiy3h6y47 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 00:36:56 -0000 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? 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. >