From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B88B8C433EF for ; Mon, 13 Sep 2021 14:56:23 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E5A8160698 for ; Mon, 13 Sep 2021 14:56:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E5A8160698 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A9C25838CB; Mon, 13 Sep 2021 16:56:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="mdTzlZ3J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6642B838CB; Mon, 13 Sep 2021 16:56:17 +0200 (CEST) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D978C832D7 for ; Mon, 13 Sep 2021 16:56:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72c.google.com with SMTP id c10so10756336qko.11 for ; Mon, 13 Sep 2021 07:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+gdUhGBMY/SldhonttGjNkTo7LPuTtyGkZj+on7UCxE=; b=mdTzlZ3J0XeAglbaM3N5smf2z/dGoqxTpx1EaMycvBHqbgkxLpnQbmjGh4C5dCc5mW C00ap63Xc1Oo52ka4cerJzv3o910RrfIh1OT4o/2uheiP/QfO1La9UiuF2yWLCE6lZe2 +qj+aYcpaN6ZGoKb41DKwAPl2p+DtbXGd41Uk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+gdUhGBMY/SldhonttGjNkTo7LPuTtyGkZj+on7UCxE=; b=7TOYilNYrT3Vf/wZ+hIlXBPYd5O/o287wYbUKEu88T3KkDPJN3YLnqR3nbAgLc6NlT 4QIRYYpkfbAGlxZ4mj/qS1RImGMfxEa1e9sX1gAhPkfod/GGmPjIIdZsPJony56lHzV6 +G8B+OQMk+BwTdHqIi8K0MeFHc8EApdPMNHBsYI40+FOwdPfNYE6Kfu2egQMwvIymmxk OmittD9JWE86AQULdhODmWFWsr4VhtDnz52s4owhqtc3Yj7jPYFOVL4IDB3X6XqNqDum EDRHj+10PhQQni0xliasrJqJF2/m8zHxxG7SyUyMWu1JedRwu6FqeDJegtM33UgjEbL/ RlKg== X-Gm-Message-State: AOAM5337c0q91lcMfuwVofqaTV5490+zFvZ5m8pK0Q1IUjcNI6CVocox 75lIu3SeT30gfbZ05r9P5gIhbw== X-Google-Smtp-Source: ABdhPJwHjPS1CtGk9jI+m2I6csCj4g43wgQigEXM4mfmwiEt+i+pQeopudBfm71C7LOu+rWrLModsw== X-Received: by 2002:a05:620a:c92:: with SMTP id q18mr10363472qki.331.1631544972655; Mon, 13 Sep 2021 07:56:12 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-0166-c2e8-bb10-efce.res6.spectrum.com. [2603:6081:7b01:cbda:166:c2e8:bb10:efce]) by smtp.gmail.com with ESMTPSA id w6sm5435934qkw.91.2021.09.13.07.56.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Sep 2021 07:56:11 -0700 (PDT) Date: Mon, 13 Sep 2021 10:56:09 -0400 From: Tom Rini To: Jan Kiszka Cc: U-Boot Mailing List , Le Jin , Bao Cheng Su , Nian Gao , Chao Zeng , Lokesh Vutla Subject: Re: [PATCH v7 5/5] iot2050: Enable watchdog support, but do not auto-start it Message-ID: <20210913145609.GO12964@bill-the-cat> References: <44b858e8826f4617439aec11ad850431e4bc1a21.1628000645.git.jan.kiszka@siemens.com> <20210911001003.GA2638@bill-the-cat> <0fd4c0d4-c42f-bb15-b68b-3ccf9a9037e0@siemens.com> <20210913123445.GB12964@bill-the-cat> <5d515165-6f39-285d-7bd1-a412ed468cf4@siemens.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zL7g4HaX89HhN13a" Content-Disposition: inline In-Reply-To: <5d515165-6f39-285d-7bd1-a412ed468cf4@siemens.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --zL7g4HaX89HhN13a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 13, 2021 at 04:31:37PM +0200, Jan Kiszka wrote: > On 13.09.21 14:34, Tom Rini wrote: > > On Mon, Sep 13, 2021 at 09:57:45AM +0200, Jan Kiszka wrote: > >> On 11.09.21 02:10, Tom Rini wrote: > >>> On Tue, Aug 03, 2021 at 04:24:05PM +0200, Jan Kiszka wrote: > >>> > >>>> From: Jan Kiszka > >>>> > >>>> This allows to use the watchdog in custom scripts but does not enfor= ce > >>>> that the OS has to support it as well. > >>>> > >>>> Signed-off-by: Jan Kiszka > >>> > >>> Sorry for the late reply. This causes CI to fail: > >>> Building current source for 1 boards (1 thread, 16 jobs per thread) > >>> aarch64: + iot2050 > >>> +(iot2050) WARNING ATF file bl31.bin NOT found, resulting binary is n= on-functional > >>> +(iot2050) WARNING OPTEE file bl32.bin NOT found, resulting might be = non-functional > >>> +(iot2050) binman: Filename 'k3-rti-wdt.fw' not found in input path (= =2E,/home/trini/work/u-boot/u-boot,board/siemens/iot2050,arch/arm/dts) (cwd= =3D'/tmp/iot2050/.bm-work/iot2050') > >>> +(iot2050) make[1]: *** [all] Error 1 > >>> +(iot2050) make: *** [sub-make] Error 2 > >>> 0 0 1 /1 iot2050 > >>> > >>> And needs to be handled like ATF/OPTEE/etc where CI can build but thr= ow > >>> a "THIS WILL NOT RUN CORRECTLY" type warning to the user. > >>> > >> > >> I was about to sent an update anyway - time passed, and now we even ha= ve > >> support for the next generation integrated from the beginning. But > >> related upstream DT changes are not yet merged. > >=20 > > OK. > >=20 > >> But back to this issue: How can CI be fed with all those required > >> binaries? The build makes no sense in their absence. > >=20 > > To be clearer, CI isn't fed all of the binaries, we just use /dev/null > > in that case and try and make it clear it won't boot. K3 isn't a good > > example here, but I think sunxi uses binman and handles this same class > > of problem? > >=20 >=20 > I'm seeing it additionally carrying a "missing-msg" property, but that > alone (even with missing-blob-help updated) does not make the build > pass. It rather seems I'm missing some "allow_missing" property for that > image, but even reading the code gives no clue yet how to achieve that. > Yet another binman mystery. You might also need a new file in tools/binman/etype/ ? Also, it will have a non-zero exit status still, but with a value of 101 which we check for and know that's "binary blob missing" and so OK to allow CI to pass on. --=20 Tom --zL7g4HaX89HhN13a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmE/ZoYACgkQFHw5/5Y0 tyxTdgv/UzYCkoXeqZzyh0R4txun2jgRDxfwhIKBmIbCC9yQbcJUllVlXdLQeNgW dDEs6O8q7xUEnverxGOqX0/iJcnfV+F+liRhINWkLo6tiAZmEEYKNGCA42zoApPV SlI2X7W4BAFhmpX3eKaTGO1b7WEbpMqQDmNaowR1FnsVStiukyHB8BJCuekdTxrX 3hpAeExg5S71FpPJyZ4VrtfZuOTiA38uwUDnMtHY5KGEQoXfH0i3hl5znwpp1pRa o/7bLPlsAa4OcVg0WFfO9jmSzep8eXiUXoph+go83pt0M2nJiO0i/Q1AY/uRbYZt r0IFsd26kulbWDNKpCq09RGUMU+EqRdXn5ZCn7lZUuslBIlZjWQJIED5axetY+5G 44+4RVQ+nzcpFQKX5bWuqnyphcYfNCVLL/MT0xAZKfHpzuNUyd9GoHb1vO3IGUE3 m428AbtSuBTuJOUi0HZNc8wpIaWL10tt4PjemXFYDZmncDbDHzrbKHyrAhUNk2Eq quTax7Ac =5yYi -----END PGP SIGNATURE----- --zL7g4HaX89HhN13a--