Mainline U-boot SPI boot EMMC kernel problem

I’m using rockpi4b v1.4.

I install mainline u-boot at SPI flash, when booting debian in emmc, it reporting errors as follows:

Hit any key to stop autoboot:  0                                                                       
switch to partitions #0, OK                                                                            
mmc0(part 0) is current device                                                                         
Scanning mmc 0:4...                                                                                    
Found /extlinux/extlinux.conf                                                                          
Retrieving file: /extlinux/extlinux.conf                                                               
598 bytes read in 30 ms (18.6 KiB/s)                                                                   
select kernel                                                                                          
1:      kernel-4.4.154-90-rockchip-ga14f6502e045                                                       
2:      kernel-4.4.154-88-rockchip-00030-g90239a6                                                      
Enter choice: 1:        kernel-4.4.154-90-rockchip-ga14f6502e045                                       
Retrieving file: /vmlinuz-4.4.154-90-rockchip-ga14f6502e045                                            
19427336 bytes read in 2020 ms (9.2 MiB/s)                                                             
append: earlyprintk console=ttyFIQ0,1500000n8 init=/sbin/init root=PARTUUID=b921b045-1d rw rootwait roo
tfstype=ext4                                                                                           
Retrieving file: /dtbs/4.4.154-90-rockchip-ga14f6502e045/rockchip/rk3399-evb.dtb                       
Skipping kernel-4.4.154-90-rockchip-ga14f6502e045 for failure retrieving fdt                           
2:      kernel-4.4.154-88-rockchip-00030-g90239a6                                                      
Retrieving file: /vmlinuz-4.4.154-88-rockchip-00030-g90239a6                                           
19427336 bytes read in 2022 ms (9.2 MiB/s)                                                             
append: earlyprintk console=ttyFIQ0,1500000n8 init=/sbin/init root=PARTUUID=b921b045-1d rw rootwait roo
tfstype=ext4                                                                                           
Retrieving file: /dtbs/4.4.154-88-rockchip-00030-g90239a6/rockchip/rk3399-evb.dtb                      
Skipping kernel-4.4.154-88-rockchip-00030-g90239a6 for failure retrieving fdt                          
SCRIPT FAILED: continuing...                                                                           
MMC Device 1 not found                                                                                 
no mmc device at slot 1                                                                                
starting USB...                                                                                        
Bus usb@fe380000: USB EHCI 1.00                                                                        
Bus usb@fe3c0000: USB EHCI 1.00                                                                        
scanning bus usb@fe380000 for devices... 1 USB Device(s) found                                         
scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found                                         
       scanning usb for storage devices... 0 Storage Device(s) found                                   
                                                                                                       
Device 0: unknown device                                                                               
ethernet@fe300000 Waiting for PHY auto negotiation to complete............user interrupt!              
Could not initialize PHY ethernet@fe300000 

But I can be workaround using wire to connect PIN 23 and 25 in https://wiki.radxa.com/Rockpi4/dev/spi-install

rock-pi-4-rk3399_defconfig and evb-rk3399_defconfig both have such bug.
I think that mainline u-boot seems to bave a bug seeking dtbs other than in emmc.

This is a known issue; follow the Wiki instructions to erase the SPI Flash. SD and eMMC will then boot.