This shows you the differences between the selected revision and the current version of the page.
| gumstix:puredata 2009/06/14 13:04 | gumstix:puredata 2009/06/14 13:28 current | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Create a Bootable microSD Card ===== | ===== Create a Bootable microSD Card ===== | ||
| - | Use fdisk to partition the microSd card into a FAT16 partition and an ext2 partition. See [[http://www.gumstix.net/Documentation/view/User-how- | + | Use fdisk to partition the microSd card into a FAT16 partition and an ext2 partition. Instructions can be found at |
| - | to-s/Booting-from-microSD/SD/MMC/109.html]] for details. | + | [[http://www.gumstix.net/Documentation/view/User-how-to-s/Booting-from-microSD/SD/MMC/109.html]] |
| Copy these files to the gumstix (use scp or write to a memory card): | Copy these files to the gumstix (use scp or write to a memory card): | ||
| Line 18: | Line 18: | ||
| First set up the FAT16 as a boot partition: Change to the directory containing the copied setup files. | First set up the FAT16 as a boot partition: Change to the directory containing the copied setup files. | ||
| - | ''mkfs.vfat /dev/mmcblk0p1 | + | <code> |
| + | mkfs.vfat /dev/mmcblk0p1 | ||
| mkdir /mnt/fat16 | mkdir /mnt/fat16 | ||
| mount /dev/mmcblk0p1 /mnt/fat16 | mount /dev/mmcblk0p1 /mnt/fat16 | ||
| Line 24: | Line 25: | ||
| cp uImage-2.6.21-r1-gumstix-custom-verdex.bin /mnt/fat16/uimage | cp uImage-2.6.21-r1-gumstix-custom-verdex.bin /mnt/fat16/uimage | ||
| umount /mnt/fat16 | umount /mnt/fat16 | ||
| - | '' | + | </code> |
| ==== Ext2 linux partition ==== | ==== Ext2 linux partition ==== | ||
| Line 30: | Line 31: | ||
| Then create the main linux partition: | Then create the main linux partition: | ||
| - | ''mkfs.ext2 /dev/mmcblk0p2 | + | <code> |
| + | mkfs.ext2 /dev/mmcblk0p2 | ||
| mkdir /mnt/ext2 | mkdir /mnt/ext2 | ||
| mount /dev/mmcblk0p2 /mnt/ext2 | mount /dev/mmcblk0p2 /mnt/ext2 | ||
| Line 36: | Line 38: | ||
| 81119-gumstix-custom-verdex.rootfs.tar.gz | 81119-gumstix-custom-verdex.rootfs.tar.gz | ||
| umount /mnt/ext2 | umount /mnt/ext2 | ||
| - | '' | + | </code> |
| ==== Reboot ==== | ==== Reboot ==== | ||
| Line 55: | Line 57: | ||
| Install the following packages from the network and copied files. | Install the following packages from the network and copied files. | ||
| - | ''ipkg update | + | <code> |
| + | ipkg update | ||
| ipkg install libx11-6 | ipkg install libx11-6 | ||
| ipkg install xauth | ipkg install xauth | ||
| ipkg install tk | ipkg install tk | ||
| ipkg install pda_0.6.2-r0.1_armv5te.ipk | ipkg install pda_0.6.2-r0.1_armv5te.ipk | ||
| - | '' | + | </code> |
| ==== Install puredata startup script ==== | ==== Install puredata startup script ==== | ||
| - | ''cp puredata /etc/init.d/puredata | + | <code> |
| + | cp puredata /etc/init.d/puredata | ||
| ln -s ../puredata /etc/rc{2,3,4,5}.d/S28puredata | ln -s ../puredata /etc/rc{2,3,4,5}.d/S28puredata | ||
| ln -s ../puredata /etc/rc{0,1,6}.d/K05puredata | ln -s ../puredata /etc/rc{0,1,6}.d/K05puredata | ||
| Line 71: | Line 75: | ||
| mkdir -p /usr/local/sbin | mkdir -p /usr/local/sbin | ||
| ln -s /etc/init.d/puredata /usr/local/sbin | ln -s /etc/init.d/puredata /usr/local/sbin | ||
| - | '' | + | </code> |
| ===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
| Line 79: | Line 83: | ||
| //If your network is configured for this - the host name will become the first part of the fully qualified domain name on the network.// | //If your network is configured for this - the host name will become the first part of the fully qualified domain name on the network.// | ||
| - | ''echo HOSTNAME > /etc/hostname | + | <code> |
| + | echo HOSTNAME > /etc/hostname | ||
| echo Welcome to the Hark HOSTNAME Gumstix > /etc/motd | echo Welcome to the Hark HOSTNAME Gumstix > /etc/motd | ||
| echo GMT+1BST > /etc/TZ | echo GMT+1BST > /etc/TZ | ||
| - | '' | + | </code> |
| ==== Disable Bluetooth ==== | ==== Disable Bluetooth ==== | ||
| Line 88: | Line 93: | ||
| The Bluetooth Deamon is enabled by default. Turning it off will give a faster start-up if you don't need it. | The Bluetooth Deamon is enabled by default. Turning it off will give a faster start-up if you don't need it. | ||
| - | ''vi /etc/default/bluetooth | + | <code> |
| + | vi /etc/default/bluetooth | ||
| 1,$s/true$/false/ | 1,$s/true$/false/ | ||
| :wq | :wq | ||
| - | '' | + | </code> |
| ==== Static IP address ==== | ==== Static IP address ==== | ||
| Line 99: | Line 105: | ||
| Find the IP address (eg 192.168.120.95) and Gateway (eg 192.168.120.239) settings provided by your network. | Find the IP address (eg 192.168.120.95) and Gateway (eg 192.168.120.239) settings provided by your network. | ||
| - | ''vi /etc/network/interfaces | + | <code> |
| + | vi /etc/network/interfaces | ||
| replace the line: | replace the line: | ||
| Line 110: | Line 117: | ||
| network 192.168.120.0 | network 192.168.120.0 | ||
| gateway 192.168.120.239 | gateway 192.168.120.239 | ||
| - | '' | + | </code> |