If you're a technology user or even a systems designer, you deal with microprocessors as they are described by their manufacturers, having an enumerate list of capabilities and interfaces, there for you to use or ignore.

But (smart) hardware engineers know better.

1/
The smartest hardware engineer I know is @bunniestudios, and he's not just brilliant, he's a brilliant explainer. In his latest post, "What is a System-on-Chip (SoC), and Why Do We Care if They are Open Source?" Huang reveals deep secrets of chips.

bunniestudios.com/blog/?p=5971

2/
A System-on-a-Chip is a low-cost workhorse of computing, a single chip that contains all the components that were distributed across the motherboard of a PC a decade or two ago.

The SoC is ubiquitous - and mysterious.

3/
First, SoCs are mysterious because of trade secrecy. The docs and errata (bug list) for an SoC run to thousands of pages, and can only be accessed after signing an intense and foreboding nondisclosure agreement.

But that's just the top layer. The real mystery lies within.

4/
As Huang explains, the cost of adding new circuits to a chip is vast - $1m worth of new masks and a 70-day delay for each new circuit added in the design phase - while removing a circuit is far cheaper, $10k and a few days delay.

5/
That's because the circuit isn't "removed," it's "deactivated": left in the chip but removed from service.

Chip designers start with TONS of extra just-in-case circuits, debugging facilities, and features, and chip them away through the design and QA phase.

6/
Huang likens this to a sculptor chipping away the marble to leave behind the form within. But it's an imprecise analogy, because the chip's sculptors don't really remove the excess components, they just turn them off.

7/
Michaelangelo: "Every block of stone has a statue inside it, and it is the task of the sculptor to discover it"

Huang: "Every SoC mask set has a datasheet inside it, and it is the task of the validation team to discover it."

8/
All of this Dark Matter in our embedded systems constitute "a hazard for an unpatchable, ecosystem-shattering security break." Why compromise a computer's ROMs or bootloader when you can do code-injection from the SoC's built-in-self-test infrastructure?

9/
What's more, SoCs incorporate components from a small number of vendors supplying designs for USB, DDR, and PCI controllers: "this means the same disused logic motifs are baked into hundreds of millions of devices, even across competing brands and dissimilar product lines."

10/
This is chilling stuff, the kind of thing that can give you nightmares if you think about it for too long. Huang's essay originated as an update to backers of his crowdfunding campaign for the Precursor, an open-from-the-silicon-up mobile platform.

pluralistic.net/2020/09/19/we-…

11/
Precursor doesn't uses an FPGA, a far more flexibile (but slower and more expensive) alternative that users can reconfigure: "there is no dark matter in Precursor, as every line of code is visible for inspection. If bugs are found in the Precursor SoC, they can be patched."

12/
Huang's post is mostly a fascinating look at how this FPGA-based SoC will work, but as cool as that stuff is, it's not my main takeaway here: that would be, "Holy shit, dark matter in our embedded systems is going to kill us all!"

13/
Here's a link to the Precursor crowdfunder:

crowdsupply.com/sutajio-kosagi…

I'm a backer - and I've backed other Huang crowdfunders and I've never been disappointed.

eof/

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Cory Doctorow #BLM

Cory Doctorow #BLM Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @doctorow

11 Nov
Today's Twitter threads (a Twitter thread).

Inside: Interactive UK covid omnishambles explorer; Win 6 free sf/f hardcovers; and more!

Archived at: pluralistic.net/2020/11/11/omn…

#Pluralistic

1/ Image
I'm on a Texas Book Festival panel tomorrow:

Cyberterrorists, Post-Apocalyptic Landscapes, and Were-Pomeranians

texasbookfestival.org/events/cyberte…

2/ Image
Interactive UK covid omnishambles explorer: Tories gonna tory.



2/ Image
Read 18 tweets
11 Nov
The US and the UK have been locked in a fierce competition since March, to see who can bungle their coronavirus response worse. The US is the clear leader here, both in per-capita deaths and infections and in elevating lethal junk-science to a conservative loyalty test.

1/ Image
But the UK has put in a remarkable showing.

Remember "cumgate" (Prime Ministerial advisor Dominic Cummings' breathtaking violation of his own lockdown rules)?

theguardian.com/politics/2020/…

2/
Then there's Boris Johnson, who beat Trump in the who-gets-infected-first race by months.

For all that the UK has lost most of the events in Infection Olympics to its American cousins, it continues to lead in that most quintessentially ENGLISH of events: the omnishambles.

3/
Read 8 tweets
10 Nov
Today's Twitter threads (a Twitter thread).

Inside: Microchip "dark matter"; Reset; Rights of Nature and legal standing; Broadband wins the 2020 election; and more!

Archived at: pluralistic.net/2020/11/10/dar…

#Pluralistic

1/ Image
I'm on a Texas Book Festival panel this Thursday:

Cyberterrorists, Post-Apocalyptic Landscapes, and Were-Pomeranians

texasbookfestival.org/events/cyberte…

2/ Image
Microchip "dark matter": An unpatchable, ecosystem-shattering security break.



3/ Image
Read 20 tweets
10 Nov
(Almost) all Americans hate their ISP. The exception? People who get their internet from their municipal governments.

consumerreports.org/telecom-servic…

Over 750 municipalities (mostly conservative towns) have rolled out blazing-fast municipal fiber:

vice.com/en/article/a3n…

1/ Image
However, very few large cities have done the same. Telcoms apologists who argue that America simply can't do broadband argue that big cities can't have municipal fiber because they're too dense, and small towns can't have it because they're too spread out.

2/
Reality has a well-known bias in favor of muni fiber. When we look inside large telcoms monopolists (as we did when Frontier went bankrupt), we learn they don't connect us because execs make more (AND companies lose money) when they withhold fiber.

pluralistic.net/2020/05/01/ica…

3/
Read 10 tweets
10 Nov
To understand the levers of power under the rule of law, you have to understand "standing" - the right to seek justice for some bad act. Courts and legislatures guard standing jealously; the worst-case scenario is that anyone can sue over an injustice done to someone else.

1/ Image
You and your neighbor agree that it's fine for them to park their car in a way that impedes a driveway you never use anyway, and then some stranger sues your neighbor to make them stop - it's not just court-clogging, it's also a barrier to justice.

2/
But many of our gravest, most urgent harms affect whole populations, so it can be hard to identify which person is harmed. This is where we get class action suits from - a million people sue over a $2.83 ripoff, not to get their $2.83 back, but to hold the grifter to account.

3/
Read 21 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!