From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5D1BBE00A64; Sun, 20 Nov 2016 21:21:58 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [93.17.128.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4DC63E0098A for ; Sun, 20 Nov 2016 21:21:55 -0800 (PST) Received: from nbhjo (114-136-54-144.EMOME-IP.hinet.net [114.136.54.144]) by msfrf2630.sfr.fr (SMTP Server) with ESMTP id 8916C1C001840; Mon, 21 Nov 2016 06:21:54 +0100 (CET) Received: from nbhjo (114-136-54-144.EMOME-IP.hinet.net [114.136.54.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: herve.jourdain@neuf.fr) by msfrf2630.sfr.fr (SMTP Server) with ESMTPSA; Mon, 21 Nov 2016 06:21:51 +0100 (CET) Authentication-Results: sfr.fr; auth=pass (LOGIN) smtp.auth=herve.jourdain@neuf.fr From: Herve Jourdain To: 'Khem Raj' References: <1479560619-33367-1-git-send-email-herve.jourdain@neuf.fr> <1479560619-33367-2-git-send-email-herve.jourdain@neuf.fr> <003b01d24326$8ae5cd20$a0b16760$@neuf.fr> In-Reply-To: Date: Mon, 21 Nov 2016 06:21:44 +0100 Message-ID: <000701d243b7$2989f970$7c9dec50$@neuf.fr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQFf1IQYxDJY5eNUZl6goLQmP6eODgOzOf0rAkG3uUkBnNIXGAKgN76/oXYzUMA= X-sfr-mailing: LEGIT Cc: yocto@yoctoproject.org Subject: Re: [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2016 05:21:58 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr Hi Khem, For cortexa53 in aarch32, the problem is to figure out if we want to = cover all cases or not. Raspberrypi3 is one case of CortexA53 that has crc support, but no = crypto support. So I could define a cortexa53-32 as being just that. But then, there are other CortexA53-based SoCs that do have the crypto = extension, and I thought that, since I was going to modify it, I'd = rather cover all possible cases/options... The one thing that could be scrapped is the hf option, if we decide that = all cortexa53 aarch32 will be hf only. Then that would avoid the hf duplication of the aarch32 tunes, leaving = only 2 tunes for cortexa53 aarch32 + 1 tune for cortexa53 aarch64. Please advise what you would prefer me to do. Herve -----Original Message----- From: Khem Raj [mailto:raj.khem@gmail.com]=20 Sent: dimanche 20 novembre 2016 20:30 To: Herve Jourdain Cc: yocto@yoctoproject.org Subject: Re: [yocto] [meta-raspberrypi][PATCH 1/1] Modify = raspberrypi3.conf and add raspberrypi3-64.conf Herve, There is no need to create so many variants for a53 32 bit mode. We can = keep using whatever we have its only 64bit that needs to be added as a = new machine. On Sun, Nov 20, 2016 at 4:06 AM, Herve Jourdain = wrote: > Hi Khem, > > FYI, I am sending a slightly modified version (cortexa53hf-32 instead=20 > of > cortexa53-32 for raspberrypi3.conf). > They still depend on modifications in oe-core (heavier this time than=20 > before), also posted to the list. > > Herve > > -----Original Message----- > From: Khem Raj [mailto:raj.khem@gmail.com] > Sent: samedi 19 novembre 2016 19:19 > To: Herve Jourdain ; yocto@yoctoproject.org > Subject: Re: [yocto] [meta-raspberrypi][PATCH 1/1] Modify=20 > raspberrypi3.conf and add raspberrypi3-64.conf > > Nevermind, I managed to apply it, there are some CR changes I guess=20 > which was freaking git > > On 11/19/16 5:03 AM, Herve Jourdain wrote: >> Signed-off-by: Herve Jourdain >> --- >> conf/machine/raspberrypi3-64.conf | 19 +++++++++++++++++++ >> conf/machine/raspberrypi3.conf | 8 ++++++-- >> 2 files changed, 25 insertions(+), 2 deletions(-) create mode=20 >> 100644 conf/machine/raspberrypi3-64.conf >> >> diff --git a/conf/machine/raspberrypi3-64.conf >> b/conf/machine/raspberrypi3-64.conf >> new file mode 100644 >> index 0000000..a5ceddb >> --- /dev/null >> +++ b/conf/machine/raspberrypi3-64.conf >> @@ -0,0 +1,19 @@ >> +#@TYPE: Machine >> +#@NAME: RaspberryPi 3 Development Board >> +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64=20 >> +bits mode >> + >> +DEFAULTTUNE ?=3D "cortexa53-64" >> + >> +MACHINEOVERRIDES =3D "raspberrypi3:raspberrypi:${MACHINE}" >> + >> +MACHINE_EXTRA_RRECOMMENDS +=3D "linux-firmware-bcm43430" >> + >> +PREFERRED_VERSION_linux-raspberrypi_raspberrypi3-64 ?=3D "4.7.%" >> + >> +require conf/machine/include/tune-cortexa53.inc >> +include conf/machine/include/rpi-base.inc >> + >> +SERIAL_CONSOLE =3D "115200 ttyS0" >> +VC4_CMA_SIZE ?=3D "cma-256" >> + >> +UBOOT_MACHINE =3D "rpi_3_config" >> diff --git a/conf/machine/raspberrypi3.conf=20 >> b/conf/machine/raspberrypi3.conf index 9820209..f142323 100644 >> --- a/conf/machine/raspberrypi3.conf >> +++ b/conf/machine/raspberrypi3.conf >> @@ -2,12 +2,16 @@ >> #@NAME: RaspberryPi 3 Development Board >> #@DESCRIPTION: Machine configuration for the RaspberryPi 3 >> >> -MACHINEOVERRIDES =3D "raspberrypi2:${MACHINE}" >> +DEFAULTTUNE ?=3D "cortexa53-32" >> + >> +MACHINEOVERRIDES =3D "raspberrypi2:raspberrypi:${MACHINE}" >> >> MACHINE_EXTRA_RRECOMMENDS +=3D "linux-firmware-bcm43430" >> >> -include conf/machine/raspberrypi2.conf >> +require conf/machine/include/tune-cortexa53.inc >> +include conf/machine/include/rpi-base.inc >> >> SERIAL_CONSOLE =3D "115200 ttyS0" >> VC4_CMA_SIZE ?=3D "cma-256" >> >> +UBOOT_MACHINE =3D "rpi_3_config" >> > >