[Top] [All Lists]

RE: Bootloader for mips

To: "Karl Lessard" <>, "linux-mips" <>
Subject: RE: Bootloader for mips
From: "Joseph Chiu" <>
Date: Fri, 21 Jan 2005 12:56:04 -0800
Original-recipient: rfc822;
Thread-index: AcT/zhzLV7+Jg+pgQDa5XAviw861KwALGb3g
Thread-topic: Bootloader for 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 
"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:
> []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

<Prev in Thread] Current Thread [Next in Thread>