Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 18:58:51 +0100 (BST)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        Alexander Tarasikov <alexander.tarasikov@gmail.com>
Cc:        freebsd-hackers@freebsd.org, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, freebsd-emulation@freebsd.org
Subject:   Re: Android Emulator for FreeBSD + FreeBSD/ARM port
Message-ID:  <alpine.BSF.2.11.1410051841300.20681@ury.york.ac.uk>
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 Sun, 7 Sep 2014, Alexander Tarasikov wrote:
> During summer as part of GSoC program I was working on porting FreeBSD
> to the Android Emulator.
> Besides, I have ported Android Emulator to run natively on x86_64 as opposed to
> using linuxulator for 32-bit support.
> 
> As for the kernel side, I have implemented the support for the
> following hardware:
>  *IRQ, Timer, UART
>  *MMC
>  *Ethernet
>  *Framebuffer (using NEWCONS)
>
> It allows to mount rootfs and boot up to login prompt with raspberry
> pi sd card image.

I'm now in a position where I'm starting to look at getting this in shape 
ready to push it into the main tree.

> 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.

Firstly, I'd like to get the emulator into the ports tree.  I was 
originally planning on using the Linux binary (I've been doing all of my 
testing so far with the Linux binary) but if you have patches for FreeBSD 
I think that's likely the best way forward, or it may make sense to import 
both?

Then, I'd like to get the Goldfish code into the main FreeBSD tree.  It 
would be nice to get at least bidirectional UART working before we can do 
that, are there any issues with the emulator that would prevent this?  
I've also not managed to get ethernet or the framebuffer working, though 
I've not looked deep into this and especially for the network interface it 
may be related to how I'm running the emulator - I guess you have been 
passing through a device into the emulator?

I think once we can get the bidirectional UART fully functional, we can 
push this into the tree.  Also, goldfish_mmc.c is missing a copyright 
statement - can you add one please?

Thanks,

Gavin



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