On 2/6/25 1:38 PM, Simon Glass wrote:
Hi Marek,

On Wed, 5 Feb 2025 at 07:37, Marek Vasut <ma...@denx.de> wrote:

Add implementation of mkenvimage written purely in bourne shell.

This is not a replacement for mkenvimage tool, but rather a simple
implementation which can be used in environments where mkenvimage
itself cannot be deployed due to various constraints, like hardware
manufacturing plants, but where bourne shell and basic tool are
already available.

The external dependencies which are not shell built-ins are gzip
and grep.

All mkenvimage parameters are implemented and compatible with the
C implementation of mkenvimage.

Signed-off-by: Marek Vasut <ma...@denx.de>
---
Cc: Joe Hershberger <joe.hershber...@ni.com>
Cc: Tom Rini <tr...@konsulko.com>
---
  tools/mkenvimage.sh | 126 ++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 126 insertions(+)
  create mode 100755 tools/mkenvimage.sh

Would it be worth adding a simple test for this?
Sure, is there an existing test for similar case I can look at ?

Reply via email to