Jump to content
  • 0

Eclypse Z7 sd card boot procedures


ManiS

Question

can we follow a single file boot procedure like this.

This command petalinux-package --wic generates petalinux-sdimage.wic file and its used in the following command to flash sdcard. Is this step ok for flashing sdcard and booting petalinux on Z7?

Sudo dd if=petalinux-sdimage.wic of=/dev/sd<X> conv=fsync

 

Edited by ManiS
old question answered
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

@ManiS

As long as that image starts with a fat partition containing BOOT.BIN (includes a fsbl) the boot process should start. The rest of the process follows the image instructions.
By default the boot partition should contain BOOT.BIN, boot.scr, image.ub. last two files are required for u-boot but other files can replace them.

Try inspecting petalinux-sdimage.wic image.
Eg.  use `losetup` tool in linux or
mount -o loop,offset=<bytes count> <imagefile> /mount/point
To find offset use fdisk -lu <imagefile> and multiply start sector number for partition you want to mount by 512
usually 2048 or 4096 for first partition => 1048576 respectively 2097152

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...