
In message 476BD5E9.3030601@semihalf.com you wrote:
This is no argument for not creating some more centralized image processing code, or is it?
No, it's not. But I have doubts whether bootm is a good place for it. Maybe we should rather go for new generic command, something like 'imrun' or similar. And maybe even, move standalone application
It certainly makes sense to factor out this code, but I'm not sure yet if a separate command will be needed.
execution from bootm to a dedicated hook that'll be available from 'imrun'. This way, bootm would become strict OS booting command,
But "bootm" already *is* a strict OS booting command.
I'm not sure what youre reference to standalone applications is supposed to mean in this contexzt - but SA apps are NOT booted by bootm, they get started using the "go" command.
potentially also available from 'imrun' via a hook.
...or vice versa.
Best regards,
Wolfgang Denk