Author Topic: [SOLVED] ZynqMP boot Linux from MMC  (Read 2107 times)

0 Members and 1 Guest are viewing this topic.

Offline gvzTopic starter

  • Contributor
  • Posts: 11
  • Country: 00
[SOLVED] ZynqMP boot Linux from MMC
« on: December 03, 2019, 03:06:17 pm »
Hello,

I am using an UltraZed EG SOM with IO Carrier board, and I am trying to configure Linux from MMC.

This board have 2 SD/MMC controllers: controller #0 is connected to MMC, while controller #1 is connected to SD card.
Xilinx's UG114 does not explains what is the correct PetaLinux configuration to boot from MMC, however petalinux-config allows to boot from SD card.

So I can boot from SD card, but I don't know how to configure u-boot from MMC.
Do someone has achieved such a configuration and can give an hint to solve this problem ?

Thanks,
g.


« Last Edit: December 03, 2019, 09:24:53 pm by gvz »
 

Offline colorado.rob

  • Frequent Contributor
  • **
  • Posts: 419
  • Country: us
Re: ZynqMP boot Linux from MMC
« Reply #1 on: December 03, 2019, 03:20:58 pm »
Have you talked to the engineers at Avnet?  This sort of stuff should be in the device documentation.  And, if not, the support engineers should be able to quickly answer this question.
 

Offline gvzTopic starter

  • Contributor
  • Posts: 11
  • Country: 00
Re: ZynqMP boot Linux from MMC
« Reply #2 on: December 03, 2019, 08:59:52 pm »
This sort of stuff should be in the device documentation.
Yeah. UG1137 section eMMC18 Boot Mode got the solution.  :popcorn:

Make an SD image with petalinux, boot it, make partitions of eMMC (FAT and ext4), copy rootfs to MMC's EXT4 partition and SD FAT partition files, basically BOOT.bin and image.ub to MMC's FAT partition.

I also used an uEnv.txt file into the MMC FAT partition to set root=/dev/mmcblk0p2 into the u-boot's bootargs environment variable.
Regards.
s.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf