From patchwork Wed Nov 25 18:30:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xavier Roumegue X-Patchwork-Id: 1406205 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MvNwyZ/F; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ch8d92qXzz9sRK for ; Thu, 26 Nov 2020 05:32:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 826BE203F2; Wed, 25 Nov 2020 18:32:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gUtE4c3R0ZJr; Wed, 25 Nov 2020 18:32:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A4AB8234AA; Wed, 25 Nov 2020 18:32:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 56A291BF32E for ; Wed, 25 Nov 2020 18:31:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 43B262E100 for ; Wed, 25 Nov 2020 18:31:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vw1sfmHn6D1T for ; Wed, 25 Nov 2020 18:31:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by silver.osuosl.org (Postfix) with ESMTPS id 30DFB203F2 for ; Wed, 25 Nov 2020 18:31:36 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id s13so3044836wmh.4 for ; Wed, 25 Nov 2020 10:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ocp8wEDYnrm9RRPm3DguzSWdCmdOOjE2yjmGBAggdaY=; b=MvNwyZ/F2gsVKhru/4kDeOJMphJFN2yTyRb3rlaVa35g1RFoOw4K3KNDj61t26pIBN NXTptIWwyaDg95olsIMmCwr18tWeq2uIWh/mI+QAmOLDZQeYz2T1xVNYaoZx1hGoKKzY IpJohvI4ZNnohkfd6Vbm3X5Effcqg6G1KKJHFCmFm8Gax3sud5cnS7Cd9RP0YzAzma41 54VYcv4CRu7hgJah3zSNAOsNxRFGR0LmEaGqDSiVxgyHIkrNVtASIqhhmqQ4qHJChSJ5 HH5W+Pu1nPJQ2WQh5VQ2PyMRknAm0qA3hUOZYuODLcJ24rMbdHSUPsKhr5Pql4O2JroM GjfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ocp8wEDYnrm9RRPm3DguzSWdCmdOOjE2yjmGBAggdaY=; b=D2wHWzxC75lnmI8M2Wvn9rVRMRrFbR3C8fNmOEs15XCyefniPbPE+Q9vE7eXf02L8M pJr6RAE9ADphLsvKGFVP6Kujc2dPefEDu1ddkj3/Nrd9Rktzjh5ZWMhIwJhBPNkEU5U0 n9xXDdlITixaAaP2+IYx+mIV1Ys3RNR5881XuNLneZD9va2ZPfqa3ixcFzeJxm/CIodC fticVzddup3xNm0Gpyg1kfH+JLkOajgVQqVbskFSlwN1py7MQyHFtlq/u9U/qfNXzKdn MInutfyLaIzKNeOvXsqtWqlo09R9N8f+YEqC46YW1dVPez5olWDDRUDodj/i4S/q3OEE mebA== X-Gm-Message-State: AOAM531yZ6csAUwiVbGaH+5tod5gB8v4yjm+hssjyBzDLfPYxXQmD5w9 dTZTztzdh7BFutUyj8Hs34RD/FucdU19xcIl X-Google-Smtp-Source: ABdhPJzkH/C1GqVRY43j/HI4iM6owXhHrtKqdzVoCuCue2uJuqVIw/lhu/rik5qsX2s22cAfHQhb5g== X-Received: by 2002:a1c:a5d4:: with SMTP id o203mr4657662wme.41.1606329094369; Wed, 25 Nov 2020 10:31:34 -0800 (PST) Received: from frodon.home ([2a01:cb1d:3f5:3900:2e4d:54ff:fe9c:6f7a]) by smtp.gmail.com with ESMTPSA id j6sm5646275wrq.38.2020.11.25.10.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 10:31:33 -0800 (PST) From: Xavier Roumegue To: buildroot@buildroot.org, Thomas Petazzoni Date: Wed, 25 Nov 2020 19:30:14 +0100 Message-Id: <20201125183017.15585-6-xroumegue@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109142309.1135596-2-xroumegue@gmail.com> References: <20201109142309.1135596-2-xroumegue@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 5/8] board/freescale/common/imx: Add Support for uboot 'flash.bin' image X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gary Bisson , Xavier Roumegue , Fabio Estevam , Gilles Talis , Refik Tuzakli , Julien Olivain , Stephane Viau Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Xavier Roumegue Tested-by: Heiko Thiery --- board/freescale/common/imx/post-image.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh index 06ccaac3a4..1cca1849be 100755 --- a/board/freescale/common/imx/post-image.sh +++ b/board/freescale/common/imx/post-image.sh @@ -70,6 +70,8 @@ uboot_image() echo "u-boot-dtb.imx" elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMX=y$" ${BR2_CONFIG}; then echo "u-boot.imx" + elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMX_FIT=y$" ${BR2_CONFIG}; then + echo "flash.bin" elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y$" ${BR2_CONFIG}; then echo "u-boot-dtb.img" elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMG=y$" ${BR2_CONFIG}; then