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=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 D6CDEC07E95 for ; Tue, 13 Jul 2021 07:32:38 +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 C3A286120A for ; Tue, 13 Jul 2021 07:32:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3A286120A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DFCF782E0A; Tue, 13 Jul 2021 09:32:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io 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=foundries.io header.i=@foundries.io header.b="SGMHDqHP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B48082ECC; Tue, 13 Jul 2021 09:32:34 +0200 (CEST) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 916A482DF3 for ; Tue, 13 Jul 2021 09:32:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jorge@foundries.io Received: by mail-wr1-x434.google.com with SMTP id m2so18102956wrq.2 for ; Tue, 13 Jul 2021 00:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+BNxTUOPBkS1JaVh0evsgXTD26UKtDRlHx4Pgyo144A=; b=SGMHDqHPQFSzERMLvwLn4xhk4cATVbnSoK4g04+dd666tdTCZYYB4wblXAp2v8Abqy TDaSaMtOF2uBAYw7hhjuzORxrCsNkW2RgMZBLCtU+V3Z/nrX61ZLrAbLVdqMg1MW26DD aTQgcbpRYF7lu12sixt8tK27HODSc1SMkCiqQUbInbdYjj8+eK50OpHdHyswI9BIWg6h VOHu5IbQ9IzAxs52ekMVvZ8KDO/KSzTrwl/vQNQCc+laPk7bg00wvQKdcRfO0UxTpGsG oRjf6quRrP6Z8PYRa2ZTOQb9ZtYD1nv0C1o0Yn1NkEmhFGedt0nY61kneoKe6yI5+9yO 2fbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+BNxTUOPBkS1JaVh0evsgXTD26UKtDRlHx4Pgyo144A=; b=DhCA2Vakb+ULpbkSDULUJIWwXuaM8gjY63YjE/gH94HUR338+uiKliQGYdUNcgxpdj wOg5e5hqYloMXBoOOleQK9LwMRnSsCpoOmd515VarKj8rIxW3zDuuNBOWfmctb1YKR10 yRdMw+93bwXRM7HLi9PsXxCImZhu55CfW/p65hepQravneiiPRTvrwbfaW4UXlb6QDRB 25nLSO3fKkAQvUMg3QR6wyas7abced3+OLdqLcr21eKgSYtp5uNrcBwLrpeNeqJrhedy Z3P62a87UHr53in7JVoCxm9Gj3phwS7+FEjFwOzIcTmABLqj45F/LV2NIypJLVOyHcnU FSgw== X-Gm-Message-State: AOAM530jZ5+EXoEYWR04hiMfaEX49O9mppTKbgU0DUQZTkUBMHxb7yWG 9f5gHxLX9MhQjNKWGGLPGxekug== X-Google-Smtp-Source: ABdhPJzRft3kDwcdQ1F93l5zWO7rLr7Y/kO1dkQESKCu43ViK8Om1QpglUQrPcheZ5WPkaSIr0w97g== X-Received: by 2002:adf:e546:: with SMTP id z6mr3836150wrm.245.1626161551189; Tue, 13 Jul 2021 00:32:31 -0700 (PDT) Received: from trex (138.red-79-146-80.dynamicip.rima-tde.net. [79.146.80.138]) by smtp.gmail.com with ESMTPSA id s13sm12952601wrm.13.2021.07.13.00.32.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jul 2021 00:32:30 -0700 (PDT) From: "Jorge Ramirez-Ortiz, Foundries" X-Google-Original-From: "Jorge Ramirez-Ortiz, Foundries" Date: Tue, 13 Jul 2021 09:32:29 +0200 To: Michal Simek Cc: "Jorge Ramirez-Ortiz, Foundries" , u-boot@lists.denx.de, ricardo@foundries.io Subject: Re: zynqmpbif - sample Message-ID: <20210713073229.GA9771@trex> References: <20210712174043.GA18753@trex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On 13/07/21, Michal Simek wrote: > Hi, > > On 7/12/21 7:40 PM, Jorge Ramirez-Ortiz, Foundries wrote: > > hi Michal, > > > > Would you have some sample/reference code to generate a SPL boot image > > using zynqmpbif instead of zynqmpimage? I cant find any documentation > > and I see no option to enable it (I was expecting to find some config > > in Makefile.spl but I see none). > > > > What is the expected way of building these images? > > Alex implemented it for Xilinx bif format after origin zynqmpimage > format. But usage is just like this. > > [u-boot](debian-sent)$ ./tools/mkimage -T zynqmpbif -d /tmp/bif > /tmp/boot.bin > Image Type : Xilinx ZynqMP Boot Image support > Image Offset : 0x000009c0 > Image Size : 147216 bytes (147216 bytes packed) > PMUFW Size : 129792 bytes (129792 bytes packed) > Image Load : 0xfffc0000 > Checksum : 0xfd15d661 > [u-boot](debian-sent)$ cat /tmp/bif > image : { > [pmufw_image, load=0xffdc0000] /mnt/disk/u-boot-bins/zynqmp/pmu.elf > [destination_cpu=a53-0, load=0xfffc0000, bootloader] spl/u-boot-spl.bin > } awesome, exactly what I needed to start with. > > Thanks, > Michal