From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1E40AE00A44; Thu, 15 May 2014 09:33:10 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=RCVD_IN_DNSWL_HI,RDNS_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [198.47.26.152 listed in list.dnswl.org] * 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Received: from comal.ext.ti.com (unknown [198.47.26.152]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9DD04E0053B for ; Thu, 15 May 2014 09:33:07 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4FGX69G032147 for ; Thu, 15 May 2014 11:33:06 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4FGX6g7023386 for ; Thu, 15 May 2014 11:33:06 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Thu, 15 May 2014 11:33:06 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4FGX5cM001879; Thu, 15 May 2014 11:33:05 -0500 Date: Thu, 15 May 2014 12:33:05 -0400 From: Denys Dmytriyenko To: Hao Zhang Message-ID: <20140515163305.GT18053@edge> References: <5374D230.6090002@ti.com> <20140515145432.GR18053@edge> <5374D81B.7020909@ti.com> <5374DF89.1040105@ti.com> <7D46E86EC0A8354091174257B2FED1015D01C00A@DLEE11.ent.ti.com> <5374E5F7.2080705@ti.com> <20140515161137.GS18053@edge> <5374E7D6.4010901@ti.com> <7D46E86EC0A8354091174257B2FED1015D01C3E0@DLEE11.ent.ti.com> <5374EAA5.9060100@ti.com> MIME-Version: 1.0 In-Reply-To: <5374EAA5.9060100@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "Rini, Tom" , "meta-ti@yoctoproject.org" , "Shilimkar, Santosh" Subject: Re: [PATCH] boot-monitor: add K2L and K2E boot monitor build support X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 16:33:10 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Thu, May 15, 2014 at 12:26:13PM -0400, Hao Zhang wrote: > On 5/15/2014 12:22 PM, Maupin, Chase wrote: > >> -----Original Message----- > >> From: Shilimkar, Santosh > >> Sent: Thursday, May 15, 2014 11:14 AM > >> To: Dmytriyenko, Denys > >> Cc: Maupin, Chase; Zhang, Hao; Rini, Tom; meta-ti@yoctoproject.org > >> Subject: Re: [meta-ti] [PATCH] boot-monitor: add K2L and K2E boot > >> monitor build support > >> > >> On Thursday 15 May 2014 12:11 PM, Denys Dmytriyenko wrote: > >>> On Thu, May 15, 2014 at 12:06:15PM -0400, Santosh Shilimkar > >> wrote: > >>>> On Thursday 15 May 2014 11:56 AM, Maupin, Chase wrote: > >>>>>> -----Original Message----- > >>>>>> From: Shilimkar, Santosh > >>>>>> Sent: Thursday, May 15, 2014 10:39 AM > >>>>>> To: Zhang, Hao; Dmytriyenko, Denys > >>>>>> Cc: Maupin, Chase; Rini, Tom; meta-ti@yoctoproject.org > >>>>>> Subject: Re: [meta-ti] [PATCH] boot-monitor: add K2L and K2E > >> boot > >>>>>> monitor build support > >>>>>> > >>>>>> On Thursday 15 May 2014 11:07 AM, Hao Zhang wrote: > >>>>>>> On 5/15/2014 10:54 AM, Denys Dmytriyenko wrote: > >>>>>>>> On Thu, May 15, 2014 at 10:41:52AM -0400, Hao Zhang wrote: > >>>>>> > >>>>>> [..] > >>>>>> > >>>>>>>>>> Can you clarify if you really want all 3 devices > >> installed > >>>>>> all the time or > >>>>>>>>>> do you really want a recipe that installs the boot > >> monitor > >>>>>> per device? I > >>>>>>>>>> know you don't currently have 3 machine types so maybe > >> that > >>>>>> is what is > >>>>>>>>>> feeding your issue here, but my question is whether you > >> need > >>>>>> to have > >>>>>>>>>> separate builds per device. > >>>>>>>>>> > >>>>>>>>> > >>>>>>>>> I want all the 3 boot monitors built and installed all the > >>>>>> time in one > >>>>>>>>> recipe, since MCSDK 3.1 supports all the 3 Keystone II > >> devices > >>>>>> in the > >>>>>>>>> same release package. This applies to the U-boot (3 U-boot > >>>>>> build for all > >>>>>>>>> the 3 Keystone II devices) and Linux kernel DTB. > >>>>>>>> > >>>>>>>> Linux kernel has support for board variations through DTBs, > >>>>>> obviously. > >>>>>>>> > >>>>>>>> As of U-boot, in Sitara world we had to manage board > >> variations > >>>>>> by detecting > >>>>>>>> the board at runtime. So, the same single binary would work > >> on > >>>>>> AM335x-EVM, > >>>>>>>> AM335x-SK, BeagleBone White and BeagleBone Black. > >>>>>>>> > >>>>>>>> I would recommend you working with Tom Rini and doing it > >>>>>> similarly, so you > >>>>>>>> don't have to build 3 different binaries for 3 slightly > >>>>>> different Keystone > >>>>>>>> baords... > >>>>>>>> > >>>>>>>> > >>>>>> Three boars for same SOC is different than 3 different SOCs > >> with > >>>>>> their > >>>>>> own boards. We need to support different u-boot configs for > >> that. > >>>>>> And > >>>>>> upstream of the patches work is already in progress with Tom > >>>>>> reviewing > >>>>>> the patches. > >>>>> > >>>>> So which one is it? Is this a case of three boards for a > >> single SoC or 3 SoCs with their own boards? > >>>>> > >>>> I was just saying you AM example was multiple board for 1 SOC. > >> What Hao is talking > >>>> '3 SOCs with their own boards. > >>> > >>> If those are 3 different SOCs (not just spins or diff part #s), > >> then we should > >>> consider creating 3 different OE machine configs. > >>> > >> yes they are 3 different SOCs with different capabilities > > > > Then Denys is right. We should have 3 different OE machine configs which all share an SOC_FAMILY of "keystone". That way they can re-use as much as possible, but unique differences such as the bootloader, example apps, etc can be easily handled. > > > > Can you show me an example how to do that? meta-ti layer, conf/machine for machine configs and conf/machine/include for SOC configs. examples would be: - am335x-evm.conf and beaglebone.conf both use ti33x.inc SOC definition - dra7xx-evm.conf and omap5-evm.conf both use omap-a15.inc SOC -- Denys