From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 11 Apr 2025 12:13:42 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f55.google.com (mail-wr1-f55.google.com [209.85.221.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 53BADfT6017012 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 11 Apr 2025 12:13:42 +0200 Received: by mail-wr1-f55.google.com with SMTP id ffacd0b85a97d-39141ffa913sf1028957f8f.2 for ; Fri, 11 Apr 2025 03:13:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1744366416; cv=pass; d=google.com; s=arc-20240605; b=E5PZrOPDSqzlQ+AkAIZ4VDKr7JCPqZSHdlXUR6b8mfYl/BgSRgNX3h+54tYNUKS72L Fnfq1GyxUUMVwhJyKI9G5/VqTmMZqMiHGqb2GdknV0CBfav3YOTSr0v0Ld9TaDn8l3BE 2S/TEFVrMa9aL7e8VOZRVPjI+HUEu7EgDpOURkTLedQcCy9fEr5/+S4BWS2fJTlwxG72 +8kLKTIA2acBACmnJqGgQeWWMwkNW5CKInP1uL1WS72wUgnxSP+wrPAcFt2yzRcCMjrb VZYC4Zrw79G42SIB6rJlqbuWVYNLrLhzptvUijJjBP/D+fhuNbH4iI+QUCKrUxAXSmSe F7jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=BTKnT1tjpGC1b4ZtzEuGl94HqwPyYBM6R/A+F41utBk=; fh=/T1F2BnfLwxJ9eG8ZbaJoUxYKUZN5xmPtqacc34XbPw=; b=XSRNvegQ7WavE+QmhLSn/C7/gL5WnRZPpSjCvi+Xbs73Mne/8ryPUET+wVeRK53FXy DuCAlyYK/i4QYZ4uUgZAlAZcpSHK0dEsENpw/UozxTg45uzpLIJiYT5kGXF0Jh5y35O5 oS7WKvm7rzgZkEQYi1Xx/8cyZpFFqoro6J8x8/m7sOvNLbe3S3yKGoqsdutS+e0MqhCE x6so4HTAhN4cTRsnT+vLWQ6PVAw4W14mKYfrEdg+krqEI625ipJgtYgyKXCCEAp14ZrB FnoQa/p/fKlGj6L90Ix+wpxUcyfa5FUJfaZeJZsC1aEYz2W8T+92RIe7nE7f99F87AGm nsag==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1744366416; x=1744971216; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=BTKnT1tjpGC1b4ZtzEuGl94HqwPyYBM6R/A+F41utBk=; b=QDsX9SF3e2ZC9sf1691e4ZgIHKyGeuKUSUXyg4GbcEnWV5pnoxW7nHJD4RMQRLOIZM AScUJQuCB5EIwtBMsCMm+rKyrV5HQAFY6iztuC8i7IFrI3SQKFSKBvxItMy2Uh3kkkxD VeGrxC7NHncd2TEgM2b0EoRmAEl8MxPVSEKgl9/1+bHxG6m7F3AGGLXcv0Y0JlRzaImt Vp3rgw5b5gqM0rNSNXOwoEekKhJ4bXjUBfsp+m0MHb20+MKDU7aph/5NTwD+hFGFmgAC vigNZJdggKiGI+IZSS35tgPiLjBansevYzLL5QXoJj/qRgCDZRR2HfAPB+NuOCcyRFc4 NHSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744366416; x=1744971216; h=list-unsubscribe:list-subscribe: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 :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:to:from:subject:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=BTKnT1tjpGC1b4ZtzEuGl94HqwPyYBM6R/A+F41utBk=; b=IEw/KOuPKsthuc+wJyRkWcPV6N3WuE5RU58bla/XSY6HHURpiIJ842AsrubnluSc0E vbeN0NSv1pXfaCu0doCC4+476fWccgOM8RU5BoQWzdWD/mk70ZUhBaf0Sqv1ZshyfYOc AY8OF29UT2CDqigoOt2kesXf2vbkkoO5f3moSvTrivlh1bVQnNa2cfHCJOWHA4zWbxOY CHYUVLzpTXgA9e3ZhrvUmCIxD5wS+RpTuzYLsHSJ9B7RvkKSjgmm5udQy/qtN7lVQ1HF yOGtdRO8QifY9zBhllI0w0g4wt48W7to4R4enwGeqhWIiCP/TDxZFmvzb4MCb+marwvV mY/g== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUSndDv+hRD9WFPlWoV1US8zoGI+CIHy6uQvV6Qb+C2pkyDbq11yKZMc/4YaXrWxzs4TSkx@ilbers.de X-Gm-Message-State: AOJu0YymchYfTduHnTqeVxmMWJ1BD2xvkAtbhDzDFZc9IUFDdu0AoXTe Zg2GJwUmKi08J0jTxusJWvBh6dU8LAzO6bxai4BFIRnqaFQm5tFt X-Google-Smtp-Source: AGHT+IFWgWAN5BHbt16ef23rp6Hv8elOyLMj/bQhV40j/5UABDjDtru5xbFKKgJAEIRqQni0UgVJ9w== X-Received: by 2002:a05:6000:2210:b0:390:ee01:68fa with SMTP id ffacd0b85a97d-39ea52169e6mr1770163f8f.24.1744366415464; Fri, 11 Apr 2025 03:13:35 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=ARLLPALn07jqq9FA/5hkG39DFjCHIIopBa73XeyUIeFQbHk4CA== Received: by 2002:a05:600c:1913:b0:43e:ad2b:6916 with SMTP id 5b1f17b1804b1-43f2c24edf0ls5731075e9.0.-pod-prod-07-eu; Fri, 11 Apr 2025 03:13:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWuokmOPFzOTsP4U9BQstKJNIYF7GZhXgc3eMFol7YxESZifq8//XEZpdcdd/lBu1QqN2LQPgs+/dNW@googlegroups.com X-Received: by 2002:a05:600c:4f10:b0:43d:878c:7c40 with SMTP id 5b1f17b1804b1-43f3a94c657mr23169115e9.10.1744366412598; Fri, 11 Apr 2025 03:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744366412; cv=none; d=google.com; s=arc-20240605; b=lOJRnuC724A/h5WUbPEd6fmrneqa2eRdyu0V01/C6qBYGBMTgjQNEmSglmYhEWqLhw 4/F3eMfbDNB9j0JYKQ5LcCJwuCAD1pzujIGPG/92OPNc1iQ59aNFFLTOQ1PCdtKXyBys FiiGHkyK8RnnuPlu5vPFr1o197kEBmr9+I6GtSIEVSTo5w4YgUKo8R6SwZ29jb0sQ4eb pdyHbOWS0QmSlx1PeHYu9CYMST6eUvTeu4WLZT5fwbU3T2V5mF8DiyV3hh61QrRSdZaE WE4B0Qk0A9QhgWXgNR9wg03Yb9TvPLbEFFZ9lpRM4tdJHraNBkoRY7NRv7aaSNnwjeGm XmSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=3F8GulUdqolH1y/ci/ayxXWXf9sgJShwxmtZZxzfcuI=; fh=O+ZMFUiiuyZKsfz7Fw8hsdknZlxcSFSsLsCydBEGD0o=; b=RUUq0A7pPICa2HGkaITvxFwJZnddT4ZXDdc28jzV0uNCsHJ7b8lXT3+3EuxNFYh79v PqVVDJ8UXyV08TFnh5iusVjLukynlQ8XP3nYa7HM6v8vTc7GgMYzLEBcrpYji6h7/APp sIQ4I67C8xFEWkFu+4OwX2CzMQ/2aL8SL7D3B1ygXOsd3gee7i3xd7Orpu6YyUMh8y5E 63cqt6+B6S+Em+ToyCBVL9SO5X8GkEf/9mQcGRb2dHrE7Kwnv8WSzbOsrHtaWkOVvWSs kaXWAR7y6tuQkVLa74oPxV6fMtPkn8RCO241rSPtIGDwlByL/7EFNi2SgnEPQROR8Uca QDgg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-43f20a82897si257075e9.1.2025.04.11.03.13.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Apr 2025 03:13:32 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 53BADTHK017002 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Apr 2025 12:13:30 +0200 Message-ID: <851cbbc579a026494337310b34a228000276bc8d.camel@ilbers.de> Subject: Re: [PATCH 1/2] u-boot-starfive-visionfive2: Fix build with swig 4.3.0 From: Uladzimir Bely To: Jan Kiszka , isar-users@googlegroups.com Date: Fri, 11 Apr 2025 13:13:29 +0300 In-Reply-To: <660543a4-cb15-4e11-b7d3-842e9cea3ac6@siemens.com> References: <20250408113630.4460-1-ubely@ilbers.de> <20250408113630.4460-2-ubely@ilbers.de> <660543a4-cb15-4e11-b7d3-842e9cea3ac6@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.0 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: 70V9jGF6ei7Z On Fri, 2025-04-11 at 10:11 +0200, Jan Kiszka wrote: > On 11.04.25 00:51, Uladzimir Bely wrote: > > On Wed, 2025-04-09 at 16:06 +0200, Jan Kiszka wrote: > > > On 08.04.25 13:33, Uladzimir Bely wrote: > > > > Fixes u-boot build failure on newer trixie that got updated > > > > swig- > > > > 4.3.0 > > > > some time ago. > > > >=20 > > > > ``` > > > > scripts/dtc/pylibfdt/libfdt_wrap.c: In function > > > > =E2=80=98_wrap_fdt_next_node=E2=80=99: > > > > scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few > > > > arguments > > > > =C2=A0=C2=A0=C2=A0 to function =E2=80=98SWIG_Python_AppendOutput=E2= =80=99 > > > > =C2=A05581 |=C2=A0=C2=A0=C2=A0=C2=A0 resultobj =3D SWIG_Python_Appe= ndOutput(resultobj, > > > > val); > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~= ~~~~~~~~~~~~~ > > > > ``` > > > > --- > > > > =C2=A0...bfdt-libfdt.i_shipped-Use-SWIG_Appen.patch | 60 > > > > +++++++++++++++++++ > > > > =C2=A0.../u-boot-starfive-visionfive2_2024.01.bb=C2=A0=C2=A0=C2=A0 = |=C2=A0 1 + > > > > =C2=A02 files changed, 61 insertions(+) > > > > =C2=A0create mode 100644 meta-isar/recipes-bsp/u-boot/files/0001- > > > > scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch > > > >=20 > > > > diff --git a/meta-isar/recipes-bsp/u-boot/files/0001-scripts- > > > > dtc- > > > > pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch b/meta- > > > > isar/recipes- > > > > bsp/u-boot/files/0001-scripts-dtc-pylibfdt-libfdt.i_shipped- > > > > Use- > > > > SWIG_Appen.patch > > > > new file mode 100644 > > > > index 00000000..d919eb68 > > > > --- /dev/null > > > > +++ b/meta-isar/recipes-bsp/u-boot/files/0001-scripts-dtc- > > > > pylibfdt- > > > > libfdt.i_shipped-Use-SWIG_Appen.patch > > > > @@ -0,0 +1,60 @@ > > > > +From a63456b9191fae2fe49f4b121e025792022e3950 Mon Sep 17 > > > > 00:00:00 > > > > 2001 > > > > +From: Markus Volk > > > > +Date: Wed, 30 Oct 2024 06:07:16 +0100 > > > > +Subject: [PATCH] scripts/dtc/pylibfdt/libfdt.i_shipped: Use > > > > SWIG_AppendOutput > > > > +MIME-Version: 1.0 > > > > +Content-Type: text/plain; charset=3DUTF-8 > > > > +Content-Transfer-Encoding: 8bit > > > > + > > > > +Swig has changed language specific AppendOutput functions. The > > > > helper > > > > +macro SWIG_AppendOutput remains unchanged. Use that instead > > > > +of SWIG_Python_AppendOutput, which would require an extra > > > > parameter > > > > +since swig 4.3.0. > > > > + > > > > +/home/flk/poky/build-test/tmp/work/qemux86_64-poky-linux/u- > > > > boot/2024.10/git/arch/x86/cpu/u-boot-64.lds > > > > +| scripts/dtc/pylibfdt/libfdt_wrap.c: In function > > > > =E2=80=98_wrap_fdt_next_node=E2=80=99: > > > > +| scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few > > > > arguments to function =E2=80=98SWIG_Python_AppendOutput=E2=80=99 > > > > +|=C2=A0 5581 |=C2=A0=C2=A0=C2=A0=C2=A0 resultobj =3D SWIG_Python_A= ppendOutput(resultobj, > > > > val); > > > > +|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~= ~~~~~~~~~~~~~~~~~~~ > > > > + > > > > +Signed-off-by: Markus Volk > > > > +Reported-by: Rudi Heitbaum > > > > +Link: https://github.com/dgibson/dtc/pull/154 > > > > +--- > > > > + scripts/dtc/pylibfdt/libfdt.i_shipped | 6 +++--- > > > > + 1 file changed, 3 insertions(+), 3 deletions(-) > > > > + > > > > +diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped > > > > b/scripts/dtc/pylibfdt/libfdt.i_shipped > > > > +index 56cc5d48f4f..e4659489a96 100644 > > > > +--- a/scripts/dtc/pylibfdt/libfdt.i_shipped > > > > ++++ b/scripts/dtc/pylibfdt/libfdt.i_shipped > > > > +@@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t; > > > > +=C2=A0 fdt_string(fdt1, fdt32_to_cpu($1- > > > > > nameoff))); > > > > +=C2=A0 buff =3D PyByteArray_FromStringAndSize( > > > > +=C2=A0 (const char *)($1 + 1), > > > > fdt32_to_cpu($1- > > > > > len)); > > > > +- resultobj =3D > > > > SWIG_Python_AppendOutput(resultobj, > > > > buff); > > > > ++ resultobj =3D SWIG_AppendOutput(resultobj, > > > > buff); > > > > +=C2=A0 } > > > > + } > > > > +=20 > > > > +@@ -1076,7 +1076,7 @@ typedef uint32_t fdt32_t; > > > > +=20 > > > > + %typemap(argout) int *depth { > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 PyObject *val =3D= Py_BuildValue("i", *arg$argnum); > > > > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 resultobj =3D SWIG_Pyt= hon_AppendOutput(resultobj, val); > > > > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 resultobj =3D SWIG_App= endOutput(resultobj, val); > > > > + } > > > > +=20 > > > > + %apply int *depth { int *depth }; > > > > +@@ -1092,7 +1092,7 @@ typedef uint32_t fdt32_t; > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= if (PyTuple_GET_SIZE(resultobj) =3D=3D 0) > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 resultobj =3D val; > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= else > > > > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 resultobj =3D SWIG_Python_AppendOutput(resultobj, > > > > val); > > > > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 resultobj =3D SWIG_AppendOutput(resultobj, val); > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } > > > > + } > > > > +=20 > > > > +--=20 > > > > +2.49.0 > > > > + > > > > diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-starfive- > > > > visionfive2_2024.01.bb b/meta-isar/recipes-bsp/u-boot/u-boot- > > > > starfive-visionfive2_2024.01.bb > > > > index 9f819c3e..becd40da 100644 > > > > --- a/meta-isar/recipes-bsp/u-boot/u-boot-starfive- > > > > visionfive2_2024.01.bb > > > > +++ b/meta-isar/recipes-bsp/u-boot/u-boot-starfive- > > > > visionfive2_2024.01.bb > > > > @@ -8,6 +8,7 @@ require recipes-bsp/u-boot/u-boot-custom.inc > > > > =C2=A0COMPATIBLE_MACHINE =3D "starfive-visionfive2" > > > > =C2=A0 > > > > =C2=A0SRC_URI +=3D > > > > "https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2=C2=A0\ > > > > +=C2=A0=C2=A0=C2=A0 > > > > file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.pa= tch > > > > =C2=A0\ > > > > =C2=A0=C2=A0=C2=A0=C2=A0 file://starfive-visionfive2-rules.tmpl" > > > > =C2=A0SRC_URI[sha256sum] =3D > > > > "b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5 > > > > b3" > > > > =C2=A0 > > >=20 > > > Better bump U-boot to v2025.01. > > >=20 > > > Jan > >=20 > > Tried with this version: it build works but requires adding > > "libgnutls28" to the recipe DEPENDS (errors like "gnutls/gnutls.h" > > can't be found). >=20 > Might be worth to update u-boot-custom.inc with the new default build > deps of U-Boot at some point. I'm considering to look into that - for > too long now. >=20 > >=20 > > Will be sent with v2. > >=20 >=20 > Thanks, > Jan Things are becoming more and more interesting... U-boot 2024.01 with the patch boots the board well. Switching to u-boot 2025.04 leads to the following boot log: ``` U-Boot SPL 2025.04 (Jan 01 1970 - 01:00:00 +0000) DDR version: dc2e84f0. Trying to boot from MMC2 OpenSBI v1.4 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : StarFive VisionFive 2 v1.3B Platform Features : medeleg Platform HART Count : 5 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 4000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : gpio-restart Platform Shutdown Device : --- Platform Suspend Device : --- Platform CPPC Device : --- Firmware Base : 0x40000000 Firmware Size : 363 KB Firmware RW Offset : 0x40000 Firmware RW Size : 107 KB Firmware Heap Offset : 0x50000 Firmware Heap Size : 43 KB (total), 2 KB (reserved), 9 KB (used), 31 KB (free) Firmware Scratch Size : 4096 B (total), 328 B (used), 3768 B (free) Runtime SBI Version : 2.0 Domain0 Name : root Domain0 Boot HART : 2 Domain0 HARTs : 0*,1*,2*,3*,4* Domain0 Region00 : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W) Domain0 Region01 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: () Domain0 Region02 : 0x0000000040040000-0x000000004005ffff M: (R,W) S/U: () Domain0 Region03 : 0x0000000040000000-0x000000004003ffff M: (R,X) S/U: () Domain0 Region04 : 0x000000000c000000-0x000000000fffffff M: (I,R,W) S/U: (R,W) Domain0 Region05 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) Domain0 Next Address : 0x0000000040200000 Domain0 Next Arg1 : 0x0000000040400000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Domain0 SysSuspend : yes Boot HART ID : 2 Boot HART Domain : root Boot HART Priv Version : v1.11 Boot HART Base ISA : rv64imafdcbx Boot HART ISA Extensions : zihpm Boot HART PMP Count : 8 Boot HART PMP Granularity : 12 bits Boot HART PMP Address Bits: 34 Boot HART MHPM Info : 2 (0x00000018) Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2025.04 (Jan 01 1970 - 01:00:00 +0000) CPU: sifive,u74-mc Model: StarFive VisionFive 2 v1.3B DRAM: 8 GiB Core: 154 devices, 26 uclasses, devicetree: board WDT: Not starting watchdog@13070000 MMC: mmc@16010000: 0, mmc@16020000: 1 Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB *** Warning - bad CRC, using default environment StarFive EEPROM format v2 --------EEPROM INFO-------- Vendor : StarFive Technology Co., Ltd. Product full SN: VF7110B1-2253-D008E000-00002012 data version: 0x2 PCB revision: 0xb2 BOM revision: A Ethernet MAC0 address: 6c:cf:39:00:31:81 Ethernet MAC1 address: 6c:cf:39:00:31:82 --------EEPROM INFO-------- starfive_7110_pcie pcie@940000000: Starfive PCIe bus probed. starfive_7110_pcie pcie@9c0000000: Starfive PCIe bus probed. In: serial@10000000 Out: serial@10000000 Err: serial@10000000 Net: eth0: ethernet@16030000, eth1: ethernet@16040000 starting USB... Bus xhci_pci: Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 scanning bus xhci_pci for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Working FDT set to ff720a20 Hit any key to stop autoboot: 0 =20 Card did not respond to voltage select! : -110 ** Booting bootflow '' with efi_mgr Booting: mmc 1 EFI stub: Booting Linux Kernel... EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Using DTB from configuration table EFI stub: Exiting boot services... Unhandled exception: Store/AMO access fault EPC: 00000000fff5ddd6 RA: 00000000fff6ccf2 TVAL: 0000000000000000 EPC: 000000004021fdd6 RA: 000000004022ecf2 reloc adjusted SP: 00000000ff71f350 GP: 00000000ff72de40 TP: 0000000000000002 T0: 00000000ff71f240 T1: 00000000ff787750 T2: 00000000019d8000 S0: 00000000ff731860 S1: 0000000000004600 A0: 00000000ff731988 A1: 0000000000000000 A2: 0000000000004600 A3: 0000000000004000 A4: 0000000000000000 A5: 0000000000000000 A6: 0000000000000001 A7: 0000000000000000 S2: 00000000ff71f468 S3: 00000000fffddd60 S4: 0000000000004600 S5: fffffffffffffdfb S6: ffffffffffffff7f S7: ffffffffffffffff S8: 00000000fb71a390 S9: 00000000fe6ca030 S10: 0000000000000ac0 S11: 00000000fe6ca008 T3: 00000000fe714fff T4: 000000000000000a T5: 0000000000cd1000 T6: 00000000ff7877e0 Code: 7402 64e2 6942 69a2 6145 8082 7d1c 6138 (e31c) UEFI image [0x00000000fe6b2000:0x00000000fe6ce07b] '/\EFI\BOOT\BOOTRISCV64.EFI' UEFI image [0x00000000fa8fc000:0x00000000fc2d1fff] '/\vmlinux-6.6.20- isar' resetting ... ``` This needs additional time to debug and fix. So, for now we tend to stay working version now + the patch. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 851cbbc579a026494337310b34a228000276bc8d.camel%40ilbers.de.