On the device I did: device $ cat > firmware.sh On the host, I trivially encoded a firmware into the following format a kind of hex-dump consisting of shell literals combined with printf commands: printf "\xDE\xAD\xBE\圎F\x.\xF0"īasically shell printf commands with \x escape sequences that printf interprets. No networking, no file transfer utilities no Base64 utils or anything remotely useful on the device. I just uploaded a ~7 Kb firmware file to a BusyBox based Linux embedded system over the serial port. Make first a backup of the original desktop.jpg ( cp desktop.jpg desktop_orig.jpg). On your pc, disable temporarily (or reconfigure if possible) any firewall andĪnd on the device busybox nc A.B.C.D -p 10000 on both sides. Read Simple file transfer and How to get file to a host when all you have is a serial console? for more possibilites.Ĭopy desktop.jpg from the device to your pc with the netcat/nc method:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |