Uses for SPI Flash
#14
(10-01-2019, 06:14 AM)kalpazanius Wrote:
(09-30-2019, 04:47 AM)ayufan Wrote: You can have image that has uboot behaving this way: preferring SD over eMMC.

Booting from the spi flash with SD over eMMC preference still does have an advantage: it makes it possible to wipe-out or re-partition the eMMC, and even if something is messed up it will be still able to recover without the need of a screwdriver.
There is a catch, though - if you mess up u-boot in the SPI flash then you will be in trouble. I think that on RockPro the boot priority is selectable using a jumper. So I wonder - what's the boot priority on PBP and is it also jumper selectable?

I saw the following in the RockPro docs to forcefully avoid SPI boot (e.g. prevent the SPI device from observing the clock by shorting it out on the 40 pin header):
https://wiki.pine64.org/index.php/ROCKPr...booting.29

I haven't seen the production schematics for PBP but there is no 40 pin header and the pre-production drawings didn't offer any comfortable equivalent. You apply the same short directly to the pins of  the flash chip... but I doubt I'm coordinated enough to pull it off reliably. In the end I ended up ordering a CH341A and a test clip since that should be able to get me out of almost anything ;-) .
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


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,481 10-03-2022, 08:33 PM
Last Post: wdt
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 125 215,268 09-27-2022, 07:41 AM
Last Post: olyavi
  How can I flash SPI so that I can boot from NVMe? codingpanic 5 5,918 08-24-2021, 05:07 AM
Last Post: codingpanic
Question erase spi flash aiminick 1 2,312 04-07-2021, 06:50 AM
Last Post: tophneal
  Booting to sdcard stopped working after emmc flash techiedog 3 3,946 12-31-2020, 06:30 PM
Last Post: Anarethos
  Flash non-bootable eMMC? midnightcheese 2 2,238 12-24-2020, 08:01 AM
Last Post: midnightcheese
  U-Boot on SPI flash - discussion Arwen 20 21,805 09-16-2020, 08:20 AM
Last Post: hmuller
  Am I supposed to flash keyboard firmware and u-boot imgs? superkazuya 4 5,835 09-02-2020, 04:12 AM
Last Post: pfeerick
  How to flash the emmc when it has Chromium on it? U47 3 4,433 07-10-2020, 10:07 AM
Last Post: U47
  emmc image will not flash Uturn 9 12,348 04-04-2020, 07:02 AM
Last Post: jiyong

Forum Jump:


Users browsing this thread: 2 Guest(s)