cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
405 Views
Registered: ‎09-06-2019

Booting Ultrascale via eMMC

I'm trying to configure our build to boot out of eMMC instead of QSPI as we currently have it using an ultrascale device. I've found some references but some specifics aren't quite clear. What needs to change in u-boot? I've already enabled the PS SD periph. as well as enabled eMMC for boot media in u-boot. If someone can point me to a procedure or example of eMMC boot that would be great! Thanks!

0 Kudos
2 Replies
Highlighted
Scholar
Scholar
388 Views
Registered: ‎05-14-2017

You basically must have 2 partitions in your MMC:

mmcblk0p1: FAT partiton with BOOT.bin and image.ub.

mmcblk0p2: Linux rootfs partition.

See UG1137 section emmc18 Boot mode.

You can make the MMC partitions using using the petalinux image running from QSPI or SD (it's up to you) using the util-linux-mkfs package (enable it from petalinux-config -c rootfs) tools.

0 Kudos
Highlighted
Explorer
Explorer
362 Views
Registered: ‎09-06-2019

@simozz 

Thanks for the info! I have a couple of additional questions:

When you mention creating the MMC partitions using the image do you mean creating these from within the kernel? Our issue at the moment is that our u-boot + .bit + kernel is larger than our QSPI we arent actually able to get into the kernel. Is there a way in u-boot to create the parition? 

0 Kudos