How to boot rockpi 4b board with spi

Hello,
First time I am using ROCKPI 4B board and I am facing problem while booting throw SPI.This step I am following(below I mention with display message).So, please help me.

##Step which I am follow given in this link(https://wiki.radxa.com/Rockpi4/dev/spi-install).

##Message which display below please.

DDR Version 1.15 20181010

In
Channel 0: LPDDR4,50MHz
CS = 0
MR0=0xB8
MR4=0x1
MR5=0xFF
MR8=0x10
MR12=0x4D
MR14=0x4D
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,50MHz
CS = 0
MR0=0xB8
MR4=0x1
MR5=0xFF
MR8=0x10
MR12=0x4D
MR14=0x4D
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
256B stride
channel 0
CS = 0
MR0=0xB8
MR4=0x1
MR5=0xFF
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0xB8
MR4=0x1
MR5=0xFF
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 400MHz 0,1
channel 0
CS = 0
MR0=0xB8
MR4=0x1
MR5=0xFF
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0xB8
MR4=0x1
MR5=0xFF
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x40
ch 1 ddrconfig = 0x101, ddrsize = 0x40
pmugrf_os_reg[2] = 0x32C1F2C1, stride = 0xD
OUT
Boot1: 2018-06-26, version: 1.14
CPUId = 0x0
Spi_ChipId = ffffff
SpiBootInit:ffffffff
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
UsbHook 469796
powerOn 469880

please guide me booting throw SPI.

Thank you.,
Regards
sharad

From these two lines,

Spi_ChipId = ffffff
SpiBootInit:ffffffff

I think the SPI Flash is not recognized.

Thank you for your response @Stephen.Then what I do and what is the procedure.Please help me.

Did you forget to remove the line between PIN#23 and PIN#25 before using tool rkdeveloptool to flash the images to the SPI Flash?

Hello @Stephen.,
once I tried but mode was changed maskrom mode to loader mode(if I am remove connection between 23 pin and 25 pin).So,please help I have two query.

1.I am trying to load image in which mode ?
2.Which I follow this was the process to load images in SPI.
->sudo ./rkdeveloptool wd 0 path/image
-> and I am trying to load(rockpi4-debian-stretch-desktop-arm64-20190730_2022-gpt.img) this image.Is this correct image for SPI ?

If you have how to boot ROCKPI 4B board through SPI step by step then please share with me.

Question one.
When you finish the Step 2, Boot the board to maskrom mode, of https://wiki.radxa.com/Rockpi4/dev/spi-install, ROCK Pi 4 board is in maskrom mode.

When command, sudo rkdeveloptool db /path/to/rk3399_loader_spinor_v1.15.114.bin, is done, the board is in loader mode.

Then you can use command, sudo rkdeveloptool wl 0 /path/to/uboot-trust-spi-20190816_1128.img, to write image to SPI Flash.

Question two.
Where are SPI Flash images? they are here, https://dl.radxa.com/rockpi/images/loader/spi/. You can select https://dl.radxa.com/rockpi/images/loader/spi/rockpi4b-uboot-trust-spi_2017.09-2681-geb41d9a6ce_20191104.img for ROCK Pi 4B.

rockpi4-debian-stretch-desktop-arm64-20190730_2022-gpt.img is not a SPI Flash image. It is a full system that can be installed into eMMC module, TF card, NVME M.2 SSD.

Where is the guide for SPI and NVME booting? you can find it here, https://wiki.radxa.com/Rockpi4/Linux_system_runs_on_M.2_NVME_SSD.

Hello @Stephen.,
Thank you for help me.