Changes between Version 16 and Version 17 of PibotGoldenImage


Ignore:
Timestamp:
Jun 23, 2018, 2:44:24 PM (7 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PibotGoldenImage

    v16 v17  
    1212   * [https://support.apple.com/downloads/bonjour_for_windows Apple Bonjour] print services for windows
    1313   * 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]
    1415
    1516PROCEDURE:
     
    5758       * For Pi Zero, connect a micro-USB cable to the OTG port (the middle one, not the one on the end)
    5859       * Wait for the Pi to finish booting (LED stops blinking)
    59        * Get a network connection for the Pi using one of the following methods:
     60       * Provide internet access for the Pi using one of the following methods:
    6061           * For Pi Zero with USB networking:
    6162               * 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]
     
    6970                 * click OK
    7071               * 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
    7373       * ssh to raspberrypi.local using putty or cygwin ssh or ...
    7474       * login as user 'pi' with password 'raspberry'
     
    7676           * sudo apt update
    7777           * sudo apt upgrade
    78        * Fix the way raspbian references 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:
     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:
    7979           * sudo fdisk -l  (list partitions)
    8080           * edit /etc/fstab
     
    118118           * Setup interfacing options: enable ssh, vnc, i2c  (note, VNC will install X and a ton of other stuff)
    119119       * Install any needed packages
    120            * sudo apt-get install subversion ant mercurial
     120           * sudo apt-get install subversion ant mercurial git
    121121           * 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)
    123132           * 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)
    126137           * cd dev
    127138           * make