From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp684.redcondor.net (smtp684.redcondor.net [208.80.206.84]) by mail.openembedded.org (Postfix) with ESMTP id 541A06FFFE for ; Sun, 21 Aug 2016 13:59:37 +0000 (UTC) Received: from astoria.ccjclearline.com ([64.235.106.9]) by smtp684.redcondor.net ({700db0a8-6fb7-4c8b-9b2a-6812225182d8}) via TCP (outbound) with ESMTPS id 20160821135936102_0684; Sun, 21 Aug 2016 13:59:36 +0000 X-RC-FROM: Received: from [174.114.62.25] (port=36560 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1bbTJa-0008JQ-D0; Sun, 21 Aug 2016 10:01:30 -0400 Date: Sun, 21 Aug 2016 09:59:22 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Tom Rini In-Reply-To: <20160819201637.GO5342@bill-the-cat> Message-ID: References: <20160819201637.GO5342@bill-the-cat> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 X-MAG-OUTBOUND: ccj.redcondor.net@64.235.106.9/32 Cc: OE Core mailing list Subject: Re: how can i add u-boot-fw-utils to my build without u-boot being part of the build? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 13:59:40 -0000 Content-Type: text/plain; charset=US-ASCII On Fri, 19 Aug 2016, Tom Rini wrote: > On Thu, Aug 18, 2016 at 12:41:25PM -0400, Robert P. J. Day wrote: > > > > i want to add the u-boot-fw-utils recipe to my current build, > > but u-boot is *not* part of the relevant BSP layer -- u-boot is > > being configured and built elsewhere, and that's not changing for > > the foreseeable future. > > > > the good news is that those utilities don't need to have any > > info on the default environment for u-boot -- they need only have > > access to the environment in flash, and there is a > > /etc/fw_env.config file that is all set up and ready to go and > > referring to the correct device and offset in flash. > > > > so how do i specify that i want to add that recipe to my build, > > while saying, "don't worry about the default environment, you > > don't need it." can that be done? thanks. > > The "easy" way out here is to just set a valid (as in, compiles) > UBOOT_MACHINE and then not worry about installing U-Boot from the OE > build. You can ASSUME_PROVIDED away u-boot itself, but you still > need to have a UBOOT_MACHINE set so that we configure U-Boot before > building the tools (And you must configure before building). the problem is that the machine is a custom tweaking of an existing platform in u-boot, so that a regular checkout of u-boot won't have a defconfig for that machine. the entirety of u-boot for this target board is configured and built elsewhere, so i'm just trying to figure out what little i need to supply to get a build of those fw-utils in my image. i suppose i can just use an existing machine that's compatible -- beyond that, i assume all i need to supply is a /etc/fw_env.config file defining where in flash the environment is to be manipulated. i realize this is a weird scenario, it's just what i have to work with for the time being. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================