Raspberry Pi 4 released

Awesome! I just ordered a couple :slight_smile:

Finally it has usb3, gigabit network and most of all available with more ram which was very much needed.

They always try and hit the $35 price tag which will always mean cutting edge stuff that will cost will not make the list.

1 Like

For openhab, usb3 could be usefull when running external SSD drive. But i dont think it´s that important.
Gigabit ethernet isn´t that important, for stock openhab. But if you do video stream etc it could come in hand…
Most important, in my opinion… More memory… Thats highly appreciated. Unfortunatly it doesnt look like the 4GB board is available now. I want the 4GB version… But first of all, I want to be sure that openhab (hassle-free) works with Pi4.

2 Likes

Pi4 4G delivers July 4 in Aus.

After getting notification before breakfast, I got an order in early to Pimoroni to order a 4Gb board. Looks like they are already out of stock only 4 hours later!

The low-level technical details are being picked over by many people, but for me the highlights are:

  • 1, 2, or 4Gb of memory - more space to run Java VMs, less swapping to SD cards, and options to run several projects on one device.
  • The uSD interface is supposed to have x2 the previous data transfer rate.
  • A ‘proper’ USB-3 interface for high-speed disk access - allows use of external disk for logging (even SSDs), RRD databases, etc without a network bottleneck.
  • Mention of several more UARTS - this isn’t clear yet, but I wonder if the Bluetooth 5 interface is separated from the console? The issue with the Pi3 was many interfaces (e.g. Z-Wave) use the serial console port - which prevented the use of Bluetooth for occupancy detection.
  • No major changes to the pin headers (although the latest Pimoroni YouTube video mentions UARTs and changes to power management).

Some news articles suggest sample dev boards have been with package maintainers in advance to improve hardware support today, but there’s always a period of several weeks as bugs are found, new features found, drivers written and generally improved.

Being Java, OpenHAB should run immediately on a RPi4 4Gb but are there any specific benchmarks that would be useful to run if kit arrived in the post?

OpenHABian won’t work out of the box, as older Raspbian kernels are confirmed as unable to boot on the new device - exactly as with previous hardware upgrades. I’ll have to build up from new Raspbian Buster images with packages.

Awesome news!

Gigabit LAN, finally!
This will save me another VM that´s currently doing Speedtests because the Pi 3 100Mbits isn´t enough.

Let´s see if the openhabian image get an update soon.

I think it is very important; I have the mSATA RPi hat which currently runs over USB2. while better than the SD card (in speed and longevity) having this now on USB3 will be brilliantly faster :slight_smile:
The bummer is that they’ve moved the NIC and USB ports so none of my hats will work.Hey Ho.

I’ve ordered one - confirmed - for delviery tomorrow. I’ll get it running with my OH install and switch over to it over the weekend.
My current strugles are RAM and (I believe) CPU

Chatting to a mate it seems the 4 has a PCIe chip which manages the NIC and USB. If this is the case when the next version may well have a m.2 connetor on it which will make it a nice little server…

Maybe the following information is useful.

It’s important to note that, at launch time, some important Raspberry Pi software doesn’t yet work on the Pi 4. To run Pi 4, you’ll need to download a brand new build of the Raspbian OS, Raspbian Buster. And not everything runs in Buster yet. During testing, we found numerous Python libraries or other required packages that weren’t compatible with the new OS.

Source: https://www.tomshardware.com/reviews/raspberry-pi-4-b,6193.html

There is also a new Raspbian OS, Rapsbian Buster.
The real question is will we get a new Openhabian image based on Buster?

1 Like

Parsing Rules tends to be the big noticeable pain point on RPis. Comparing the startup time/.rules files parsing times would be informative.

Ultimately I think most of the benefits will go to the ability to run off of an external HDD/SDD at full USB 3 speed and the ability to run more than just OH on the machine.

If these were out a few years ago I would have a bunch of these instead of this big black box suspended under my desk.

I had always debated whether my son’s first computer would be an RPi (something like the Kano kit), something he can assemble himself but was always concerned about the RAM. With 4 Gig I’ve no more concerns. Now I just have to wait for him to get a bit older. :slight_smile:

Given the quote Mark included just above your post, I think it will be wise to wait a bit.

2 Likes

My first computer was an Amstrad CPC I think it was in 1985. In 1986 I got two Atari ST´s, and later a coupple of Atari STé´s. The STé got modified with 1GB RAM (i think it was) From there things went fast. Had my first real PC in 1986, an 8086 CPU with monochrome monitor and 512MB of RAM and 5 1/4 inch floppy drive. Later added an MFM hdd. When the Atari Falcon arrive, I had to get one of those as well.

If your kid starts off with an Rpi 4… here sure get a very good head start :slight_smile:

2 Likes

Are you sure it was 1Gb? That sounds very large for those days.

The first computer I used was a Nascom 1 back in 1979, followed by a ZX81 with 1Kb RAM if I remember correctly - and that was shared with the graphics. Even though it came with BASIC, if you wanted to do anything meaningful, we had to drop into assembly language… those were the days :slight_smile:

2 Likes

Keen to see what these are like running openhab, and if there is any real time benefit to update.
Currently im running a rpi3 model b and it runs fine.
But im only running openhab, with NGINX. nothing else.

Id love to have it load items, rules etc faster, restart faster, but totally not a necessity.

I went from a Pi3 to a clone which has close to what the Pi4 has and can tell you it is not much and not worth upgrading UNLESS you need the extra ram or CPU then it is totally worth the upgrade. If you have not run out then may as well keep what you have as the Pi5 is probably only 12 months away from being released.

Are you sure?

Without reading up, my guess is it wasn’t neither 1GB nor 1Gb but rather 1 MB which should have been rather plenty 1986…

1 Like

How much hassle will it be to upgrade to RPI4 from RPI3, I assume you can not swap the SD card over…

1 Like

Nope. New OS.
Backup and restore is going to be my first option. Will see this after.

The new hardware is not backwards compatible, so a complete new version of Raspbian is required even to boot (stretch -> buster). This means you can’t simply swap uSD cards today.

An upgrade is likely to need taking a backup of your OpenHAB files from the uSD card, creating a new card with a new software image, and restoring your backup of OpenHAB config to the new install. The good thing is uSD cards and RPi are relatively cheap, you can afford to have several - keep your ‘old’ system running you home whilst you test on a separate per-production device.

This means if hardware fails in the future, you have ‘cold spare’ backup hardware and software ready to go. You do take backups of your OpenHAB config don’t you? :slight_smile:

It is possible that the current version of Raspbian (e.g. my OpenHABian RPi3b runs Debian stretch kernel 4.19.42-v7) may be upgraded to support the new RPi4 hardware, but my experience is the old boot loader on an older uSD card still can’t work on new hardware.

2 Likes

No sorry… 4MB of ram, ofcouse … Bare with me, this is more than 30 years ago… :slight_smile:
My Atari ST´s had 512KB as default. I had to solder the RAM modification myself.
The 1040 STé was alot easier, as it had Simm sockets. It was default 1040KB of RAM.
All my Atari computers was “upgraded” with hdd´s as well. My Atari Falcon´s was upgraded with SCSI hdd´s and Co-processors.

The ST 512, and I believe 1040, was shipped with monochrome monitors… I rewired the cable connection added a color monitors insted… I think it´d handle a 16 color monitor at that time… The Falcon could do 16mill colors by default, as far as I remember.

I got my first “real” PC sometime in the 80´s, probably around late 80´s - 1986/1987… It was a Olivetti with Motorola 80286 and dual 5.25" floppy drives and a small MFM harddrive, (added later), with a grey-tone monitor… I think this one was running one of the first version of MS DOS. (version 2.xxx or something simular). From there things went from fanatic to stupidty… At one time, I had 5 computers running at the same time. (Two running the BBS, two for music production, and one for just having fun/playing). When Atari Co. blew their status on the market, I hold on to the Atari computers for music production only for a few years, using Steinberg Pro 12/24, and “upgraded” to Steinberg Cubase. In the early 90´s I changed to be running Cubase on the PC insted, and wihtin a year, I dumped all my Atari computers. From there things went from stupidty to crazy… Everytime a new Intel processor arrived, I upgraded my PC´s, rebuilding and configurating everything myself, starting with the 80386 processor, everytime with gameplay in mind, as well as server hosting, (web, mail and DNS hosting).
Untill 2015, I had been building all my PC´s myself… In 2015 I bought my first laptop, a Lenovo T540p with Intel core I7 4. gen. processor, which I (for god know what reason) is still using… (Hmm… Mind me it´s time to upgrade I guess :smiley:). Today, beside a few Rpi´s 3B+´s, I have an very old Qnap T110 NAS, a HP mediasmart server ex490, (modified with a quad core Intel processor and RAM, still hosting my mailserver), and a few older Lenovo and HP´s laptops with gen. 2 and 3 Intel core I5/I7 processors lying around which I bought very cheap, and my kids had been using.
I guess I´ll never learn to limit myself :blush:

2 Likes