Uses for SPI Flash
#4
(09-29-2019, 01:12 PM)LeoLambda Wrote:
(09-29-2019, 11:38 AM)Arwen Wrote: One thing to know is that some types of builtin flash have limited re-write life span.
Like 1,000 or 10,000 re-writes. Perfectly fine for storing boot code, and even boot
parameters. But, anything that may need an update every boot may wear it out too
soon. (Not saying your use needs updates every boot... I don't know your use case.)

Understand, some of these flash devices are NOT like an SSD. SSDs have spares, wear
leveling, error detection and minimal correction. And may have things like RAM buffers
or TRIM support.

Some of these flash devices the way you detect bad blocks, is you write data and if it
reads back as different, block is bad. No spares. Time to replace.

All that said, I don't know if the Pinebook Pro's 128M(b/B?) SPI flash is user replacable.
Or of what type.

Thanks, that's a good point to make. I'm mostly interested in potentially storing my GPG and SSH keys there - write once, read every time I reinstall the OS, just to make it easier to rapidly run through operating systems, and because I think it would be cool. I could just use a USB key though, maybe I should do that.

Another way to deal with it, is to have a master copy of your home directory. (Or what you want in your home directory.) I have such for my ~/bin/, ~/help/, ~/.ssh/ & ~/.gnupg/ directories. For me, I have a home media server that I use as the base point for those directories. Then have a script in ~/bin/ to perform an Rsync update when needed for my current desktop and laptop.

(My ~/help/ is for rarely used detail to do things, even esoteric things, kind of like a recipe.)
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
Uses for SPI Flash - by NoraCodes - 09-29-2019, 10:53 AM
RE: Uses for SPI Flash - by Arwen - 09-29-2019, 11:38 AM
RE: Uses for SPI Flash - by NoraCodes - 09-29-2019, 01:12 PM
RE: Uses for SPI Flash - by Arwen - 09-29-2019, 07:53 PM
RE: Uses for SPI Flash - by kalpazanius - 09-30-2019, 03:28 AM
RE: Uses for SPI Flash - by ayufan - 09-30-2019, 04:47 AM
RE: Uses for SPI Flash - by kalpazanius - 10-01-2019, 06:14 AM
RE: Uses for SPI Flash - by danielt - 10-01-2019, 07:07 AM
RE: Uses for SPI Flash - by enip - 10-08-2019, 06:24 AM
RE: Uses for SPI Flash - by danielt - 10-08-2019, 09:41 AM
RE: Uses for SPI Flash - by kalpazanius - 10-08-2019, 09:53 AM
RE: Uses for SPI Flash - by danielt - 10-08-2019, 10:20 AM
RE: Uses for SPI Flash - by z4v4l - 09-30-2019, 10:25 AM
RE: Uses for SPI Flash - by z4v4l - 09-30-2019, 01:43 PM
RE: Uses for SPI Flash - by danielt - 10-01-2019, 05:42 AM
RE: Uses for SPI Flash - by danielt - 10-01-2019, 08:52 AM
RE: Uses for SPI Flash - by Arwen - 10-02-2019, 05:54 PM
RE: Uses for SPI Flash - by z4v4l - 10-02-2019, 08:30 PM
RE: Uses for SPI Flash - by danielt - 10-03-2019, 03:33 AM
RE: Uses for SPI Flash - by bcnaz - 10-04-2019, 03:02 AM
RE: Uses for SPI Flash - by PakoSt - 10-07-2019, 01:30 PM
RE: Uses for SPI Flash - by Arwen - 10-07-2019, 02:08 PM
RE: Uses for SPI Flash - by z4v4l - 10-07-2019, 02:52 PM
RE: Uses for SPI Flash - by bcnaz - 10-16-2019, 10:01 PM
RE: Uses for SPI Flash - by Arwen - 10-07-2019, 07:28 PM
RE: Uses for SPI Flash - by ayufan - 10-08-2019, 01:34 PM
RE: Uses for SPI Flash - by enip - 10-08-2019, 02:45 PM
RE: Uses for SPI Flash - by tsago - 10-09-2019, 09:51 AM
RE: Uses for SPI Flash - by z4v4l - 10-09-2019, 11:35 AM
RE: Uses for SPI Flash - by tsago - 10-10-2019, 04:48 AM
RE: Uses for SPI Flash - by enip - 10-10-2019, 09:09 AM
RE: Uses for SPI Flash - by z4v4l - 10-16-2019, 11:04 PM
RE: Uses for SPI Flash - by bcnaz - 10-21-2019, 06:29 PM
RE: Uses for SPI Flash - by z4v4l - 10-21-2019, 08:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  No boot after Manjaro flash PBcurry 14 5,459 10-03-2022, 08:33 PM
Last Post: wdt
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 125 214,887 09-27-2022, 07:41 AM
Last Post: olyavi
  How can I flash SPI so that I can boot from NVMe? codingpanic 5 5,898 08-24-2021, 05:07 AM
Last Post: codingpanic
Question erase spi flash aiminick 1 2,307 04-07-2021, 06:50 AM
Last Post: tophneal
  Booting to sdcard stopped working after emmc flash techiedog 3 3,929 12-31-2020, 06:30 PM
Last Post: Anarethos
  Flash non-bootable eMMC? midnightcheese 2 2,227 12-24-2020, 08:01 AM
Last Post: midnightcheese
  U-Boot on SPI flash - discussion Arwen 20 21,753 09-16-2020, 08:20 AM
Last Post: hmuller
  Am I supposed to flash keyboard firmware and u-boot imgs? superkazuya 4 5,823 09-02-2020, 04:12 AM
Last Post: pfeerick
  How to flash the emmc when it has Chromium on it? U47 3 4,412 07-10-2020, 10:07 AM
Last Post: U47
  emmc image will not flash Uturn 9 12,327 04-04-2020, 07:02 AM
Last Post: jiyong

Forum Jump:


Users browsing this thread: 1 Guest(s)