PINE64
Reflashing the allwinner a64 SOC stock firmware? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: Reflashing the allwinner a64 SOC stock firmware? (/showthread.php?tid=18495)



Reflashing the allwinner a64 SOC stock firmware? - samlo - 07-13-2023

Was curious if there's anyway to reflash the chip inside the pinephone? Even if it's stock, I would like to go through the process of reflashing this chip. Even better if there are updates from sunxi.

I saw this: https://forum.pine64.org/showthread.php?tid=12210&highlight=a64+firmware

Which points to here:

https://linux-sunxi.org/Pine64#Boot_sequence
https://linux-sunxi.org/BROM#A64

So I'm assuming I can use FEL somehow?

Where do I download the firmware hopefully with a hash to check integrity and what's the process to reflash it?

And a question about Pinephone PRO. It has SPI flash? Does that mean there is no BROM in the allwinner chip? Or is the same, and just boots from SPI instead of emmc?

Thank you.


RE: Reflashing the allwinner a64 SOC stock firmware? - fxc - 07-14-2023

(07-13-2023, 10:16 PM)samlo Wrote: Was curious if there's anyway to reflash the chip inside the pinephone? Even if it's stock, I would like to go through the process of reflashing this chip. Even better if there are updates from sunxi.

I saw this: https://forum.pine64.org/showthread.php?tid=12210&highlight=a64+firmware

Which points to here:

https://linux-sunxi.org/Pine64#Boot_sequence
https://linux-sunxi.org/BROM#A64

So I'm assuming I can use FEL somehow?

Where do I download the firmware hopefully with a hash to check integrity and what's the process to reflash it?

And a question about Pinephone PRO. It has SPI flash? Does that mean there is no BROM in the allwinner chip? Or is the same, and just boots from SPI instead of emmc?

Thank you.

Which chip are you asking about? If you are asking about the operating system on the eMMC then FEL mode is never the answer. Instead flash it as explained in the wiki: https://wiki.pine64.org/wiki/PinePhone#Installation_instructions 

The phone is basically like a small computer. If your Windows operating system breaks on your computer, you insert an installation DVD (or in case of the PinePhone a microSD card) to boot from that and to overwrite it.

Regarding your question with the PinePhone Pro, it uses a different SoC (the RK3399S from RockChip, not Allwinner), which dictates the hardware boot order. The SPI is used to store a bootloader independently from the internal memory (eMMC) to alter the hardware boot order and to have a safe space for the bootloader to reside in, see https://wiki.pine64.org/wiki/PinePhone_Pro#Boot_order.