09-09-2020, 01:18 PM
(04-18-2020, 10:43 AM)tsys Wrote: Hi,
I do not think there is any reason to use external hardware for flashing. The SPI flash can simply be written from within the OS (or even u-boot).
Even if you need to recover from a defective bootloader written to the SPI flash, you can simply short pin 6 of the SPI flash to GND and boot. This will render the bootrom unable to read from the SPI flash and have it fall back to reading the bootloader from other boot media like the micro SD card or eMMC.
The procedures described above are a lot less risky than attaching an external SPI flasher and do not require any additional hardware.
Hello @tsys,
Hope you are well, and I apologize for the delayed response!
I agree, the methods you describe do not require additional hardware. But there is no more risk in attaching a Pomona clip with wiring, than shorting pins manually.
You have however given me a great pointer to an easier process to start with which is using u-boot (from a micro SD card) to flash the SPI. So I am going to investigate that, as it is easier to insert a micro SD card, than taking the PBP apart.
Just a note, the old stock Debian did not contain a /dev/mtd0 device.
I have just converted all my other ARM(HF|64) devices to stock Debian and am now tackling the Pinebook Pro. I was excited to actually be able to use the net installer on the ARM64 device, I had to create images for the ARMHF devices. I know you are a Manjaro Dev, your distribution is doing great things. I just adopted Debian years ago and stuck with it.