$ sudo /usr/local/sbin/rockpi_erase_spi_flash.sh
Doing this will overwrite data stored on SPI Flash
and it will require that you use eMMC or SD
as your boot device.
Type YES to continue or Ctrl-C to abort.
YES
Erasing 4 Kibyte @ 3ff000 -- 100 % complete
Done.
Now I have completely erased spi flash how can I write spi flash, I do not have uboot-trush-spi.img
$ sudo /usr/local/sbin/rockpi4b_write_spi_flash.sh
Missing board bootloader image: /usr/lib/u-boot-rockpi4b/spi/uboot-trust-spi.img
didnt expected this, where can I get uboot-trust-spi.img ?