TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Demystifying the i-Device NVMe NAND

337 pointsby dukedover 8 years ago

8 comments

mi100haelover 8 years ago
<p><pre><code> &gt; In order to read the NVMe, I therefor developped a PCIe card with a Zero &gt; Insertion Force reader. I brought the JTAG part to 20pin header. The hard &gt; pard in here is the signal integrity of the differential pairs. In order &gt; to do so, I had to use multi layer PCB, and have the impedence match by &gt; knowing the stackup, materials used for prepeg and so on.. </code></pre> Posts like this are very humbling. They serve as a good reminder that no matter how far I&#x27;ve come and how much I&#x27;ve learned, there will always be someone out there who knows vastly more than me like the back of their hand.
评论 #12979547 未加载
评论 #12980003 未加载
评论 #12979754 未加载
评论 #12979548 未加载
评论 #12979629 未加载
评论 #12980036 未加载
评论 #12982574 未加载
评论 #12980195 未加载
soundsover 8 years ago
The gold is at the bottom:<p><pre><code> The idea here would be to see if it was possible to control the NVMe over jtag in order to ask it to perform a DMA read over the PCIe Bus. In order to do so, the PCI_COMMAND_BUS_MASTER has to be set to 1. We can assume that since the chip is using remote RAM, it is allowed to act as a master over PCIe. Here is a snippet of the probing function of the kernel driver. </code></pre> (code)<p><pre><code> Our goal here is to force the DMA to happen just by controlling the ARM of the NVMe over JTAG, in order to ask it to dump the region we alloc&#x27;d in kernel and see if we get the data out of it. </code></pre> In other words, full root exploit of the phone from the NVMe JTAG pins.
评论 #12979926 未加载
评论 #12979798 未加载
评论 #12979783 未加载
kanwisherover 8 years ago
Refreshing to see a deep tech article on HN. I really liked how he debugged the code on the controller
评论 #12982320 未加载
iuuuuu145over 8 years ago
&gt;It looks like to reduce the size needed, the NVMe core uses the host DDR in order to work. Therefor, apple is not strictly following the specification regarding the initialisation.<p>Yikes.
评论 #12980244 未加载
评论 #12979716 未加载
评论 #12980205 未加载
评论 #12979668 未加载
nimishover 8 years ago
Apple&#x27;s purchase of Anobit is paying dividends!
评论 #12980159 未加载
mmastracover 8 years ago
Has anyone managed to capture the text of this article? It doesn&#x27;t appear to be in a Google cache AFAICT.
评论 #12980959 未加载
condescendenceover 8 years ago
Definitely one of the cooler and more in depth posts this year, what a great read.
athiercelinover 8 years ago
Very good stuff!