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: 3337 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4A2744173F for ; Sun, 25 Aug 2024 14:26:32 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2f3f1bbe2e2sf24132551fa.0 for ; Sun, 25 Aug 2024 05:26:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1724588791; cv=pass; d=google.com; s=arc-20160816; b=Ig5kZkRI61brgYEqSNgGMW9pbd968D+pNCHAXjF5ZQCXrvkeF8YRYDqsf3bB8VEVfo Jr4TDQG4Dnd1MORtzXVCkpbcNNE5xua2x34ouJip37g4iZvyl9ZyL+dS9yrgV4k433f9 s4YR1Sr6+g4K6+T1UeoRQktRdRIfaFViqkBpO7Pr5QB8e7zMPfxzLKSFUxu8Rjyf0yNR nskwE7IPOqQ8YyToGLNas3jbR37h5+JrELJs5KviCpuU0uoKBP4pkW9B+5lBqfsMGsU5 M4Kh/2ZtgqH1pbI8xrgqjTGpYZ4k40KW/EEY8LY3YrCS8ilkS4+jyZ+Sh58HR8N8xvBr tmwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=MTilHYh7G8HN7k0FRTSWixEMUh/b/ekPRvEMtvX8BJQ=; fh=I06GzSmZlUGQnMaRzxVzHb3j/42A+CjZs7XWpblN2DU=; b=PMrJ1c9r9A1CPYQIGWE94b9YSYKOxlMIcxAVJhJqfkmCubD8s/xrpVPNfMUlZd5bTq mkKBmscpPBM5YIYyhtMA4FM8qHeoO8tOM454R3RCc+uWPRZIYr7KgoMZATLeRSTHz0li D0sGvcdH//iYLDEqVLYG7vmf/muVpv25mjZ0v1F+0LCgmmscCANQU9P4WNyAJi/sORuo nAWgZ7R9zKGJlhO+vTbAz61i1C1wMj8haZPpJeUF91S9zX82WqpMp7Znee3Qx1aZ+lvX O64h6/Z4AVtSjdcYzez1n3zCEIpavRoI/Q1wkJ31PQ5IUq2bK4E87RucVQ5LBiWmMdFc MBMw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qo999Yq5; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724588791; x=1725193591; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=MTilHYh7G8HN7k0FRTSWixEMUh/b/ekPRvEMtvX8BJQ=; b=L6trCAW/c4zZ5a9yK77Z7N5JZV++Z+zhjF4tHGJ7W5mtYeC92WtrLokkO6y+bn8VF5 6mzLCPllnYzQORar74qo2669upHrfkb4vY43rsuSj7Mw3IbANmwb6xM5n6PFz1p829rg YQtVGaRKhxKXjKJ1+ljZNqwO/jnNrORRUoHD0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724588791; x=1725193591; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MTilHYh7G8HN7k0FRTSWixEMUh/b/ekPRvEMtvX8BJQ=; b=T57OsmmAV15csMRFE2oUCrQmU1LcILqSMM7zSYbEMQHXeAO+5prR5LghnuPVhkKIC1 +x2twk26jbbquLEDp9dsAXJhkaDDoD4PurXS1kguoRvhg727zlgFo4jozxESfyb0Ymjv Ob/KAqpgjJIEMzHTbnoJ9N2JD42Q7q3ZtKpTAXHL/6bQhnHa4MhMwLov2yj4F3qLngdt ad5mYeznK5M5X7t8Kekvx54TBv1/UtZj56XekmOGKAnYoy9367uJa6UzzFmePemHcX+M DRSu9Fg3Grn5NvFirsn6LzKOyZhtzLQrh6MB1imVmyh3Y2DAb6ud7M+mMVJPeIY8lHoc 6YRA== X-Forwarded-Encrypted: i=2; AJvYcCUn8s5ZcVZVzcPBqGt7FWqxDgf3bzsKIoToe+F2KK1UW65s6+hmkmoiyBaoT6r9Tp69LGosGWEf9LUHmKXt@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YyQzk8AvEgxtflCSQoyMbrXZduQlZdNkuOFaTEOZaWdw11yqJ3g B9R7qJhkf+ZH/Pm2Ko8UJUz0yMR+mi22+gAD2olpnVhPsULx0J/yqw0l3O4RD9JVeg== X-Google-Smtp-Source: AGHT+IGWbgqh73Wnfj8NUFYyjQNd0qwJkOA3Mf8PV5RYvehwQjTrUshjYw6mxbQKUN47i9J0WaMvig== X-Received: by 2002:a2e:86d7:0:b0:2f3:b8dd:1fbf with SMTP id 38308e7fff4ca-2f4f491016cmr42307061fa.23.1724588790725; Sun, 25 Aug 2024 05:26:30 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:2a44:0:b0:2f3:ee66:7cd with SMTP id 38308e7fff4ca-2f4035ac174ls10353751fa.1.-pod-prod-07-eu; Sun, 25 Aug 2024 05:26:29 -0700 (PDT) X-Received: by 2002:a2e:86d7:0:b0:2f3:b8dd:1fbf with SMTP id 38308e7fff4ca-2f4f491016cmr42306711fa.23.1724588788938; Sun, 25 Aug 2024 05:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724588788; cv=none; d=google.com; s=arc-20160816; b=bO69OfRBa7iRWkdNVkMGcOZj0p3Xo3ig5qqykmKpbknRSpyDA70Qaby1qmc/yzNPjW QyX22qaLR2VPfh5lNV8srsMhhTaApveqVqbgsXSUir1dK1EdsqUDFLOfuw0FhOWd8VP0 tG+zbNc2a/WeosuZvz8KSNGshtIUryC7judrYBA3kYGBtUHMDDUxx0eCdXf0bpQpcTrC 53GAV3Kg4gOcSVdeiLlUjx4UJgT404aBbXSwlblSwBSyvNl3s28eo/8LFnce6LW62wl9 /47PjGQtnx8iIim300E6B3HRZ2BrpY4OiQfDdVKbppMTZE8HWrHreTY8iZPxuRjiITa9 5D8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=iMK0oinWbrB6qtCxO2LJDruapOwMRD+CxR6o8GzfA/E=; fh=z2/SguXvwxrJoNKnyiQ88p4gYR8000z1DeBKVVa/z3Y=; b=iJIjNXo28HZYomFEz5EApBFj1rXLAyRe1dhJO+ltyG3WvshC3WCVs4k6v2S16a0H6T T1IJzd2H9fRPcMug6yI7Q9Ipk4DT6ciYfgq4LifKX1VGLW7xXNeS6nq+/n1xFBWIUBIx v5CNHHkqeoP77TmtBuZoMCWJh4IhfFlCEjUu/2CKnSljPoM6yTU2g70wUuV5LOGa/7SL WezW5NXVdCbvzwW5d+Khu1PWahxfum48Gm4sVYqiihjoR03/iQTYO5l8IDjlJsNzorMM 43ZFf4dntvd/SONfQC7qTrUufSltEkPdhCz+41b/slqsazgAJGtZiqvBb871Qjto5RLp 57vw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qo999Yq5; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 38308e7fff4ca-2f4047c67c5sor11276421fa.4.2024.08.25.05.26.28 for (Google Transport Security); Sun, 25 Aug 2024 05:26:28 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qo999Yq5; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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: 3338 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 222CF41740 for ; Sun, 25 Aug 2024 14:26:33 +0200 (CEST) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-5343d2af7easf1662983e87.0 for ; Sun, 25 Aug 2024 05:26:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1724588792; cv=pass; d=google.com; s=arc-20240605; b=LlQlxO2N6YD6IdmFUxp+1cfVWStdOHiFyop5Ah6ActvJyhQHAiPd9888QzPzGlylDl k+Ebuh8HAbf83h96XSqHm1xrl+iilBN5uLUgqQ4BcUglKq0r76tB+X7uI5aQGGCz+aXX MzjspKKBsrKAFY2nHAPZdSh1zyLB+/BBPZdYpYLQlyOdrxotWRqvUVbVQyknaW2N+VrL 36v0RT412QfDF5k/NjQrpA04EbPaaCWFU7f1xWQoYxka84u/ab3X66e7OHk1JPi3q7YV 5LHDrw4CfWVoKb4vjk8IXoyANRunA4uNDzbUVTChUOce/9OhSTg1C7SaplS/uMXo7HKz qMxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=+mGuzHYXW3lQrSLa8/a1SIFSqe2YkJsm4pJWeZ+T4+0=; fh=hRTsu0Q/0we4me3SXLDOHXPIMcAPJBH8YDBCbNluEXY=; b=kzmnI3uhwPJsWniS0AcIxblgx5IMR3/0Q4DfbeD4TB5nqyBzSn5kZsWhfou5Neygo0 I/Z8PXrdhKVHZ6g4XML/Y/66bO5YYn1l1hsFTpj1ytjEWsUC3/V3p+hg3WIMUAK6fyh5 Mu5A7fdgue2E6tknEd87NcrMb/qCP+QCWkXFRdFs4QfV67M/UuTQFFEsFdQUp4hNr86M 3gh047z0P1/M/dKDd73XUEJ2v76w1CQYcpATg229sGVXxJDZTEbkHhsGlJVm9e6TYZKO mCzlmE7UK2gOuU0YzUH4tUX/7m742rMiJO1OeISo9YUmm7/Pi/Skvc8QaoqybsQWoW4t 6V/A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aDcRFKKh; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724588792; x=1725193592; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=+mGuzHYXW3lQrSLa8/a1SIFSqe2YkJsm4pJWeZ+T4+0=; b=f0o6IyGHWGjbZ2kTk6RDZoPUfRiEwBGTPLWcKdVkQFUzJWi+hKZ4sSKg0sv7S2prXU g0U2vvizcK6Cbdl1FLur+EOXeOLKjvuil0S+0n0qRAbAJk5XRUbfCuydKVjGb8pyGfqg ctPuSiOnYCypIQ3nBHL8hcBO4fPpbMcdA3C5M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724588792; x=1725193592; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+mGuzHYXW3lQrSLa8/a1SIFSqe2YkJsm4pJWeZ+T4+0=; b=UjqIHIC4xR7dAfZxxCbJHuMSMuwY8ofJOClKP3lljFSAkCJNSM7nWJ8lvRMll+MuVw HF7/6ffG/IK7aP4wJcjx+mQrgl+4zHCrAOqKD+DvK44KFRxn4d44bRANQ5h0254AweXk R7l+I9lsTDgsfGsXS1D4iSYOAG2mxW69HrS02AMIeWw+EmvFPvczJ1jcCNBtH0QqvXIE zgmxYAFV+XG1ShfEPLOYQvYg1qGBw4270wYMhzmk/5YkuQQZoZ+6BGoLEX24CnsFrO1I m4I55DjjYetXqEt6pfVENod7HrU8ZFq5synr8vG9knwFT0hz4qOOuCYw7UO/iJrHgUCA oz8Q== X-Forwarded-Encrypted: i=2; AJvYcCUEHsjCfiZEhAXI4J0vRl5rmwg0jeccqFjtayxeydxKeLy+Sws/XtQtRjFsSgqgsA9TVzp5XxWZuYjHcALH@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxZZxLdJ704kXh9pyjvLgCn/FWPfTDOrc38OZyAiafKWxe1poPt p8TIDVgQhzYfXUkMVWtz0PhS/wXg39cPgMa7atMVmFKYDqlz3Ib2wHrBVG98Lcp36w== X-Google-Smtp-Source: AGHT+IGeRyyc+LEa3qWUQnHNVN69Xf5bzIgHNzcXvRyA6935UsnOdiSyOqGtmFvyY8OaomImA0Ks2Q== X-Received: by 2002:a05:6512:3c97:b0:530:e1f1:8dc9 with SMTP id 2adb3069b0e04-534387be5e5mr4463323e87.46.1724588792103; Sun, 25 Aug 2024 05:26:32 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:b84:b0:52e:fdfc:47b6 with SMTP id 2adb3069b0e04-5334e120886ls599919e87.2.-pod-prod-01-eu; Sun, 25 Aug 2024 05:26:30 -0700 (PDT) X-Received: by 2002:a05:6512:39ca:b0:52f:228:cf80 with SMTP id 2adb3069b0e04-534387be63bmr5684384e87.40.1724588790176; Sun, 25 Aug 2024 05:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724588790; cv=none; d=google.com; s=arc-20160816; b=MN/t4fClsADGE/++ZkMNT82eWTuGQpJq/piSCKe7/Duk++h+wlzy9tQEGLol+MxkvK Rc0FUDAbgUZP0R+SzStj6ZKoJsQP9F3cCsQsZVazjh2iMjh/SvTmpwbQxy42qokaC+ZP PAjgk6GBNoECYyy/mxG4vaQuDkpb/pVwDXlqzYVvZf3FodwLNk6CsfGX+dNoBKrKxPoS I8uAgBDx6dtOAVcCpKygE8nO/C2HnJwQbhPjE0fx07RTE2avnu97PDpcU9DzNXOgDNQ2 TytZ7A4mMZ0uWzC98FbPmcEsDI2MUCNDKDpST+sVFDd2lW/toakPMkhp5V8bsaJeOOTX oxSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=zfgQFY50ArhCt4JCqg9HePmw2ZEGsA30/N1SL6afrKo=; fh=/YHt77LBHMuAPUrDma7nXkF5TkNYmyS0FVUZ9jOpbyE=; b=1DnH04B/02QptK3G82uem1TN3nN6cA7GY7xC1KovFM7zagOErGarnU7I/jn9VrJjhu 0pNzZ2QaMCYz4CkSwHaUQ8AxiKxw1isZgJYSVqQkYP74m1V2h8Q12JLjt46XTMisfsXd 6mColXRa3fyizUU/BDXI82DFHJ7VfAsVX6mprZZwlzNSINLY5h9fpyEI3V9cAGSiJBJf DXKEK4ql2731sF3vLL2hVOFNOZUIR7LsYYEkrlv5vdxaCfcNh6EmuNykwNmXPamoluQp kkFiDJQriQPeqrJhao/ZrK47netDY7Du+qb4mi+YhzMgnpjkm8Pytu658Lo6Vg8oy1aK 4Vcw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aDcRFKKh; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 2adb3069b0e04-5334ea29fb7sor1939872e87.2.2024.08.25.05.26.30 for (Google Transport Security); Sun, 25 Aug 2024 05:26:30 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aDcRFKKh; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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); }