Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Bootloader for mips
@ 2005-01-21 15:24 Karl Lessard
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Lessard @ 2005-01-21 15:24 UTC (permalink / raw)
  To: linux-mips

Hi all!

let's say that I want a very very very simple bootloader for MIPS that 
boots from flash roms, as trivial
as 'start and go', without interaction, commands, etc.. any idea where I 
can find it?

Or at least how can I write it? (i.e. is there something else to do than 
setting up kernel parameters
and jumping to the kernel start address?)

Thanks a lot,
Karl

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: Bootloader for mips
@ 2005-01-21 20:56 Joseph Chiu
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Chiu @ 2005-01-21 20:56 UTC (permalink / raw)
  To: Karl Lessard, linux-mips

If you want to just jump into the kernel, you'd just have to write the low-level init code to setup the hardware and setup the stack to send in the initial
"main" arguments  (see init_arch in arch/mips/kernel/setup.c): argc, **argv, **envp, memsize.

For no kernel parameters, pass in empty argv and envp...

Good luck.

> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of Karl Lessard
> Sent: Friday, January 21, 2005 7:25 AM
> To: linux-mips
> Subject: Bootloader for mips
> 
> 
> Hi all!
> 
> let's say that I want a very very very simple bootloader for 
> MIPS that 
> boots from flash roms, as trivial
> as 'start and go', without interaction, commands, etc.. any 
> idea where I 
> can find it?
> 
> Or at least how can I write it? (i.e. is there something else 
> to do than 
> setting up kernel parameters
> and jumping to the kernel start address?)
> 
> Thanks a lot,
> Karl
> 
> 
> 
> 

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

end of thread, other threads:[~2005-01-21 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 15:24 Bootloader for mips Karl Lessard
  -- strict thread matches above, loose matches on Subject: below --
2005-01-21 20:56 Joseph Chiu

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