Changes between Version 1 and Version 2 of howto/SD_Config/OSX
- Timestamp:
- Aug 25, 2012, 9:42:45 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SD_Config/OSX
v1 v2 1 == = OS X ===1 == Writing SD Cards: Mac OS X == 2 2 Apple provides a copy of dd with recent releases of OS X (at least since 10.7, probably earlier). 3 3 4 4 '''Finding the SD card descriptor:'''[[BR]] 5 5 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: 7 7 {{{ 8 8 #: TYPE NAME SIZE IDENTIFIER … … 16 16 1: DOS_FAT_32 WARP SD 32.0 MB disk1s1 17 17 }}} 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}}}. 19 19 20 20 '''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): 22 22 {{{ 23 23 diskutil unmountDisk /dev/diskX … … 27 27 dd bs=512 seek=<N> if=<yourFile.bin> of=</dev/diskX> 28 28 }}} 29 1. ''<N>'': depends on the target slot number; see the list above29 1. ''<N>'': depends on the target slot number; use (131072 + slotNum*32768). More details [wiki:..#Copying.binFilesSDCards here]. 30 30 1. ''<yourFile.bin>'': the binary FPGA configuration file 31 31 1. ''</dev/diskX>'': device descriptor for the SD card … … 36 36 9232444 bytes transferred in 8.503631 secs (1085706 bytes/sec) 37 37 }}} 38 1. Repeat for additional .bin config files i f needed.38 1. Repeat for additional .bin config files in additional slots if needed. 39 39 1. Eject the SD card in the Finder (if it's mounted).