public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] granularity of bootm subcommands
@ 2008-08-08 13:37 Kumar Gala
  2008-08-08 14:42 ` Jerry Van Baren
  2008-08-08 21:27 ` Scott Wood
  0 siblings, 2 replies; 7+ messages in thread
From: Kumar Gala @ 2008-08-08 13:37 UTC (permalink / raw)
  To: u-boot

So I proposed a set of subcommands that looked like:

   bootm start <args>
   bootm prep
   bootm load_os
   bootm load_fdt
   bootm load_initrd
   bootm jump
   bootm restore

is this the right granularity or should we go finer?

"prep" could be:

   bootm disable_interrupts
   bootm usb_stop
   bootm disable_caches

"load_os" stays as is.

"load_fdt" could be:

   bootm load_fdt
   bootm boardsetup_fdt
   bootm fdt_resize

"load_initrd" could be:
   bootm load_initrd
   bootm fdt_initrd_fixup

"jump" stays as is.

"restore" could be:
   bootm enable_interrupts
   bootm usb_start
   bootm enable_caches

Also I'm adding in:
   bootm cmdline
   bootm kbd (kernel bd_t)

Finally I'd like to change the subcommands to be prefixed with '_' to  
make parsing easier:
   bootm _start <args>
   bootm _prep
   bootm _load_os
   ...

- k

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-08 23:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 13:37 [U-Boot] granularity of bootm subcommands Kumar Gala
2008-08-08 14:42 ` Jerry Van Baren
2008-08-08 15:14   ` Kumar Gala
2008-08-08 16:55     ` Jerry Van Baren
2008-08-08 23:08       ` Wolfgang Denk
2008-08-08 21:27 ` Scott Wood
2008-08-08 23:58   ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox