{"id":2228477,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2228477/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260426135715.1395250-1-romain.naour@smile.fr/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/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},"msgid":"<20260426135715.1395250-1-romain.naour@smile.fr>","date":"2026-04-26T13:57:14","name":"[1/2] configs/j721e_{beaglebone64, evm}_defconfig: reduce fastboot buffer","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"d0de25110e47b77e8c26309502faa2817ebbdf3d","submitter":{"id":69397,"url":"http://patchwork.ozlabs.org/api/1.1/people/69397/?format=json","name":"Romain Naour","email":"romain.naour@smile.fr"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.1/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260426135715.1395250-1-romain.naour@smile.fr/mbox/","series":[{"id":501534,"url":"http://patchwork.ozlabs.org/api/1.1/series/501534/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501534","date":"2026-04-26T13:57:15","name":"[1/2] configs/j721e_{beaglebone64, evm}_defconfig: reduce fastboot buffer","version":1,"mbox":"http://patchwork.ozlabs.org/series/501534/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2228477/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2228477/checks/","tags":{},"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=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=smile.fr header.i=@smile.fr header.a=rsa-sha256\n header.s=google header.b=NZPvjFdw;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=fail (p=reject dis=none) header.from=smile.fr","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=smile.fr header.i=@smile.fr header.b=\"NZPvjFdw\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=smile.fr","phobos.denx.de;\n spf=pass smtp.mailfrom=romain.naour@smile.fr"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g3Sv316vLz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 23:57:35 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 45F0484099;\n\tSun, 26 Apr 2026 15:57:24 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 15C8183FF5; Sun, 26 Apr 2026 15:57:23 +0200 (CEST)","from mail-wm1-x331.google.com (mail-wm1-x331.google.com\n [IPv6:2a00:1450:4864:20::331])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 6E2B8839D9\n for <u-boot@lists.denx.de>; Sun, 26 Apr 2026 15:57:20 +0200 (CEST)","by mail-wm1-x331.google.com with SMTP id\n 5b1f17b1804b1-488b150559bso74346825e9.1\n for <u-boot@lists.denx.de>; Sun, 26 Apr 2026 06:57:20 -0700 (PDT)","from P-NTS-Evian.home\n (2a01cb0594a2a2002ad9827a59cb148a.ipv6.abo.wanadoo.fr.\n [2a01:cb05:94a2:a200:2ad9:827a:59cb:148a])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a682588f8sm119035785e9.10.2026.04.26.06.57.19\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 26 Apr 2026 06:57:19 -0700 (PDT)"],"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,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=smile.fr; s=google; t=1777211840; x=1777816640; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=4VsADveJjOQcTmy5iIfpAgbtyJbbH5WTr7xU4sgdqE4=;\n b=NZPvjFdwm0zPIIpFQBzpMyOHl7NmiqTgz9FTqtv4i+Y1TUu9B6QusBLv6JIzOGabL7\n HvgXIesjEJiV1Un46yUsVGe8Bqx9TwElAUAEPxE8IjXn2RNO7snYzS1g2mBnz6UP5A0z\n rUgYD8HAABDSMztgPrv4kfxJZQsjYtBjET+A8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777211840; x=1777816640;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=4VsADveJjOQcTm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VxrUum5Cwb2oLg4uMQU1z7XePAjlwpRZJ7wq\n cs3+3SjWRi73VGeQ5O+5+1fFgLTnki6OOcx","X-Received":"by 2002:a05:600c:1390:b0:483:709e:f238 with SMTP id\n 5b1f17b1804b1-488fb78ea6fmr572186655e9.29.1777211839753;\n Sun, 26 Apr 2026 06:57:19 -0700 (PDT)","From":"Romain Naour <romain.naour@smile.fr>","To":"u-boot@lists.denx.de","Cc":"nm@ti.com, robertcnelson@gmail.com, Romain Naour <romain.naour@smile.fr>","Subject":"[PATCH 1/2] configs/j721e_{beaglebone64,\n evm}_defconfig: reduce fastboot buffer","Date":"Sun, 26 Apr 2026 15:57:14 +0200","Message-ID":"<20260426135715.1395250-1-romain.naour@smile.fr>","X-Mailer":"git-send-email 2.52.0","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":"Using Snagboot's Snagflash tool to flash the SD card using\nfastboot-uboot mode on SK-TDA4VM crash u-boot.\n\nFlashing an image.wic.xz file generated by Yocto doesn't work as\nexpected:\n\n2026-04-25 16:46:21,134 [INFO] flashed 267296768/267296768 bytes\n2026-04-25 16:46:21,162 [INFO] Flashing sparse range 10/13\n2026-04-25 16:46:21,163 [INFO] Flashing to MMC device...\n\nOn the the chunk is bigger that previous one and doesn't fit in the RAM\nmemory mapping set by the SoC (TDA4VM)\n\ndownloading of 267296768 bytes finished\nMMC write: dev # 1, block # 2101440, count 522064 ... 522064 blocks written: OK\nswitch to partitions #0, OK\nmmc1 is current device\nStarting download of 486944768 bytes\n\n\"Synchronous Abort\" handler, esr 0x96000046, far 0x9e800000\nIndeed, this memory address (0x9e800000) is \"reserved\"\n\n\"bdinfo\" allows to notice that 0x9e800000 address is actually\n\"reserved\":\n\n  memory.count = 0x2\n  memory[0]      [0x80000000-0xffffffff], 0x80000000 bytes, flags: none\n  memory[1]      [0x880000000-0x8ffffffff], 0x80000000 bytes, flags: none\n  reserved.count = 0x4\n  reserved[0]    [0x9e800000-0xa8ffffff], 0xa800000 bytes, flags: no-map\n  reserved[1]    [0xaa000000-0xabbfffff], 0x1c00000 bytes, flags: no-map\n  reserved[2]    [0xfce40b30-0xffffffff], 0x31bf4d0 bytes, flags: no-overwrite\n  reserved[3]    [0x8ffff7000-0x8ffffffff], 0x9000 bytes, flags: no-notify, no-overwrite\n\nCONFIG_FASTBOOT_BUF_SIZE was initialy set to 0x2F000000 in the u-boot\nconfiguration for the SK-TDA4VM.\n\nWith SYS_LOAD_ADDR set to 0x82000000, the end of the fastboot buffer is\nat 0xB1000000 and overlap the reserved region[0] and region[1].\n\nIn order to avoid writing the first reserved address (0x9e800000) we\nhave to reduce CONFIG_FASTBOOT_BUF_SIZE to 0x1c800000.\n\nOn this platfrom 0x9e800000 is reserved since it's used for optee\n(K3_OPTEE_LOAD_ADDR).\n\n(Issue initially reported on Snagboot)\n[1] https://github.com/bootlin/snagboot/issues/90\n\nSigned-off-by: Romain Naour <romain.naour@smile.fr>\n---\n configs/j721e_beagleboneai64_a72_defconfig | 2 +-\n configs/j721e_evm_a72_defconfig            | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig\nindex dc76504eb83..abb53687ed6 100644\n--- a/configs/j721e_beagleboneai64_a72_defconfig\n+++ b/configs/j721e_beagleboneai64_a72_defconfig\n@@ -97,7 +97,7 @@ CONFIG_DMA_CHANNELS=y\n CONFIG_TI_K3_NAVSS_UDMA=y\n CONFIG_USB_FUNCTION_FASTBOOT=y\n CONFIG_FASTBOOT_BUF_ADDR=0x82000000\n-CONFIG_FASTBOOT_BUF_SIZE=0x2F000000\n+CONFIG_FASTBOOT_BUF_SIZE=0x1c800000\n CONFIG_FASTBOOT_FLASH=y\n CONFIG_FASTBOOT_FLASH_MMC_DEV=0\n CONFIG_FASTBOOT_CMD_OEM_FORMAT=y\ndiff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig\nindex ed94fff0885..dac1c5ec82f 100644\n--- a/configs/j721e_evm_a72_defconfig\n+++ b/configs/j721e_evm_a72_defconfig\n@@ -104,7 +104,7 @@ CONFIG_DMA_CHANNELS=y\n CONFIG_TI_K3_NAVSS_UDMA=y\n CONFIG_USB_FUNCTION_FASTBOOT=y\n CONFIG_FASTBOOT_BUF_ADDR=0x82000000\n-CONFIG_FASTBOOT_BUF_SIZE=0x2F000000\n+CONFIG_FASTBOOT_BUF_SIZE=0x1c800000\n CONFIG_FASTBOOT_FLASH=y\n CONFIG_FASTBOOT_FLASH_MMC_DEV=0\n CONFIG_FASTBOOT_CMD_OEM_FORMAT=y\n","prefixes":["1/2"]}