1. Hardware Requirements:
- Banana Pi board
- MicroSD card (minimum 8GB, Class 10 recommended)
- MicroSD card reader/writer
- Power adapter (5V/2A recommended)
- HDMI cable and monitor
- USB keyboard and mouse
- Ethernet cable (optional, for network connection)
A comprehensive cheat sheet covering Banana Pi single-board computers, including setup, configuration, common commands, and troubleshooting tips.
1. Hardware Requirements:
|
2. Download Operating System Image:
|
3. Flash the OS Image to the MicroSD Card:
|
4. Booting the Banana Pi:
|
5. Initial Configuration:
|
|
Update the package list. |
|
Upgrade installed packages. |
|
Install a new package. |
|
Remove a package. |
|
Remove automatically all unused packages. |
|
Display network interfaces and IP addresses. |
Edit the Example:
|
Restart the networking service:
|
Alternatively, use Edit
|
SSH (Secure Shell) allows remote access to the Banana Pi.
|
Access the Banana Pi from another computer using an SSH client (e.g., PuTTY, Terminal):
|
To disable password authentication and use SSH keys (recommended for security):
|
UFW (Uncomplicated Firewall) is an easy-to-use firewall management tool.
|
Allow SSH connections: |
Check UFW status: |
Accessing GPIO pins requires proper libraries and permissions.
|
Using libgpiod:
|
|
|
|
I2C |
|
SPI |
|
Serial (UART) |
|
|
1. Banana Pi Not Booting:
|
2. No Network Connection:
|
3. SSH Connection Refused:
|
4. GPIO Issues:
|
Overclocking |
|
Kernel Updates |
|
Bootloader Configuration |
|
Device Tree Overlays |
|
|
|
|