I need to swap binary RCW file to load into QSPI flash . I tried to use byte_swap.tcl scrip and it gives me error . can you please let me know how to use byte_swap.tcl effectively.
Thanks
Dhruval
Solved! Go to Solution.
Thanks a lot . I thin when I run it as a script in linux I need to add following line at the top of script
#!/usr/bin/tclsh
Without this line It was giving me error . After I added this line It worked for me
Thanks a lot . I thin when I run it as a script in linux I need to add following line at the top of script
#!/usr/bin/tclsh
Without this line It was giving me error . After I added this line It worked for me
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!
-----------------------------------------------------------------------------------------------------------------------