{"id":2223952,"url":"http://patchwork.ozlabs.org/api/patches/2223952/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260416121431.20852-9-angelo@kernel-space.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260416121431.20852-9-angelo@kernel-space.org>","list_archive_url":null,"date":"2026-04-16T12:14:31","name":"[9/9] m68k: set proper u-boot image size for initial boot","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"7d6e8ebd91fc5f4b1adfcc080cce5a1df43d24b9","submitter":{"id":85702,"url":"http://patchwork.ozlabs.org/api/people/85702/?format=json","name":"Angelo Dureghello","email":"angelo@kernel-space.org"},"delegate":{"id":14103,"url":"http://patchwork.ozlabs.org/api/users/14103/?format=json","username":"spectrum","first_name":"Angelo","last_name":"Dureghello","email":"sysamfw@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260416121431.20852-9-angelo@kernel-space.org/mbox/","series":[{"id":500147,"url":"http://patchwork.ozlabs.org/api/series/500147/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500147","date":"2026-04-16T12:14:23","name":"[1/9] m68k: dts: mcf5441x: add mmc device for mcf5441x","version":1,"mbox":"http://patchwork.ozlabs.org/series/500147/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223952/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223952/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=kernel-space.org header.i=@kernel-space.org\n header.a=rsa-sha256 header.s=s1 header.b=DI9gQ5ti;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=kernel-space.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=kernel-space.org header.i=@kernel-space.org\n header.b=\"DI9gQ5ti\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=kernel-space.org","phobos.denx.de;\n spf=pass smtp.mailfrom=angelo@kernel-space.org"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxH6L1Btdz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 22:15:54 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A79A78420C;\n\tThu, 16 Apr 2026 14:14:53 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id B278E8421D; Thu, 16 Apr 2026 14:14:50 +0200 (CEST)","from mail.kernel-space.org (unknown\n [IPv6:2a03:4000:b:d08:14a9:1bff:fedc:75ad])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 2A0CA84227\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 14:14:46 +0200 (CEST)","from archlinux (<unknown> [2a07:7e81:7daa:0:62cf:84ff:feee:627])\n by oreshnik (OpenSMTPD) with ESMTPSA id 505cfa7f\n (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);\n Thu, 16 Apr 2026 12:14:45 +0000 (UTC)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org;\n s=s1; t=1776341685;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=6TiHASRdDV4npufrOw1f/c0C8AZ/ZN6uHIJKhIF3Li4=;\n b=DI9gQ5tiPmpcYjXXwB9YKNMaLkgTyY/KggS+/AgwTzkfmh4Re4lS0Q2Gsrc+5QDki8opu2\n 9OzEGFyisVZ6CgGTL2MGCI1hH22myL+rMWmO6y/5J2GCvf4fCPhuSRT/Dcxg6qkaokARGH\n fKKdFEHP1r9CWTXaYJV0qG9lpiGjXVo=","From":"Angelo Dureghello <angelo@kernel-space.org>","To":"trini@konsulko.com","Cc":"visitorckw@gmail.com, u-boot@lists.denx.de, sjg@chromium.org,\n Angelo Dureghello <angelo@kernel-space.org>","Subject":"[PATCH 9/9] m68k: set proper u-boot image size for initial boot","Date":"Thu, 16 Apr 2026 14:14:31 +0200","Message-ID":"<20260416121431.20852-9-angelo@kernel-space.org>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260416121431.20852-1-angelo@kernel-space.org>","References":"<20260416121431.20852-1-angelo@kernel-space.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"There is a value of 256K hardcoded as u-boot image size. This\nproduce bank tty as soon as the image size grows over the limit.\nFix it by using value preset by CONFIG_SYS_MONITOR_LEN.\n\nSigned-off-by: Angelo Dureghello <angelo@kernel-space.org>\n---\n arch/m68k/cpu/mcf5445x/start.S | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)","diff":"diff --git a/arch/m68k/cpu/mcf5445x/start.S b/arch/m68k/cpu/mcf5445x/start.S\nindex f0264671d38..ae0e7c35d87 100644\n--- a/arch/m68k/cpu/mcf5445x/start.S\n+++ b/arch/m68k/cpu/mcf5445x/start.S\n@@ -114,7 +114,7 @@ vector192_255:\n \t/* Image header: chksum 4 bytes, len 4 bytes, img dest 4 bytes */\n asm_sbf_img_hdr:\n \t.long\t0x00000000\t\t/* checksum, not yet implemented */\n-\t.long\t0x00040000\t\t/* image length */\n+\t.long\tCONFIG_SYS_MONITOR_LEN\t/* image length */\n \t.long\tCONFIG_TEXT_BASE\t/* image to be relocated at */\n \n asm_dram_init:\n@@ -292,7 +292,6 @@ asm_dspi_rd_status:\n \tmove.b\t(%a3), %d1\n \trts\n #endif /* CONFIG_CF_SBF */\n-\n #ifdef CONFIG_SYS_NAND_BOOT\n \t/* copy 4 boot pages to dram as soon as possible */\n \t/* each page is 996 bytes (1056 total with 60 ECC bytes */\n","prefixes":["9/9"]}