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

Today The Register MS Showed Loyalty to the Pyramid Scheme With Homage of Paid Spam About "AI"
The Register MS is disavowed by its founder, who died a few years ago (The Register MS didn't even mention this)
Intercontinental Brigading - Part XXXXXV - Acts of Hypocrisy (Doing What You Accuse Others of Doing)
connected to my criticism of "Restricted Boot"
 
New Video Explains Why Software Patents Are Evil ("Why Software Patents Spark So Much Frustration")
Maybe some patent examiners (who don't mind a Facebook URL) can take a look
Intercontinental Brigading - Part XXXXXVI - Never Showing Up for Their Own Hearings, Just Paying Hired Guns in London to Act as Fall Guys and Proxies With No Comprehension of the Technical Issues (and Sometimes by Bullying Our Lawyers)
Without any qualifications in the subject at hand
Compatible With Software of 30 Years Ago
Old is not bad, sometimes old is better
NVIDIA Corporation Does Not Look Healthy
The bubble will be hard to re-inflate
Gemini Links 19/11/2026: Thinking About Thinking and Discord
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, November 18, 2026
IRC logs for Wednesday, November 18, 2026
Lots of IBM Layoffs in Slovakia This Year
Slovakia and Europe at large
There May be Little or No Future for IBM Consulting
IBM is believed to be run by parasites
At Least Three RMS Talks Next Month in Mexico (Richard Stallman Has 8+ Talks in a Month)
And also - possibly with slop - in social control media
Mass Layoffs at Salesforce Foretold by Techrights
Salesforce is dead meat and it's not alone
Gemini Links 18/11/2026: Creativity, MFA Hype, and Presto Music
Links for the day
Links 18/11/2026: More GAFAM/Apple 'Clown Computing' Outages and Deutsche Bank Leak, Banks' Downtimes
Links for the day
Staff Union of the European Patent Office (SUEPO) Plans General Assembly Next Week, Vote Planned to Approve 7+ More Months of Strikes
The "Agenda" is the same as what we showed yesterday, but the pattern of the actions varies somewhat
IBM's Red Hat a Microsoft Reseller (Second Day in a Row)
If you want a replacement for Microsoft, look somewhere other than Red Hat
After the Bubble Pops the "AI Experts" (Formerly "Data Scientists" or Whatever) Will Rebrand Themselves Again
Remember blockchains and metaverse?
Links 18/11/2026: "Fossil Fuel Companies Are Undermining Democracy" and "Lawyer Up, Elon"
Links for the day
Mainstream and Establishment Media Trying to Connect "Open Source" to White-Collar Crimes and Scandals at Fraudulent NVIDIA
An associate us said that "MIT lies to smear OSS"
Lawfare Will Continue in 2027
We're dealing with defiant Microsofters who wrongly assume that accurate reporting that causes them distress somehow makes them entitled to money
On the Concept of Moral Obligations to Make the World a Better Place for Everybody
The world generally becomes better when more people challenge the status quo rather than bow down to masters
Nadella Talks About 60,000 Microsoft Workers Having to Decide Whether to Leave (in the Next 2-3 Weeks), They've Been Put on Notice
Some parts of Microsoft are poised for severe cuts
IBM Moved From Selling Technology to Selling Its Buildings
IBM is trying very hard to silence/crush critics
Staff Union of the European Patent Office (SUEPO) Looking to Extend Industrial Actions and Strikes to Almost 1.5 Years
It says a lot about the media that for 1.5 years staff is on strike in the second-largest organisation in Europe and the media pretends it's not happening
Richard Stallman's Talk in Quito This Week (At Least 5 Talks After That)
He's having a busy end of year
Gemini Links 18/11/2026: "Love For Old Devices" and New Software/Slop-ware Releases
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, November 17, 2026
IRC logs for Tuesday, November 17, 2026
Gemini Links 17/11/2026: The RAM Question and Lagrange Sync
Links for the day
EPO Strikes to Continue Until Summer of 2027 (If Not Further) Based on Existing Plan
It'll never end until the dictatorship ends
Intercontinental Brigading - Part XXXXXIV - Hostility Towards Media, Coming From People Who Promote Microsoft Back Doors and Engage in Mass Plagiarism, Attack Women Etc.
The core issue or the seminal issue is Microsoft as the "master" of all computers
Trading 212 UK Limited Acting Like a Scam, FCA Says It's Legitimate
If this was some coy prank or a scam, it is certainly not funny
Richard Stallman's Talk Earlier Today and Next Month's Appearance in Mexico
He seems to have managed to dodge the 'cancel mob' for quite some time now
The Cost of Losing Integrity at The Register MS
Recently we learned that they make a "ton of money" out of their Huawei spam
Links 17/11/2026: Jensen Huang's Price-Fixing Story, "Russian Attacks Aimed At 'Breaking The Spirit' Of Ukrainians"
Links for the day
NVIDIA Continues Diving and Press Reports Speak of Business Crimes of Jensen Huang (Not China or Sex)
The deeper they go...
Gemini Links 17/11/2026: Super Power, Knowember, Writing in Shorthand, Cooking over a Woodstove, Decoupling Code and Content
Links for the day
Links 17/11/2026: California Sues Slop Peddlers and Nvidia Was Already in Trouble Before the Jensen Huang Mess
Links for the day
An American and South Korean Cartel Artificially Inflating the Prices You Pay for Computers (or Any Service That Relies on Computers, I.e. Almost Everything)
As long as the principal tenant of the White House is a white-collar criminal we can expect only cover-up and participation, not a crackdown
NVIDIA Corp Was Grossly Overvalued, Lost 36.06% of Alleged "Market Value" in 5-6 Weeks
NVIDIA has many of "obligations" (to pay), not money
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, November 16, 2026
IRC logs for Monday, November 16, 2026
The EPO Still on Strike. 141 Tickets Opened Regarding Lack of Toilet Paper (or Similar).
Yesterday staff representatives at the EPO in The Hague (LSCTH] spoke of a meeting which took place a month ago
Intercontinental Brigading - Part XXXXXIII - An Attack on the Dignity of Reporters and Their Family Members (by Proxy/Attack Dogs)
The Microsofters seem to be super-upset that I uncovered Microsoft fraud
IBM and OSI Said opensource.net Would Replace opensource.com, But It Has Been Dead for 1.5 Years and the Person Who Had Made Promises Left OSI
Over a year ago he left
Red Hat and IBM Meet Targets (of Pushing People Out)
now there are claims of security breach inside IBM, but no press reports related to that
Gemini Links 17/11/2026: Reading Clocks and StreetComplete
Links for the day