PINE64 Rock64 - How to get SPI driver working

Johannes Krottmayer krjdev at gmail.com
Wed Jun 24 17:52:08 CEST 2020


Sorry for my late response.

Thanks for the suggestions.

On 22.05.20 at 16:28,  Peter Robinson wrote:
> Make sure you enable the driver for the actual flash chip too, some of
> the popular ones are:
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_SPI_FLASH_MACRONIX=y
> CONFIG_SPI_FLASH_SPANSION=y
> CONFIG_SPI_FLASH_GIGADEVICE=y

I have enabled 'CONFIG_SPI_FLASH_GIGADEVICE'. But still getting
the same error code (-2). On board is the GD25Q127C from Gigadevice.

The device ID for the operation code 0x9F according to the datasheet
should be 0xC84018. I also found this device ID in the SPI-NOR IDS
file.


More information about the U-Boot mailing list