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

IBM Falls Below $200, Expect $199 or Less Today (Panic Threshold)
Will this be enough to topple the managers?
Links 23/07/2026: RIP John C. Dvorak, Organisation Weaponised Against J.K. Rowling
Links for the day
IBM's Press Release About Results Mentions "AI" 10 Times, "Quantum" 4 Times
Blah blah blah AI"
 
Gemini Links 23/07/2026: Databases, TLGS, and RSS Feeds
Links for the day
Links 23/07/2026: Science, Censorship, and Territorial Overreach by China
Links for the day
The State of Google Security: Blocking competition
GMail is the best!
What Happens When Windows Becomes as 'Niche' as GNU/Linux on Desktops and Laptops
Android enjoys a near-monopoly and GNU/Linux isn't far behind Windows.
IBM Cash "Down $6.3 Billion From Year-end 2025." Total Debt/Equity 188.97%. (Debt Can Exceed the Company's Real Value)
the CEO alone can make well over $0.7 billion in 5 years of salaries and bonuses
Wave of PIPs Allegedly Coming to Microsoft, Managers Trained to Terminate Employees Without Paying Severance (and Without Calling it Layoffs)
They count and cut the losses
This Looks Like the End of XBox, the Console
Sharma has become the "fall man" of Microsoft
European Patent Office (EPO) Series: A Consummate Master of the "Rigged Game"
"single-candidate shortlist"
Attempts to Change Focus and Change the Subject as IBM Shares Dwindle. Buying Revenue to Mask the Rapid Decline One More Time.
IBM used to be good at engineering, not financial engineering
Down 848% Year-on-year, Negative Cash Flow, Growing Debt (Richest Man on the Planet or Shrewd Scammer?)
The latest for Tesla is more of the same
Gemini Links 23/07/2026: SharePoint Rants and “Junk DNA” in Commented-Out Code
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, July 22, 2026
IRC logs for Wednesday, July 22, 2026
Freexian & Debian: antitrust, unfair competition against joint authors and volunteers
Reprinted with permission from Daniel Pocock
IBM in the Red After Bad Results (Shares Down in After Hours)
Will the CEO step down, retire, of what else?
Gemini Links 22/07/2026: Fault Lines, the Dark Web and Beyond, and Why Substack is Awful
Links for the day
Insult and Injury: Getting Banned, Not Just Sacked, by Microsoft
A former insider spoke about this in public 5 hours ago
Links 22/07/2026: "Dumb Phones" Not Enough to Tackle Harmful Addition, "MPEG-4 Visual's Road to Being [Software] Patent-Free"
Links for the day
Top secret: Cults inquiry submission concealed from public
Reprinted with permission from Daniel Pocock
An Hour Ahead of Alleged 'Results' (Amid Investigation Into Fraud) IBM Falls Back to New Lows
Only cents away from a 52-week low
IBM Headed for Lowest "Value" in 2 Years
In a nutshell, Krishna "can't keep it up" and IBM is now investigated for fraud
Investigation Progressing
There is nothing "funny" about receiving mortal threats for merely reporting information in a civilised country
Things We Could Do More Than Half a Century Ago But Can No Longer Accomplish
Newer is not always better
Anupa Ann Joseph & Debian defamation gang
Reprinted with permission from Daniel Pocock
State of the Invidious Project
Never forget how hostile Google can be towards freedom
Prioritising the Safety of Women is the Best Approach to Foster Diversity in Technical Communities
Debian was never "normative", but that does not mean Debian should have such low standards
IBM Will Report 'Results' Tonight (CET), It's Already Investigated for Securities Fraud
"Five of the biggest US tech giants are carrying $1.65 trillion in debt that does not show up on their balance sheets"
Hardware Has Gotten a Lot Worse, Not Just Far More Expensive
prices go up fast
Amid Claims of Microsoft Bing Layoffs It Seems Like Bing Cannot Even Hold on to Second Place
Yandex is sometimes bigger than Bing
Wikileaks Does Not Publish New Material Anymore, But Wikileaks Still Changes the World
Wikileaks has a legacy that will soon turn 20
Links 22/07/2026: Postal IRCs, PlayStation Kills Discs, Union Action Against Microsoft, "Judge Considers Tossing Databricks Patent Suit Under California anti-SLAPP Law"
Links for the day
Same 'Journalists' Who Published Fake News for IBM (Pump and Dump) Now Write Puff Pieces About the Stock Falling
the media is so compromised
They Called It "Social" and "Media", But It Turned Out to be Slop and Child Porn
Why do any sane people still use social control media?
Age of consent: DebConf26 registered sex offender in Argentina?
Reprinted with permission from Daniel Pocock
European Patent Office (EPO) Series: In the Pole Position Despite a Dismal Track Record
António Campinos is an old hand when it comes to such high-level institutional intrigue
Site a Bit Slower Due to Visitors' Load
We'll try to work out better speeds
Gemini Links 22/07/2026: Emacs, Astrology Clock, Arduino, and Rogallo v1.0.0
Links for the day
After Involvement by the Free Software Foundation (FSF) LibreTech and Quibble Gain More Participants
RMS expressed gratitude for people who worked on Quibble and improved LibreJS after many years of inactivity
The Lessons From the Assange Saga
This will not end well
Linux Foundation an Enemy of the Planet, Proponent of Pollution and Global Heating
"could the "polluters pay" model be extended to the computing environment and used to take on Microsoft and Microsofters?"
Apple Will Increase Surveillance of Customers, Record Verbal Communications Under the Guise of "Hey Hi"
Apple now drinks that same Kool-Aid
Dave Winer, Blogging Pioneer, Sells Out, Spews Out LLM Slop to Readers
Another one bites the dust [...] Now it's a slopfarm of sorts
Not Everything Can be Automated
not a new thing
GNU/Linux OS in ComorOS
Now, as in recent years or the last year, the GNU/Linux "signal" is growing significantly
Microsoft Redefines "Layoffs" to Give Smaller Tallies
It's not just calling them "buyouts" or saying people are merely "leaving" or "retiring"
IBM is Not Done Destroying Red Hat, Wait Till October 1st 2026 (More Layoffs and Bluewashing)
It's not bluewashing 'til it's 100% done
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, July 21, 2026
IRC logs for Tuesday, July 21, 2026
"LF Sex", Nothing to Do With Linux
a lot of explaining to do this week
Gemini Links 21/07/2026: Nostalgia, Shogi, and New Gemlog System
Links for the day
Guyana: GNU/Linux Rises to New High, 7%
Guyana is part of the trend
Oman: GNU/Linux Up to 7%
It was 5% last year
The Solution is Never 'Free Hosting' in Proprietary GitHub (Microsoft), the Solution is Self-Hosting
Third parties never care about your projects as much as you (yourself) care about them
Only a Matter of Time Before IBM Drops to $199 or a Lot Lower Than That
How long can IBM overload empty shells?
From GAFAM's Perspective, Jeremy Bicha Did Nothing Wrong
All is OK as long as he does not criticise monopolists and billionaires
Bluesky Was Such an Utter Failure That After 18 Months Mozilla Goes Hug a Nazi Platform That Produces Child Porn
What compels Mozilla to come back there? The child pornography scandal? The adorable leader?
GNU/Linux at Grenada Measured at 14% This Month
GNU/Linux was stuck at 0% for a long time
In WordPress, Newer is Not Better (Maybe Better Off With No WordPress at All)
To Hell with bloat and feature churn
As Slop Bubble Implodes (Inevitable), the Dishonest, Corrupt, Compromised Media Tries to Blame "China" Again (Like it Did With "DeepSeek" in Past Years)
Here we go again. We've been there before. Same spin, this time not "DeepSeek" though.
Lots of Microsoft Just Loses Money, Not Earning Money
Due to profitability challenges it's hard to believe Microsoft will ever find a buyer for XBox
Red Hat (IBM) Has Long 'Reassigned' (Bluewashed) Red Hat Staff to Ruin Fedora, Now It Does the Same to GNOME
What next from IBM's Krishna?
Links 21/07/2026: Google Stagnating, Slop 'Apps' Are "Flooding Apple’s App Store"
Links for the day
Gemini Links 21/07/2026: OPNSense Upgrade Problems, Zilog Z80 at 50, and Lessons From Terminator
Links for the day
IBM Lawsuits Over Alleged Fraud Are Piling Up
We'll keep an eye on the lawsuits
Arianna Taite on Odds of Australian (Daniel Pocock) Winning Clacton By-Election
His detractors somehow try to twist or frame him (Pocock) as an impediment to women while the exact opposite is true
This Coming Weekend Marks 4 Years Since We Dumped Content Management Systems (CMSs) in Favour of Static Site Generators (SSGs)
the first page dated July 25
Slop's Latest Casualty: The Credibility of Linus Torvalds
If you care about millionaires and billionaires, follow Torvalds (he is already in that "club")
Techrights Will Become More Productive (More Output) Over Time
Big stories about to land
Touch Grass
Happiness involves what humans have evolved to appreciate, not what humans create to sedate the mind (like skinnerboxes)
The Cyber Show on Technology Having Become a Tool of Mass Psychosis, Not Enablement or Emancipation
Technology as mass psychosis
The Rumour Said That a Second Wave of Microsoft Layoffs Would Come This Week (Ahead of Fake 'Results'), Maybe Tomorrow
Let's wait and see how "MSM" unfold
To Wikipedia, "Notability" is Just an Excuse to Hail People Who Serve Billionaires While Marginalising or Defaming the Rest
Wikipedia is an advertising space
Our Series About Solicitors Regulation Authority (SRA) and SLAPPs Will Resume Soon
Originally, in 2025, we gave ourselves 6 years (until 2031) to cover these issues, but we've seen since extended that to 10 years (until 2036) because of the amount of material we have
European Patent Office (EPO) Series: The EPO Transparency Gap
Despite the "European" tag in the organisation's name, the European Union has no jurisdiction over the European Patent Organisation
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, July 20, 2026
IRC logs for Monday, July 20, 2026
Links 20/07/2026: Lashes for Songs in Iran, Kurdish Language at Risk
Links for the day
Gemini Links 21/07/2026: The Boss Baby (2017) and 2026 Old Computer Challenge Epilogue
Links for the day