From owner-freebsd-arm@FreeBSD.ORG  Sat Mar  2 17:17:01 2013
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
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 F0336F71
 for <freebsd-arm@freebsd.org>; Sat,  2 Mar 2013 17:17:01 +0000 (UTC)
 (envelope-from ganbold@gmail.com)
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com
 [IPv6:2607:f8b0:4001:c03::234])
 by mx1.freebsd.org (Postfix) with ESMTP id C99B788B
 for <freebsd-arm@freebsd.org>; Sat,  2 Mar 2013 17:17:01 +0000 (UTC)
Received: by mail-ie0-f180.google.com with SMTP id bn7so4658465ieb.39
 for <freebsd-arm@freebsd.org>; Sat, 02 Mar 2013 09:17:01 -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=RIgXUpk2170Gd4s8V3H3aBrLUy3nvcLJFYbo9uORNRM=;
 b=J9mCC1/Lk778VUTMUAJfDz4xtBlyZbVrCLAvMlgOwbrqzJkpxfdKKi/qPecSWvspBA
 QJ5bW0Nr+r8QDpkALXz1BSQuPE1veh+2utuS31Br+7pp2QapXzSn8XUCBdsgVCkOxp6/
 lZDjWV6KCUtoR/QJb2yiiBgoKCFHyecQlscZG3bQeJqcNutTMiwdX1azPi2XSW/jadaC
 eYY0zI4kzFS/Tlc225/GCJWYkvD0dW+Ic7rtRurR2BMUYlm5e7oY8pkkw62/Mh9X6yGE
 OiEPnuySjy6dbQT61pjkVV2y52cNPF9BZXi91qjd5RTBiSiSK3wE9qck0s9RZ/5VR63Z
 Fmtw==
MIME-Version: 1.0
X-Received: by 10.43.65.145 with SMTP id xm17mr15454189icb.35.1362244621439;
 Sat, 02 Mar 2013 09:17:01 -0800 (PST)
Received: by 10.64.6.230 with HTTP; Sat, 2 Mar 2013 09:17:01 -0800 (PST)
In-Reply-To: <20130302172556.5b59e122@bender>
References: <20130302172556.5b59e122@bender>
Date: Sun, 3 Mar 2013 01:17:01 +0800
Message-ID: <CAGtf9xMcSLpin9oR9eDZdzVnfsT0N6jQowzNq23TAsO9kTqpYA@mail.gmail.com>
Subject: Re: ARM EABI test image
From: Ganbold Tsagaankhuu <ganbold@gmail.com>
To: Andrew Turner <andrew@fubar.geek.nz>
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 <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Mar 2013 17:17:02 -0000

Andrew,

On Sat, Mar 2, 2013 at 12:25 PM, Andrew Turner <andrew@fubar.geek.nz> wrote:
> Hello,
>
> I have built an updated ARM EABI test image for Raspberry Pi [1].
>
> The only known issue is c++ exception handling is broken when
> using in a dynamically linked executable. Static executables should
> work with c++ exceptions.
>
> To test it you will have to extract it using unxz and dd it to an sd
> card, for example, with a USB to SD adapter on /dev/da0:
> $ unxz bsd-pi-eabi-r247609.img.xz
> $ dd if=bsd-pi-eabi-r247609.img of=/dev/da0
>
> If you don't have a Raspberry Pi but would like to try it on your board
> you can add -DWITH_ARM_EABI to the make commands you use to build and
> install world and the kernel.
>
> Can people try this as I would like to know if anything else is broken
> as this will become the default ABI for 10.
>

Just tried the image. Seems work but observed for instance gpart shows
big numbers for 2GB SD:

root@raspberry-pi:/home/pi # uname -an
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247609: Sat
Mar  2 16:43:25 NZDT 2013
andrew@bender:/usr/obj/arm.armv6/usr/home/andrew/freebsd/anon/head/sys/RPI-B
 arm
root@raspberry-pi:/home/pi # gpart show
=>       4294967296  16800529082482689  mmcsd0  MBR  (20G)
         4294967296       266287972352          - free -  (124T)
       270582939648    281401962266625       1  !12  [active]  (0B)
    281672545206273         4294967295          - free -  (2T)
    281676840173568   8725483759861761       2  freebsd  (8.0G)
   9007160600035329         4294967295          - free -  (2T)
   9007164895002624   7793325532774401       3  freebsd  (4.0G)
  16800490427777025        42949672960          - free -  (20T)

=>               0  8725483759861761  mmcsd0s2  BSD  (8.0G)
                 0  8725483759861761         1  freebsd-ufs  (4.0G)

Ganbold


> Andrew
>
> [1] http://people.freebsd.org/~andrew/rpi/bsd-pi-eabi-r247609.img.xz
> _______________________________________________
> 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"