wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


hardware:arm:rpi:two-b

Raspberry Pi 2 Model B

This board should supported since IPFire 2.21 but no one has reported any details.

Here is the full list of specs for Raspberry Pi 2 Model B:1)

SoC: Broadcom BCM2836 (CPU, GPU, DSP, SDRAM)
CPU: 900 MHz quad-core ARM Cortex A7 (ARMv7 instruction set)
GPU: Broadcom VideoCore IV @ 250 MHz
More GPU info: OpenGL ES 2.0 (24 GFLOPS); 1080p30 MPEG-2 and VC-1 decoder (with license); ​1080p30 h.264/MPEG-4 AVC high-profile decoder and encoder
Memory: 1 GB (shared with GPU)
USB ports: 4
Video input: 15-pin MIPI camera interface (CSI) connector
Video outputs: HDMI, composite video (PAL and NTSC) via 3.5 mm jack
Audio input: I²S
Audio outputs: Analog via 3.5 mm jack; digital via HDMI and I²S
Storage: MicroSD
Network: 10/100Mbps Ethernet
Peripherals: 17 GPIO plus specific functions, and HAT ID bus
Power rating: 800 mA (4.0 W)
Power source: 5 V via MicroUSB or GPIO header
Size: 85.60mm × 56.5mm
Weight: 45g (1.6 oz)

USB-to-LAN adapters are listed here.

Download at least IPFire 2.21 (Flash Image) and flash it to an MicroSD card.

Note!
The ARM flash image is configured for serial console at default.
If using HDMI output and USB Keyboard edit the uENV.txt file and change SERIAL-CONSOLE=ON to OFF.

After flashing the SD card install it into the Raspberry Pi, connect the cables and power supply, and power it up. At the start of booting you'll see:

Net:   No ethernet found.
starting USB…
USB0:  Core Release: 2.80a
scanning bus 0 for devices…

The Raspberry Pi 2 Model B (Raspi 2B) will normally boot within xx seconds.

Note!
If the IPFire sits for more than 3 to 4 minutes it may be trying to locate a driver for an unknown USB device. Unplug the unknown device and reboot the Raspberry Pi.

Once the Raspi 2B is fully booted begin to follow the steps here.

Note!
In the IPFire setup Extended Network Menu the on-board Ethernet port is known as usb: Standard Microsystems Corp. SMSC95. And the wireless/WiFi is known as sdio: brcmfmac.

Benchmarks

iperf3 Speed Test

computer [iperf3 client] ← green → IPFire (Raspi 3B) ← red → computer [iperf3 server]

iMac3:~ $ iperf3 -c 192.168.60.178
Connecting to host 192.168.60.178, port 5201
[  5] local 192.168.1.100 port 51505 connected to 192.168.60.178 port 5201
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  73.1 MBytes  61.3 Mbits/sec                  sender
[  5]   0.00-10.03  sec  72.7 MBytes  60.8 Mbits/sec                  receiver


iMac3:~ $ iperf3 -c 192.168.60.178 -R
Connecting to host 192.168.60.178, port 5201
Reverse mode, remote host 192.168.60.178 is sending
[  5] local 192.168.1.100 port 51511 connected to 192.168.60.178 port 5201
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  43.0 MBytes  36.1 Mbits/sec                  sender
[  5]   0.00-10.00  sec  42.9 MBytes  36.0 Mbits/sec                  receiver

OpenSSL Speed Test

/usr/bin/openssl speed -elapsed -evp [cipher]

Cipher 16k bytes2)
kB/s Mbit/s
aes-256-gcm 3,271 26.2
aes-192-gcm 3,495 28.0
aes-128-gcm 3,750 30.0
camellia-256-cbc 8,673 69.4
camellia-192-cbc 8,634 69.1
camellia-128-cbc 11,207 89.7
aes-256-cbc 6,521 52.2
aes-192-cbc 7,493 59.9
aes-128-cbc 8,760 70.1
seed-cbc 9,208 73.7

OpenVPN Speed Test

time /usr/sbin/openvpn –test-crypto –secret /tmp/secret –verb 0 –tun-mtu 20000 –ncp-disable –cipher [cipher]

Cipher real Mbit/s
aes-256-gcm 3m44.902s 14.2
aes-192-gcm 3m31.700s 15.1
aes-128-gcm 3m24.175s 15.7
camellia-256-cbc 2m37.592s 20.3
camellia-192-cbc 2m37.278s 20.3
camellia-128-cbc 2m27.808s 21.6
aes-256-cbc 2m57.281s 18.1
aes-192-cbc 2m53.330s 18.5
aes-128-cbc 2m40.917s 19.9
seed-cbc 2m36.968s 20.4

Links:
Raspberry Pi 2 Model B

2)
Tested on IPFire 2.21 (armv5tel) - Core Update 126
hardware/arm/rpi/two-b.txt · Last modified: 2019/01/16 18:09 by Jon