13 Commits

Author SHA1 Message Date
Andre Nahrwold
e621fd98e7 misc: tools: fix mkimage.py script type processing
Closes #4249
2021-02-16 16:22:36 +11:00
Amar Takhar
2444acb0ad Add print statement similar to the original mkimage.
This is limited to Python 2.6+
2020-03-04 18:07:45 -05:00
Amar Takhar
9c7be8bc49 Fix to work under Pyhon 2 and Python 3.
Also changed 'python2' to 'python' in the shebang.
2020-03-04 18:07:41 -05:00
Amar Takhar
e29d0a6ac8 Convert optparse to argparse.
* Fix exceptions and print exception message.
 * Also add myself to copyright.
2020-03-04 18:07:37 -05:00
Amar Takhar
90713f7d36 Remove EOL whitespace. 2020-03-04 18:07:21 -05:00
Amar Takhar
e8c180f1be Add to wscript and add python2 shebang.
This script does work but needs some user friendliness added which is
acknowledged by the author as it was meant as a quick replacement.
2020-03-03 20:08:10 -05:00
Amar Takhar
fc078dbdef Add a pure Python clone of mkimage written by Craig Barker.
I emailed Craig Barker to ask if he would release his mkimage Python rewrite
as 2BSD.  He graciously accepted and you can see his work here:

  https://github.com/cmbarker83/pythonmkimage

This is a verbatim commit of 35d6d from his repository.
2020-03-03 19:58:25 -05:00
Chris Johns
deb54b6145 misc/tftpproxy: Add a proxy TFTP server.
- Uses a config INI file to map clients to servers

- Handle a number of requests to a single server's TFTP port (69)
  and multiplex to a non-su ports or different servers.

- Supports running rtems-test to more than one hardware device using
  TFTP at once.
2019-08-19 16:44:11 +10:00
Nils Hölscher
f9e121688d misc/boot-image: fix uenv_exe_ftd bug. 2019-06-25 11:21:16 +10:00
Chris Johns
6f99d80a09 misc/boot-image: Fix Linux bugs. 2019-06-13 18:39:02 +10:00
Chris Johns
48afbab882 misc/boot-image: Fix image convert. Add --build option.
- Change the build directory away from `build`, avoid the tool
  wiping out a libbsd build directory.
2019-06-13 18:38:50 +10:00
Chris Johns
d73ce80ec0 misc/boot-image: Fix macro set logic and --net-boot-dhcp processing. 2019-06-12 14:44:36 +10:00
Chris Johns
98f2f02f12 misc/boot-image: Add a tool to create boot images.
- FreeBSD support.
- MacOS support.
- Linux support.
- Support for 1st and 2nd loaders.
- Support uenv templates and uenv.txt support.
2019-06-12 09:49:00 +10:00