Hi @Arivuvp ,
If you are using the MIMXRT1170-EVK board, it's more easy, as it is just the QSPI flash boot directly.
About the code, please refer to the SDK code, all the SDK demo are booting from the QSPI flash.
You can download the SDK code from this link:
https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1170-EVK
You can run this simple demo directly:
SDK_2_12_0_MIMXRT1170-EVK\boards\evkmimxrt1170\demo_apps\led_blinky\cm7
If you meet any issues, you can refer to the doc in the SDK:
\SDK_2_12_0_MIMXRT1170-EVK\docs\Getting Started with MCUXpresso SDK for MIMXRT1170-EVK.pdf
Wish it helps you!
Best Regards,
kerry