Skip to main content

Raspberry PI - Uctronics panel setup

This is to setup the panel on the rack mount UCTRONICS raspberry pi holder with SSD drives

You will need to get the following from GitHub

git clone https://github.com/UCTRONICS/SKU_RM0004.git

Compile the download

cd SKU_RM0004
make clean && make 

Run this to auto configure

./deployment_service.sh   

Reboot your Pi

sudo reboot

 

Below Depricated

You will have to modify the following file

sudo nano /boot/config.txt
or
sudo nano /boot/firmware/config.txt

At the end of the file add below the last [ALL] section

dtparam=i2c_arm=on,i2c_arm_baudrate=400000
dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=up

You will need to get the following from GitHub

git clone https://github.com/UCTRONICS/SKU_RM0004.git

Run the following

cd SKU_RM0004
make

Edit the following file: 

sudo nano /etc/rc.local

You will need to add the following after the fi and before the exit 0

_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

<<<HERE>>>

exit 0

Once modified should look like this

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

cd /home/pi/SKU_RM0004
make clean 
make 
./display &

exit 0

Run the following:

cd /home/pi/SKU_RM0004
make clean 
make 
./display &