
Dear Henrik,
In message 1368920138.23379.14.camel@localhost you wrote:
I think it would be a great addition to add generic filesystem operations to the standalone API. The fs_read() and fs_write() functions should be possible to export via the standalone API as-is, but should probably be wrapped a little bit to select which filesystem/partition to operate on, similar to do_load() but without the u-boot env magics or variable arguments.
Technically you may be right. The reason why we intentionally maintain a very lean interface to standalone programs is that we allow such applications to be distributed even under non-GPL licenses.
If you need more fancy features, just add your code to U-Boot and distribute it under GPL.
Best regards,
Wolfgang Denk