From patchwork Fri Jul 20 13:14:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 142471 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2954631ljj; Fri, 20 Jul 2018 06:14:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeSrbu2bA7SNKb15SmMnS5nhMETf7ZZVGrNdWVrdVqwkQIgCaHSpFh8fve5sVsZa/dAutKr X-Received: by 2002:a50:b0c1:: with SMTP id j59-v6mr2646508edd.267.1532092473196; Fri, 20 Jul 2018 06:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532092473; cv=none; d=google.com; s=arc-20160816; b=RJXPM7j+L4Pb2Z6k6k3HaBmLV8GB6+oTmcoRgzUDdsq4b+XyRhM1yzYDdy7tOP+4Rm qQbJ57UmsVKJoGJbFBIWTaN888ScjSgnQbdQ+Qvb+Ff3Vq5QOX3eYlerx93ivbnz5I/z NXuwc49jL6IMw7f/UkqckK6d4hdLu5DJSnDx5ZO2MrHOsJ8ofOZXF0ptmiHZbUa7c+hL lmUNklChPW/VsBbqCN8RGKjdhcz7WR3X2SBzZkhumDPSlxm7qLHzM7aW0R737+HSyc0l hEUXx70kuA97/DpshRHYWMZAtlYYNKBSUkVZeNAGvsMjf7VX7wror2Rw1iVJOAc1/J1R jFqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=t+q+mEGbG9LS4GlZ9m7xPNbagq2bllVEOUYmALMU8gI=; b=eM82389auCh6likrR03aCt9YTFDxc2K8KJYtQ0nB+mt6rXAx7nYV3e5alRc8td2cel Qvqc9g7LPcxvF06cntyyOVI/kJoCC+cC8tHxnKRD2Tys7kjOMoqORUaVrB1tfuJaf+CG CC0IcZODij993rW5TvvhT1ECBict4ix6471uSpL7Xj+/SXHvzOrsE1DbMDRyzITVCiU6 vo0rQ6MD+w8WgaeTn8QI2ahfS76xMVFJ0JTtkH3jqkoJqK78HouqKReiYnUPTZRMH9ul 3DaTeF0ZArETuLMpOiSNHn7zzDexTtemVWnwRKAyqbNfAgqX8Hf9rdFjRc/CH04rImdu zFVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jNTZqBIm; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id w13-v6si817858eds.45.2018.07.20.06.14.32; Fri, 20 Jul 2018 06:14:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jNTZqBIm; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id B40B2C2201F; Fri, 20 Jul 2018 13:14:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id DECDAC21F18; Fri, 20 Jul 2018 13:14:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2F2ECC21F18; Fri, 20 Jul 2018 13:14:25 +0000 (UTC) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by lists.denx.de (Postfix) with ESMTPS id BC4DEC21E56 for ; Fri, 20 Jul 2018 13:14:24 +0000 (UTC) Received: by mail-lf1-f65.google.com with SMTP id m12-v6so1782857lfc.10 for ; Fri, 20 Jul 2018 06:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Yoy1RdrpLYdl+G1kYuoRibYD8rTXcB/0KDd+OZ6HGYU=; b=jNTZqBIm2a5rq2f76BRdoECu06d5tsAJ1QoNodSy2Z1jSykdHGD/6kJ8DBoBLlgNDM nWTMvrOs1o4FjK2aXFq9Hflft+91NpX664f8HGpJry9jhrziMICMSG7ep4lfCb8tWZmr 71pb/1svcqHiObyZVY7UCrg4i/v0FFfdL8uNs= 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; bh=Yoy1RdrpLYdl+G1kYuoRibYD8rTXcB/0KDd+OZ6HGYU=; b=r065fszewXZjguRIb+mAUda9q8Ov4DTvpnTQy7+DEmxdZulUiMxPP3gT5gPpOvXI+V YM9pCA+JYkGPxyAZyIPoiYdFAuwBLMqqCxHQyq0JfTKxcvEXQsLMkg2280L9irm+l2/a cDsv8Cz5Nbjh1iPWmlj9ebi0JGTUCWH8qdL9o3T8k4KEoIDd8XIMskBnclVHg+KlcYPC EOJnr2BimdQpggyXQONZcTPaAYqmTcJM4J3cXBBIc/o71AzkSzk95Z+I0Lnu+ixnq9zS unX2CmL7Rb0Y6tei/QY8xFjH1mf7+wEqXnlJCkc1SKT7ZrR4BHFRXKu8dtTDCLhjbeam 6Hng== X-Gm-Message-State: AOUpUlGWFflKKlxMHF7iGfriPkpOdI73X+mfLaOUMWd2g2d7F+x3Ts8n 6AZaeIVHAXx/YYzi1rcMEv1fEgFTtm47wg== X-Received: by 2002:a19:fc3:: with SMTP id 64-v6mr1495244lfp.46.1532092463898; Fri, 20 Jul 2018 06:14:23 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id y16-v6sm359070lje.30.2018.07.20.06.14.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jul 2018 06:14:23 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Fri, 20 Jul 2018 16:14:19 +0300 Message-Id: <20180720131421.7136-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.18.0 Cc: Maxime Ripard , Tom Rini Subject: [U-Boot] [PATCH 0/2] env: Make environment loading log more clear X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch series intended to make boot log better. Basically here we just remove unwanted error messages, relying on the message from most deep API to be printed (like mmc subsystem). At the moment this looks like most clean solution to cluttered log problem, as any other solution will be hackish. With this patch set applied we will see something like this: Loading Environment from FAT... MMC: no card present Loading Environment from MMC... OK instead of: Loading Environment from FAT... MMC: no card present ** Bad device mmc 0 ** Failed (-5) Loading Environment from MMC... OK Sam Protsenko (2): env: Don't print "Failed" error message disk: part: Remove redundant error message disk/part.c | 2 +- env/env.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)