Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2013 01:17:01 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        Andrew Turner <andrew@fubar.geek.nz>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ARM EABI test image
Message-ID:  <CAGtf9xMcSLpin9oR9eDZdzVnfsT0N6jQowzNq23TAsO9kTqpYA@mail.gmail.com>
In-Reply-To: <20130302172556.5b59e122@bender>
References:  <20130302172556.5b59e122@bender>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xMcSLpin9oR9eDZdzVnfsT0N6jQowzNq23TAsO9kTqpYA>