Support #598
Updated by Daniel Curtis over 9 years ago
This is a guide for installing the stock pre-compiled Yocto Linux image provided by Intel h2. Prepare the MicroSD Card * Install dosfstools: <pre> sudo pacman -S dosfstools </pre> * To start, find the device path for the microsd card. insert the microsd card into the workstation, open a terminal and run: dmesg #* _Example output_ <pre> [13103.012976] mmc0: new SD card at address 8ccd [13103.052022] Driver 'mmcblk' needs updating - please use bus_type methods [13103.057749] mmcblk0: mmc0:8ccd YV04F 1.89 GiB </pre> #* *NOTE*: This example will use @/dev/mmcblk0@ for the microsd device path. * (Optional) Zero the MicroSD card: <pre> sudo dd if=/dev/zero of=/dev/mmcblk0 </pre> * Now create a partition for the MicroSD card: <pre> sudo fdisk /dev/mmcblk0 o n p 1 [Enter] [Enter] t b w </pre> * Next format the micro SD card to fat32: <pre> sudo mkfs.msdos /dev/mmcblk0p1 cfdisk /dev/mmcblk0 </pre> #* Delete any previous partitions. #* Create a new *Primary* partition, using the *full size* of the microsd card, and a partition type of *B W95 FAT32* #* *Write* the partition table * Next, download and extract the LINUX_IMAGE_FOR_SD_Intel_Galileo_v1.0.4.zip file: <pre> mkdir ~/galileo-img ~/galileo-image && cd ~/galileo-img ~/galileo-image wget http://downloadmirror.intel.com/24355/eng/SDCard.1.0.4.tar.bz2 tar xjf SDCard.1.0.4.tar.bz2 unzip LINUX_IMAGE_FOR_SD_Intel_Galileo_v1.0.4.zip </pre> * Mount the micro SD card and copy the extracted stock Linux files over to the micro SD card: <pre> sudo mkdir /mnt/sdcard /media/sdcard sudo mount /dev/mmcblk0p1 /mnt/sdcard /media/sdcard sudo cp -r ~/galileo-img/image-full-galileo/ /mnt/sdcard/ sudo sync </pre> * Unmount the MicroSD card: <pre> sudo umount /mnt/sdcard ~/galileo-debian/SDCard/ /media/sdcard/ </pre> At this point the stock Yocto Linux provided by Intel is installed and ready for use. h2. Resources * http://www.intel.com/support/galileo/sb/CS-035101.htm