Changes between Version 16 and Version 17 of PibotGoldenImage
- Timestamp:
- Jun 23, 2018, 2:44:24 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PibotGoldenImage
v16 v17 12 12 * [https://support.apple.com/downloads/bonjour_for_windows Apple Bonjour] print services for windows 13 13 * A good editor such as [https://notepad-plus-plus.org/ Notepad++] 14 * A good VNC viewer such as [https://www.realvnc.com/en/connect/download/vnc/ RealVNC] 14 15 15 16 PROCEDURE: … … 57 58 * For Pi Zero, connect a micro-USB cable to the OTG port (the middle one, not the one on the end) 58 59 * Wait for the Pi to finish booting (LED stops blinking) 59 * Get a network connectionfor the Pi using one of the following methods:60 * Provide internet access for the Pi using one of the following methods: 60 61 * For Pi Zero with USB networking: 61 62 * Share your main network connection (Ethernet or !WiFi with the USB NDIS/Ethernet connection). See [https://answers.microsoft.com/en-us/windows/forum/windows_10-networking-winpc/internet-connection-sharing-in-windows-10/f6dcac4b-5203-4c98-8cf2-dcac86d98fb9 here] … … 69 70 * click OK 70 71 * Alternatively (but not recommended) Bridge your main connection on the windows 10 machine (Ethernet or !WiFi) to the NDIS Ethernet connection for the !PiBot USB OTG network (select both connections in the Network Connections then right-click and choose Bridge Connections); configure the DNS server as 8.8.8.8 71 * Connect a USB Ethernet dongle to the Pi OTG connector 72 * Configure /etc/wpa_supplicant/wpa_supplicant.conf on the Pi to include your local !WiFi network 72 * For Pis without USB or WiFi, connect a USB Ethernet dongle to the Pi OTG connector 73 73 * ssh to raspberrypi.local using putty or cygwin ssh or ... 74 74 * login as user 'pi' with password 'raspberry' … … 76 76 * sudo apt update 77 77 * sudo apt upgrade 78 * Fix the way raspbian referencespartitions (see info [https://www.raspberrypi.org/forums/viewtopic.php?t=192889 here]). If you don't do this and leave references using UUIDs, when you resize the root partition, raspbian will change the UUID and you won't be able to boot:78 * Fix the way Raspbian references disk partitions (see info [https://www.raspberrypi.org/forums/viewtopic.php?t=192889 here]). If you don't do this and leave references using UUIDs, when you resize the root partition, raspbian will change the UUID and you won't be able to boot: 79 79 * sudo fdisk -l (list partitions) 80 80 * edit /etc/fstab … … 118 118 * Setup interfacing options: enable ssh, vnc, i2c (note, VNC will install X and a ton of other stuff) 119 119 * Install any needed packages 120 * sudo apt-get install subversion ant mercurial 120 * sudo apt-get install subversion ant mercurial git 121 121 * curl -s get.pi4j.com | sudo bash 122 * Install Oracle DIO (see https://www.raspberrypi.org/forums/viewtopic.php?f=81&t=99212) 122 * Install latest Oracle Java JDK (this example uses 8u171) 123 * wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-arm32-vfp-hflt.tar.gz (you can change the URL to the latest JDK link for ARM-32-hard-float-ABI found [http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html here]) 124 * sudo tar zxvf jdk-8u171-linux-arm32-vfp-hflt.tar.gz -C /opt (installs Java to /opt) 125 * sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_171/bin/javac 1 126 * sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_171/bin/java 1 127 * sudo update-alternatives --config javac (select the version you just installed) 128 * sudo update-alternatives --config java 129 * java -version 130 * javac -version 131 * Install Oracle DIO (see [https://www.raspberrypi.org/forums/viewtopic.php?f=81&t=99212 here] for info) 123 132 * hg clone http://hg.openjdk.java.net/dio/dev 124 * export PI_TOOLS=/usr 125 * export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/ 133 * export PI_TOOLS=/usr (path where you want tools installed) 134 * export JAVA_HOME=/opt/jdk1.8.0_171/ (path to Java compiler installation) 135 * export JAVA_TARGET_HOME=/opt/jdk1.8.0_171/ (path to Java target installation) 136 * export CROSS_TOOL=/usr/bin/ (path to gcc toolchain) 126 137 * cd dev 127 138 * make