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

Congrats to Linux.org for Adopting or Getting Back to IRC
This is the way the Net ought to work and was originally designed to work [...] IRC as a protocol turns 38 this month
 
The Tragedy of Software Developers Making Up Narratives and Making Excuses for Plagiarism (of Their Own Work, Too)
one lingering issue is that many who vote in Debian GRs receive money from slop companies
Evri Makes Us Optimistic About the Collapse of the Slop Pyramid Scheme (Bubble)
Do not be seduced by false promises of "automation" or "intelligence" where only automation may exist but no intelligence at all
Links 24/08/2026: "Journalism Can Help Expose Bad Science And Trigger Real-World Change"; Further Suppression and Censorship in China/HK
Links for the day
Gemini Links 24/08/2026: Soul Mentality, Words to Live by, Mozz.us Gemlog Resumes, Smol Conversations
Links for the day
Today The Register MS Published Greenwashing Spam for the Slop Pyramid Scheme, It Mentions "AI" 29 Times
More people need to talk about the role of the media in this pyramid scheme
Slop Plagiarism and Chatbots Are Killing Evri (They Infuriate and Insult Clients)
Slop destroys companies and leads to misery (miserable clients, time-wasting)
Links 24/08/2026: Re-defining the IndieWeb and "Data Center Backlash Bursts Into the Midterms"
Links for the day
The Issue With Omarchy is the Slop, the Politics Are a Side Issue
Those corporations do not oppose slop, they participate in it
In South Korea, Steady Increases for GNU/Linux
authorities said they would migrate to GNU/Linux or consider moving in that direction
SLAPP Censorship - Part 160 Out of 200: In Astounding Repetition of Last Year, Brett Wilson LLP Deliberately Ignores Holidays of People It is Attacking and Crushes Principles of Access to Justice
Disconnected from the law
Links 24/08/2026: Vision and Skill, Doing Good, Chiperia Project
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, August 23, 2026
IRC logs for Sunday, August 23, 2026
Gemini Links 23/08/2026: Turning 60, PineTime, and Simulation Hypothesis
Links for the day
Will Your "Modern" New Car Still be on the Road in 2060?
Are people now expected to change a car as often as they replace a mobile phone and, if so, how fast would costs add up?
The Sniff Test
Be sceptical of "CoCs"
Cloudflare Sees a Quarter of Requests in China Coming From GNU/Linux Today
Will 23% ever be the average for GNU/Linux rather than a mere peak?
You Can Lose Some Battles and Still Win the War
Winning or losing isn't something for a scoreboard
GNU/Linux Usage Measured at 23% in Russia Today
the average was almost 10%
Things Not to Fear Missing Out on
Life is too short to pay attention to social control media
Gemini Links 23/08/2026: Exercising Again, Tackling Phone Addiction, and Putting Graal Online Back Online
Links for the day
Northern Africa: GNU/Linux Measured at Around 5%
by Clownflare
PIPs and Lawsuits: On the Future of IBM Trying to Spit Out Its Own Staff at Minimal Cost
"I'd rather be laid off than be put on a PIP"
France: GNU/Linux Averaging at 7%, Peaked at 14% Today
When will 14% be the average?
Links 23/08/2026: Water Crises, Illegal Tariffs, and Carney Confronts US Over Patent Imperialism
Links for the day
Links 23/08/2026: Slop "Children's Stories Contain Bizarre Patterns" and "Butterflies at the One Garden"
Links for the day
SLAPP Censorship - Part 159 Out of 200: Telling Courts False Information and Spoon-feeding Them Insults, Hoping or Expecting Them to Repeat These Insults
When lawyers trick courts into repeating something false
Microsoft is in Double Trouble in Singapore
Android+GNU/Linux+ChromeOS are near 20%
The Slop Industry Bribed the Media to Pretend It Has Something New and Revolutionary. Now It Bribes Politicians Too. Anything to Avoid Scrutiny and Regulation.
borrowed money has long been used to bribe the media
"AGI" is Decades Old and It Never Found a Viable Business Model or Real, Actually Useful Use Cases
I keep reminding people of local firms (right here in Manchester) doing the same thing the media now calls "AGI"...
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, August 22, 2026
IRC logs for Saturday, August 22, 2026
Microsoft to Its Workers in April-May: You're Too Old, Go Away. Microsoft in August: Young People, Go Away.
What does this company even sell anymore?
Clownflare Data US-Centric
We are assuming that for national security reasons not many sites in Chinese (or based in China) outsource their traffic to Clownflare
Gemini Links 22/08/2026: Broken Car, Devuan, and Thundermail
Links for the day
Links 22/08/2026: Prince Harry, Elton John and Others Pay High Price for Frivolous Litigation in the UK
Links for the day
'Voluntary' Mass Layoffs at IBM/Red Hat
IBM does not want people to notice what truly goes on there
Another Round of GAFAM Layoffs, This Time Apple
Now Apple "is shutting down an entire Vision Pro team focused on developing gaming features for the mixed-reality headset."
Gemini Links 22/08/2026: The Bodyguard (1992), Minimalism, Backups, and IPFS
Links for the day
SLAPP Censorship - Part 158 Out of 200: Making Alliances With Men Arrested for Strangling Women Was Always a Terrible Strategy
They work for American slop companies
Links 22/08/2026: TikTok Settles With Feds, Harms Caused by Social Control Media Gaining Attention
Links for the day
New Data Shows Microsoft's XBox is Really Dying
XBox is a "burning platform"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, August 21, 2026
IRC logs for Friday, August 21, 2026