From patchwork Tue Sep 3 15:30:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3395 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F0BF73FA49 for ; Tue, 3 Sep 2024 17:31:25 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-42bafca2438sf61940605e9.3 for ; Tue, 03 Sep 2024 08:31:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725377485; cv=pass; d=google.com; s=arc-20240605; b=hrT3+7TkfZIoCNpZVudu/05vwIL49T/BI+ZREyfP6p2ToJFSnPglgJ4YF1IzTsN0da 0dC9Qw32W3wfbYWFm3shuAn3W07AeKSWYZizVlq6Vta+N0D3mURUv4qmyMJmkq7NLVcq ZkRHfF79QbRY3xC0/mmIlDFZF1cZvR0Zk/2rzuQzS3HlMOUX9pFe9QKpact77mFPIXWL xIbiyf7SflegjIK7+e6iPbkrGPT+zujaO5NFjV66NiH+qrMdNCZanOY3AcgKapMNOcG+ b2A8+oDCFYot/n7nAbA2YkVvOrvv0txaQSJ4eWue3sQoE95ClHSyoATZ/MjP0NpN/vAD YVsg== 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:to:from:dkim-signature; bh=93ySCMArp05DF+DPD7qcCsKVEmERYTxCvnurbByGzFs=; fh=Ko9FWccU30vjG7FP5kTfrIa5MsmTL6gnQz5GuAmW3o0=; b=AiLAXKN9FGTH3JCvVl02q/8JYgWuRkI0uiuzyzUZXFYH6KedgjNlAVeZNmh6ixcUga tvkE86C3m9YFYFzWDdlY2DraYYr9kba+4yIaGqghIOMyn2avIFUGjMKhxl9EC1BnUV/5 U3Q6FtRwncfEeDRYkz95UQUrMZzrNeM3tHGeXKvKcDdw9psnG3hqGrmk2vI2wYa3zp1O h39DnlKC630gD+1eS3qa2dEdoA42mjsfsC46IyZXolORf0BAN+ePlS6kYtgu61WPhhpa BPTweCnQQW58OibSSVB6kj+hIA2h8RmPsaaYjJubnGM3MnuWBF/EK3lhCJsCLNbwp4Yb PYAw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m7CXrOz3; 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=1725377485; x=1725982285; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=93ySCMArp05DF+DPD7qcCsKVEmERYTxCvnurbByGzFs=; b=ljH0Yyvkae02Zv1w2wLoKcCP8gYU8V0oJ80pG58Wx14a15FXneckpk/zcUe+lMnIVg Oy/LfLopMB4jeCXSA7omL1rIJA4fQaezHY7qM1npaa4z9yko5GuzKounvrGKGDGmDwMO jmC3Lo4YzyW2DvSF5rCZWi3FzNWFtctaQWIvU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725377485; x=1725982285; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=93ySCMArp05DF+DPD7qcCsKVEmERYTxCvnurbByGzFs=; b=Jejk0OeSGFp2+SVO23a33G32ul4GTgGgeFuBiMryTYszJlQUvTMeWG+UAVr3YQI5KW CHpv4h78mFrKPG2vpeGiltT1o9GWSe8cXBb1+xafZy9M024nD8HB2sB1k43TVUiv54Ia c7FoV8Bcf7k2PVS/n8/MokbtHYrlN+GdJsuOjfUXBeluRYOjw0iN5lT4/Fy+dmEFprra L0KsXEN3C1eEf3EpLBsZo2glfMDmySjMyI+zNESILICy100+8e3+EqjzxfU5onz9qVP/ rKEJXO6bd0dzOVowvvUUtjrSoSu3vOpOkCFsFoqZGv4PqTM49Up0Cr3UIRjWPgPLEZbq O0hg== X-Forwarded-Encrypted: i=2; AJvYcCVKqClk9W/vwDMfgJYF3ccO5U67HN6xZ3ZVYmI625ALmeOFLW1+WaYDCxvgbOnJBU0FatL6/d7QmS3/6RPs@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YyPHWkUTVnChhcQaCi4kjmgmzuhdPFkQdbSdb/RXb87a0vANU0g GgPZh1+T0rLXEwBopCdJty+REjpLNrCK+iHKkO6uMlpEQDiG4lFDvJxfyB2Z/KD57Q== X-Google-Smtp-Source: AGHT+IHeSuKqyb/dkOp76ozLZMaX/cH9YgKvWXGoDWeyBuOqFx129YF8zFGdKZIgbG5ENrG3IuQGAw== X-Received: by 2002:a05:600c:4586:b0:426:61fc:fc1a with SMTP id 5b1f17b1804b1-42bb01ae2a7mr161179305e9.3.1725377485477; Tue, 03 Sep 2024 08:31:25 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3c9e:b0:426:6eb9:5098 with SMTP id 5b1f17b1804b1-42bb2a057fals1326425e9.1.-pod-prod-05-eu; Tue, 03 Sep 2024 08:31:24 -0700 (PDT) X-Received: by 2002:a05:600c:3b11:b0:426:6714:5415 with SMTP id 5b1f17b1804b1-42bb01edd2bmr133968165e9.30.1725377483675; Tue, 03 Sep 2024 08:31:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725377483; cv=none; d=google.com; s=arc-20160816; b=ldNrwWXXTbPO/FWndfcMgKhblYby5HCVGa5CzfXso64lQNWVvdkKx6ettcjeCXLii1 1hnALS8ek5Uf0DIAli8Xsx+5HcnHJxcjoeA92Q3ODsiMzqhTOMNP8jHk6vPqbsVefLSB BypznxbiltSG58c2DB290HBN8rMJFNGv4SkmOef4zYzcJCOcchj44Wzcl1qMWPqSvrV2 BEOM3bIE9kPZ3kqIzrpoiW484VOtkmNE37+iQWO6G2U+0SykkgY8YV3ahRpnAzzXFyRK K9RcSlpPAnjkiXaz1uSHdCN3GLFp7ng0She0b+qUH/enzqo7DT1bsI6kNNDewW5xxKka 0vWg== 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:to:from:dkim-signature; bh=P0bGH2E05qtaXhwXMMIpoeQkk7HbOzHDP1V+qyxgqmE=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=nzbZbszMa7g0jdnabpQIcPf8m94cXpiHG66GZgdx8MUnK7qygPANk5k7QzuIFPwYNV butfBkZ50axlZ9JS0uYcNr/EKR/uH5jnXznxYbY4pY7RlDy6BUHWG8mkwPP8/QnKk0dh V9bdrdTxF7CbYIkOpV/oIfmNuJEOx4prYwDL5nQMVh40SJ/j1sp43A7vOOnLqmDvoPod pMYvA9/ygf2hMZDXLlrYuDqv7Ycy/g0DShMlUbvmWaCKfMwttGz/1JblX7otolbjyf91 C5lerB1hIwMCK18zlOHkbEk+VB9KPNoEf+wx3cyhV+ng9qTPbX6MHYsDfOaA8ZA9IL2c eWHQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m7CXrOz3; 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 5b1f17b1804b1-42c8e32d9f0sor4088715e9.6.2024.09.03.08.31.23 for (Google Transport Security); Tue, 03 Sep 2024 08:31:23 -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:a05:600c:3b10:b0:426:6ed5:fcb with SMTP id 5b1f17b1804b1-42bb01ae1fbmr178667105e9.4.1725377483035; Tue, 03 Sep 2024 08:31:23 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e273e3sm174168685e9.30.2024.09.03.08.31.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 08:31:22 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Subject: [PATCH 23/29] cmd: booti: adjust the print format Date: Tue, 3 Sep 2024 17:30:54 +0200 Message-ID: <20240903153100.918077-23-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240903153100.918077-1-dario.binacchi@amarulasolutions.com> References: <20240903153100.918077-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=m7CXrOz3; 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); }