Last edited · 8 revisions  

 


Mount the PiDV

The PiDV has 26 GPIO pins, the Raspberry Pi 3 has 40 GPIO pins.  Looking at the Raspberry Pi with the USB connectors to the left and the GPIO pins along the bottom, mount the PiDV with pin 1 to pin 1, this will be all the way to the right. 

Create the Boot Image

  1. Obtain a high quality microSD card.  A Class-10 card of 8GB or more is recommended.
  2. Download a Compass Linux image from archive.compasslinux.org
  3. The 'lite' version is without a GUI and will require hand editing of configuration files.  The full version has a GUI desktop.
  4. Unzip and copy the uncompressed image to the SD card using the procedure outlined on the Raspberry Pi site.

Boot for the First Time

  1. Place the microSD card in the Raspberry Pi.
  2. Attach a monitor and keyboard/mouse to the Raspberry Pi
  3. Attach Ethernet via the RJ-45 jack to your network.
  4. Apply power via the microUSB port next to the HDMI port 
  5. Allow the Raspberry Pi to boot up
  6. Login  (User: pi, Password: raspberry)
  7. Perform any Linux configuration specific to your installation, e.g. assign specific network addresses, install favorite tools, etc. (This is beyond the scope of NW Digital Radio support, please use Linux support resources for assistance.)
    Note: DO NOT RUN raspi-update - it will break your install
  8. You may wish to edit the /etc/hosts file and add a reference to the hostname, for example if you keep the default 'compass' hostname, add a line
    127.0.1.1 compass
    If you want to change the computer hostname use the command:
    sudo raspi-config
    Then select "Advanced Options" -> "Hostname" and follow the instructions.  It will update the hostname for your Raspberry Pi and will make the change in /etc/hosts
  9. To gracefully shutdown the Raspberry Pi, you may use the command:
    sudo halt

Install AMBEserver

Use the following commands on the command line.

For the AMBEserver:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ambeserver
sudo systemctl enable ambeserver@ttyAMA0.service

Edit (sudo nano or sudo vi) the file /boot/cmdline.txt  and copy the first line and delete 'console=serial0,115200' in a new line.  Comment out the original line.

Example:

#dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

Save the file.

Reboot your system.  AMBEserver should be running and listening on UDP port 2460.

Notes

See the Addendum

NW Digital Radio is in the process of setting up various community groups at Groups.io Please create a personal account at Groups.io Join the main NW Digital group by sending an email from your registered email account to main+subscribe@nw-digital-radio.groups.io and then send an email to ambe+subscribe@nw-digital-radio.groups.io Please use the group for questions and to share your experiences, so that all ThumbDV™, PiDV™, AMBEserver users can benefit from the replies.