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

https://forum.pine64.org/showthread.php?tid=11567

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:


Code:
=> 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:

Code:
$ xxd /path/to/spi_full.img | less
  Reply


Messages In This Thread
Extracting a copy of SPI NOR flash contents using micro SD card and u-boot - by hmuller - 09-21-2020, 11:24 AM

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 803 09-21-2020, 10:02 AM
Last Post: hmuller
  In-Circuit Programming of SPI NOR Flash hmuller 13 6,719 09-13-2020, 01:20 PM
Last Post: hmuller
Exclamation Flash dhivael's SPI uboot (risky) clover 51 18,338 06-20-2020, 03:24 PM
Last Post: craftkiller
  How to boot Manjaro from NVME with uboot on eMMC as400 47 18,076 06-07-2020, 02:37 AM
Last Post: as400
  How to get kernel boot messages on screen on Manjaro as400 2 1,548 01-23-2020, 04:35 PM
Last Post: as400
  Widevine-flash on Chromium-SD Card mamboman777 3 2,088 01-20-2020, 04:00 PM
Last Post: tophneal
  Dual booting Linux with ChromiumOS using "boot floppy" Wizzard 5 2,006 11-28-2019, 12:23 PM
Last Post: TDC_PBP

Forum Jump:


Users browsing this thread: 1 Guest(s)