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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 24462C433EF for ; Fri, 27 May 2022 17:50:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 01549842C7; Fri, 27 May 2022 19:50:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Fcg8Pjyy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D72E98395F; Fri, 27 May 2022 19:50:48 +0200 (CEST) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 1A0928435F for ; Fri, 27 May 2022 19:50:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=alpernebiyasak@gmail.com Received: by mail-ed1-x52d.google.com with SMTP id z43so1829786ede.1 for ; Fri, 27 May 2022 10:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=eArurj9UbLl6gJOGFLY6p2aO/+oqX3h2MngWkrrE/bI=; b=Fcg8PjyyJ6apqkuObDpK5Q7vofG46hANbzLwKvM/6zWN97Q+lMjOAgWLRxSA1XWAS1 kkyIYfrKCdmYDILIMbkxlzxR0+hNXX4jRZxxMxRKNwyOY3VpNy5KECbedgssJfJXr5o6 7j/LrnLejOQBM28vDQLLk5KmUNB3pkQbQW+UHlgR4qz/ZrysFoZE4EmtMGDQOpi+rTJU k53TnMUXQ8f4EUsPZ3QCUpDmfCsfgwItuoUbc81yXKaq14QrPnp77X+ogG9xePiOJsle xkOLC/kgHVuMXV7XHBpGMRuJTjRxMhAjy8Fyt8HSmNYXYZRVg8hbC+rlyP4f9cVP0P3x YiYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=eArurj9UbLl6gJOGFLY6p2aO/+oqX3h2MngWkrrE/bI=; b=p8Nti2HzZo5GvJykvEg3G2IugTh0NP5IOFrBJZpTMpztqvjauNN16W3p8QdyWEUZbX xI98GZtGiMpeZvs5/UBg8DEZOiQMnnRl6phrPVvUe2yXgnvUJURJTidBwF1AL3VjDsTT vOJrBGS/yG4HAtB2x69IXcWL4UZ+JQDqDNG/IrxRmBJgYocJKdPyPL36zdnlJdo/h39Y ZKPRGiT9Q/b803DclitaWJWj/kn7WSbGcpk7tKj4nxoBpyBGLNJaZH10cefyva5S3Xwm 0hT1zK+GV1BOUPI3u97CYUeCbzcCn4k6akh+tixz04mxDFKQYWEgUNdTPn+7fbVk8jCt Yf7A== X-Gm-Message-State: AOAM530wkNAZ/PLC7WQF/gU92SoAVTK88doEKKCbMXNulTNHo+kba1sZ e8m+qNpIyUVCqtpNlD/QjYE= X-Google-Smtp-Source: ABdhPJxXAstmLexzwaOcpu3YdzqAAec2fuazl2cIN7szX0sDyqgY3SbSOyrdUrvHg2p9fJUwIRb7mg== X-Received: by 2002:a05:6402:2712:b0:42b:476b:6c71 with SMTP id y18-20020a056402271200b0042b476b6c71mr33875074edd.413.1653673842645; Fri, 27 May 2022 10:50:42 -0700 (PDT) Received: from [192.168.0.74] ([178.233.178.185]) by smtp.gmail.com with ESMTPSA id cf8-20020a170907158800b006fe9e717143sm1625569ejc.94.2022.05.27.10.50.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 May 2022 10:50:42 -0700 (PDT) Message-ID: <76474ded-a782-f491-eac6-ece3c5f4a7da@gmail.com> Date: Fri, 27 May 2022 20:50:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [u-boot PATCH 3/3] k3-am642-evm-u-boot: Use binman to generate u-boot.img and tispl.bin Content-Language: en-US To: Roger Quadros Cc: Andrew Davis , sjg@chromium.org, vigneshr@ti.com, nm@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Tom Rini References: <20220509072936.12899-1-rogerq@kernel.org> <20220509072936.12899-4-rogerq@kernel.org> <3dec7c74-e486-79da-e4e7-cad6205471a5@ti.com> <28124041-81c8-265f-5f54-57a7fb7562e4@ti.com> <3d5690e0-d77b-4592-dd55-0952d849a84b@kernel.org> <20220526141529.GV13239@bill-the-cat> From: Alper Nebi Yasak In-Reply-To: <20220526141529.GV13239@bill-the-cat> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean On 26/05/2022 17:15, Tom Rini wrote: > On Thu, May 26, 2022 at 10:28:45AM +0300, Roger Quadros wrote: >> Any thoughts on how to get the new ti-secure etype work with atf-bl31 and >> tee-os etypes so that it can take the data output of those entries and create >> a signed binary with filenames from those entries or atf-bl31-path and >> tee-os-path? >> >> Can something like this work? >> >> ti-secure { >> atf-bl31 { >> filename = "bl31.bin"; >> }; >> } >> >> We could probably get rid of filename property from ti-secure etype and use >> blob for regular files. >> >> ti-secure { >> blob { >> filename = "somefile.ext"; >> } >> } This would definitely work, see etype/mkimage.py for example. I'd prefer to know the file-format details (and maybe replicate them in binman) if you could afford to publish them, though... Sorry I couldn't look at either series yet, but I see mentions of k3_fit_atf.sh, so let me point out another series [1][2] that might also interest you: [1] [RESEND, RFC 0/8] Integration of sysfw and tispl with U-Boot https://lore.kernel.org/u-boot/20220406122919.6104-1-n-francis@ti.com/ [2] [PATCH RFC v2 00/11] Integration of sysfw, tispl and tiboot3 https://lore.kernel.org/u-boot/20220506043759.8193-1-n-francis@ti.com/ > > Adding in Alper as well.. >