SPI nor-flash boot part number

Hi all,

We are currently trying to boot from an external SPI Flash memory on a custom board.
This memory is connected to Tegra K1 through SPI4 with the correct Chip Select (CS0).
The boot_sel straps are configured as “1000” : SPI BOOT.
We know the JTK1 has a w25q32dw chip which seems to be fine to boot from.

It seems that the BootROM can’t read back what is written in it.
We are using an AT45DB081E part :

>>> Verifying image in RAM...
crc32 for 801bd000 ... 802389ff ==> 25f8ae68
>>> Selecting SPI device...
SF: Detected AT45DB081D with page size 256 Bytes, erase size 64 KiB, total 1 MiB
>>> Erasing SPI...
SF: 1048576 bytes @ 0x0 Erased: OK
>>> Writing image back to SPI...
device 0 offset 0x0, size 0x7ba00
SF: 506368 bytes @ 0x0 Written: OK
>>> Reading image back from SPI...
device 0 offset 0x0, size 0x7ba00
SF: 506368 bytes @ 0x0 Read: OK
>>> Verifying image from flash...
crc32 for c0000000 ... c007b9ff ==> ffce05a9
CRC MISMATCH of readback image

Even if NVIDIA doesn’t officially support SPI Boot, could someone confirm that the BootRom SPI controller needs a JEDEC read ID compliance ?
ie the SPI flash has to be one of those :
http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt

Thanks in advance

Regards,
Ale

Nobody at NVIDIA could confirm ?
Or someone who has developed a SPI boot ?

Any suggestion is welcome

Hi alejuventino,

We’re investigating this issue internally if could have the suggestion on your requirement.
Once any update, I will post to you.

Thanks

Hi kayccc,

Thank you for your prompt response.

Our aim is only to boot from SPI external flash that is not the Jetson’s one.
To achieve it we need to know which memories (chips) are compatible…From your side, giving us a list would be impossible (because would be kind of officially support SPI boot).
At least guidelines/requirements about the driver used by BootROM will be a great hint.

Have a nice day,
Ale.

Hi alejuventino,

could someone confirm that the BootRom SPI controller needs a JEDEC read ID compliance ?
ie the SPI flash has to be one of those :
http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt

TK1 BootROM should be able to support SPI ROM boot using standard JEDEC READ 0x03 and RDSR 0x05 commands.
BootROM does not require JEDEC READ_ID 0x90/0xAB command.

Thanks

Hi Kayccc,

Thank you for your response.

It seems that our flash actually doesn’t support the RDSR 0x05 command so we will try with another one later.

Regards,
Ale