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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install Tow-Boot on the SPI Shad0w 12 7,878 09-03-2023, 02:55 AM
Last Post: Spamiswak
Question Can't Boot from MicroSD (What Am I Missing) falken 10 3,825 04-28-2023, 04:26 PM
Last Post: pinemouth
  Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card hmuller 0 3,423 09-21-2020, 10:02 AM
Last Post: hmuller
  In-Circuit Programming of SPI NOR Flash hmuller 13 18,165 09-13-2020, 01:20 PM
Last Post: hmuller
Exclamation Flash dhivael's SPI uboot (risky) clover 51 52,883 06-20-2020, 03:24 PM
Last Post: craftkiller
  How to boot Manjaro from NVME with uboot on eMMC as400 47 56,442 06-07-2020, 02:37 AM
Last Post: as400
  How to get kernel boot messages on screen on Manjaro as400 2 4,326 01-23-2020, 04:35 PM
Last Post: as400
  Widevine-flash on Chromium-SD Card mamboman777 3 6,421 01-20-2020, 04:00 PM
Last Post: tophneal
  Dual booting Linux with ChromiumOS using "boot floppy" Wizzard 5 6,998 11-28-2019, 12:23 PM
Last Post: TDC_PBP

Forum Jump:


Users browsing this thread: 1 Guest(s)