public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] bootm support for netbsd question
@ 2008-08-07 15:44 Kumar Gala
  2008-08-07 15:57 ` Rafal Jaworowski
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2008-08-07 15:44 UTC (permalink / raw)
  To: u-boot

Anyone know why we pass the image_header_t * to the netbsd loader?

         /*
          * Booting a (NetBSD) kernel image
          *
          * This process is pretty similar to a standalone application:
          * The (first part of an multi-) image must be a stage-2  
loader,
          * which in turn is responsible for loading & invoking the  
actual
          * kernel.  The only differences are the parameters being  
passed:
          * besides the board info strucure, the loader expects a  
command
          * line, the name of the console device, and (optionally) the
          * address of the original image header.
          */
...

         /*
          * NetBSD Stage-2 Loader Parameters:
          *   r3: ptr to board info data
          *   r4: image address
          *   r5: console device
          *   r6: boot args string
          */
         (*loader) (gd->bd, os_hdr, consdev, cmdline);

this is some pretty tight coupling with u-boot.  Is the stage-2 loader  
part of u-boot?

- k

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

end of thread, other threads:[~2008-08-07 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 15:44 [U-Boot-Users] bootm support for netbsd question Kumar Gala
2008-08-07 15:57 ` Rafal Jaworowski
2008-08-07 16:00   ` Rafal Jaworowski

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