Changes between Version 1 and Version 2 of howto/SD_Config/OSX


Ignore:
Timestamp:
Aug 25, 2012, 9:42:45 PM (12 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/SD_Config/OSX

    v1 v2  
    1 === OS X ===
     1== Writing SD Cards: Mac OS X ==
    22Apple provides a copy of dd with recent releases of OS X (at least since 10.7, probably earlier).
    33
    44'''Finding the SD card descriptor:'''[[BR]]
    55 1. Insert the SD card
    6  1. In a terminal run {{{diskutil list}}} to find device descriptor for SD card. Look for the SD card in the list of disks. On a MBP, the shows:
     6 1. In a terminal run {{{diskutil list}}}. Look for the SD card in the list of disks. On a MacBook with a singe hard drive, the output is:
    77{{{
    88   #:                       TYPE NAME                    SIZE       IDENTIFIER
     
    1616   1:                 DOS_FAT_32 WARP SD                 32.0 MB    disk1s1
    1717}}}
    18  2. In this example, the SD card device descriptor is /dev/disk1. The actual descriptor will differ on other machines with different disk configurations.
     18 2. In this example, the SD card device descriptor is {{{/dev/disk1}}}. The actual descriptor will differ on other machines with different disk configurations, but should take the form {{{/dev/diskX}}}.
    1919
    2020'''Copying the .bin file:'''[[BR]]
    21  1. Unmount ('''not''' eject) the drive using this command:
     21 1. Unmount ('''not''' eject) the drive using this command (replacing {{{X}}} with your actual SD descriptor):
    2222{{{
    2323diskutil unmountDisk /dev/diskX
     
    2727dd bs=512 seek=<N> if=<yourFile.bin> of=</dev/diskX>
    2828}}}
    29   1. ''<N>'': depends on the target slot number; see the list above
     29  1. ''<N>'': depends on the target slot number; use (131072 + slotNum*32768). More details [wiki:..#Copying.binFilesSDCards here].
    3030  1. ''<yourFile.bin>'': the binary FPGA configuration file
    3131  1. ''</dev/diskX>'': device descriptor for the SD card
     
    36369232444 bytes transferred in 8.503631 secs (1085706 bytes/sec)
    3737}}}
    38  1. Repeat for additional .bin config files if needed.
     38 1. Repeat for additional .bin config files in additional slots if needed.
    3939 1. Eject the SD card in the Finder (if it's mounted).