Difference between revisions of "Ultibo Quick Start"

From Lazarus wiki
Jump to navigationJump to search
m
m
Line 18: Line 18:
 
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<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. On Zero get: Fatal I/O error: Disk Full (may work on present script)'''<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/>
  

Revision as of 04:42, 28 September 2019

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