Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 03:34:22 +0400
From:      Alexander Tarasikov <alexander.tarasikov@gmail.com>
To:        Ganbold Tsagaankhuu <ganbold@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: GSoC 2014 - FreeBSD on Android Emulator and (possibly) a phone
Message-ID:  <CAMChaFzOGK7A1t_cdLiSJewof1o0UnKbvM=vJdZtiVMjF7JXGQ@mail.gmail.com>
In-Reply-To: <CAGtf9xP8PgGK77AVjDA42MqE2Lj5KRF3nrrO41Y_4cDhWiZTWQ@mail.gmail.com>
References:  <CAMChaFzveqszLB0abSV0N-=6H=wgnoTgtmRaHfqG1OF_3%2BvY8A@mail.gmail.com> <CAGtf9xP8PgGK77AVjDA42MqE2Lj5KRF3nrrO41Y_4cDhWiZTWQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 22, 2014 at 6:56 AM, Ganbold Tsagaankhuu <ganbold@gmail.com> wrote:

Hey!

>
> Are you sure release 10.0 would do ok in your case?
> In my opinion it is much better to use head version of the src tree, there
> are number of reasons.
> If necessary it would be easier to commit code changes to head src tree
> instead of 10.0 release or stable src tree.
>

Definitely. Versatile works on 10.0, so at least basic stuff like MMU
should not be broken :)
Will switch to head once I get timer and IRQ controller working properly.

So I have got the kernel booting and UART working. Basically, it was crashing
because the Cortex-A8 revision0 was not supported by FreeBSD and I added
the core ID to avoid patching Android Emulator. Then I fixed some typos in the
DTB and it worked.

And we have the log, something like the following :)

timer0: <Goldfish System Timer> mem 0xff003000-0xff003fff irq 3 on simplebus0
Timecounter "Goldfish Timecouter" frequency 1000000 Hz quality 200
Event timer "Goldfish Event Timer 0" frequency 62500 Hz quality 200
done.
   0xc0379b04(0)... done.
   0xc011eb60(0)... done.
   0xc0208fb0(0)... done.
subsystem 4000000


>
>
> I heard exynos doc is not good or even no doc at all in some cases.
> Correct me if I'm wrong here.
>

At least for Exynos4 TRM was available and looks like there's one for Exynos5
(I've added the link if you're interested)

The good thing about Exynos is that all of hardware is supported by the vanilla
linux without binary blobs so there's a reference implementation, so to say. By
everything I mean that even camera is supported by the free driver. Some other
SoCs like OMAP4 use a closed-source firmware running on a secondary cpu
(DSP in OMAP4, modem in Qualcomm) that can control some hw. On omap4
the blob controls the camera, for example. On the other hand, if we're not
diving into fanatism and conspiracy-theoretical paranoia, that does not prevent
us from implementing support for hardware, and binaries can be pulled from
public android images with a script.

http://www.samsung.com/global/business/semiconductor/file/product/Exynos_5_Dual_User_Manaul_Public_REV100-0.pdf


> best regards,
>
> Ganbold
>
>
>>
>>
>> --
>> Regards, Alexander
>> _______________________________________________
>> 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"
>
>



-- 
Regards, Alexander



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