Return-Path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mail.openembedded.org (Postfix) with ESMTP id 2A0EE7E77E for ; Wed, 12 Jun 2019 22:22:00 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id c2so18551965wrm.8 for ; Wed, 12 Jun 2019 15:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Ez+osy9M+TP5g7XpY5KCtId8gtr75y9YzjHeT/HmyJo=; b=Ap4ndqx1ZRYB60vbLzkrtBGVY6432ge8LkjGeVJu1viUywUDPsoIyYiV37hwzR+l7n LM7X5tRW8B4Kg3YAdJlBAjyhzUTp2qi/NE2NaWvrS6KqunGdbOcKmeQVUBqCv2ANUt5V QezfS6oaEJYolrGhodNbzAYBISbRV4f+gjlAQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Ez+osy9M+TP5g7XpY5KCtId8gtr75y9YzjHeT/HmyJo=; b=Ft2Cc8kVzkH4sGa6gNBYN3MvQDFYv9fizRFWVrky0HxUeb01Kw9OzN+5HGnKEvNocU gXPu6HN48xOkA8jVA1aj5l4usKUoV1TfePuKc/PhUf4CaF0AtnjaQVnyCaK6R7V0YpoW /PeKzFTsw9P2CD48d1qoIkgRwqrn7icqD5cFeKmTOaS/aCec1TIe24etAWcUwAshfVnQ 6uYZIC1yU7P2VLGkyDhUx2MibZGErbRN3ywnKQMqHNuJFO+NdjnrV3i/K4uUaZfssDZ6 z4cX9BnuhpwRV9YFWg7PbQmgGc7etqjd8y7Lk5VX+H3LNgo/Y77Xr6jVTnPvMJKWOLBK KiDQ== X-Gm-Message-State: APjAAAXg310Y9XFZIQ/cbAADS62bLnrLQv/hC51UZQDZKXVrMaYD5MQB TVP13H0+AI5cuq5OO+w3iRhGGg== X-Google-Smtp-Source: APXvYqw+cQTv5gX7pW7AgVEN4Hk3PKngYA9hvvVrncaHon69YratU1B+b6dLEWI6ZCzzI1O8y9THkQ== X-Received: by 2002:adf:eb4e:: with SMTP id u14mr9566326wrn.168.1560378120964; Wed, 12 Jun 2019 15:22:00 -0700 (PDT) Received: from hex (5751f4a1.skybroadband.com. [87.81.244.161]) by smtp.gmail.com with ESMTPSA id w67sm2020583wma.24.2019.06.12.15.21.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 15:22:00 -0700 (PDT) Message-ID: <37f5b95f5e9972f1acea72c332c8069f56d7f7a0.camel@linuxfoundation.org> From: richard.purdie@linuxfoundation.org To: Michael Scott , Alex Kiernan Date: Wed, 12 Jun 2019 23:21:59 +0100 In-Reply-To: <9cbbc692-2702-f3f4-199d-ec06cc0f212c@foundries.io> References: <20190612081559.5102-1-alex.kiernan@gmail.com> <51dc74acacf2f1daa52a012d083ca2ca56b67bd8.camel@linuxfoundation.org> <9cbbc692-2702-f3f4-199d-ec06cc0f212c@foundries.io> User-Agent: Evolution 3.32.2-1 MIME-Version: 1.0 Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH] kernel-fitimage: uboot-sign: Check UBOOT_DTB_BINARY before adding deps 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: Wed, 12 Jun 2019 22:22:00 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2019-06-12 at 14:17 -0700, Michael Scott wrote: > Actually, you can ignore this patch. We debugged the actual race > condition contributing to the confusion, and that developer will > submit a new patch with that fix. We can review if that patch makes > more sense (even without tests). Well, this patch merged earlier this evening as tested passed. Is that a problem? > The test would need to follow: > > 1) Is there a pub key in the u-boot.dtb (symlinked file) in the > deploy > directory and is it the same as what is generated by mkimage when > pointing at the fitImage in the deploy directory. > 2) The race condition affects the build when there is a cached step > built incorrectly. The cached build step injects the u-boot.dtb > prior to it being signed. That does help explain the problem you were seeing and does some like something we could/should be testing for. Cheers, Richard