Adding SPI Flash to A64-OLinuXino-1Ge16GW

Started by tbultel, March 05, 2020, 06:03:11 PM

Previous topic - Next topic

tbultel

Hi,

I would like to add a SPI flash on my A64-OLinuXino-1Ge16GW, to put uboot on it.
I found this:
https://fr.rs-online.com/web/p/products/1712222/

When it is soldered, do I have something else to do, to have the CPU loading
uboot from it ?
Thanks !

LubOlimex

#1
Yeah, this memory should work. But check the schematic there are some other components to be placed also.

About the software check here: https://www.olimex.com/wiki/ArmbianHowTo#Update_SPI_flash
Technical support and documentation manager at Olimex

tbultel

Thanks, I will doublechek the missing parts on the schematics.
I am customed to MTD devices, so I think it should even be possible
to flash it from Linux instead of from u-boot.

My question was rather:
How will the board boot on it ? In the other manufacturer boards I have been
working on in the past, there was usually dip switches to select the boot from either SD, emmc, and SPI flash.
How does this work with the A64 ?

Thanks !

JohnS


LubOlimex

There is priority order. SD > eMMC > SPI flash > USB. The first place that the boot process finds proper boot sequence is the selected one. Read here:

https://linux-sunxi.org/BROM#A64
Technical support and documentation manager at Olimex

tbultel

Thanks for the link, that was very useful