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

Jean-Slop Van Damme and the Art of Bull--- Code
it's saving neither time nor money
Reality Check About IBM's Louis Grestner, Slopfarms Say He Was IBM CEO for 30 Years!
It is "hallucinating" (lying)
Debt as the New Currency?
Rich people get richer because they take money from the rest of us, if not directly then by compelling us (collectively) to borrow money at a national level, then "invest" in them
 
Richard Stallman's First Talk in a U.S. College Since 2018
Greetings from Georgia Tech!
EPO People Power - Part XX - Why António Campinos Chose to Put His Cokehead Friend on 'Sick Leave'
EPO Cocainegate will be covered for months to come
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, December 30, 2025
IRC logs for Tuesday, December 30, 2025
Gemini Links 30/12/2025: FreeBSD, Gemlogs, and Xobaque
Links for the day
Get Ready for Gigantic XBox Layoffs at Microsoft (Much Bigger Than in 2025)
he unionisation drive is a sign workers already expect this
Concern Trolls: Stop Criticising Poor Gerstner Because Now He's Dead. Reality Check: Gerstner Has Found a Trick for Dodging Tax on His Hundreds of Millions in Wealth.
Maybe even billions in wealth
Samoa: GNU/Linux and ChromeOS Rose to Around 11%
based on Web access data from Samoa
DnD: Debian and Drugs
There will soon be some interesting new information about Debian
A Conundrum of Privacy/Surveillance: Will You Give Them a Stool Sample to "Feel Humane"?
What if skinnerboxes in South Korea also required that people provide urine and stool samples?
Nope, There's No Twitter "Successor"
There's a lot of horrible abuse going on in social control media
A Calm Year in IRC is a Good Year for IRC
Next year IRC will turn 38 (in August) and in 2028 it'll turn 40, just like the FSF did a couple of months ago
Slopfarms Covering Up for "Microsoft CEO Satya Nadella" After a Terrible Performance and a Terrible Year at Microsoft
How to cause many to resign/retire, hence not be counted as "layoffs"
IBM Was Never Saved, It Has Been a Downhill Journey for Decades Already
Gerstner wasn't a tech person but a fiscal butcher
Some GNU Joiners in Geminispace
Jose E. Marchesi (known for GNU poke and a bunch of other things) adopted Gemini Protocol
IBM Seems to be Doing to HashiCorp What It Did to Red Hat (Many Key People Leaving)
"Today marks my last day at HashiCorp, wrapping up an incredibly rewarding 5-year journey"
State of the Slop, Day 364
How does Phoronix feel about Google promoting slopfarms that 'rewrite' its stories and slap slop images on top?
Links 30/12/2025: "Durian Tsunami" and "Unneeded Surgeries"
Links for the day
Links 30/12/2025: Social Control Media Detox, Rage Against Slop Wasting People's Productive Capacities
Links for the day
EPO People Power - Part XIX - "Berenguer Has Known of Campinos' Substance Abuse First Hand For a Long Time"
"You rightfully claimed that Berenguer is Campinos' protegee"
Gemini Links 30/12/2025: Quitting Coffee, Apartment by the Beach, and Strange Retail Ethics
Links for the day
Nintendo and Sony Outsold Microsoft XBox by 15:1!
The mass layoffs indicate Microsoft is aware of this
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, December 29, 2025
IRC logs for Monday, December 29, 2025
Slopfarm: Firing 35,000 Employee is "Saving the Company"
"Big Blue" is getting smaller all the time
Slopfarms About the "Linux CEO" Linus Torvaldos [sic]
nowadays NVIDIA builds and helps build a giant Ponzi scheme
Vista 11 is "10" (Ten Percent)
Some months ago Microsoft openly admitted that it had lost (shed off) hundreds of millions of Windows users
Dealing With Online Pogroms
lawfare funded by third parties
The Year Apple Would Rather Forget
We await further stumbles and falls from Apple (in 2026)
"EU's reform agenda threatens to erase a decade of digital rights"
This is really sad for those of us who spent decades promoting and boosting/advocating the EU
IBM Layoffs in India, More Coming Soon, Say Apparent Insiders
Threads regarding IBM layoffs
Gemini Links 29/12/2025: Earlier "Happy New Year 2026" and "Dead Archivist Society"
Links for the day
Links 29/12/2025: Putin Critic Sergei Udaltsov Imprisoned, Cloudflare’s Outages Discussed
Links for the day
LLMs Are Inherently Parasitic, We Need to Treat Them Accordingly
a maintenance burden for those who possess actual intelligence
Links 29/12/2025: Bottled Water Considered Harmful, Cheetos Promoting Nazis in Europe
Links for the day
EPO People Power - Part XVIII - European Patent Office "Paints Itself as Progressive While Literally Being Represented by Cokeheads"
To what length/s will German authorities and media (not just in Germany) go to protect the EPO's "precious image"?
What IBM Will Do to Red Hat in the Coming Year or Years
This won't end up well for GNU/Linux as a whole
Not Turning in His Grave: When People Die, Their Corporate Destruction Becomes a "Turnaround"
All he did was mass layoffs - a tradition that has not ended since then
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, December 28, 2025
IRC logs for Sunday, December 28, 2025
Louis Gerstner Has Died, His Legacy of Mass Layoffs at IBM Hasn't
Hagiographies will follow. They will say he "saved" IBM.
Links 29/12/2025: The Sunday Routine, Limits of Memory, and Gemini Vocabulary
Links for the day