To flash SPI rom a running os on Pinebook Pro you can flash SPI like this:
Writing to SPI Flash:
# flash_erase /dev/mtd0 0 0
# dd if=spiflash.bin of=/dev/mtd0

If dd doesn't work for you (see #2), try nandwrite:
# nandwrite -p /dev/mtd0 spiflash.bin

You can get flash_erase and nandwrite by installing mtd-utils package.

Warning! If somthing go wrong with flashing, you need to short circut the SPI 
to get it reset.
Make sure you flash_erase before trying to write to SPI, I missed that a couple 
of times and I ended up with corrupt SPI and had to short circut.

As far as I have tried the Fedora Kernel can not start the disply on Pinebook 
Pro. You can only get output on serial over UART.
_______________________________________________
arm mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to