From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4EB1FE00B68; Thu, 15 May 2014 09:26:16 -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 7FDA3E00A44 for ; Thu, 15 May 2014 09:26:14 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4FGQEFN031465 for ; Thu, 15 May 2014 11:26:14 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4FGQEPH027185 for ; Thu, 15 May 2014 11:26:14 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Thu, 15 May 2014 11:26:14 -0500 Received: from [158.218.103.104] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4FGQD5x028116; Thu, 15 May 2014 11:26:13 -0500 Message-ID: <5374EAA5.9060100@ti.com> Date: Thu, 15 May 2014 12:26:13 -0400 From: Hao Zhang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: "Maupin, Chase" References: <20140514190101.GQ18053@edge> <7D46E86EC0A8354091174257B2FED1015D016DD6@DLEE11.ent.ti.com> <5373D442.9050706@ti.com> <7D46E86EC0A8354091174257B2FED1015D01B8F5@DLEE11.ent.ti.com> <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> In-Reply-To: <7D46E86EC0A8354091174257B2FED1015D01C3E0@DLEE11.ent.ti.com> X-Enigmail-Version: 1.6 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:26:16 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit 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?