RE: Bootloader for mips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
> [mailto:linux-mips-bounce@xxxxxxxxxxxxxx]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
> 
> 
> 
> 


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux