Message ID | 20200613205717.v2.3.Iefb4cd15431a5849034edd4574a47f1f6a758fde@changeid |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=UW/vAx64; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49kzqS3jLHz9sQx for <incoming@patchwork.ozlabs.org>; Sun, 14 Jun 2020 13:05:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6888081E13; Sun, 14 Jun 2020 04:59:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="UW/vAx64"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8943B81E47; Sun, 14 Jun 2020 04:57:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8A9DB81E23 for <u-boot@lists.denx.de>; Sun, 14 Jun 2020 04:57:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd43.google.com with SMTP id y5so14255543iob.12 for <u-boot@lists.denx.de>; Sat, 13 Jun 2020 19:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9XXWTwWLbo8oPZaVZu6HQZ0jnCf30ah3XxsZW1Crxm4=; b=UW/vAx64eSLXaywGbLDf/tGCXN0ggaXTnXfIWfEbt0FqQSjuTuTaRDYpmMVjOk2dZU /htXDn2AL/MUPmwdgYcYg2HJhiZBcAthDl0GpZL9z6XBoBPIbioWYOSfRO3DTuxyr1VS 5ehsTARP1skOvZUvQgNs75N5de8LqBwDxnoj0= 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=9XXWTwWLbo8oPZaVZu6HQZ0jnCf30ah3XxsZW1Crxm4=; b=H3ndLZ5k0Eb5QFMAgQzeoorAaid+Gej/0Ley5w7jlGiL+Lpjj8tCfBVU9/B/7Kirxa IwswUc5WunyP4D16z6y7wWc/HHORMBhVDfEi+28TZlg2kpOroJqXAvFZdtWOW/uiep5f hCEIiLG2AKBJjOQuv4QoPCF0PcZYVUjL+7jqDECfCW0WQAq0WX+PSJrTQvBL2RmvRBID SJgU5GgzAwwXXfMMVtvepI26M0CgBoyBeaSopxnj0MSKWOcRoNhSIcccqG4upM1y5UMU wGqrAbNpPSTTE5PvBCIT8xTn3Z4d03pzIWM75YA8XRsdiA2ICFUZwz2fjrfBOwKuHE4B nnGg== X-Gm-Message-State: AOAM531pWNztN1odZHQqC5opIitQ5LR845IP2gUjh2/9kHyzs4hJERoa 4S3WmiJWAquxJLxd321zfPBxrag6pLAOQg== X-Google-Smtp-Source: ABdhPJwzFLDD6i+y0j0iLwC/5umDPr/yAler3L8feEA/kEHmXkcg7k3Gf8+UV9+oesuQBQLYzLMtog== X-Received: by 2002:a6b:c9cd:: with SMTP id z196mr21475634iof.172.1592103458146; Sat, 13 Jun 2020 19:57:38 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id l26sm5802034ild.59.2020.06.13.19.57.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2020 19:57:37 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: huang lin <hl@rock-chips.com>, Jeffy Chen <jeffy.chen@rock-chips.com>, Simon Glass <sjg@chromium.org>, Kever Yang <kever.yang@rock-chips.com>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com>, Bin Meng <bmeng.cn@gmail.com>, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v2 03/49] binman: Output errors to stderr Date: Sat, 13 Jun 2020 20:56:42 -0600 Message-Id: <20200613205717.v2.3.Iefb4cd15431a5849034edd4574a47f1f6a758fde@changeid> X-Mailer: git-send-email 2.27.0.290.gba653c62da-goog In-Reply-To: <20200614025728.41065-1-sjg@chromium.org> References: <20200614025728.41065-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
rockchip: x86: Support building ROM files automatically with binman
|
expand
|
On Sun, Jun 14, 2020 at 10:57 AM Simon Glass <sjg@chromium.org> wrote: > > At present binman outputs errors to stdout which means that fails are > effectively silent when printed by buildman, for example. Fix this by > outputing errors to stderr. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > Changes in v2: > - Add new binman patch to output errors to stderr > > tools/binman/main.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/tools/binman/main.py b/tools/binman/main.py index efa7fa8386..0ab2bb6206 100755 --- a/tools/binman/main.py +++ b/tools/binman/main.py @@ -123,7 +123,7 @@ def RunBinman(args): try: ret_code = control.Binman(args) except Exception as e: - print('binman: %s' % e) + print('binman: %s' % e, file=sys.stderr) if args.debug: print() traceback.print_exc()
At present binman outputs errors to stdout which means that fails are effectively silent when printed by buildman, for example. Fix this by outputing errors to stderr. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v2: - Add new binman patch to output errors to stderr tools/binman/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)