From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 4 16:53:13 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46EA61065674 for ; Fri, 4 Nov 2011 16:53:13 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id E5F478FC0C for ; Fri, 4 Nov 2011 16:53:12 +0000 (UTC) Received: by qyc1 with SMTP id 1so1353838qyc.13 for ; Fri, 04 Nov 2011 09:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OAfGso8V4Z2fLHXXjZL2IZrc0m7I/oE4hKj+tLAF4OM=; b=xJWEsMNtrNAJA9Bo/iuViJPLewnNSE5d6umtlwv3VU2xCDzyBjwkP57Px4/VygEwBc MMQb1WxCXTXNy4rmlR52MbMF5rfjsz1/lqeKf3ew59ASNfM5aB8KGQrmdIaxJUIagPsM z+OMDUwgFqEM99iunmcwlJH/U8WHaAV6cL9fI= Received: by 10.229.73.33 with SMTP id o33mr1873807qcj.250.1320425591788; Fri, 04 Nov 2011 09:53:11 -0700 (PDT) Received: from [192.168.1.100] ([216.129.185.155]) by mx.google.com with ESMTPS id di3sm9491751qab.11.2011.11.04.09.53.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Nov 2011 09:53:09 -0700 (PDT) Message-ID: <4EB41887.5090704@gmail.com> Date: Fri, 04 Nov 2011 11:53:27 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: lev@FreeBSD.org References: <20111103092222.GN37036@e-new.0x20.net> <20111103155802.7bfc1df0.ray@freebsd.org> <20111104004007.GA74831@dereel.lemis.com> <20111104015559.GE74831@dereel.lemis.com> <1101963570.20111104135610@serebryakov.spb.ru> <1391364710.20111104200205@serebryakov.spb.ru> In-Reply-To: <1391364710.20111104200205@serebryakov.spb.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: hackers@freebsd.org, Arnaud Lacombe Subject: Re: Porting FreeBSD to Raspberry Pi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2011 16:53:13 -0000 On 11/4/2011 11:02 AM, Lev Serebryakov wrote: > Hello, Arnaud. > You wrote 4 ноября 2011 г., 19:48:29: > >>>> $89, 700MHz Cortex A8, 256MB DRR2, micro-SD. However, do not expect >>>> being able to run FreeBSD on it before a few years :) >>> What is so special about A8? >>> >> It is the consumer technology of today. The best people can afford >> without being in ARM's R&D centers. >> Let me tell you what is going to happen. ARM11 has been around for >> years, it will take you a year or two to complete the project, nice, >> hacker thrill, you did it. However, by the time you release it, the >> Raspberry Pi will be sold-out and will be replaced by an ARMv7 core, >> smaller, faster, eventually cheaper. By that time, the current >> technology will be a 64bits MP-core ARMv8, And you will be in the >> exact same situation as today, FreeBSD lagging one or two generation >> behind Linux, keep up. I am sure people will be running ARM9 (ARMv5) for a long time. Your point that they will not be available as consumer products is well taken. > As I'm not a ARM specialist, I have several questions. > > Does porting to ARM11 (ARVv6, am I right?) will make porting to > ARMv7 (Cortex) easier? You see, i486 adds some nice commands, tricks > and configuration registers to i386, but porting to i486 after you > have working port to i386/Protected mode is almost trivial. > Or it is completely different architectures, which doesn't have > anything in common? > > ARMvX is only a core, as far as I understand. How much different are > implementations from different vendors? MMU? Bus? Configuration space? We can run ARMv6/ARMv7using the ARMv5 model. But it would not be very efficient. The ARMv6/7 new features can improve how things run. For example we have hardware assisted atomic commands, we can remove all the VIVT cache fixing code, and we can share the kernel address space in each memory map. But IMO, there are enough new features in the ARMv7 that finally make something pv_entrys un-necessary. The Cortex-A15 will be out next year with a whole new memory model. (40 bit physical, 32 bit virtual kernel, 40 bit hypervisor virtual). It will have an AMBA change that can shed some bus mastering problems. Besides the core new features, we always have all the different peripherals for each SoC... > > Why do you think, porting to different ARMs should go sequentially? > :) Yes, we (FreeBSD) doesn't have a lot of resources, but as nobody > could be forced to do what he don't want, it is better, IMHO, to have > ARM11 port, that to not have any ARM port at all. > > But I agree, that port to Cortex-A8/A9 looks more interesting :) > The Cortex-A9 pandaboard is $174. The Cortex-A8 and A9 have some differences, but they are more alike than the ARM11 and the Cortex-A8. It will be tough to stay current with the hardware advances without some kind of sponsorship. --Mark Tinguely.