From patchwork Sun Aug 25 12:26:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1976482 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=iYqWe4tL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsCjK4Xhkz1yXd for ; Sun, 25 Aug 2024 22:26:45 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4C4868877E; Sun, 25 Aug 2024 14:26:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com 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=amarulasolutions.com header.i=@amarulasolutions.com header.b="iYqWe4tL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 72455889B3; Sun, 25 Aug 2024 14:26:31 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 6B9CA8852A for ; Sun, 25 Aug 2024 14:26:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2f4f2868783so28403631fa.2 for ; Sun, 25 Aug 2024 05:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724588788; x=1725193588; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iMK0oinWbrB6qtCxO2LJDruapOwMRD+CxR6o8GzfA/E=; b=iYqWe4tLZsqQt1Cv58mzMlmVamvBvOTAND0hRpsWoIM3c3JXol8uTMa2IvVZOvSFh8 uyqzKrvyn3pQtbcGAL48pMcs40CaZ0EcMm/CQr0tbKcF95GrcI9Ltomte2A98HSiOs0b ZQuZoUfyKbVNvFuMzPQ6Ner8hNVFC538flObc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724588788; x=1725193588; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iMK0oinWbrB6qtCxO2LJDruapOwMRD+CxR6o8GzfA/E=; b=r7CL+0RdSEA85DA6Daaw/qDnFWcAtv4C85Sj47Oxq62FOiorFm/A00e+vfxhR57jKY ojp7ECQFB3ZeDedklKXynHsKSg8obN+I/SQgb7RrbA/CpvrHssthk0CZMPxUJXa4AMeQ IKiMfPfdwndCP7AJ788wRm8HrWHSzNBiNku4yNvwzfKasTr2JgimhQ3s7yM9INivf9M2 bTTKTk3hH148F+o63p7OnYoR2U1K52ssUbLm8WPFz3MaJVFj1/gLIwPDEw5jGbB6+Bwh H8XumGdLbTfkhDGXBaZlF0kA5pkBi4BdRB2hjkiOimv0pjx2VlRWexdcAs59OqtVnQoR IKZw== X-Gm-Message-State: AOJu0YxvlGwfwPgziPSVDYqPBsaEfTNva8UVWsBO1do5ec3z9cqkhDhl YfAEMzOcqy5QI5/O6Jyl/z4cjXYqWtvBqLeI9Yso+XVm06ItWPjg2p1PbyXKOkaJycmAYZbnTCr CabE= X-Google-Smtp-Source: AGHT+IF9O+eQTTQHoQdoLBeHT2xJXWAhOqASfYQpMWwugIoFbCh9DjGv4JPyoLoAeBiZZ2iy327XTQ== X-Received: by 2002:a2e:6102:0:b0:2ef:2e1c:79b5 with SMTP id 38308e7fff4ca-2f4f4902e6bmr44780371fa.14.1724588788012; Sun, 25 Aug 2024 05:26:28 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-25-99-149.retail.telecomitalia.it. [79.25.99.149]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c04a4c4377sm4651563a12.74.2024.08.25.05.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 05:26:27 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Eddie James , Ilias Apalodimas , Mattijs Korpershoek , Simon Glass , Tom Rini Subject: [PATCH 1/2] bootm: adjust the print format Date: Sun, 25 Aug 2024 14:26:07 +0200 Message-ID: <20240825122617.3708982-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi Reviewed-by: Mattijs Korpershoek Reviewed-by: Tom Rini --- boot/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootm.c b/boot/bootm.c index 480f8e6a0e6e..951e549f19ff 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -703,7 +703,7 @@ static int bootm_load_os(struct bootm_headers *images, int boot_progress) /* Handle BOOTM_STATE_LOADOS */ if (relocated_addr != load) { - printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", + printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n", load, relocated_addr, relocated_addr + image_size); memmove((void *)relocated_addr, load_buf, image_size); From patchwork Sun Aug 25 12:26:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1976483 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=LJ8pX4pw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsCjL50mkz1ygW for ; Sun, 25 Aug 2024 22:26:46 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A018388A08; Sun, 25 Aug 2024 14:26:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com 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=amarulasolutions.com header.i=@amarulasolutions.com header.b="LJ8pX4pw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 815B98852A; Sun, 25 Aug 2024 14:26:32 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 939E88895B for ; Sun, 25 Aug 2024 14:26:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2f3f0bdbcd9so38767551fa.1 for ; Sun, 25 Aug 2024 05:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724588790; x=1725193590; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zfgQFY50ArhCt4JCqg9HePmw2ZEGsA30/N1SL6afrKo=; b=LJ8pX4pwvcEOX4EI6KmGl65R7nEHcJYrI0OwGDXO/gyERFv4AgPSCK+bUIm9RpWRV8 +7FpUF4vbmCG8ojYLE2+rQlxIZvsoCxW2+O/swcFyQF4P9qLgBbJvbvyjPUH+tBM7aV+ 2iWWTOkvqTzSpUPnYNVg0XpPj+XMwhI6hUTNE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724588790; x=1725193590; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zfgQFY50ArhCt4JCqg9HePmw2ZEGsA30/N1SL6afrKo=; b=CyVZw7HBxt++ZDf4id/VoV0MFfT/XVBeXYW+cGTjxkouuU+HuIO+vzpVpjjRgbmTnN b5uXyJDYh9IhvwmY55T8kN5pFLv5zixny9gmEvsV9FoAmWlXCFlDo/Y6zY2XKkjVDLet QdPDdrAYmPnLLSVrKzOZIqf79BCEHpuOv/l71sNLr0oHte32BdJHsoRWiswcDFMznLLn /z6O1LAAE4vraYmq25vPxXq/EvVPChTo8luhDLthcBiNCXgFd6OI1YYiKfnE/axn0VyQ cv2MruFR80Fcn95d1lW6nCNpIle3Lds8K80xHq5u7GX4gOVaKWLWlSCcrMiK7r6lUWF0 TKNg== X-Gm-Message-State: AOJu0Yw4/wNpyfnv+7ixsCN5UzFS0eBnjwyeAFBH6VyMTCP1zw2yR67t Vw8rY71bDxDBbQj54BOLdKOEV2mEhIgiR9KjOmJGqcwNkpEzHvhN1HhNN9CB2+9HSkkj0G1TSKF aJv8= X-Google-Smtp-Source: AGHT+IHAZK5Nb9+BCp/u4mJnjy4fWy/zFiOtyfBIq2hZW0NTuPF9m9JD4bS3xlpEz93GIgM3Ifoyhg== X-Received: by 2002:a2e:6101:0:b0:2ef:1f51:c4f2 with SMTP id 38308e7fff4ca-2f4f48f9354mr45710611fa.14.1724588789495; Sun, 25 Aug 2024 05:26:29 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-25-99-149.retail.telecomitalia.it. [79.25.99.149]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c04a4c4377sm4651563a12.74.2024.08.25.05.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 05:26:29 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Eddie James , Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Tom Rini Subject: [PATCH 2/2] cmd: booti: adjust the print format Date: Sun, 25 Aug 2024 14:26:08 +0200 Message-ID: <20240825122617.3708982-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240825122617.3708982-1-dario.binacchi@amarulasolutions.com> References: <20240825122617.3708982-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi --- cmd/booti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/booti.c b/cmd/booti.c index 62b19e834366..ea811244a0a9 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -78,7 +78,7 @@ static int booti_start(struct bootm_info *bmi) /* Handle BOOTM_STATE_LOADOS */ if (relocated_addr != ld) { - printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", ld, + printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n", ld, relocated_addr, relocated_addr + image_size); memmove((void *)relocated_addr, (void *)ld, image_size); }