Skip to content

Instantly share code, notes, and snippets.

View shantur's full-sized avatar

Shantur Rathore shantur

  • London
View GitHub Profile
@hxmuller
hxmuller / program-spi-nor-with-u-boot.md
Last active February 5, 2023 22:37
Program the SPI NOR flash on a Pinebook Pro using a micro SD card and u-boot

Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card

TL;DR: This describes the process, hardware, and software used to perform in-circuit programming of the 128Mbit SPI NOR flash (flash) in the Pinebook Pro (PBP) using u-boot on a micro SD Card.

Warning

You, the user of this information bear ALL responsibility for ANY outcome of its use, whether negative or positive.

The flash (identified below) this document refers to is rated for a minimum 100000 program/erase cycles. Exercising it beyond that limit will likely require its replacement which is non-trivial.