I have traced the PMON code (www.carmel.com/pmon/) with NEC DDB5476 board
(linux package from Montavista),
(LSI Logic' Software Support Package for MIPS processors version 5.3.33)
However, though it seem clear that function "_go" of pmon/head.S transfer
control to client program
by "j k0" (a exception)
BUT I do not understand what information tha PMON transfer to LINUX-MIPS KERNEL
I found the KERNEL's entry is "kernel_entry" of ~arch/mips/kernel/head.S.
But, I can not find any information just like "board information" be
where is it!? using sp register with "j k0" command?
where is the memory setting be transferred?
What MIPS LINUX needed!?
(PPCBOOT to PPC-LINUX is clear with a board_info struct, initrd_start and
initrd_end ... and work well...
REALLY thanks for help,
[mailto:firstname.lastname@example.org]On Behalf Of Jun Sun
Sent: Tuesday, March 26, 2002 7:12 AM
To: Y.H. Ku
Cc: Marc Karasek; email@example.com
Subject: Re: BootLoader on MIPS
Y.H. Ku wrote:
> Hi everybody,
> I trace PMON into mips.S, and find the entry "_go".
> the entry transfer control to client prog.
> I am confused of what information PMON transfer to MIPS's BOOTLOADER
> and transfer to which entry point of BOOTLOADER.
> I found the bd_t struct of PPCBOOT.h for PPCBOOT package on POWERPC platform.
> It is corresponding POWERPC-LINUX data structure bd_info in
> (register r3~r7)
> I just can not find the entry for MIPS's one. (can not find corresponding
> baget.h's one)
> Could anybody tell me what is the information (register inforation) PMON
> to bootloader?
> Or anybody can disscuss with me,
NEC provides PMON for DDB5476. You should be able to get it if it is not
already on the board.