From owner-freebsd-arm@FreeBSD.ORG Tue Apr 22 23:34:25 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2CB3F7A for ; Tue, 22 Apr 2014 23:34:25 +0000 (UTC) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CC591A71 for ; Tue, 22 Apr 2014 23:34:25 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id x48so138059wes.21 for ; Tue, 22 Apr 2014 16:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q/1C9jg7xkNebuXo1gVmlKpLQH3BHPSzpUVXNZykp0s=; b=yswmnTvCX/2CNpe+NDVqUH9z8AITsShi02lUcQwyOTX5gncF0Sr+hwdU0raizCBqUt 67efygK+NxfQlV6fJmExxBIN4W+sXzTI+ImVGM53AU8SOJvet08mYGWustJ26hfffyRj DKAHsnUabtfHGhDyaov7d6tNj+wtBP3/pZdENf6xvWWjOvzoCGfDF35XMcKr6ADzyuoP 4zg7Yo+q3yLSYDOn3drrfz/C4yQyWFb3bnALUeZUq1UHlRh9uia/pNgvPbZFGFbXNudQ fumaKj7VQlK+nsBqqpQ/vuXpDb5O7SxPdP1mZWJK802dhGgmjThGqSClTG6+MLdlX9VW 1Erw== MIME-Version: 1.0 X-Received: by 10.180.93.41 with SMTP id cr9mr482227wib.7.1398209662580; Tue, 22 Apr 2014 16:34:22 -0700 (PDT) Received: by 10.180.92.2 with HTTP; Tue, 22 Apr 2014 16:34:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Apr 2014 03:34:22 +0400 Message-ID: Subject: Re: GSoC 2014 - FreeBSD on Android Emulator and (possibly) a phone From: Alexander Tarasikov To: Ganbold Tsagaankhuu Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 23:34:25 -0000 On Tue, Apr 22, 2014 at 6:56 AM, Ganbold Tsagaankhuu 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: 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