cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
1,457 Views
Registered: ‎02-28-2018

How to write boot files to emmc chip?

I want replace SD card with emmc chip as the boot device in my design,   and I  know I can copy boot files to SD card through PC, but how to write boot files to emmc chip? Dose vivado surport this operation?

Besides, can I connect emmc chip to the PS's SD0 interface?

Thanks!

0 Kudos
5 Replies
Highlighted
Explorer
Explorer
1,454 Views
Registered: ‎12-11-2017

You need two things.

1. EMMC capbability in your SD block.

2. EMMC driver + file system stack.

Assuming your SD block supports eMMC (MMC), the driver should show it as a raw device of a specific size and sector layout, same as SD.

To access it, your embedded host would mount the eMMC device, again, the same way it mounts SD. Then you can access eMMC as a file system or a raw device, depending on your intention. For a boot device you’d probably create a boot partition separate from your other files.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
1,401 Views
Registered: ‎10-11-2011

Yes, Vivado can program on-board eMMC but it's very slow the first time you have to format/partititon.

Or you can do that booting u-boot or Linux on target from JTAG.

Here the u-boot flow: https://www.xilinx.com/support/answers/67157.html

I personally prefer Linux because fdisk is very powerfull

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Contributor
Contributor
1,370 Views
Registered: ‎02-28-2018

Thanks for your repley.
Is it mean I have to place a SD Card on my board?
0 Kudos
Highlighted
Contributor
Contributor
1,369 Views
Registered: ‎02-28-2018

Thanks for your answer.
Can this way applies on Zynq-7000?
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
1,349 Views
Registered: ‎10-11-2011

The AR can be "adapt" to zynq-7000. The tool will NOT work for zynq-7000.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos