Raspberry Pi: Before I Pull the Trigger?

(Frode Heiland) #21

Any instructions for this kind of setup somewhat?

Best hardware platform
(John Cocula) #22

Here is one:

(johnconn) #23

Consider the fact that the Apollo 11 guidance computer has 64Kb of RAM and a clock speed of 0.043Mhz…I think the Pi 2 can monitor a few sensors without too much trouble. :wink:


I run OpenHAB on a Pi 2 and have been VERY happy. Worked great on my original Pi as well. Pull the trigger!

(Simon Merschjohann) #24

If you are looking for:

# cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian stretch main contrib non-free
deb http://archive.raspberrypi.org/debian jessie main

# cat /etc/apt/preferences.d/raspberrypi 
Package: *
Pin: origin archive.raspberrypi.org
Pin-Priority: 1

Package: raspberrypi-bootloader
Pin: origin archive.raspberrypi.org
Pin-Priority: 1000

Package: libraspberrypi0
Pin: origin archive.raspberrypi.org
Pin-Priority: 1000

Package: libraspberrypi-bin
Pin: origin archive.raspberrypi.org
Pin-Priority: 1000

you will need from archive.raspberrypi.org the following packages:

  • BTRFS (and/or USB-Stick):

instead of formatting the SD-card/USB-stick with ext4 you use btrfs and add a subvolume @ as root subvolume

# cat /boot/cmdline.txt 
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/sda1 rootflags=subvol=@,commit=300 rootfstype=btrfs elevator=deadline rootwait

# cat /etc/fstab 
/dev/mmcblk0p1 /boot vfat noatime 0 2
/dev/sda1 / btrfs defaults,noatime,nodiratime,discard,commit=300,subvol=@ 0 1

(Gerry33) #25

Give ODROID C1 a chance.

Its much faster than RPI2, e.g. due to Gigabit LAN. Works like a charm here: Stable, reliable, faster than RPI2. Using traditional UBUNTU gives you more choices on software and long term support.

I kicked all my RPIs and did not regret it.


(Thomas Moulton) #26

In step 4 the second link HW FAQ

It says “setting RAMTMP=yes in /etc/default/tmpfs these I/O operations will be RAM access rather than slow SD card I/O”

But with the Jessie Raspbian image (non-lite) from step 1 no matter what setting I use in /etc/defaults/tmpfs I appear to see the same file system.

It is shipped with

I also tried RAMTMP=yes and RAMTMP=no
(Yes uncommented)

What is the best setting?


(SiHui) #27

I made the same experience and since then I use
tmpfs /tmp tmpfs defaults,noatime,nosuid,mode=0755,size=50m 0 0
in my /etc/fstab, works fine.

(Thomas Moulton) #28

Yes it does! Thanks

(Roger) #29

Hi Lars! Where are you from? By your name im guessing Scandinavia? :slight_smile: Im asking because of the voice control you are mentioning - is it in English? Or If its in Norwegian for example, willing to share the ruleset? :slight_smile:

(Michael Parment) #30

I am using an Raspberry PI 2 and are very satisfied. I will now go for an external disk. Should I go for an external SSD or standard?


(Rich Koshak) #31

Probably what ever is cheapest. OH does not appear to be IO bound and I don’t think you would see a difference over USB 2 between the two anyway.

(John Cocula) #32

I’m using a basic 2.5 external USB 2.0 disk, but if you are thinking of slightly extreme conditions or difficult-to-reach placement, I think the SSD is liable to be more reliable overall. Of course, if cost is a real factor, a traditional disk should do fine.

(Jay) #33

I’ve used Banana PI and Banana PRO in the past with Expanded external 250G SSD and they both worked flawlessly due to the better hardware.

(Rich Koshak) #34

I just saw this today. Some might find it useful.

Western Digital makes a $46, 314GB hard drive just for the Raspberry Pi

(Thomas Moulton) #35

Yes but being so popular, 4-6 week lead times


(Slavisa Lukic) #36

Which “start.sh” ist it?