Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2014 13:32:48 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Alexander Tarasikov <alexander.tarasikov@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Gavin Atkinson <gavin@freebsd.org>, freebsd-emulation@freebsd.org
Subject:   Re: Android Emulator for FreeBSD + FreeBSD/ARM port
Message-ID:  <CAJ-Vmone%2BT1JEv-Pq6Mr_SFC5XP1qwGmrb80rW1tw3Vwm%2BfGNQ@mail.gmail.com>
In-Reply-To: <CAMChaFyKff2W4_caU86=trdC9ZhGF9xYJBtV%2BCma7pAuiwa79g@mail.gmail.com>
References:  <CAMChaFyKff2W4_caU86=trdC9ZhGF9xYJBtV%2BCma7pAuiwa79g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 September 2014 11:01, Alexander Tarasikov
<alexander.tarasikov@gmail.com> wrote:
> Hi, FreeBSD crowd!
>
> During summer as part of GSoC program I was working on porting FreeBSD
> to the Android Emulator.

Cool!

> Besides, I have ported Android Emulator to run natively on x86_64 as opposed to
> using linuxulator for 32-bit support.

Double cool!

> As for the kernel side, I have implemented the support for the
> following hardware:
>  *IRQ, Timer, UART
>  *MMC
>  *Ethernet
>  *Framebuffer (using NEWCONS)

Triple cool!

> It allows to mount rootfs and boot up to login prompt with raspberry
> pi sd card image.
>
> As for the emulator, it's a bit complicated. FreeBSD boots fine if you
> launch the emulator on Linux or Mac OS X. I have fixed some parts of
> the build system and headers to make it compile and pass the tests on
> FreeBSD. Unfortunately, the GUI doesn't work right now and only
> console output (virtual UART) works.
>
> If anyone is interested, I would like that you read my blog post,
> review my kernel commit and suggest ways to improve and push the
> changes upstream. As for the Emulator, I think we can get it running
> with GUI and everything because it just has too many "#ifdef
> __linux__" stuff around the code which should compile and run on
> FreeBSD as well, we just need to gradually uncomment each of these
> sections.
>
> Relevant links:
> [kernel code commit]
> https://github.com/astarasikov/freebsd/commit/514be1f08a552f54abef83232498559c72e1d33b
> [README, compilation instructions]
> https://github.com/astarasikov/freebsd/blob/android_goldfish_arm_master/sys/arm/goldfish/README
> [Emulator with patches]
> https://github.com/astarasikov/qemu/tree/l-preview-freebsd
> [blog] http://allsoftwaresucks.blogspot.ru/2014/09/gsoc-results-or-how-i-nearly-wasted.html

This work is awesome. I'll see if I can spin it up!



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmone%2BT1JEv-Pq6Mr_SFC5XP1qwGmrb80rW1tw3Vwm%2BfGNQ>