From owner-freebsd-mips@freebsd.org Wed Mar 14 06:39:08 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 064AAF595D8; Wed, 14 Mar 2018 06:39:08 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 431A46F7FF; Wed, 14 Mar 2018 06:39:07 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-lf0-x244.google.com with SMTP id l191-v6so3089759lfe.1; Tue, 13 Mar 2018 23:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9go4XGkk/pMlbmKrAKO9ZEvewlsQWgjy9WNaxzNYAXU=; b=plH1zOKyxnSPb7pdmbfYePcAonD6hnh2spyHDnGuiKo3yleiBNMvoQENVc7C7icEKp 0BgnS/NmkUwOHTjSYVpE8Ug8CnbifQE/BPeRmF6pl2EU3Y2tB0oCxDaL+jpa6AF5onEp kGvkFoONXZDraQJVUyXkK3GuXAY9FWxoK1Hgls92JC8Z2KHeFWIf9b35CNqleYHcVeO2 BEFAEkK2Qumt990bcXEukTkMjLySENHY/4/7fP2aYl3ZrM9cWFxSa+qxMJv4RG1o34fG HmS4FIvyi8OqU8o5YQQkgsYKMcY9C8hCFVBOv2E2lpdN0USdwJXVVylcEqMSpMMosduw hw7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9go4XGkk/pMlbmKrAKO9ZEvewlsQWgjy9WNaxzNYAXU=; b=oOQah07A2idk/m7Yu+qFYPto4LEDy27cbqQ6/EK6dEZkArRQL+Zz2MKPOZtpapbtcR HYz6Ml/t4i3FtwUE1qohuA+IoiSLfnkg/jJHk4W/cOMtjfvZ4ZcrgI958PKHJlGejo2w CqQQJhcwwR4FYyAVDhG7AY/kSMjENbj9NjHo+q5gSgE6KLBxw2P50GWMEY8Z/mwlviud FSFXhccSYaYcf8qYvopwXHda4DMkPfjksRFAmt4ylnImdRTT5qgukWA86V1ilR7Dtc3U n0vbmHUaWzxQGw/ZJ8t7dmVvtVd6dzGoZEaP06AhaT8Us4Z0xVlHIMOProPpHeknn3jx Ixow== X-Gm-Message-State: AElRT7EcKmmAUMr0jxVeLkUWbPiIO+tpGGgutve9zRgUpLfhZZCtn3ko mbpq5+84WTwOkZa1coFq6Tdn7uTeM+WuD96RZHk= X-Google-Smtp-Source: AG47ELstwvI3Fehhh4i7RELKITRPAaeR3Qh04rXS7ORp+jnHylDQdugFVF4dXZMDdd6b5zUqQUxlznp347D4Lp14cQU= X-Received: by 10.46.47.23 with SMTP id v23mr2334966ljv.70.1521009545927; Tue, 13 Mar 2018 23:39:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.5.21 with HTTP; Tue, 13 Mar 2018 23:39:05 -0700 (PDT) In-Reply-To: References: From: Michael Zhilin Date: Wed, 14 Mar 2018 15:39:05 +0900 Message-ID: Subject: Re: GSOC 2018 ARM Cortex Processor To: Vishal Gupta Cc: Warner Losh , "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" , freebsd-mips@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 06:39:08 -0000 Added freebsd-mips@ Regarding MIPS, I would like to see support for retail Realtek MIPS chips for instance (RTL8196, RTL8197). There are new brand router models: https://wikidevi.com/wiki/Tenda_AC6_V2 or https://wikidevi.com/wiki/Realtek#bgn_2 Thanks! On Tue, Mar 13, 2018 at 4:49 PM, Vishal Gupta wrote: > Thank you for the reply. > Which new processor would you suggest between PowerPC, ARM, and MIPS > which i can port during the summer period and will also be useful for the > community. > > Vishal Gupta > > On Tue, Mar 13, 2018 at 11:52 AM, Warner Losh wrote: > >> There's not currently any other FreeBSD port that works on a system >> without a MMU. The buffer cache assumes that we can fault in pages as >> needed based on virtual address access. The TEXT sharing between programs >> assumes we can map the same page into multiple processes. The shared >> libraries we have assume something similar, and in some cases copy on write >> on top of that (though that's no different from a HW perspective than these >> first few cases). >> >> So, if you're willing to live without these features, or find some other >> way to accomplish the same sorts of things, a cortex M/R port would be >> tricky. Also, FreeBSD's kernel size may present some obstacles. We're >> optimized for a rich memory environment, so we trade extra copies of code >> to speed up execution of code, which matches the x86 market, as well as the >> high-end of embedded quite well. >> >> If you are looking for a BSD to port to these processors, you might >> consider looking at what www.retrobsd.org has done with their 2.11BSD >> port to the MIPS processor in the PIC32 core with the MIPS M4K >> architecture. It runs in as little as 128k of RAM, while FreeBSD these days >> needs at least 128MB of RAM without careful tuning... >> >> Warner >> >> On Tue, Mar 13, 2018 at 12:07 AM, Michael Zhilin >> wrote: >> >>> Hi, >>> >>> Disclaimer: I'm neither ARM expect nor GSoC person. >>> >>> I may be wrong, but FreeBSD (or Linux, doesn't matter) requires MMU which >>> is my tossing in Cortex M/R family of ARM processors. So it's technically >>> difficult/impossible to port it on non-MMU processor. >>> >>> Added freebsd-arm@ for wide audience. >>> >>> Thank you! >>> >>> >>> >>> On Tue, Mar 13, 2018 at 1:12 PM, Vishal Gupta >> > >>> wrote: >>> >>> > Hi, >>> > I am interested in working on the project to port FreeBSD to ARM >>> Cortex M >>> > or R series microprocessor. Some queries related to the project are :- >>> > 1) What are the expected deliverable for the project. >>> > 2) Where to put my draft proposal for review so that it can be >>> improved. >>> > >>> > An early reply is awaited. >>> > >>> > Thanks and regards, >>> > Vishal Gupta >>> > _______________________________________________ >>> > freebsd-embedded@freebsd.org mailing list >>> > https://lists.freebsd.org/mailman/listinfo/freebsd-embedded >>> > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@ >>> freebsd.org >>> > " >>> > >>> _______________________________________________ >>> freebsd-embedded@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-embedded >>> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@ >>> freebsd.org" >>> >> >> > From owner-freebsd-mips@freebsd.org Wed Mar 14 07:37:48 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EBC973A for ; Wed, 14 Mar 2018 07:37:48 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh505-vm9.bullet.mail.kks.yahoo.co.jp (nh505-vm9.bullet.mail.kks.yahoo.co.jp [183.79.57.111]) by mx1.freebsd.org (Postfix) with SMTP id 2FC1A723EA for ; Wed, 14 Mar 2018 07:37:46 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh505.bullet.mail.kks.yahoo.co.jp with NNFMP; 14 Mar 2018 07:35:35 -0000 Received: from [183.79.100.134] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 14 Mar 2018 07:35:35 -0000 Received: from [127.0.0.1] by omp503.mail.kks.yahoo.co.jp with NNFMP; 14 Mar 2018 07:35:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 43780.62055.bm@omp503.mail.kks.yahoo.co.jp Received: (qmail 16869 invoked by uid 60001); 14 Mar 2018 07:35:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1521012934; bh=wK9Q2fLHL6Q1o9D8SIbX4NxFASP8Rl6DPETWcrkk7uA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZyvhcCbAeR1yRa+LmAxYlZkkf6VGgoOlp6RyKRh5qpStOYAsfntnClyUQ2oxHdaeKj7wipH22nUc47UkTu9oA+T2ycx5tMR6vO+Neqi1b4n6+xAGQJWcshij9zwSuqwo3Oj8Mcs1cypXPj9pS43K4cB8JqqlbAKeu3Iuv8zMBBc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Vvfqclwodv1czPWsW1woP72a4PZWzOf+AHYjD/XYK0vxRGWM/BKXWJKTH2ErWdfk6GJjffJr7SepCdloO1/NRgX6XbxZFhuj2bVSFwE205/TQRufg36Jw6BmIpbC4dsAXQP3dvMWFApFrsiarxy6nuZSaFx5fq56iIL/Q2tolPM=; Message-ID: <661126.97758.qm@web101706.mail.ssk.yahoo.co.jp> X-YMail-OSG: tRA2wSMVM1nonZpv1WI2WoT7gngjFbD3kHgebK106NU1cJ0RS6T.bSAtbc51aUad2GjQxc9CEwvpUNE0mIcGtJsuiUcsYUyM4u5CL29lVKq4xzgvNr1jsZFmbsMGBrNBz6rudRkY_1Cg8Yw9Lxb7Gem8kwDTnfYQ9gQCqlCiMdZiW9ntKMzNLMm0kHjMkApGJ_G_8J3kpb4JIUnM7rI.xOLROSi4WqVxWqWfRoJRiV4vtEoZy2mCIRE.jkk8GH5YjPu11OFhomsmywH7M_otSRDSUl4eKEX_XJsyn5zbwSwJBLmMMNtUQHQeU_JcGrX6NW9D.gHnVZdVQ1ax4zUAbv4Rj7U5lAMFbfDGtFCjapkfbkn0QXdnM2JKKRRr3OX9tdXRGly1ZedXk8mTNO1917.8_XvspeQ3wEhuouIukv2kbTM93e1YBJo4kyA5b4WBg8yvH4o3X856uqRPe2oqOFPCApWlzAZsUWppW9rhNrKYqZtA_BaXsF67.grPnvrf4g.DfcLeRTajscOzPC_3NuYmXc.BLuZvOBuOPboxqB5A1KCXeDuL35FaZjxZO9wOFmGZeXBStPVnd6B3f8a8zCZtijm7ZMlhUQ5n5omYwm3DTt4SCcJRfh6DAWqS1j0- Received: from [203.165.91.75] by web101706.mail.ssk.yahoo.co.jp via HTTP; Wed, 14 Mar 2018 16:35:33 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: PtU1Ya4VM1nQ9iswvv15zLhfCGJTjfEBqPaFjcc7BwGuTvYG_rNmABtV4ZStdp79ihz.0nfVUf29jun1.DN7IuexbvXcVRl54yF0u0KSsijFcmrjSsf.6G2gOu_431aWHhqY References: Date: Wed, 14 Mar 2018 16:35:33 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: GSOC 2018 ARM Cortex Processor To: Michael Zhilin , Vishal Gupta Cc: "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 07:37:48 -0000 Hi=0A=0ARealtek is very strange company.=0A=0ARTL8197D -- Lexra base=0ARTL8= 197F -- MIPS 24K base=0A=0AI think we must not support Lexra type soc.=0ABe= cause of that instruction is very old.=0A=0ABut Realtek make new MIPS 24K b= ase soc.=0AThat support is good.=0A=0ARegards=0A=0AHiroki Mori=0A=0A=0A----= - Original Message -----=0A> From: Michael Zhilin =0A> To= : Vishal Gupta =0A> Cc: "freebsd-arm@freebsd.org= " ; "freebsd-embedded@freebsd.org" ; freebsd-mips@freebsd.org=0A> Date: 2018/3/14, Wed 15:39=0A= > Subject: Re: GSOC 2018 ARM Cortex Processor=0A> =0A> Added freebsd-mips@= =0A> =0A> Regarding MIPS, I would like to see support for retail Realtek MI= PS chips=0A> for instance (RTL8196, RTL8197). There are new brand router mo= dels:=0A> https://wikidevi.com/wiki/Tenda_AC6_V2 or=0A> https://wikidevi.co= m/wiki/Realtek#bgn_2=0A> =0A> Thanks!=0A> =0A> On Tue, Mar 13, 2018 at 4:49= PM, Vishal Gupta =0A> wrote:=0A> =0A>> Thank y= ou for the reply.=0A>> Which new processor would you suggest between Power= PC, ARM, and MIPS=0A>> which i can port during the summer period and will = also be useful for the=0A>> community.=0A>> =0A>> Vishal Gupta=0A>> =0A>>= On Tue, Mar 13, 2018 at 11:52 AM, Warner Losh wrote:=0A>= > =0A>>> There's not currently any other FreeBSD port that works on a syst= em=0A>>> without a MMU. The buffer cache assumes that we can fault in page= s as=0A>>> needed based on virtual address access. The TEXT sharing betwee= n =0A> programs=0A>>> assumes we can map the same page into multiple proce= sses. The shared=0A>>> libraries we have assume something similar, and in = some cases copy on =0A> write=0A>>> on top of that (though that's no diffe= rent from a HW perspective =0A> than these=0A>>> first few cases).=0A>>> = =0A>>> So, if you're willing to live without these features, or find some = =0A> other=0A>>> way to accomplish the same sorts of things, a cortex M/R = port would be=0A>>> tricky. Also, FreeBSD's kernel size may present some o= bstacles. =0A> We're=0A>>> optimized for a rich memory environment, so we = trade extra copies of =0A> code=0A>>> to speed up execution of code, which= matches the x86 market, as well as =0A> the=0A>>> high-end of embedded qu= ite well.=0A>>> =0A>>> If you are looking for a BSD to port to these proce= ssors, you might=0A>>> consider looking at what www.retrobsd.org has done = with their 2.11BSD=0A>>> port to the MIPS processor in the PIC32 core with= the MIPS M4K=0A>>> architecture. It runs in as little as 128k of RAM, whi= le FreeBSD these =0A> days=0A>>> needs at least 128MB of RAM without caref= ul tuning...=0A>>> =0A>>> Warner=0A>>> =0A>>> On Tue, Mar 13, 2018 at 12:= 07 AM, Michael Zhilin =0A> =0A>>> wrote:=0A>>> =0A>>>> = Hi,=0A>>>> =0A>>>> Disclaimer: I'm neither ARM expect nor GSoC person.=0A>= >>> =0A>>>> I may be wrong, but FreeBSD (or Linux, doesn't matter) require= s =0A> MMU which=0A>>>> is my tossing in Cortex M/R family of ARM processo= rs. So it's =0A> technically=0A>>>> difficult/impossible to port it on non= -MMU processor.=0A>>>> =0A>>>> Added freebsd-arm@ for wide audience.=0A>>>= > =0A>>>> Thank you!=0A>>>> =0A>>>> =0A>>>> =0A>>>> On Tue, Mar 13, 2018 = at 1:12 PM, Vishal Gupta =0A> >>> >=0A>>>> = wrote:=0A>>>> =0A>>>> > Hi,=0A>>>> > I am interested in working on the pr= oject to port FreeBSD to =0A> ARM=0A>>>> Cortex M=0A>>>> > or R series mi= croprocessor. Some queries related to the =0A> project are :-=0A>>>> > 1) = What are the expected deliverable for the project.=0A>>>> > 2) Where to pu= t my draft proposal for review so that it can be=0A>>>> improved.=0A>>>> = >=0A>>>> > An early reply is awaited.=0A>>>> >=0A>>>> > Thanks and regar= ds,=0A>>>> > Vishal Gupta=0A>>>> > ______________________________________= _________=0A>>>> > freebsd-embedded@freebsd.org mailing list=0A>>>> > htt= ps://lists.freebsd.org/mailman/listinfo/freebsd-embedded=0A>>>> > To unsub= scribe, send any mail to =0A> "freebsd-embedded-unsubscribe@=0A>>>> freebs= d.org=0A>>>> > "=0A>>>> >=0A>>>> _______________________________________= ________=0A>>>> freebsd-embedded@freebsd.org mailing list=0A>>>> https://= lists.freebsd.org/mailman/listinfo/freebsd-embedded=0A>>>> To unsubscribe,= send any mail to =0A> "freebsd-embedded-unsubscribe@=0A>>>> freebsd.org"= =0A>>>> =0A>>> =0A>>> =0A>> =0A> __________________________________________= _____=0A> freebsd-arm@freebsd.org mailing list=0A> https://lists.freebsd.or= g/mailman/listinfo/freebsd-arm=0A> To unsubscribe, send any mail to "freebs= d-arm-unsubscribe@freebsd.org"=0A>