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
>
>
>
>
|