Hello Dhruvalkumar Patel,
The script byte_swap.tcl is provided in Linux SDK, you could run "bitbake change-file-endianess-native", and get this script in the folder build_ls1043ardb/tmp/sysroots/x86_64-linux/usr/bin/byte_swap.tcl, I attached it for you.
Please use this script as the following
$tclsh byte_swap.tcl rcw_qspiboot.bin rcw_qspiboot_swap.bin 8
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------