From owner-freebsd-embedded@freebsd.org Tue Mar 13 06:22:05 2018 Return-Path: Delivered-To: freebsd-embedded@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 45FD9BF3302 for ; Tue, 13 Mar 2018 06:22:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 CA6A16B4D9 for ; Tue, 13 Mar 2018 06:22:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x235.google.com with SMTP id d21so6981966ioc.5 for ; Mon, 12 Mar 2018 23:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=48Ekg1VIoXA/yVkYXk/o1ndaBXE/h288J6Jd9Exlxt0=; b=WT+niEHOkUgaceZKyw+5OIODUwUgQXPcTEIWFDr9V7YEsgKWKrFysa3ZO+z63MUlL1 Mi4tTeH53hzn+Ovzq81mL9gnEa3BOgvEBOH4u003jewhcMGM2rf5wza/yaKNF+7/lhsk OVPg/eedkMbqgljpR22kMtztm7gJs0uYgoXnBzDzJqY8QrD2e/QSOsTRYYO8J4hTphcg Qjf1vKAVNsshSA8sQd/8dpTXQFOQMz+kAD/KBgRhMJtflChLrSQJa7HINHpFdDB5Tnws v4R+XyLHoIwo18o1pUyLptEV8Yrm4kwboZD+GJw2aPQpU932tFko8irwkZj+YnoSmKE7 +JMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=48Ekg1VIoXA/yVkYXk/o1ndaBXE/h288J6Jd9Exlxt0=; b=dgy1gKp9AOPMSfn2CKAit19epddWoOk7WdRxVkufrWrzTHGKpHkmjU5Jdzb3PxyZqU 5U+cKkPpvw1GzVNIEHD0jZcjJu4egIuH1H3f8I9LasquGVwNuFamRuujPkzsOjfd/pdj 2U5KKN9OV09PdsMfLBlu7gM/CrUdZcrSVZGLoR0TFn1iwh28lwJd7PkhwoWxs/lVgVFq XUvn56ReJhQpRqKRiDDodrR9/ZIJDGRJ/MeqkuoNCPteEJkQNen7PLfTfdW0+UGKLzDb wSwpxsANmHIJ1iDdIyOxipJrpoLDduOnv2yXg4uP1LglIo/xbOHDh1kI3FraAiQLYHSM M4Cw== X-Gm-Message-State: AElRT7GUMtfuWettzOO260pEMegIalRtVJzgBJBxipRhPE8+C6VowUIt T5+idFRmUxx0N6ZEt2TOW7EflxJIi1QDipb+b+OZKw== X-Google-Smtp-Source: AG47ELuB2Pz/uBnNkakrxKDCJPD91P3KMK5JQEw2xxEgn3cngq3wCzf0SLa5sjtSOAAQtLWRtFOYFY5Xb2ogw/0AIeU= X-Received: by 10.107.18.162 with SMTP id 34mr1223731ios.168.1520922123779; Mon, 12 Mar 2018 23:22:03 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.203.196 with HTTP; Mon, 12 Mar 2018 23:22:03 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: References: From: Warner Losh Date: Tue, 13 Mar 2018 00:22:03 -0600 X-Google-Sender-Auth: Hgmt1geNK9shqfVYvy7TjHAqDGI Message-ID: Subject: Re: GSOC 2018 ARM Cortex Processor To: Michael Zhilin Cc: Vishal Gupta , "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2018 06:22:05 -0000 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 > " >