Raspberry Pi: Before I Pull the Trigger?

Any instructions for this kind of setup somewhat?

1 Like

Here is one:

1 Like

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:

http://www.computerweekly.com/feature/Apollo-11-The-computers-that-put-man-on-the-moon

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

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:

libraspberrypi-bin
libraspberrypi0
raspberrypi-bootloader
  • 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


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.

Regards
Gerry

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?

Tom

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.

2 Likes

Yes it does! Thanks

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:

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?

/mike

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.

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.

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.

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

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

1 Like

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

tom

Which ā€œstart.shā€ ist it?

start.sh was used some time agoā€¦

afair you can setup additional java parameters through /etc/default/openhab2 (or was it /etc/defaults/openhab2?