Difference between revisions of "Ultibo Quick Start"

From Free Pascal wiki
Jump to navigationJump to search
m (Categorised page)
 
(27 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Overview ==
+
Our goal is to use a Raspberry Pi (optional - Zero Wireless With Headers with [https://ultibo.org/wiki/Unit_RPISENSEHAT Sense HAT] documented more [https://www.raspberrypi.org/products/sense-hat/ here], [https://astro-pi.org/wp-content/uploads/2018/09/T05.2_Meet-the-Sense-HAT.pdf here], and [http://www.esa.int/Education/AstroPI/European_Astro_Pi_Challenge_2019-20_now_open here]).<br/>
 
 
<br/>
 
- Use a PC to install [https://www.matthuisman.nz/2017/02/how-to-install-pinn-lite.html PINN Lite] onto a 8 GB SD card.
 
- Set up Zero hardware (similar to [https://www.raspberrypi.org/learning/parents-guide/ this], but a little different as need USB hub and several micro to standard cables). '''PINN works with wireless keyboards and mice (unlike NOOBS)!'''<br/>
 
- Power up and select Language on PINN, connect WiFi, and then select LibreELEC '''and''' Raspbian Lite to install.<br/>
 
- Note: the rest takes about 47 minutes on a RPi3B<br/>
 
<br/>
 
Our goal is to use a Raspberry Pi Zero Wireless With Headers (with [https://ultibo.org/wiki/Unit_RPISENSEHAT Sense HAT] documented more [https://www.raspberrypi.org/products/sense-hat/ here] and [https://astro-pi.org/wp-content/uploads/2018/09/T05.2_Meet-the-Sense-HAT.pdf here] and [http://www.esa.int/Education/AstroPI/European_Astro_Pi_Challenge_2019-20_now_open here]).<br/>
 
 
<br/>
 
<br/>
- Boot up your Raspberry Pi, configure Internet access (if using WiFi)<br/>
+
- Use a PC to install [https://www.matthuisman.nz/2017/02/how-to-install-pinn-lite.html PINN Lite] onto a 8 GB SD card.<br/>
 +
- Set up hardware similar to [https://www.raspberrypi.org/learning/parents-guide/ this], but the Zero is a little different as need USB hub and several micro to standard cables.<br/>
 +
'''PINN works with wireless keyboards and mice (unlike NOOBS)!'''<br/>
 +
- Power up your Raspberry Pi, configure Internet access (if using WiFi)<br/>
 
- Select your Language near the bottom of the screen<br/>
 
- Select your Language near the bottom of the screen<br/>
- Make sure Raspbian Lite is the only OS selected, then click the Install button.<br/>
+
- Make sure Raspbian Lite is selected to install, then click the Install button.<br/>
- When reboots delay login as Raspbian does updates automatically by itself, login (user pi and password raspberry)<br/>
+
- When reboots, delay login as Raspbian does updates automatically by itself, login (user pi and password raspberry)<br/>
 
- We are basically following the "headless" set up [https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/introduction here].<br/>
 
- We are basically following the "headless" set up [https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/introduction here].<br/>
- Enter the following lines '''(without bold comment text)''' in the terminal:<br/>
+
- Enter the following lines '''(without bold comment text)'''<br/>
 
sudo sh -c "apt update && apt dist-upgrade && apt autoremove"<br/>
 
sudo sh -c "apt update && apt dist-upgrade && apt autoremove"<br/>
sudo raspi-config '''(to select timezone and other options)'''<br/>
+
sudo raspi-config '''(to select timezone under 4-Localisation Options)'''<br/>
 
sudo reboot<br/>
 
sudo reboot<br/>
 
'''(login)'''<br/>
 
'''(login)'''<br/>
sudo apt install libgtk2.0-dev libghc-x11-dev '''(temp to install 169 packages until script is fixed so don't need these)'''<br/>
+
'''The reason binutils-arm-none-eabi is needed when running natively:''' [https://ultibo.org/wiki/Building_for_Raspbian#Installing_the_arm-none-eabi_Toolchain arm_none_eabi]<br/>
 +
sudo apt install binutils-arm-none-eabi<br/>
 
wget https://github.com/ultibohub/Tools/releases/latest/download/ultiboinstaller.sh<br/>
 
wget https://github.com/ultibohub/Tools/releases/latest/download/ultiboinstaller.sh<br/>
 
chmod u+rx ultiboinstaller.sh<br/>
 
chmod u+rx ultiboinstaller.sh<br/>
 +
'''Note: the script below takes about 30 minutes on a RPi3B, about 80 minutes on a Zero.<br/>
 +
'''
 
./ultiboinstaller.sh '''(confirm don't want Lazarus, do want to build the Hello World examples)'''<br/>
 
./ultiboinstaller.sh '''(confirm don't want Lazarus, do want to build the Hello World examples)'''<br/>
 +
'''Completes on RPi3B and Zero.'''<br/>
 
sudo poweroff '''(wait for LED off before remove power)'''<br/>
 
sudo poweroff '''(wait for LED off before remove power)'''<br/>
  
Line 28: Line 27:
 
* [[Ultibo_core]]
 
* [[Ultibo_core]]
 
* [http://turbocontrol.com/easyultibo.htm EasyUltibo] - where this wiki page started, more standard FPC & Python for SenseHat
 
* [http://turbocontrol.com/easyultibo.htm EasyUltibo] - where this wiki page started, more standard FPC & Python for SenseHat
 +
 +
[[Category:Embedded]]
 +
[[Category:Raspberry Pi]]

Latest revision as of 23:03, 12 January 2020

Our goal is to use a Raspberry Pi (optional - Zero Wireless With Headers with Sense HAT documented more here, here, and here).

- Use a PC to install PINN Lite onto a 8 GB SD card.
- Set up hardware similar to this, but the Zero is a little different as need USB hub and several micro to standard cables.
PINN works with wireless keyboards and mice (unlike NOOBS)!
- Power up your Raspberry Pi, configure Internet access (if using WiFi)
- Select your Language near the bottom of the screen
- Make sure Raspbian Lite is selected to install, then click the Install button.
- When reboots, delay login as Raspbian does updates automatically by itself, login (user pi and password raspberry)
- We are basically following the "headless" set up here.
- Enter the following lines (without bold comment text)
sudo sh -c "apt update && apt dist-upgrade && apt autoremove"
sudo raspi-config (to select timezone under 4-Localisation Options)
sudo reboot
(login)
The reason binutils-arm-none-eabi is needed when running natively: arm_none_eabi
sudo apt install binutils-arm-none-eabi
wget https://github.com/ultibohub/Tools/releases/latest/download/ultiboinstaller.sh
chmod u+rx ultiboinstaller.sh
Note: the script below takes about 30 minutes on a RPi3B, about 80 minutes on a Zero.
./ultiboinstaller.sh (confirm don't want Lazarus, do want to build the Hello World examples)
Completes on RPi3B and Zero.
sudo poweroff (wait for LED off before remove power)

See also