[{"id":3679547,"web_url":"http://patchwork.ozlabs.org/comment/3679547/","msgid":"<CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>","list_archive_url":null,"date":"2026-04-20T19:32:43","subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Brian,\n\nOn 2026-04-20T07:46:01, Brian Sune <briansune@gmail.com> wrote:\n> Improve handosff prepare on SoCFPGA\n>\n> There are some cases that the Python scripts\n> are run and the qts files are not replaced.\n> Make sure qts folder h files are removed before\n> handoff script runs.\n>\n> Signed-off-by: Brian Sune <briansune@gmail.com>\n>\n> arch/arm/mach-socfpga/config.mk | 29 ++++++++++++++++++++++++++---\n>  1 file changed, 26 insertions(+), 3 deletions(-)\n\nTypo in commit message: \"handosff\" should be \"handoff\".\n\n> diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> @@ -8,6 +8,8 @@ else ifeq ($(CONFIG_ARCH_SOCFPGA_ARRIA5),y)\n> +HANDOFF_KEEP ?= 0\n\n> diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> +             if [ -n \"$$HANDOFF_KEEP\" ]; then \\\n\nHANDOFF_KEEP defaults to \"0\", so -n \"0\" is always true. I suspect you want:\n\n    if [ \"$$HANDOFF_KEEP\" != \"0\" ]; then \\\n\nOtherwise the 'preserve' path is always taken and the 'clean' path is dead code.\n\nYou could also have an empty variable meaning don't keep.\n\n> diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> +             trap 'rm -rf \"$$TEMP_DIR\"' EXIT;\n\nThe trap is set after TEMP_DIR has already been used. If the python\nscript or mv fails partway through, the temporary directory won't be\ncleaned up. You could move the trap to immediately after mktemp\n\nRegards,\nSimon","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=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=D2y/l8O5;\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=pass (p=none dis=none) header.from=chromium.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=chromium.org header.i=@chromium.org\n header.b=\"D2y/l8O5\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"],"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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzwcs6C0xz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 05:33:01 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id BB655843DC;\n\tMon, 20 Apr 2026 21:32:59 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 8EB7F843F5; Mon, 20 Apr 2026 21:32:58 +0200 (CEST)","from mail-ej1-x636.google.com (mail-ej1-x636.google.com\n [IPv6:2a00:1450:4864:20::636])\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 9E6BD843E0\n for <u-boot@lists.denx.de>; Mon, 20 Apr 2026 21:32:56 +0200 (CEST)","by mail-ej1-x636.google.com with SMTP id\n a640c23a62f3a-ba5b107eaa2so418517466b.3\n for <u-boot@lists.denx.de>; Mon, 20 Apr 2026 12:32:56 -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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; t=1776713576; cv=none;\n d=google.com; s=arc-20240605;\n b=A0oPFXXkTd0dpCD/DsDk9OF/Wye0mfJzOOyY9W86W3Z/hWianyfqm+vh6pKV9GDTeL\n qPrDZg0uOmObTfuoGEIQETmhZMXVFuNY52ZPX4w3qGAVe8Ar+gdmcXTWO8jLXD82l1uA\n nW04u+uR0spZybeD+O/u1AKjYAPz281NWK5nykKmCZSKnI16Dokhp71KwR6ByL0amxfX\n RUVRkUOOCnD0zTbsH4B8mC+5mgywvcCAZFqJRgq6kl0idAEHvlpM44qwaqZZQBUXjH4k\n EI6pozKfUO40tH4NJ5+OygTIagMDTM9tjGgbrvq/tjtteBBjszYJJ/cJ9gIdvbMnMF4I\n sh9Q==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:dkim-signature;\n bh=u6yjFd6CcPfuuy0ynAvLAN7oDVZke3Gu5PjqKsDlQuo=;\n fh=TL2Th1PXbQmTygp4zdHc2dPft0ExKDuqIBJjEY3UVdE=;\n b=Vs7F2qC1jgs2DwFJUV2fgf09zB9OMoJlvTh7Ev7+956vv+O/JntTlWdspo+vkfO1Sh\n 5YFOzuW5WOF1K8ZbOl41eUobzSvplzo8uhzkw8kCE0Ec3N48BKBldL5jG6s+F7YI6tBh\n 8tBOoXUquPCarujIUsb2jV9dh8g0JQwsyHv+XGuDl0tQhJ6463LNhDEh4gXUKusmhBnZ\n 1smM8/1ivFY0J71v1ZsNP/C7zKpcw0gcsQDNjiPf/a8ipL51rnIXuXKEAqC51bs9wN0W\n xXZALliugAvJFF2p1IFsuaYaDa/bQhuNhFsbwMeHVVG4vaybklhsvfg/BObxIbsgFp3D\n ps2A==; darn=lists.denx.de","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1776713576; x=1777318376; darn=lists.denx.de;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:from:to:cc:subject:date:message-id:reply-to;\n bh=u6yjFd6CcPfuuy0ynAvLAN7oDVZke3Gu5PjqKsDlQuo=;\n b=D2y/l8O5ATEA1cCi4TBLssxkd++DF+frrWwZ9oRi3kbmi0uSrBZF7QsVXhIMaxyUU4\n mQh60ZxR6ESJZaMFXDWXlWEmBv950JPXrC14NFqJpfAor8WrUF1fbwVliONL+3VTzObb\n lgPmMRMW9iBqogn4S+NEC1nW/VUthQwMWAkGA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776713576; x=1777318376;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=u6yjFd6CcPfuuy0ynAvLAN7oDVZke3Gu5PjqKsDlQuo=;\n b=MayceM/dwda+owrzbj4tBBwzazBJvt8wdyNvk8NmOsaW2hR0kXa7hAyanyx/s1rrJX\n 7jVjxjZMxE2oLftCN8Fm3MPIjvUjo4ikh9/oGJipwHsKM1Okesh7FET2+mS2MbqnOfwN\n vmNXrJJyxQBYa3uNjekxbElw5uIvYi5dGNHhsAEnjXBofSZ6a0e3Ke/bXcvDyal3jvfx\n 6XZV/CpiWfa+U+/k7jgzhgwcWGixzzeU0x2Kq5lhaZNvW7T+k1Wa86ocQ3GybxEkL1Ls\n /UnQotxAaQhdMDp97DPUaSB7jEdfRs/ocifpEffL18YCUfgOszZF/WRC7KoQxsJ0emMi\n DWyQ==","X-Gm-Message-State":"AOJu0Yy5ypaK2Uadh6mjq9jbht1WgakTKPmt6mLXUERGypaEkVegRaY6\n n5RBs1PpIeJhpfO/V0diVgMnxY8YLfEXTKzspUx2IG2B04W0C/EWSpIBDICsD5LF/hf8p/M/tHY\n 2OVL9QS6Czcizsz871HcHFX0zFRY0Z4arrlMmlzuzO6p0q5igjkg5Zg==","X-Gm-Gg":"AeBDievcRnSdYQFPK+wYl+2CYNp1xSIqGqQU0+3SZFnMjRj1XX/qeu8/ZcBdhq1Ph/3\n xt1c12R1zoUqaoqwLqwmVpWPPgaKVOFmlzNJURvE2mUAyGDFSEgw0gkqd10/p+a5fuDzx8CxacG\n 4NEsgXEI0Q1hb1GKnJ93L3SMvJqtDLfvqd3zOu0FdqIr5NpXQgYxiVXPf0cdaHO+77ZeHDja2FI\n b+EqqiDhSRLr6NFhX41Yj2h7aeQ/2y94gbCHlIXN4lNoFrylbFoZXCws77XEMrED+FrlKmfrm2l\n JlQpd2z6ZsXg0ggRTG0s","X-Received":"by 2002:a17:907:72cd:b0:ba8:ca25:e6ab with SMTP id\n a640c23a62f3a-ba8ca25f0aemr160391366b.11.1776713576002; Mon, 20 Apr 2026\n 12:32:56 -0700 (PDT)","MIME-Version":"1.0","References":"<20260420074601.24988-1-briansune@gmail.com>","In-Reply-To":"<20260420074601.24988-1-briansune@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 21 Apr 2026 07:32:43 +1200","X-Gm-Features":"AQROBzBmVY07zP0APNgD_SARF6UU_fPFbIHaVTWHERZcIHViKEL6GxeFarTkRss","Message-ID":"\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>","Subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","To":"briansune@gmail.com","Cc":"u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>","Content-Type":"text/plain; charset=\"UTF-8\"","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"}},{"id":3679623,"web_url":"http://patchwork.ozlabs.org/comment/3679623/","msgid":"<CAN7C2SA_kuXD8_5N38iazcRbRYzWXdp4MwMb4XE8gWggPgb-RQ@mail.gmail.com>","list_archive_url":null,"date":"2026-04-20T22:44:47","subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","submitter":{"id":91590,"url":"http://patchwork.ozlabs.org/api/people/91590/","name":"Brian Sune","email":"briansune@gmail.com"},"content":"On Tue, Apr 21, 2026 at 3:32 AM Simon Glass <sjg@chromium.org> wrote:\n>\n> Hi Brian,\n>\n> On 2026-04-20T07:46:01, Brian Sune <briansune@gmail.com> wrote:\n> > Improve handosff prepare on SoCFPGA\n> >\n> > There are some cases that the Python scripts\n> > are run and the qts files are not replaced.\n> > Make sure qts folder h files are removed before\n> > handoff script runs.\n> >\n> > Signed-off-by: Brian Sune <briansune@gmail.com>\n> >\n> > arch/arm/mach-socfpga/config.mk | 29 ++++++++++++++++++++++++++---\n> >  1 file changed, 26 insertions(+), 3 deletions(-)\n>\n> Typo in commit message: \"handosff\" should be \"handoff\".\n\nGot it.\n\n>\n> > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > @@ -8,6 +8,8 @@ else ifeq ($(CONFIG_ARCH_SOCFPGA_ARRIA5),y)\n> > +HANDOFF_KEEP ?= 0\n>\n> > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > +             if [ -n \"$$HANDOFF_KEEP\" ]; then \\\n>\n\nHi Simon,\n\nThanks for the feedback.\n\nBefore the patch was pushed I personally tested all these cases and\nfound no issue.\nmake w/o HANDOFF_KEEP=1 will link to clean vice versa.\nYou can use make HANDOFF_KEEP without =1 it will report\nNo rule to make target 'HANDOFF_KEEP'\nSorry, cannot see issue on this section.\nMaybe you can try and test if it is the case.\nPure \"brain processes code\" sometimes is a bit tricky.\n\n> HANDOFF_KEEP defaults to \"0\", so -n \"0\" is always true. I suspect you want:\n>\n>     if [ \"$$HANDOFF_KEEP\" != \"0\" ]; then \\\n>\n> Otherwise the 'preserve' path is always taken and the 'clean' path is dead code.\n>\n> You could also have an empty variable meaning don't keep.\n>\n> > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > +             trap 'rm -rf \"$$TEMP_DIR\"' EXIT;\n>\n> The trap is set after TEMP_DIR has already been used. If the python\n> script or mv fails partway through, the temporary directory won't be\n> cleaned up. You could move the trap to immediately after mktemp\n\nSorry, again during the test I did not see any issue what you described.\nThe temp dir cleaned up w/o any issues.\nBoth condition branches keep and clean.\nmv or python script will not break like exit 1\n\nQUOTE --->\n[INFO] Try BSP generator...\n./board/altera/cyclone5-socdk/tmp.Z11PmKjAMg\nGenerating file: ./board/altera/cyclone5-socdk/tmp.Z11PmKjAMg/sdram_config.h...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.Z11PmKjAMg/pinmux_config.h...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.Z11PmKjAMg/pll_config.h\n***Error: We don't handle more than one .hiof file yet\n          Only the last .hiof file in the list will be converted\n          hiof files found:\n              /media/sf_shared/loader/hps_isw_handoff/pcie_rp_ed_5csxfc6_hps_0/pcie_rp_ed_5csxfc6_hps_0\n(copy).hiof\n              /media/sf_shared/loader/hps_isw_handoff/pcie_rp_ed_5csxfc6_hps_0/pcie_rp_ed_5csxfc6_hps_0.hiof\nReading file: /media/sf_shared/loader/hps_isw_handoff/pcie_rp_ed_5csxfc6_hps_0/pcie_rp_ed_5csxfc6_hps_0\n(copy).hiof...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.Z11PmKjAMg/iocsr_config.h...\nTraceback (most recent call last):\n  File \"/home/intel/u-boot_C5PRJ/./tools/cv_bsp_generator/cv_bsp_generator.py\",\nline 100, in <module>\n    iocsr = iocsr.IOCSRGrokker(hps.getDeviceFamily(), inputDir,\noutputDir, hiof_file)\nAttributeError: 'IOCSRGrokker' object has no attribute 'IOCSRGrokker'\n[WARN] BSP generator failed!\n\nll ./board/altera/cyclone5-socdk/tmp.Z11PmKjAMg\nls: cannot access './board/altera/cyclone5-socdk/tmp.Z11PmKjAMg': No\nsuch file or directory\n<--- END QUOTE\n\nQUOTE--->\n  UPD     include/generated/timestamp_autogenerated.h\n[INFO] Using manually specified handoff folder:\n/media/sf_shared/loader/hps_isw_handoff/pcie_rp_ed_5csxfc6_hps_0\n[INFO] Found hiof file:\n/media/sf_shared/loader/hps_isw_handoff/pcie_rp_ed_5csxfc6_hps_0/pcie_rp_ed_5csxfc6_hps_0.hiof\n[INFO] Try BSP generator...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.TvQv88TcsZ/sdram_config.h...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.TvQv88TcsZ/pinmux_config.h...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.TvQv88TcsZ/pll_config.h\nReading file: /media/sf_shared/loader/hps_isw_handoff/pcie_rp_ed_5csxfc6_hps_0/pcie_rp_ed_5csxfc6_hps_0.hiof...\nGenerating file: ./board/altera/cyclone5-socdk/tmp.TvQv88TcsZ/iocsr_config.h...\n[INFO] Clean old BSP files...\nmv: target './board/altera/cyclone5-socdk/qts' is not a directory\n[INFO] SoCFPGA QTS handoff conversion complete.\n\nll ./board/altera/cyclone5-socdk/tmp.TvQv88TcsZ\nls: cannot access './board/altera/cyclone5-socdk/tmp.TvQv88TcsZ': No\nsuch file or directory\n<--- END QUOTE\n\nThanks,\nBrian\n\n>\n> Regards,\n> Simon","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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=HiMfBQ9N;\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=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"HiMfBQ9N\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=briansune@gmail.com"],"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 4g00tc55qHz1yD8\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 08:45:12 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id F0629842B7;\n\tTue, 21 Apr 2026 00:45:08 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 91CB4842CD; Tue, 21 Apr 2026 00:45:04 +0200 (CEST)","from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com\n [IPv6:2607:f8b0:4864:20::32e])\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 B203A842B7\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 00:45:01 +0200 (CEST)","by mail-ot1-x32e.google.com with SMTP id\n 46e09a7af769-7dcd689829eso284517a34.3\n for <u-boot@lists.denx.de>; Mon, 20 Apr 2026 15:45:01 -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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,T_SPF_TEMPERROR\n autolearn=no autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; t=1776725100; cv=none;\n d=google.com; s=arc-20240605;\n b=TyerrUmmcyAXmuyqqCx03mGoEqHOnJSULuNgmeDmb9WkpRMPNzDZffvsoPrYwqlE8s\n ZBUNuKsfEIA+1S/Hwm8rxLbKyxjCkyLlyhzs+28jObk+a8pkZnik569m6JdWYrsBpsm2\n +YZGtRwrQwRL0JENWlYtiZSGl4Kfrzsw3YWWAibcH5DeQJ4t71XuzCxio6E55IYLN0xg\n 2NET0LXD9KtNc7XP4BILCw3qCCRLU3UV4ecJnidK8Dk1kSDiqWZUzZlPeqmu+Vkxs6ss\n SuguvopLL9HuL45wfQjrTO/A2SdFXWzb8y2qR0Ptgea3MkJenguTPSwx+0bXcV+NR0lq\n 070w==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=pF2Ti9RMLGgaAQJvOA0j9LgZ32pPSYhyzyY8eMXxhm8=;\n fh=9r7S9p3VRn7IEaRdmSc0Ybs7HmGN7dtMxEobdXEs+bg=;\n b=EN0vCNAxwnxCTf8GGqBXDhdjW4XlVYW5nCzVPT0KE58Ngys2WmSoY0gz/6ONymlPkY\n jPGPgKMm9UIMh/KYcmgQ96L+04s6Enaul/f3AYQvavoW+v8NOlHzQCKhnV+Abs3nipE2\n rsEK5tUSl6swOZqt8D8su+CcSsY8G+t3u3cPCjWeeKzyZ4vRjdRZFTznP0kbvX0jmyAf\n SukCTJwNpxNu4xu0cuoIeaGYx01gKejzjVK0Z5njFhPljhZcwgO/VpaETWJnoKVeRXhH\n WOlaOirkKB/3VQGAM947XL3aq/Vq4qJuRfVyxk5pLHhaZM1a04AJB9SIzB6EolYzlgTH\n Vcbg==; darn=lists.denx.de","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776725100; x=1777329900; darn=lists.denx.de;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=pF2Ti9RMLGgaAQJvOA0j9LgZ32pPSYhyzyY8eMXxhm8=;\n b=HiMfBQ9N8+tNueRwNQm/t2ZpCcFC1/dvUTJYK1mn5i66xSL1JP4KPfGLbe7SUz63D5\n 3paKLCRHpz3xiyiOuRN8kVM1kGGqBawUih53AfWuhfsbR2W6w9lzz4ArmDpDfuttYd4G\n d1d/pWVv6TTMmqJ9DHWFpW24Sp1Z2RXYY/W0uA5yv3wAJO95+0LA8RsSfJWKpaQqc2M6\n Vjpvqxpod8ujao+IG0VPZA0WJnFIBi3WzqeFiVf0zld+BW42NonmvzLNJJ5q4dKBrw+z\n BQdpLU/iO7tvRVGTQpExbtXEhTcQctyQdSded2KsWujsFi53pIlYOp/D/kiEvouiH0KH\n YJpA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776725100; x=1777329900;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=pF2Ti9RMLGgaAQJvOA0j9LgZ32pPSYhyzyY8eMXxhm8=;\n b=Dosxc1tNkL2j3ihYz72E/8sZh9TPRKtb4+BrVcuxw7ow/mLtY+9IRTJGxZEsZs7E73\n GhKhFtVVW4GzxxtZeLP48HpF/K0ldjF0+KvAB5vchbG06CCznEQM+oSKHtwEzcdrtAFr\n aMbULigN2IJuTU5fe0aPGoxmMO70xGLd5AJLDKUTPhRYecqFnXn9b1rsr7yY0Vd1Sd9i\n BNa6UHGsfWVAboh0peKeH5MWeN5vO/cfwq8yd+LMasUFDFP1D2dH8BI8pZeYl96FkFvQ\n QjAXEK98qguCDe8tDRmIX03YBuP9cqN69W7wWOIsb6lsvpfIHgcuOnZFLssmn4NbD9AL\n baUw==","X-Gm-Message-State":"AOJu0YxwR3qUvSqYuzpri8J3MBRrUoWgzk1nNwYcpAmWTLaqMm+30pw9\n H9zypwfiv6J/QPvqAwXgOoTjjJF9J+o9UAlzRYvRkO0ecnCTB7R4/xZWpOdKzap2Pb3JXtjeI7i\n 6bDHr9b7iBM5CIRdlWBdaiJt2B6sL+yb/B+kocBY=","X-Gm-Gg":"AeBDieuLJeTYF+dTu4nM+wYjnUrJ4EmAw8zWqKiS+48sWeFwirOK0YyFOzjyp1NlKq6\n 5bf9Qht+Gw5fWwVvGy+oBHTGKlYdzAbjnqNzngrCew9kItvdbL0Uv864HdkpcdyaSqkToTKCp++\n 2/3MFQM4QjKSrSExbEmtQKtuIeNmLK7vFWckMyUNcSTgK6m42EFfrGu1sNsol6bwvcsiQwBjir1\n bCCaOrN/DvpPx8VFu5yt7EhSI/NBS85K4WMK/S+zg8qYyoBBAXEkMtrIbLZbHbjYqS5ox/nqywh\n ZqfhGx+FwwK+aZzKYw==","X-Received":"by 2002:a05:6830:82a4:b0:7d7:d504:cc6d with SMTP id\n 46e09a7af769-7dc9521cf45mr10557903a34.21.1776725100355; Mon, 20 Apr 2026\n 15:45:00 -0700 (PDT)","MIME-Version":"1.0","References":"<20260420074601.24988-1-briansune@gmail.com>\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>","In-Reply-To":"\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>","From":"Sune Brian <briansune@gmail.com>","Date":"Tue, 21 Apr 2026 06:44:47 +0800","X-Gm-Features":"AQROBzAL3g5wsE1Hy2V8dHhT3bXpd1q6DiksfAITN85lldQVglcoBmbvdNJEr9g","Message-ID":"\n <CAN7C2SA_kuXD8_5N38iazcRbRYzWXdp4MwMb4XE8gWggPgb-RQ@mail.gmail.com>","Subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","To":"Simon Glass <sjg@chromium.org>","Cc":"u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","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"}},{"id":3679627,"web_url":"http://patchwork.ozlabs.org/comment/3679627/","msgid":"<CAN7C2SCpBYi=c1kS7-aXL9Qf7wUq_ipcvQMSUSW9aYrQqUcAAg@mail.gmail.com>","list_archive_url":null,"date":"2026-04-20T23:12:27","subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","submitter":{"id":91590,"url":"http://patchwork.ozlabs.org/api/people/91590/","name":"Brian Sune","email":"briansune@gmail.com"},"content":"On Tue, Apr 21, 2026 at 3:32 AM Simon Glass <sjg@chromium.org> wrote:\n>\n> Hi Brian,\n>\n> On 2026-04-20T07:46:01, Brian Sune <briansune@gmail.com> wrote:\n> > Improve handosff prepare on SoCFPGA\n> >\n> > There are some cases that the Python scripts\n> > are run and the qts files are not replaced.\n> > Make sure qts folder h files are removed before\n> > handoff script runs.\n> >\n> > Signed-off-by: Brian Sune <briansune@gmail.com>\n> >\n> > arch/arm/mach-socfpga/config.mk | 29 ++++++++++++++++++++++++++---\n> >  1 file changed, 26 insertions(+), 3 deletions(-)\n>\n> Typo in commit message: \"handosff\" should be \"handoff\".\n>\n> > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > @@ -8,6 +8,8 @@ else ifeq ($(CONFIG_ARCH_SOCFPGA_ARRIA5),y)\n> > +HANDOFF_KEEP ?= 0\n>\n> > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > +             if [ -n \"$$HANDOFF_KEEP\" ]; then \\\n>\n> HANDOFF_KEEP defaults to \"0\", so -n \"0\" is always true. I suspect you want:\n>\n>     if [ \"$$HANDOFF_KEEP\" != \"0\" ]; then \\\n\nHi Simon,\n\nI think this is a misunderstanding.\nMy original idea is to use the HANDOFF_KEEP=(whatever is mistyped)\nto run the keep branch.\n\nWhile the absence of HANDOFF_KEEP(anything) will not keep.\nBut simply HANDOFF_KEEP will not work and need HANDOFF_KEEP=xxx.\n\nBecause the command >\n\"make prepare HANDOFF_KEEP=xxx\" is very distinctly long\nHANDOFF_KEEP=xxx so it must keep my thingy.\nEven if I mistyped =0 etc.\n\nAnd during the absence of HANDOFF_KEEP=xxxx\n\"make prepare \" immediately, see ok clean so it will not keep good.\n\nThat's my original thought.\nI think I should changed to:\nif [ -n \"$${HANDOFF_KEEP+x}\" ]; then \\\n\n\nNeed your comments on this.\n\nThanks,\nBrian\n\n>\n> Otherwise the 'preserve' path is always taken and the 'clean' path is dead code.\n>\n> You could also have an empty variable meaning don't keep.\n>\n> > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > +             trap 'rm -rf \"$$TEMP_DIR\"' EXIT;\n>\n> The trap is set after TEMP_DIR has already been used. If the python\n> script or mv fails partway through, the temporary directory won't be\n> cleaned up. You could move the trap to immediately after mktemp\n>\n> Regards,\n> Simon","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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=PfvbANvw;\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=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"PfvbANvw\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=briansune@gmail.com"],"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 4g01VX1mzXz1yHB\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 09:12:52 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id BECA2841C8;\n\tTue, 21 Apr 2026 01:12:43 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id E5D5B8422D; Tue, 21 Apr 2026 01:12:42 +0200 (CEST)","from mail-ot1-x331.google.com (mail-ot1-x331.google.com\n [IPv6:2607:f8b0: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 ADE0184198\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 01:12:40 +0200 (CEST)","by mail-ot1-x331.google.com with SMTP id\n 46e09a7af769-7dcd689829eso302031a34.3\n for <u-boot@lists.denx.de>; Mon, 20 Apr 2026 16:12:40 -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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; t=1776726759; cv=none;\n d=google.com; s=arc-20240605;\n b=GRhCoIYaltp7v8OdtrO8Ech0FLv08MLFPLoympbano4e0OPISxLlGRayLCDhzPAcfv\n 6+YmD/9XyTcsxvF5mq3CMi6t4HRdyz3Jp4LZ/swOfBDyLBtrLxXkH4EMd+CkS48n+k4R\n h0tmgY65MpjnQtgOSLJCmoISccwo1Cg99DRMzyPTeGkQAf+WEOyA/CvcdNf8v1AffavF\n r9x9xo/yymOFmSHzwb2aTOUFnNUv4/krgXo3zMJ6peQzK6TmccaABYUsGiFAnMon07/8\n h7oEoYAYWNxOUGcD7C7lz2HYk/5Q43d6bS8w+woNn8aPwocdBEVBYrzpQEghJwk2EpR4\n 4ETw==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=wr0D/hS+t7K216CMIBiFE+Onq/MZD3BFS4jUzL5BkIM=;\n fh=9r7S9p3VRn7IEaRdmSc0Ybs7HmGN7dtMxEobdXEs+bg=;\n b=SbP+eW0uDUKvuGpMGdJ1lWZo3pbGcPonz1jNrxZXiHUVuMfh3yNrt5QWCmjPGfqz4f\n zTzji0ySRTYUjtptYuuVWfjR03qPgXPSkHWLBLKiMKHjvR4nclimgaBAygkehtKm00iL\n cUPqbkeAEVOq33ubYnWRoAk2C4TPDbjrOyG8wIuIYAwqlSWUQM5jkCFxdgkUkkS8j3p4\n ytMORicptK/F1dVyOcqfOwj05k4+lINqAMOJnGFd+92plM1HZHONEwKql9AzNGTRkiPL\n BKS3r45zcuEaX51cmqb8dbONrfV0kv9iZaMkehFmh2vwcKqwpqgb17X2AsFW1qKaDw8f\n Bfbw==; darn=lists.denx.de","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776726759; x=1777331559; darn=lists.denx.de;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=wr0D/hS+t7K216CMIBiFE+Onq/MZD3BFS4jUzL5BkIM=;\n b=PfvbANvwdUULTDbouCW3h6v59Pio18RTVdgq6GhViuvP8YFGqTm9a2ojoRm1+kGJfq\n qfAww8QYgophOMP5+uV2c5bN4s23OsyC3Y4gEtvsUxWcRr8IZX6AY1TUe5hNMh36V96f\n iX5f9DrQA4hYCdoMlXvcSxR2BWv3b7+fMB1nwIqp4tIyKOE/p5cEs3A3K5cdsgSiU3/P\n MR+UW+2VPJ5WWDmJ+1+Rc4/ckzuhYGQwyd+A4nZX1Rr2roZfUx2DLTqFwuGV+++rat08\n tZmbooLZ7FbL9H2w3MI35yymR8XsZ+6lisKtX6N0latmS6iI1Wt3XJ0k24yxXN4hy+5E\n f4Wg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776726759; x=1777331559;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=wr0D/hS+t7K216CMIBiFE+Onq/MZD3BFS4jUzL5BkIM=;\n b=AHFHBpzdu8jkZ/z8U9rCgeadGbImbHa1rXBBmK+5038MyIf02/+diTeW79xa/ZkqN/\n c3CsJuE22eaEeDG2uWamCfaWGk8HmoszZuKB7pjGzl7y9YBAKLlWTXFPK+cAbzjn158A\n uyrBzCWnDmWNYO+5xxrlqWqScCIUEfykxB+mFNqEy921G2Wb/3nX39bm5vv/2AYZsWUm\n P1gVWFsBp9WLHUypY9qHMfqzszx1fp6kpzShs0Y2yYL63vuPMArP5WqK04WS5gi16sNw\n 5ohDTEBSEBOWgSlzG5UEdinyDThzs1CciNihCWDzQEca4XpoBEntNjghyNZCT6Um2Tom\n yVJQ==","X-Gm-Message-State":"AOJu0Yx34BvmLWgL/lnPcH54/3H1Spgwf5gS0Slv5D/Co5Q7hvrdadhm\n mQi6DqUy4ddDOBwp9kHejVRSM0CJ49+xQXcjFxLPKXNTzMlMgTUg3/8Jv621e2h1jJsK0y2aSDY\n VeIOXODYmEXaz2Qj/tvm5gFkG/V4A+PY=","X-Gm-Gg":"AeBDieuOwl3X5S+W30/Smm88icWiCadH4K0dKXEmAfqATZ2dVSy3SnfwooQL8GIYuu/\n GihzojFMH70Un1y9p/tIZtR1OFwJ9m8VA7gjsxADSQSGahdL0TILDDGXBTk0hIoT3F/Jl0U5N5B\n mdAF3oC3YK7IPRjvlDGN0jqGFH5lhdm4W8vBACtLPnVJugBydEUopcds8qJ7gBTNFA3qDOKKool\n rCrpct+aGpp2xax326SdodDs30uPJf/xdy4EV426ZYMIJAO/frmRnZlhFhdxdLGn3f0kOZhTZcd\n kiLksznZ2gB7+JYksHao1Cvks0z/","X-Received":"by 2002:a05:6830:2815:b0:7d7:cc49:9ad6 with SMTP id\n 46e09a7af769-7dc9521ca77mr10311779a34.22.1776726759387; Mon, 20 Apr 2026\n 16:12:39 -0700 (PDT)","MIME-Version":"1.0","References":"<20260420074601.24988-1-briansune@gmail.com>\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>","In-Reply-To":"\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>","From":"Sune Brian <briansune@gmail.com>","Date":"Tue, 21 Apr 2026 07:12:27 +0800","X-Gm-Features":"AQROBzBRHLAo1WyxvvVb_x45QDn1GJRIR1sSIG-9IFwZlT-hMVKr7oq30lDCyFw","Message-ID":"\n <CAN7C2SCpBYi=c1kS7-aXL9Qf7wUq_ipcvQMSUSW9aYrQqUcAAg@mail.gmail.com>","Subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","To":"Simon Glass <sjg@chromium.org>","Cc":"u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","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"}},{"id":3680096,"web_url":"http://patchwork.ozlabs.org/comment/3680096/","msgid":"<CAFLszTiiv-os+sK+g+E7zUHqZVj79Pf9bUx6G2LczmgwUXXozQ@mail.gmail.com>","list_archive_url":null,"date":"2026-04-21T22:38:59","subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Brian,\n\nOn Tue, 21 Apr 2026 at 11:12, Sune Brian <briansune@gmail.com> wrote:\n>\n> On Tue, Apr 21, 2026 at 3:32 AM Simon Glass <sjg@chromium.org> wrote:\n> >\n> > Hi Brian,\n> >\n> > On 2026-04-20T07:46:01, Brian Sune <briansune@gmail.com> wrote:\n> > > Improve handosff prepare on SoCFPGA\n> > >\n> > > There are some cases that the Python scripts\n> > > are run and the qts files are not replaced.\n> > > Make sure qts folder h files are removed before\n> > > handoff script runs.\n> > >\n> > > Signed-off-by: Brian Sune <briansune@gmail.com>\n> > >\n> > > arch/arm/mach-socfpga/config.mk | 29 ++++++++++++++++++++++++++---\n> > >  1 file changed, 26 insertions(+), 3 deletions(-)\n> >\n> > Typo in commit message: \"handosff\" should be \"handoff\".\n> >\n> > > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > > @@ -8,6 +8,8 @@ else ifeq ($(CONFIG_ARCH_SOCFPGA_ARRIA5),y)\n> > > +HANDOFF_KEEP ?= 0\n> >\n> > > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > > +             if [ -n \"$$HANDOFF_KEEP\" ]; then \\\n> >\n> > HANDOFF_KEEP defaults to \"0\", so -n \"0\" is always true. I suspect you want:\n> >\n> >     if [ \"$$HANDOFF_KEEP\" != \"0\" ]; then \\\n>\n> Hi Simon,\n>\n> I think this is a misunderstanding.\n> My original idea is to use the HANDOFF_KEEP=(whatever is mistyped)\n> to run the keep branch.\n>\n> While the absence of HANDOFF_KEEP(anything) will not keep.\n> But simply HANDOFF_KEEP will not work and need HANDOFF_KEEP=xxx.\n\nI'd suggest either dropping the assignment to '0', since someone\nreading the Makefile will reasonably expect the shell to see it as\n'off'.\n\nIn any case, how about a comment above to explain what the argument is\nfor and what it does?\n\n>\n> Because the command >\n> \"make prepare HANDOFF_KEEP=xxx\" is very distinctly long\n> HANDOFF_KEEP=xxx so it must keep my thingy.\n> Even if I mistyped =0 etc.\n>\n> And during the absence of HANDOFF_KEEP=xxxx\n> \"make prepare \" immediately, see ok clean so it will not keep good.\n>\n> That's my original thought.\n> I think I should changed to:\n> if [ -n \"$${HANDOFF_KEEP+x}\" ]; then \\\n>\n>\n> Need your comments on this.\n>\n> Thanks,\n> Brian\n>\n> >\n> > Otherwise the 'preserve' path is always taken and the 'clean' path is dead code.\n> >\n> > You could also have an empty variable meaning don't keep.\n> >\n> > > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > > +             trap 'rm -rf \"$$TEMP_DIR\"' EXIT;\n> >\n> > The trap is set after TEMP_DIR has already been used. If the python\n> > script or mv fails partway through, the temporary directory won't be\n> > cleaned up. You could move the trap to immediately after mktemp\n\nOK I had that wrong. If someone presses Ctrl-C while Python is running\nit would not clean up, but that's a minor issue...\n\nPlease note that you should add a change log for version 2, 3, etc. -\nsee here for details:\n\nhttps://docs.u-boot.org/en/latest/develop/sending_patches.html\n\nRegards,\nSimon","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=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=X7C91BId;\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=pass (p=none dis=none) header.from=chromium.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=chromium.org header.i=@chromium.org\n header.b=\"X7C91BId\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"],"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 4g0cjL5PBBz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 08:39:18 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id EDD60839D5;\n\tWed, 22 Apr 2026 00:39:15 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id DFB9683AC5; Wed, 22 Apr 2026 00:39:13 +0200 (CEST)","from mail-ej1-x635.google.com (mail-ej1-x635.google.com\n [IPv6:2a00:1450:4864:20::635])\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 39C2583936\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 00:39:11 +0200 (CEST)","by mail-ej1-x635.google.com with SMTP id\n a640c23a62f3a-baa8c78ac7fso92363966b.0\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 15:39:11 -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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; t=1776811150; cv=none;\n d=google.com; s=arc-20240605;\n b=XWYoNfelZyFmTXUCHppmmepMyO5OBFsHTbFGVUBiXQ6xoNrSN58uP8aLmm/tn4Ordn\n pA2wC3Z6d8FCVj44FILsMtXOXPJgKfmy3fVo820OMVw50kinoL4xKbH3BxVZ9IWVGT9D\n usIIy/Obn0r6xxTmnfLaYCbfmD8668IhE4oVzXPx+iqwIaLxNvLEO+7Tqwy7EN8H4014\n ME0yPYipt/RfqQbz8hLio7eoKw8RguHBDD+9jkTfOqsCGFJYpGwAZilGxciWprnMCQmI\n UOEc4Qn3MhM4get+rFXlLNFSawRiA9fE5EjR/F5YiVjRPT+OYh2GilPh7uWMh0wn9kf0\n Y/7w==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=zLOUGE2QRKI+OG/IeM8L0UEgxuhCTDgzWs2ugAq3b1I=;\n fh=EThWCHGHt343PXesa/4+4ZO1y/ssTtINZWn/LindcxU=;\n b=MGs4w6qpoFon+N44gQy+gF1KO1Avp8b0c7f/yqTXf6/6FoqenoE3IaiDgqNjo2GtRH\n 7185OJt0VtQxWoHNC1VJL4CJW8lN19DjtZw8Aljs74GknDXiUwOZABHeYHUCr24RYnfL\n mbX0sJUtnxl85rOTGIr+Rxy99sZgUI24ZqQxsVAdJrWGJiL88egGXIeV3Hw5IHbXPDIf\n 7xEIXACP70zoD/pfn2aKovz3TnSP+143XshAEmjZavJS8tGirFmO8JV30/2HmCBX0WPZ\n mdRMklddL7nHgPMwxQZQc8PTDt57kJ0g9RplY9fWj4KJu4VBExTtziAUNvd4kECH+iC3\n Ljtw==; darn=lists.denx.de","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1776811150; x=1777415950; darn=lists.denx.de;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=zLOUGE2QRKI+OG/IeM8L0UEgxuhCTDgzWs2ugAq3b1I=;\n b=X7C91BIdH5kHuS4BXvB97m9LyxvKUoy28ymk//JkliN1JzwJLEquTkUhxhFmVvio0k\n aFoDt2io8f8fMbIN5hJDk8XDiECpyxvSS542ODLKyQp7ZHJr6enL17FX4yw40LTENMYS\n CrfhwMnQj5jA85gfYr3ghqz+6L3c7+8vQx/G8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776811150; x=1777415950;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=zLOUGE2QRKI+OG/IeM8L0UEgxuhCTDgzWs2ugAq3b1I=;\n b=pVF2rEa3JEpKt3lLgTo9vEFvc00qqleX5KmTbPS8E7qIknEYf8QRARVt+gShRNZ/+O\n /qiMn7c4l2YE/Oc4GDLwo8TwL80XVYD62pekzi4e5kvrjuh42meII6dwtdcuB5+RzMPE\n QwmH8mF1NJFQ/zR8V2/wrD1nA9mpDxEI92Q4hK+TCQkDv4bRuFKUjHzy30VfJ71ccy/H\n ASvwTs40CK/606/9fOK+nXWIZovGV8RgTw7dpqjCafEYzWYddd4sx9qyytA98kntZAHB\n U5pOQ/hDnN9NJVnjjAub5z4vmkH0z4YzdatbYXoVv5cl324Sunm1a8QdsNDewNIzG1cI\n 3prg==","X-Gm-Message-State":"AOJu0Yys2rzOOHB1Y/wmVHKKJh9ZSe2BQFcnYsJFJcxsh1cDg0fwnMOr\n X4usIvgLcYdDrLCueowGF8O9sIvqACDJ7Tz9g2n3a3TxLsUHyBKw4NL0nZN98z8EFI95mt5kEdY\n vk6BzZyouzir87mrELawNfhcvnOAud28wQFZLVPvNF9s46BQ3MLSOSmm+","X-Gm-Gg":"AeBDies3/FR6O1pPQ6lKYvYr/B2qVnlvsOP0eDYCBdk2mVQ29UZLxn9TmzCmbRmJ340\n acasSVJ98s+PsVkw3gs1so873P2MDm46qIbz5xJRQcYaiz8yio5/Mnp5Yz+RsafkgfuxA+m0FlE\n xVGC8tKWkfmj7Pdez4rkUQ3fmBOus5j00WRzZuevsLWvTZMovDMCeFtwZH1+x56euFEICYf+Rz2\n QBIZ3lGS3iKiNtVCJ8PJALnTl/jp8nQO1G+cX7U5iP9dvAWGgB5120rP1x8BrdnHIpNIhfRV2iD\n EIXgft2K6Nyj/oNocnxg","X-Received":"by 2002:a17:907:72c6:b0:ba6:1412:9339 with SMTP id\n a640c23a62f3a-ba6141295bfmr667704166b.20.1776811150566; Tue, 21 Apr 2026\n 15:39:10 -0700 (PDT)","MIME-Version":"1.0","References":"<20260420074601.24988-1-briansune@gmail.com>\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>\n <CAN7C2SCpBYi=c1kS7-aXL9Qf7wUq_ipcvQMSUSW9aYrQqUcAAg@mail.gmail.com>","In-Reply-To":"\n <CAN7C2SCpBYi=c1kS7-aXL9Qf7wUq_ipcvQMSUSW9aYrQqUcAAg@mail.gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Wed, 22 Apr 2026 10:38:59 +1200","X-Gm-Features":"AQROBzCMduKTvQ_WO7N69qiDMPyxkayubhPaUeSLBbfMWz_3YPnL4rXcRxrEqLA","Message-ID":"\n <CAFLszTiiv-os+sK+g+E7zUHqZVj79Pf9bUx6G2LczmgwUXXozQ@mail.gmail.com>","Subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","To":"Sune Brian <briansune@gmail.com>","Cc":"u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","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"}},{"id":3680127,"web_url":"http://patchwork.ozlabs.org/comment/3680127/","msgid":"<CAN7C2SDXJHo8Qo4VjjqMR-4fjHmpSphPjT=j0FhiSPwcZonoRQ@mail.gmail.com>","list_archive_url":null,"date":"2026-04-21T23:17:08","subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","submitter":{"id":91590,"url":"http://patchwork.ozlabs.org/api/people/91590/","name":"Brian Sune","email":"briansune@gmail.com"},"content":"On Wed, Apr 22, 2026 at 6:39 AM Simon Glass <sjg@chromium.org> wrote:\n>\n> Hi Brian,\n>\n> On Tue, 21 Apr 2026 at 11:12, Sune Brian <briansune@gmail.com> wrote:\n> >\n> > On Tue, Apr 21, 2026 at 3:32 AM Simon Glass <sjg@chromium.org> wrote:\n> > >\n> > > Hi Brian,\n> > >\n> > > On 2026-04-20T07:46:01, Brian Sune <briansune@gmail.com> wrote:\n> > > > Improve handosff prepare on SoCFPGA\n> > > >\n> > > > There are some cases that the Python scripts\n> > > > are run and the qts files are not replaced.\n> > > > Make sure qts folder h files are removed before\n> > > > handoff script runs.\n> > > >\n> > > > Signed-off-by: Brian Sune <briansune@gmail.com>\n> > > >\n> > > > arch/arm/mach-socfpga/config.mk | 29 ++++++++++++++++++++++++++---\n> > > >  1 file changed, 26 insertions(+), 3 deletions(-)\n> > >\n> > > Typo in commit message: \"handosff\" should be \"handoff\".\n> > >\n> > > > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > > > @@ -8,6 +8,8 @@ else ifeq ($(CONFIG_ARCH_SOCFPGA_ARRIA5),y)\n> > > > +HANDOFF_KEEP ?= 0\n> > >\n> > > > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > > > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > > > +             if [ -n \"$$HANDOFF_KEEP\" ]; then \\\n> > >\n> > > HANDOFF_KEEP defaults to \"0\", so -n \"0\" is always true. I suspect you want:\n> > >\n> > >     if [ \"$$HANDOFF_KEEP\" != \"0\" ]; then \\\n> >\n> > Hi Simon,\n> >\n> > I think this is a misunderstanding.\n> > My original idea is to use the HANDOFF_KEEP=(whatever is mistyped)\n> > to run the keep branch.\n> >\n> > While the absence of HANDOFF_KEEP(anything) will not keep.\n> > But simply HANDOFF_KEEP will not work and need HANDOFF_KEEP=xxx.\n>\n\nHi Simon,\n\n> I'd suggest either dropping the assignment to '0', since someone\n> reading the Makefile will reasonably expect the shell to see it as\n> 'off'.\n>\n\nYes indeed so I had pushed patch v4 and fixed what you suggested with\nmy inheritance idea.\n\n> In any case, how about a comment above to explain what the argument is\n> for and what it does?\n\nI guess patch v4 has no issue self explaining the check condition has\nundergone those expected logic cases and exists HANDOFF_KEEP.\n\nSo v4 simply:\nHANDOFF_KEEP= <- keep\nHANDOFF_KEEP=0 <- no keep\nHANDOFF_KEEP=1 <- keep\nHANDOFF_KEEP='0' <- no keep\nHANDOFF_KEEP='1' <- keep\netc.\n\nThanks,\nBrian\n\n>\n> >\n> > Because the command >\n> > \"make prepare HANDOFF_KEEP=xxx\" is very distinctly long\n> > HANDOFF_KEEP=xxx so it must keep my thingy.\n> > Even if I mistyped =0 etc.\n> >\n> > And during the absence of HANDOFF_KEEP=xxxx\n> > \"make prepare \" immediately, see ok clean so it will not keep good.\n> >\n> > That's my original thought.\n> > I think I should changed to:\n> > if [ -n \"$${HANDOFF_KEEP+x}\" ]; then \\\n> >\n> >\n> > Need your comments on this.\n> >\n> > Thanks,\n> > Brian\n> >\n> > >\n> > > Otherwise the 'preserve' path is always taken and the 'clean' path is dead code.\n> > >\n> > > You could also have an empty variable meaning don't keep.\n> > >\n> > > > diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk\n> > > > @@ -43,6 +45,27 @@ socfpga_g5_handoff_prepare:\n> > > > +             trap 'rm -rf \"$$TEMP_DIR\"' EXIT;\n> > >\n> > > The trap is set after TEMP_DIR has already been used. If the python\n> > > script or mv fails partway through, the temporary directory won't be\n> > > cleaned up. You could move the trap to immediately after mktemp\n>\n> OK I had that wrong. If someone presses Ctrl-C while Python is running\n> it would not clean up, but that's a minor issue...\n>\n> Please note that you should add a change log for version 2, 3, etc. -\n> see here for details:\n>\n> https://docs.u-boot.org/en/latest/develop/sending_patches.html\n>\n> Regards,\n> Simon","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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Hv2C3tff;\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=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"Hv2C3tff\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=briansune@gmail.com"],"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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0dYP0LStz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 09:17:28 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A72F283BC8;\n\tWed, 22 Apr 2026 01:17:24 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 74FFA83E76; Wed, 22 Apr 2026 01:17:23 +0200 (CEST)","from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com\n [IPv6:2607:f8b0:4864:20::22d])\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 ECDB78352B\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 01:17:20 +0200 (CEST)","by mail-oi1-x22d.google.com with SMTP id\n 5614622812f47-4645dde00a7so4198732b6e.1\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 16:17:20 -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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; t=1776813440; cv=none;\n d=google.com; s=arc-20240605;\n b=bDRcud1HWR07sN8egGmex4FrG56euxcdDtmfTPNemjepVIXYmJsaAPeAhmxwwyDF6k\n 3dOPtde/Eexhu83bhsud6x+oOzNELbzPCYiKQo2CEr8EXmR/yHbofCmcpVl5CxgME/UJ\n L1+LspF6uYMgZuq/VqZzBV9Ldpz8RH183YDSoqIVOjKgSkrBBB7IHA3Qopt2mzAdn3pO\n q/32xlNc28Von6Vv0zw1NjB8Py/k7F3hTulvFePzjHw/lUnY/cu3py4OTclaMlsmyjgH\n faNOw4Bpmy3/fcru+DCNOWiPOH7UILWmEZIQHhDZRX+a7A6Wvl0j0Exmj7i43bUxSUQh\n gX3Q==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=GfycQJizhuCHP/MtDNtsawci07Do07r6CE4RXexZIzM=;\n fh=9r7S9p3VRn7IEaRdmSc0Ybs7HmGN7dtMxEobdXEs+bg=;\n b=QFUKsL8odfCaBEQJn+BGK+aHEJ59OBno2oBtm25r5tVZYsKjSuKC8cfp6cSt6WE7rH\n vcsH5TQRP6Xpd2pwrfUQ1ybRvn2Vlyzxpc+8EP9BJyXRvCUfeeXWOJVm4TdH0e5R2kUf\n 83YAo9EVo21h3jJTK1pWUSmqbg4U0tdsqXKjD7e1fha65O3leByorpg/hiKkg2p60d4V\n LXTUKJhYYlovgJzESvdcW2+d50+ZxJmBYyZCza+1yyX/Rz0zOO1z0NVB8nujPnIlQ1gC\n IgyfnYfY6w37IvCbI0lULP1TJdT56QSw0m1UZ6jpn9r0bItXzFKnxf688dHwT98AFtOU\n Gxbw==; darn=lists.denx.de","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776813440; x=1777418240; darn=lists.denx.de;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=GfycQJizhuCHP/MtDNtsawci07Do07r6CE4RXexZIzM=;\n b=Hv2C3tffZPsrBDmIRyZEdjSL1iPdp6p4bhd5xElEdZ1PfTz1N0RCSk04jEclZQyf2s\n UtDSNdFaU+bjDM3ppQay26gHCwRjdtm7q+w08ShvCfJeZi/4ueQCCS1j7mFzom8zQZ9t\n 4t7MaduvCUI6o+bjHpZMFpm8T6d/FGJD+ZIDz9IO1TtbmMlowY/CUqZVx7GXFPHm/ajY\n cGcVo66H6vsA4tVywHYkqFhqwHrAlzfuk+VrEDQJQX6msDD9Ebeblwdxh8BHsaIGwxq2\n I+BL475X91I7ZICCkTuP24fKc7WIMuRODhc9CPqEafMSXP89MZxe4pm6LirQ1oYGcQlP\n +vAQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776813440; x=1777418240;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=GfycQJizhuCHP/MtDNtsawci07Do07r6CE4RXexZIzM=;\n b=tCQfWfraUxANq452vSQ/J5O1oD6+0n7MCqJiMnWop3dAgMphUFzzp/i8+mZKhu2w5H\n KZSaijP65YF0vBmFg6m+vPYh5YsyvJP/HcG1IAAm5SthPUo6YOHonnjj5E7iwoOUH+pS\n uhgrc2M9XuLKTclF9+yqT3b5w6q2c9fOhmV8Y4dhUT5VwTh7FTPhNAdfn+Sonc+ZHpy4\n pxKj35ArdjZ3S2OYVuNx/7VcUnB+Ca2qp5U0G95TU1dzSFwX4Vi0X2i+Vuhmk2n+uxgA\n KEW0byqNzqS8NxIR4Iz78T/mUg0RURaHrncCKQybFhJbJw8fQEKrCB5p6H1hT/kGkUMV\n ptjg==","X-Gm-Message-State":"AOJu0YwF+d7pg4amBuTPDiL9MsI7uc6fkdBmQX41GeqwkrbE7QF/cGyx\n d4wtvLZN5bcg2+EDYCq4vsTC26egpl49Tst88BCNLfe5cBELKqlGXySUE6g9TWKmrzuXvrKqC8l\n bSx6ZQvwVFHsolzncgE95Q8SQnEQeZNFEyKu3YgGzOQ==","X-Gm-Gg":"AeBDieugq9g2T8rK3H32XqDS8yKdAxcb1w9DqrGydJP6FUhoUXHgP/hpkP1qX8SYlq9\n EL8LBxXIRPBhMYGvL4DP9JOg7JjuoaNHlSwhetTsv/8JfgMTqDXo8sn9KmjNxGXRrtOG5SU44WC\n +tfMgfsrEM/RM+bAUJ1WGvZ+6SKzVbI1VsmjLOpiTf0XH96AzFxusv4oaHdGtEJird5dw1s1nNk\n 7hB0oeZ9emCBPG9LYG8+BbEo2XcImOyzI1oCsEKjogInWjHt0iV9RFgnO3E8Jz5JUuv/3oM8a7r\n K5sSGGGKSWZML4y0ZA==","X-Received":"by 2002:a05:6808:1449:b0:470:d1f:de69 with SMTP id\n 5614622812f47-4799bfdf093mr8808072b6e.26.1776813439621; Tue, 21 Apr 2026\n 16:17:19 -0700 (PDT)","MIME-Version":"1.0","References":"<20260420074601.24988-1-briansune@gmail.com>\n <CAFLszThRNhVTMRpVPySFSComEhL_s0a1wY1BVnKKtV+K6OXnEQ@mail.gmail.com>\n <CAN7C2SCpBYi=c1kS7-aXL9Qf7wUq_ipcvQMSUSW9aYrQqUcAAg@mail.gmail.com>\n <CAFLszTiiv-os+sK+g+E7zUHqZVj79Pf9bUx6G2LczmgwUXXozQ@mail.gmail.com>","In-Reply-To":"\n <CAFLszTiiv-os+sK+g+E7zUHqZVj79Pf9bUx6G2LczmgwUXXozQ@mail.gmail.com>","From":"Sune Brian <briansune@gmail.com>","Date":"Wed, 22 Apr 2026 07:17:08 +0800","X-Gm-Features":"AQROBzDLBOfCvCyF3VQjifNWhuHp38sVyvkTqsZbuOytaCsW1OFeH_lA1n734og","Message-ID":"\n <CAN7C2SDXJHo8Qo4VjjqMR-4fjHmpSphPjT=j0FhiSPwcZonoRQ@mail.gmail.com>","Subject":"Re: [PATCH v3] Improve handosff prepare on SoCFPGA","To":"Simon Glass <sjg@chromium.org>","Cc":"u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","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"}}]