Extracting a copy of SPI NOR flash contents using micro SD card and u-boot
This is a bonus. Using the previous post:


A 32M sized micro SD card image should be sufficient to extract a full copy of SPI NOR flash contents. I performed the following successfully using a 64M sized image to extract a full copy of SPI NOR flash from u-boot prompt with micro SD card inserted:

=> sf probe 1:0
=> sf read $kernel_addr_r 0x0 0x1000000
=> save mmc 1:1 $kernel_addr_r spi_full.img 0x1000000 0

This will save the contents of your flash to the micro SD card, the file will be named 'spi_full.img'. You can then view the image using your favorite tool. As an example:

$ xxd /path/to/spi_full.img | less

Possibly Related Threads…
Thread Author Replies Views Last Post
  Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card hmuller 0 2,191 09-21-2020, 10:02 AM
Last Post: hmuller
  In-Circuit Programming of SPI NOR Flash hmuller 13 11,194 09-13-2020, 01:20 PM
Last Post: hmuller
Exclamation Flash dhivael's SPI uboot (risky) clover 51 32,562 06-20-2020, 03:24 PM
Last Post: craftkiller
  How to boot Manjaro from NVME with uboot on eMMC as400 47 35,425 06-07-2020, 02:37 AM
Last Post: as400
  How to get kernel boot messages on screen on Manjaro as400 2 2,953 01-23-2020, 04:35 PM
Last Post: as400
  Widevine-flash on Chromium-SD Card mamboman777 3 4,293 01-20-2020, 04:00 PM
Last Post: tophneal
  Dual booting Linux with ChromiumOS using "boot floppy" Wizzard 5 4,500 11-28-2019, 12:23 PM
Last Post: TDC_PBP

Forum Jump:

Users browsing this thread: 1 Guest(s)