Bonum Certa Men Certa

How To Deal With Your Raspberry Spy -- Part II: Introduction

By Gavin L. Rebeiro

Contents



Cover

Copyright

1 Acknowledgements

2 YOU ARE HERE ☞ Introduction

2.1 Prerequisite Knowledge 2.2 Apparatus

3 Fundamentals

3.1 Communication 3.2 Kernel Ring Buffer 3.3 Drivers 3.4 Operating Systems 3.5 Special Files

4 Doing The Task

4.1 Preparing The Boot Media 4.2 Connecting Physical Components 4.3 Using Picocom 4.4 OS Installation

5 Thanks

6 OpenPGP Key

A Malicious Hardware

B Linux Kernel Source Tree Analysis

C Digital Multimeter Tests

Summary: Following Part I, published a few hours ago, let's examine what happened from a technical perspective and what can be done about it technically

We don’t want to be spied on; what happens when we’re faced with an operating system that spies on people? We throw it in the trash where it belongs! I am boycotting the Raspberry Spy myself (you’re free to join me in doing so) but I don’t want people to waste hardware that they already have. So we’re going to walk through an interesting path of installing a different operating system on the Raspberry Spy; I want to show you a few things that will empower you to take greater control over your computing.



We’ll gently walk through and explore the following: how to install an operating system on an embedded device (a Raspberry Spy, in this case) over a USB-to-UART bridge (UTUB). This is the main project we’ve got on our hands. Don’t worry if you’ve never touched embedded systems before; everything here is accessible to people with a modest set of prerequisite knowledge and some basic apparatus.

We’ll delve into things with more depth as we move forward with our project; if you don’t understand something when you first encounter it, just keep reading.

2.1 Prerequisite Knowledge

There’s not much prerequisite knowledge required. Here’s what you need to know:

● A basic grasp of how to operate a shell on a GNU/Linux system. GNU Bash is an example. You don’t need to know how to write shell scripts. Knowledge of how to use the shell interactively will suffice.

That’s it. Really. Anything else you need you will pick up on the way.

2.2 Apparatus

You will need the following apparatus:

● A Raspberry Spy. I’ve got the Raspberry Spy Model 3 B+ so that’s what I’ll be using in this project.

● A working Internet connection.

● A USB thumb drive (used as boot media) for the Raspberry Spy.1

● A power supply for the Raspberry Spy.

● A USB-to-UART bridge (UTUB). I’ve got a CP2104 from Silicon Labs; this is widely available and you can pick it up from an online retailer. You want a module that has all the necessary pins and peripherals already packaged into one, neat, unit. I believe the specific module I have is by WINGONEER.

● 3 female-to-female jump wires.

● A computer with any recent GNU/Linux installed on it. The computer needs to have a working USB port.

● A generic microSD card reader/writer. I have an Anker AR200.

It’s likely that you already have the apparatus to operate your Raspberry Spy. Just acquire the additional bits that you don’t already have. The list here is just for completeness.

Here’s some extra equipment that will make your life easier:

● When you’re dealing with electronics, you should heed the old idiom of “two is one and one is none”. Get spares of whatever you can, as a rule.

● A digital multimeter (DMM) with spare fuses for the multimeter. Being able to do some quality control (QC) before you hook up your UTUB to your hardware is going to give you peace of mind. Don’t skimp on the spare fuses for the DMM; it’s easy to forget how much current you’ve got flowing through a circuit and fry the DMM’s fuse by accident2.

● A 2M or longer USB extension cable. Male-to-female is what you want here. You plug in the male part to your computer and the female part is open for receiving the UTUB. This makes life a lot easier (and safer).

● Nitrile gloves. Helps keep you safe.

● Safety goggles. Again, doesn’t hurt to be careful.

You should now have everything you need to get started! _____ 1 If you’ve got a Raspberry Spy that can only accept an SD card as boot media, you don’t need to fret too much. The procedure is the same; you just write the OS image to an SD card instead of a USB thumb drive. Fixing quirks of SD card installations are, however, out of scope of this project; you should refer to the relevant documentation, IRC chats, and mailing lists. I will provide links to boot-media-specific information, when we discuss boot media; this should give you a starting point to troubleshoot issues. 2 Real fuses were harmed during the making of this document.

Recent Techrights' Posts

American Back Doors No Longer Trusted by Europeans
Has the EU paid attention, for a change?
When Energy Prices Double in About a Month the Slop Bros Won't Sleep at Night
Unhinged leadership does not seem eager to end a conflict that it started
Newer is Not Better, Lunar Edition
Maybe in 57 years (2083, after all these wars) we'll managed to launch a capsule with a human and a dog above the stratosphere again
 
Ubuntu More Honest Than Microsoft Windows
If you don't like the direction Ubuntu has taken, then try something else
Azure is Dying, the "Entertainment" (Slop) Couldn't Lift Up Fake 'Demand' For Azure
Azure has had mass layoffs every year since 2020 and even earlier this year
2026 Starting to Feel Like 2020
Can Wall Street survive this?
Growing Awareness of Techrights' Importance
We're not an individual's blog but a community project
Harassment by Microsoft, Then a Cover-up
That Microsoft relies on blackmail, bribes and harassment (even against its own people) isn't surprising given the roots of the company and its toxic, deceitful management
SLAPP Censorship - Part 37 Out of 200: The Correct Suspicion Garrett and Graveley Were Collaborating in Overseas Litigation Against Critics
Microsofters and back doors' boosters from America frivolously sue Brits
Microsoft Has Lost Nearly 20% in "Desktop Operating System Market Share" Since COVID-19 Began
Add Android and iOS, then Windows falls to 24%
Maintenance Later This Month
Apr 24, 2026 21:00 - Apr 25, 2026 09:00 BST
Microsoft: Move Over, XBox, Slop is the New "Entertainment" and We Demote Our "Entertainment" CEO
Marketers, marketers, marketers, as a CEO called Ballmer put it
linuxbuz.com is a Slopfarm, It Depends on LLMs
In the more distant past it could be said that linuxbuz.com was an OK site
Links 07/04/2026: Patent Trolls Leigh M. Rothschild, Bolstered by GNOME and OIN, Continues to Attack; ‘Retaliatory Antitrust Suit’ by MElon
Links for the day
Gemini Links 07/04/2026: Copyleft Revisited, Killing Linux Processes With FZF
Links for the day
It Would be Good for Debian to Have a Female DPL, But...
Debian isn't exactly selecting people for quality or policing bad behaviour
IBM Insiders Say What's Wrong With IBM in Albany (and Yes, There Are Layoffs)
promotions boil down to what insiders now call "brown-nosing" and nepotism
After Killing OpenSource.org IBM Together With OSI Told Us It Would Carry on OpenSource.net, But the Site Has Been Essentially Dead for 9 Months (Effectively Abandoned)
OpenSource.org has been dormant for 4 weeks already and OpenSource.net last had a new page 9 months ago (it'll be 9 months tomorrow) [...] That's IBM in a nutshell
A Lot of What Happened to OSI is Because of Reporting by Techrights
Half a year since Stefano Maffuli (Executive Director) "left"
Public Presentations by RMS Hardly Interrupted Anymore
We'll carry on covering those sorts of topics throughout the year
Links 07/04/2026: US Wants to Put Journalists in Prison for Reporting Facts, Artist ‘Bale’ Arrested Over Rape Allegation in Social Control Media
Links for the day
To IBMers, IBM Has Failed and is Fast Becoming a Book of Jokes and One-Word Punchlines
How else can one make it obvious that IBM is circling down the drain?
"AI Revolution" Was a Lie: Microsoft CEO Admits What He Calls "AI" is Sometimes Sloppy and Microsoft Admits That Slop is for "Entertainment Purposes Only" (Not for Any Serious Work)
if it gets "memory-holed", we can bring it up again and again
Social Control Media is Not a Viable Business Model
The future of the Web might not be the Web
From Datacentres Boom to Actual Booms That Target Datacentres, Now Struggling to Justify Humongous Energy and Water Consumption
Datacentres that are used for mindless "entertainment" (as Microsoft calls it) like slop are not a priority at this time
Gemini Links 07/04/2026: Aircraft Lift Force, Editor History, and Consumer Hardware Stagnation
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, April 06, 2026
IRC logs for Monday, April 06, 2026
What Matters is Software Freedom, Not the Brands
The important thing is to speak about Software Freedom
Wikileaks is About to Turn 20
~2 days ago it turned 19.5
The Cloud of Smoke
Will 2026 be the year that "The Cloud" openly confesses the risks it brings about?
SLAPP Censorship - Part 36 Out of 200: Claim KB-2024-003529 in a Nutshell (Microsoft Employee Does Terrible Things, Then Sues the Reporter in Another Continent)
It commences with more of an overview
Gemini Links 06/04/2026: Solar Panel Story and Centralisation
Links for the day
"Free Speech, Free Press": What the World Needs to Improve
Darkness breeds corruption
IBM prioritises a "lot of smoke and hype and use of trending buzzwords"
IBM can pretend all it wants things are fine
GAFAM Paying the Price for Pursuing US Military Money (Taxpayers' Money as 'Stimulus' With Strings Attached)
The "cloud" in cloud computing is a cloud of smoke
Observing Slop's Demise
If energy becomes more scarce, then one rare/side perk (or upside) will be slop companies screaming for lifeboats
Links 06/04/2026: Crackers Breached the European Commission, Why "Old Way of Campaigning Won’t Cut It Anymore"
Links for the day
Enron Versus NVIDIA (the Cost of Circular Financing, or Funding Your Own Customers to Buy Your Products) - “The Inventory Paradox” or “The Vibe Revenue Admission”
Round-tripping (finance)
You Know "The Economy" is Fake When 6 Months After Oracle Says Debt-Saddled 'Open' 'AI' (Slop) Will Pay It $300,000,000,000 Oracle Says It Must Lay Off 30,000 Workers at 6AM
Oracle is in deep debt, which increased at a pace of almost 4 billion dollars per month lately
Free Software Will Outlive GAFAM
GAFAM is overhyped
Techrights Was Further Decentralised Three Years Ago
In 2020 we began working on IPFS stuff
The Military Attacks on Dubai Internet City as Reminder That GAFAM Isn't Safe (Disregard the "Nobody Gets Fired for Buying GAFAM" Mindset)
These are all realistic and foreseeable scenarios that GAFAM sceptics have long warned about
The Wars Aren't Ending, Now We See GAFAM Facilities Being Bombed
This is becoming a tech issue
Links 06/04/2026: Turning 34, Throwing Things Away, and Printing in GNU/Linux
Links for the day
Links 06/04/2026: Ex-Microsoft Engineer Explains Why Azure Fails, Germany Prepares for War
Links for the day
EPO "Cocaine Communication Manager" - Part XI - EPO Strike Enters Its Second Week, EPO Sheds Off Qualified Staff to Make Way for Nepotists
More than six months ago the "Cocaine Communication Manager" got arrested for cocaine use
Another Microsoft Outlook Downtime
Microsoft has sloppy code, it's not something suitable for mission-critical things
Week 2 of April IBM Layoffs Accelerate Based on Rumours
"Heard about Layoff at IBM"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, April 05, 2026
IRC logs for Sunday, April 05, 2026
Culture of Harassment Inside Microsoft, Says Former Director at Microsoft
listen to Microsoft insiders
Drone Strikes on Amazon (GAFAM) Datacentres Highlight Azure's Miniscule Share
Azure is failing
SLAPP Censorship - Part 35 Out of 200: How to Make ~10,000 Pound Sterling (13,220.50 United States Dollars) by Copy-Pasting and Editing 10 Pages
Today it's Easter Sunday, so we'll keep this part relatively short
Gemini Links 05/04/2026: Artemis II Mission Tracker, Meditation on Copyright, Alhena 5.5.5, "Gemini as the Final Frontier of Human Cognition"
Links for the day
Microsoft Windows Falls to All-Time Low of ~60% in Switzerland, GNU/Linux Among Top Gainers
What will it take for mainstream media (not just geeks' site) to cover it?
Mainstream Media on "Practical Survivalism"
Suffice to say, panic buying begets more panic and price surges
Cloud Computing as a Cloud of Smoke (Your Hosting Provider is a "Legitimate" Military Target)
When a French datacentre went up in flames people joked that the "cloud" meant a cloud of smoke
Andreas Tille Congratulates Sruthi Chandran Before the Election for Debian Project Leader (DPL) is Even Over
Andreas Tille, the current Debian Project Leader (DPL) who has been in this role for nearly 24 months
When You Try to Change the World for the Better and Somehow They Find a Way to Say You Are the Villain
Don't be a fool. Don't fall for inversions of narratives.
Slop Was a Flop and Energy Crisis Will be Slop's Final Blow
Today we see no slopfarms in Google News
Links 05/04/2026: "Taiwanese Airlines to Hike Fuel Surcharges 157%" and Openly Racist Voter Suppression Starts in the US
Links for the day
Gemini Links 05/04/2026: Playing with Hyprland and Migrating Antenna Filters
Links for the day
Links 05/04/2026: "Confidential Computing" as Proprietary Bundle of False Promises and "The Web Is an Antitrust Wedge"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, April 04, 2026
IRC logs for Saturday, April 04, 2026