From patchwork Mon Jul 30 16:19:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 143148 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4265720ljj; Mon, 30 Jul 2018 09:19:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcrLHiIOmIpDu0N8B6Co5VOLRbv7CDqlkugALbio/eBrGUDG50oIm27+5XerzAK7pxMDIgO X-Received: by 2002:a50:aa3b:: with SMTP id o56-v6mr8872576edc.23.1532967575732; Mon, 30 Jul 2018 09:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532967575; cv=none; d=google.com; s=arc-20160816; b=zwtnSBN78uut/8iX/sJ0XKZUv/SjxV/YZ0iuHURMZj9vbV2Rcywt/hV3oo7+ab2g8w bXUSB2e5+4I5xTXKjRpCq+dkYcagtFup4wxOaO4fscdeTYnJ3fl67a04oNWZth+R/CnV Z5c1iN4OPjsER70gfvtZaHo4SH0NtfUaaMSw7eVakc8t5cfDsxJjycV1Kn7k52gZaR5c OiTOvjvOcBKWuEU0tvd52KnehbK+B0iyyGClHKCXAebb2BiGDJZ1l0023UnJl94D9Ivj 1wmGItOG5IvLMFKys1/LACN0JAXpM5LOFFyFNnpTgwPhCf289/NCFGkraIj0qeFig5jl AyuQ== 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=9zTSMhUlCGa8dMlS0FL7qmDAeXk4cG7WyxNVW5STz6A=; b=XZejsxtweAVVEAYzVcp3mMdlFzsmgCZ6FIf7d2rnTXANNItelwz18rAAtLveys0/SJ mz2JrZNsvX0hTQiMRqx6hxJID8U8ww3muq7d9s9Wr01DTf2yZTtGSKG6rACDTYYpmExi ddR/eD5hX62sYAQ26Q7CgGbx/oblY8n+h+QpzN2qKGYW+jnMjFXy+7xg2l9YkaozP60z dyEUHR63pujUsLkfnEaATuE9sdwV3yB3b5bmo2HdYW+wbR8P19BpcoySDKuVXKKUaSIs Pjm1kjCxe7R2zwiqpg4jo+83vByHLCNim9yGpaKaBFKUinIfE/USKpbGolbt6/Cx7its btXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cA15lwZH; 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 88-v6si1062401edy.200.2018.07.30.09.19.35; Mon, 30 Jul 2018 09:19:35 -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=cA15lwZH; 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 534A7C21FF9; Mon, 30 Jul 2018 16:19:33 +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 860F9C21FAE; Mon, 30 Jul 2018 16:19:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7F32AC21FA1; Mon, 30 Jul 2018 16:19:30 +0000 (UTC) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by lists.denx.de (Postfix) with ESMTPS id 1CAB8C21F9C for ; Mon, 30 Jul 2018 16:19:30 +0000 (UTC) Received: by mail-lj1-f195.google.com with SMTP id 203-v6so10993535ljj.13 for ; Mon, 30 Jul 2018 09:19:30 -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=VacbCP1VeXzacbU2RsRhHIKmX/LEK42clbIil8wYBo0=; b=cA15lwZHpJth6PwWTXndKf6rAEVcaWIprqj+s4vbUFtf5dGsG5U3q2P2iiHeAAlFm5 jQHNO1+pFDxjttAcIFpos/gC71IgygV6KtmtN0xrIXWQyb+qkKsOJI7x+kP1OeB2L1hh 2bB0G20Yc1iVmyxyU3ZiHRrFz9k76aULhgKrk= 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=VacbCP1VeXzacbU2RsRhHIKmX/LEK42clbIil8wYBo0=; b=NkFH6llF5XTD9DhXW3gAQGUBrm/68pfpqNVkNWpatXXk1cX/ScrS6Hr3Fw4acCSi9E ajRj4pqKBoXe417BWYeBHu3n0571Bh31QV8BKwcazM6dBR7bljZeJbhxm/spahPJYa1M 0oySQJcoLCx+CqDl1JVk4/wRCAr1QZin9NyxKZalgyMIWQQP19YlLT3vk4GEpOKFQefd L/+HxAa8hWD+MiiZaf8BOkcT7p0k9axiXrgZr+sGZTNMItXyFAn8QnOi88pTCGfGgsa3 s7ekXdu7SdPHitrBNEVkQUdqJPO79Any1iNbHjk224lYgalF7iQN4y2Pt6GoeDWVV6ql zVYg== X-Gm-Message-State: AOUpUlGNScoSh9QhOSI6vFf/eR5uEIIm82iTegRmhbi/V+GRlyePq8Rw no71r4XX8w4NQQpoyxEC3W+mxQ3gnA732w== X-Received: by 2002:a2e:2f19:: with SMTP id v25-v6mr12970476ljv.113.1532967569314; Mon, 30 Jul 2018 09:19:29 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id j26-v6sm2142588ljc.54.2018.07.30.09.19.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Jul 2018 09:19:28 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Mon, 30 Jul 2018 19:19:25 +0300 Message-Id: <20180730161927.14763-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.18.0 Cc: Maxime Ripard , Tom Rini Subject: [U-Boot] [PATCH v3 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 show "Failed" error message disk: part: Don't show redundant error message disk/part.c | 2 +- env/env.c | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-)