RPi4: Now Overclocked, Net-Booted, And Power-Sipping

It has now been a few months since the launch of the Raspberry Pi 4, and it would only be fair to describe the launch as “rocky”. While significantly faster than the Pi 3 on paper, its propensity for overheating would end up throttling down the CPU clock even with the plethora of aftermarket heatsinks and fans. The Raspberry Pi folks have been working on solutions to these teething troubles, and they have now released a bunch of updates in the form of a new bootloader, that lets the Pi 4 live up to its promise. (UPDATE: Here’s the download page and release notes)

The real meat of the update comes in an implementation of a low power mode for the USB hub. It turns out that the main source of heat on the SoC wasn’t the CPU, but the USB. Fixing the USB power consumption means that you can run the processor cool at stock speeds, and it can even be overclocked now.

There is also a new tool for updating the Pi bootloader, rpi-eeprom, that allows automatic updates for Pi 4 owners. The big change is that booting the Pi 4 over the network or an attached USB device is now a possibility, which is a must if you’re installing the Pi permanently. There are some fixes that caused problems with certain HATs, in which the Pi 4’s 3.3 V line was cycled during a reboot.

With a device as complex as a Raspberry Pi it comes as no surprise that it might ship with a few teething troubles. We’ve already covered some surrounding the USB-C power, for example. And the overheating. Where the Pi people consistently deliver though is in terms of support, both official and from the community, and we’re very pleased to see them come through in this case too.

Unix Tell All Book From Kernighan Hits The Shelves

When you think of the Unix and C revolution that grew out of Bell Labs, there are a few famous names. Dennis Ritchie, Ken Thompson, and Brian Kernighan come to mind. After all, the K in both K&R C and in AWK stand for Kernighan. While Kernighan is no stranger to book authorship — he’s written several classics including “the white book” for C and Unix — he has a new book out that is part historical record and part memoir about the birth of Unix.

Usually, when a famous person writes a retrospective like this, it is full of salacious details, but we don’t expect much of that here. The book talks about Bell Labs and Multics, of course. There’s serious coverage of the first, sixth, and seventh editions with biographies of people integral to those releases.

Continue reading “Unix Tell All Book From Kernighan Hits The Shelves”

Hacking Mars: InSight Mole Is On The Move Again

Your job might be tough, but spare a thought for any of the engineers involved in the Mars InSight lander mission when they learned that one of the flagship instruments aboard the lander, indeed the very instrument for which the entire mission was named, appeared to be a dud. That’s a bad day at work by anyone’s standards, and it happened over the summer when it was reported that the Mars Interior Exploration using Seismic Investigations, Geodesy and Heat Transport lander’s Heat Flow and Physical Properties Package (HP³), commonly known as “The Mole”, was not drilling itself into the Martian regolith as planned.

But now, after months of brainstorming and painstaking testing on Earth and on Mars, it looks as if the mole is working again. NASA has announced that, with a little help from the lander’s backhoe bucket, the HP³ penetrator has dug itself 2 cm into the soil. It’s a far cry from the 5-meter planned depth for its heat-transfer experiments, but it’s progress, and the clever hack that got the probe that far might just go on to salvage a huge chunk of the science planned for the $828 million program.

Continue reading “Hacking Mars: InSight Mole Is On The Move Again”

Building The World’s Best DML Speakers For Under $115

Flat panel speakers are heavily reliant on the material they’re mounted on for the best acoustic quality. In particular, for DML (distributed mode loudspeaker) speakers, sound is produced through the distribution of vibration modes in the panel. You can easily spend far too much on special exciter foam or optimized materials for producing the best quality sound.

[Tech Ingredients] does a deep dive into how to build high-quality and low-cost DML speakers using some interesting materials, such as acoustic ceiling tiles and styrofoam. He analyzes their frequency based on the material and shape used and demonstrates how a full setup sounds with studio microphones and stereo speakers installed. The shapes can allow the resonances for different speakers to be translated so that they don’t overlap – peaks can be matched with troughs to produce a more even sound. Squares with rounded edges work the best for translating the resonance.

Balsa wood is mainly used for low frequencies and styrofoam for high frequencies, although the ceiling tiles work as well as either material and are significantly cheaper. Rather than retrofitting into drop ceiling metal frames, he instead installs his panels vertically. He shows the process for preparing the styrofoam and ceiling tiles for hanging, including tips for creating a makeshift circular saw for punching out holes and securing cotter pins with epoxy.

[Tech Ingredients] goes through experimenting with unusual shape and material combinations in order to produce the best possible speakers. It’s a fascinating video that walks through the ins and outs of DIYing your own set of speakers, and it’s worth a watch even just to hear about the acoustic properties of materials.

[Ed Note: Yes, this video is a bit long in the tooth, but we keep getting tips for it, so it’s news to someone! And it’s cool regardless. But feel free to skip on if you’ve seen this one before.]
Continue reading “Building The World’s Best DML Speakers For Under $115”

Arm Allows Custom Instructions

We’re surrounded by ARM processors, which enjoy a commanding foothold in the consumer market, especially with portable electronics. However, Arm Holdings has never focused its business model on manufacturing chips, instead licensing its CPUs to others who make the physical devices. There is a bit of a tightrope to walk, though, because vendors want to differentiate themselves while Arm wants to keep products as similar as possible to allow for portability and reuse of things like libraries and toolchains. So it was a little surprising when Arm announced recently that for the first time, they would allow vendors to develop custom instructions. At least on the Armv8-M architecture.

We imagine designs like RISC-V are encroaching on Arm’s market share and this is a response to that. Although it is big news, it isn’t necessarily as big as you might think since Arm has allowed other means to do similar things via special coprocessor instructions and memory-mapped accelerators. If you are willing to put in some contact information, they have a full white paper available with a pretty sparse example. The example shows a population count function hand-optimized into 12 Arm instructions. Then it shows a single custom instruction that would do the same job. However, they don’t show the implementation nor do they offer any timing data about speed increases.

Continue reading “Arm Allows Custom Instructions”

The Arduino IDE Finally Grows Up

While the Arduino has a very vocal fan club, there are always a few people less than thrilled with the ubiquitous ecosystem. While fans may just dismiss it as sour grapes, there are a few legitimate complaints you can fairly level at the stock setup. To address at least some of those concerns, Arduino is rolling out the Arduino Pro IDE and while it doesn’t completely address every shortcoming, it is worth a look and may grow to quiet down some of the other criticisms, given time.

For the record, we think the most meaningful critiques fall into three categories: 1) the primitive development environment, 2) the convoluted build system, and 3) the lack of debugging. Of course, there are third party answers for all of these problems, but now the Pro IDE at least answers the first one. As far as we can tell, the IDE hides the build process just like the original IDE. Debugging, though, will have to wait for a later build.

Continue reading “The Arduino IDE Finally Grows Up”

Name A Hacker Camp

Many of us look forward to visiting a summer hacker camp, as an opportunity to immerse ourselves in some of the coolest and most stimulating stuff that comes out of our community. The names trip off the tongue, ToorCamp, CCCamp, EMFcamp, BornHack, and more.

There’s one major event that doesn’t trip off the tongue in the same way though, because though it’s one of the oldest in our calendar it doesn’t have the same name every time. Since the end of the 1980s the Netherlands has seen a sequence of  hacker camps with three letter names such as HAR, OHM, and SHA. Every four years these events delight and amaze us, and every four years they need a new name. Do you think you can help them pick one for 2021?

There are a few ground rules to observe, for the would-be coiner of a new moniker. The tradition is of a three-letter acronym, usually one with a meaning somewhere in technology, and so far always containing the letter H somewhere to stand for “Hack” in some form. The idea is that it should somehow encapsulate the spirit of hacker camp culture rather than simply be three words containing “Hack”. HAR for example was Hacking At Random, OHM was Observe Hack Make, and SHA was Still Hacking Anyway. So if you can dream up a TLA within those parameters, there is a group of hackers in the Netherlands who might like to hear from you. We suspect that HAD is already taken.

If you want to know more about the Netherlands camps, read our review of SHA, in 2017.

Header image: [Renze]. “Met Elkaar Hacken” means something close to “Hack together”.