![jcamdr.wordpress.com](http://fav.cln.bz/ndamnd0tj14gfqfjggtt4qjj/64/jcamdr.wordpress.com.png)
jcamdr.wordpress.com
jcamdrRemove the leading 0xff of a file. May 19, 2015. Curious that this question don’t actually raise any simple response on the internet because this is a common situation when you dump the full flash of a microcontroller and only want to keep the useful part of the file. To do that I use this command:. Sed -i -e "$ s/ xff*$/ " file.bin. Make the execution of the next command only for the last line of the file to avoid removing 0xff in the middle of the file. The. Set Linux hostname from the device tree.
http://jcamdr.wordpress.com/