Galileo
Contents
Links
Linux deployment
- prepare a temporary workbench:
test -e /tmp/galileo || mkdir /tmp/galileo
- fetch and extract the Linux distribution archive:
test -e /tmp/galileo/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z || \ wget -O /tmp/galileo/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z -- \ http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z
test -e /tmp/galileo/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5 || \ 7z x -o/tmp/galileo /tmp/galileo/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z
- initialize the SD card partition table:
parted /dev/disk/by-id/usb-Generic_STORAGE_DEVICE_000000009451-0:0
mklabel msdos mkpart primary fat32 1MiB 512MiB
- initialize the SD card partition (format):
mkdosfs -v -F 32 -s 8 -S 512 -n GALILEO /dev/disk/by-id/usb-Generic_STORAGE_DEVICE_000000009451-0:0-part1 mkdosfs -v -F 16 -s 16 -S 512 -n GALILEO /dev/disk/by-id/usb-Generic_STORAGE_DEVICE_000000009451-0:0-part1
- store the Linux distribution files on the SD card partition:
test -e /tmp/galileo/card || mkdir /tmp/galileo/card
mount \ -t vfat \ -o uid="${UID}",gid=0,umask=077,dmask=077,fmask=177,iocharset=ascii,check=strict,shortname=lower \ -o rw,async,noexec,nosuid,nodev,noatime \ /dev/disk/by-id/usb-Generic_STORAGE_DEVICE_000000009451-0:0-part1 \ /tmp/galileo/card
rsync -v -r --progress \ /tmp/galileo/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5/ \ /tmp/galileo/card/
umount /tmp/galileo/card
- finalize the Linux distribution deployment:
upgrade the firmware as described in the official documentation (via the customized Arduino IDE);
- insert the SD card into the device;
- reboot the device (via the "reboot" switch);
verify that the green SD activity led is blinking;
- get a coffee! (about a few minutes?)
use SSH to log in; (the user is root without a password; the IP is given via DHCP by the router;)