Wiki

This version (20 Nov 2015 14:37) was approved by rgetz.The Previously approved version (06 Apr 2015 21:22) is available.Diff

Windows Download and setting up the image

Download the file

  1. Download the materials. You can use right click “Save As”,

Yeah, it takes an hour (or more if your connection is slow). At least you can drive down to your favorite coffee store, and indulge yourself.

Verify the download

  1. check the md5sum, to make sure you have the right file/didn't have download issues. There are a few md5sum applications for windows. Some have GUIs, some do not. Since the actual md5 value is operating system independent - check the Linux values above. They will be the only ones updated.
  2. Decompress:
    • 7-Zip or many other decompression utilities will handle .xz Xz format
  3. Check the m5dsum of the resulting file

Write to the SD Card

Now that everything looks OK, write the file to your SD Card.

If you are unsure, or don't understand these directions - STOP. If you are not careful, you will write a Zynq image to your PC hard drive. Your PC will not function properly after this, and your IT department should not blame me.

You can use a GUI, or DOS command line, what ever you prefer.

GUI using Win32DiskImager

You will need:

Note: Although its name the Win32DiskImager works under Win 7/8.1 32/64 bit as well.

Then it's a simple matter of:

  1. Make sure the SD card drive is set for the selected device.
  2. Navigate and select the image file you want to write to the SD card.
  3. Click on the “Write” button to write the image to the device.
  4. Once the process is done, use Windows “safely remove” to eject the disk.
  5. At this point the SD is still not bootable.
  6. go back to properly prepare the image.

Command Line using physdiskwrite

In the below instructions, you will see a:

  • Windows PATH, which includes the username RGETZ. This is my Windows username, unless you have the same username, this will be replaced with your username.
  • Host Computer name, which is RGETZ-L05. This is my laptop name, unless you have the same, this will be replaced with your Windows PC name.

Then it's a a little more complicated matter of:

  1. Open a command window as admin (“cmd”): goto search programs and files, and type in cmd, and do not hit enter. Wait for a second, for Windows to find the application, and then right click on it, and run it as the administrator.
  2. Run the Windows diskparition applications diskpart, to remove partition info.
    C:\Users\RGETZ\Downloads\physdiskwrite-0.5.3-PhysGUI-bundle>diskpart
    
    Microsoft DiskPart version 6.1.7601
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: RGETZ-L05
    
    DISKPART>
    
  3. Find out the number of your SD Card drive.
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          119 GB      0 B
      Disk 1    Online         7580 MB      0 B
    DISKPART>
    
  4. Select the disk (where you replace X with the number of your SD Card Drive).
    DISKPART> select disk X
    
    Disk 1 is now the selected disk.
    DISKPART>
    
    X is a number 1 or 2 or higher which is your SD card you found above.
  5. Remove the partition table
    DISKPART> clean
    
    DiskPart succeeded in cleaning the disk.
    DISKPART>
    
  6. Exit the application
    DISKPART> exit
    
    Leaving DiskPart...
    
    C:\Users\RGETZ\Downloads\physdiskwrite-0.5.3-PhysGUI-bundle>
    
  7. run the writing process, pointing it to your file that you downloaded and decompressed
    C:\Users\RGETZ\Downloads\physdiskwrite-0.5.3-PhysGUI-bundle>physdiskwrite.exe -u
     ..\2014_R2-2014_12_12.bin
    
    physdiskwrite v0.5.2 by Manuel Kasper <mk@neon1.net>
    
    Searching for physical drives...
    
    Information for \\.\PhysicalDrive0:
       Windows:       cyl: 15566
                      tpc: 255
                      spt: 63
    Information for \\.\PhysicalDrive1:
       Windows:       cyl: 966
                      tpc: 255
                      spt: 63
    
    Which disk do you want to write? (0..1) 1
    WARNING: that disk is larger than 2 GB! Make sure you're not accidentally
    overwriting your primary hard disk! Proceeding on your own risk...
    About to overwrite the contents of disk 1 with new data. Proceed? (y/n) y
    3653238784/4096 bytes written in total
    
    C:\Users\RGETZ\Downloads\physdiskwrite-0.5.2-PhysGUI-bundle>
    
  8. Use Windows “safely remove” to eject the disk
  9. At this point, the SD Card is still not bootable in an Altera/Xilinx target.
  10. go back to properly prepare the image.

Using a computers built in SD-Card reader might interrupt physdiskwrite.exe with an Error. In such a case try an external SD-Cardreader.

resources/tools-software/linux-software/zynq_images/windows_hosts.txt · Last modified: 20 May 2015 10:45 by iguaner