Rock pi s nand flash/erase error

Following error i got while flash/erase the nand flash.

   root@ELMPC-158:/home/elmpc-158# rkdeveloptool ld  
     DevNo=1	    Vid=0x2207,Pid=0x330e,LocationID=101	Maskrom
  root@ELMPC-158:/home/elmpc-158# rkdeveloptool db /media/elmpc-   158/CC1EB40A1EB3EC18/Dhevan/Rock_pi/RockPi_S/rk3308_loader_uart0_m0_emmc_port_support_sd_20190717.bin 
    Opening loader failed, exiting download boot!

Please give solution for this error.

Thanks & Regards

You need to cd to the path where you put the rk3308_loader_uart0_m0_emmc_port_support_sd_20190717.bin and use rkdeveloptool in the current path.

rkdeveloptool db ./rk3308_loader_uart0_m0_emmc_port_support_sd_20190717.bin