A Broadcom development platform is available for sign out by students the Humber College Institute of Technology & Advanced Learning North Campus Technology Parts Crib.
Building the Humber image for the Sense Hat:
-
Format an at least class 10 minimum of 8GB SD card with: https://www.sdcard.org/downloads/formatter_4/index.html
-
Download and unzip http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-08-17/2017-08-16-raspbian-stretch.zip
-
Use http://sourceforge.net/projects/win32diskimager/ or Rufus to write 2017-08-16-raspbian-stretch.img on to the card.
-
Alternatively you can use download, unzip, and copy the folder contents of http://downloads.raspberrypi.org/NOOBS/images/NOOBS-2017-08-17/NOOBS_v2_4_3.zip into the root directory of the SD card which, after the first boot, has a similar result to the above steps.
-
Change internationalization options to the 104 key US keyboard by opening a terminal and using the command:
sudo raspi-config
(4. Localisation Options->I3 Change Keyboard layout->Generic 104-key PC->Other->English (US)->English (US)->The default for the keyboard layout->No compose key->No) (Also enable ssh'ing under Interfacing Options, and make sure you change your device's password)
-
Once you have connected to the internet via wired ethernet or Wi-Fi also use the terminal to do the following which takes a significant period of time:
wget https://raw.githubusercontent.com/six0four/StudentSenseHat/master/firmware/hshcribv01.sh \ -O /home/pi/hshcribv01.sh chmod u+x /home/pi/hshcribv01.sh /home/pi/hshcribv01.sh
-
You should consider setting the mysql password by using
mysqladmin -u root password mysecretpasswordgoeshere
-
You can test the GLG toolkit by running:
./RUN_DEMOS_NO_OPENGL
-
If interested in using Microsoft Windows' built-in Remote Desktop Connection as per the devices in the Humber College Institute of Technology & Advanced Learning North Campus Technology Parts Crib:
sudo apt-get install -y tightvncserver sudo apt-get install -y xrdp
For the Broadcom Development Platforms available from the parts crib /etc/xrdp/xrdp.ini has the username and password set as per:
[xrdp1] Name=sesman-Xvnc Lib=libnc.so Username=pi Password=raspberry Ip=127.0.0.1 Port=-1
They also have the static IP set via: /boot/cmdline.txt as per:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elavator=deadline fsck.repair=yes rootwait ip=169.254.0.2
on your device you may need:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elavator=deadline fsck.repair=yes rootwait ip=169.254.0.2
or:
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elavator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles ip=169.254.0.2
-
Otherwise, from the Start Menu->Preferences->Raspberry Pi Configuration->Interfaces set vnc to Enabled.
-
I still have to work on the echo $PATH with Paul to ensure the libraries are found correctly
-
The next curricular milestone is for students to demonstrate their ssh connections to their devices.
-
Subsequently followed by a milestone for which students show their LED blinking on their ARM development platform's interface board akin to https://six0four.github.io/StudentSenseHat/cribpi.html.