New Commands Thoughts...

This section is some thoughts about if we made an imload command with subcommands rather than shoehorning the image manipulation into the bootm command.

I'm wondering whether the OS/ramdisk/fdtblob needs to be loaded into RAM separately. The fdtblob needs to be modified before booting, that needs to be separate. The ramdisk may not exist. Conclusion: yes, might as well do all of them separately.

We already have a copy command for memory chunks and fdt move for fdtblobs. We should be able to script things using existing+new commands. Missing:

An "uncompress" command.

A way of getting addresses and length information from the images. Unfortunately, our hush shell doesn't implement back-ticks "`". We could hack our way around this by setting env variables as side effects. fUgly...