public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: "Jorge Ramirez-Ortiz, Foundries" <jorge@foundries.io>,
	<michal.simek@xilinx.com>
Cc: <u-boot@lists.denx.de>
Subject: Re: zynqmpbif - sample
Date: Tue, 13 Jul 2021 07:49:58 +0200	[thread overview]
Message-ID: <f8f72d19-7a5e-fdcd-7e2b-ddee7f3e8879@xilinx.com> (raw)
In-Reply-To: <20210712174043.GA18753@trex>

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
}

Thanks,
Michal

  reply	other threads:[~2021-07-13  5:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-12 17:40 zynqmpbif - sample Jorge Ramirez-Ortiz, Foundries
2021-07-13  5:49 ` Michal Simek [this message]
2021-07-13  7:32   ` Jorge Ramirez-Ortiz, Foundries
2021-07-13  9:25     ` Jorge Ramirez-Ortiz, Foundries
2021-07-13 10:11       ` Michal Simek
2021-07-13 11:33         ` Jorge Ramirez-Ortiz, Foundries
2021-07-13 14:00           ` Jorge Ramirez-Ortiz, Foundries
2021-07-13 14:29             ` Jorge Ramirez-Ortiz, Foundries
2021-07-14  7:37               ` Jorge Ramirez-Ortiz, Foundries
2021-07-14  7:57                 ` Michal Simek
2021-07-14 22:10                   ` Jorge Ramirez-Ortiz, Foundries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8f72d19-7a5e-fdcd-7e2b-ddee7f3e8879@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=jorge@foundries.io \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox