how to change entry point for secondary boot loader ?

View: New views
3 Messages — Rating Filter:   Alert me  

how to change entry point for secondary boot loader ?

by Lucky443 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,
I have a KMC board with mips VR4131 processor. The target board already having cmon boot loader on flash. Now I need to put my yamon boot loader which I modified according to the requirement on the flash. As we know MIPS have fixed starting address 0xbfc00000, how to change this address to other address so that after power on it can enter to the new address (boot loader).
If any one has some idea, please help me
Thanks in advance.

Thanks & Regards,
Lucky


Re: how to change entry point for secondary boot loader ?

by M. Warner Losh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In message: <22964143.post@...>
            Lucky443 <lucky.veeramallu@...> writes:
:
: Hi All,
: I have a KMC board with mips VR4131 processor. The target board already
: having cmon boot loader on flash. Now I need to put my yamon boot loader
: which I modified according to the requirement on the flash. As we know MIPS
: have fixed starting address 0xbfc00000, how to change this address to other
: address so that after power on it can enter to the new address (boot
: loader).
: If any one has some idea, please help me
: Thanks in advance.

You can't change MIPS' power-on address.  It is hard-coded for a
reason...

If you put yamon on the flash, it should start instead of cmon...

Warner
_______________________________________________
freebsd-mips@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "freebsd-mips-unsubscribe@..."

Re: how to change entry point for secondary boot loader ?

by Alexandr Rybalko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 08 Apr 2009 22:52:22 -0600 (MDT)
"M. Warner Losh" <imp@...> wrote:

>> In message: <22964143.post@...>
>>             Lucky443 <lucky.veeramallu@...> writes:
>> :
>> : Hi All,
>> : I have a KMC board with mips VR4131 processor. The target board
>> already : having cmon boot loader on flash. Now I need to put my
>> yamon boot loader : which I modified according to the requirement on
>> the flash. As we know MIPS : have fixed starting address 0xbfc00000,
>> how to change this address to other : address so that after power on
>> it can enter to the new address (boot : loader).
>> : If any one has some idea, please help me
>> : Thanks in advance.
>>
>> You can't change MIPS' power-on address.  It is hard-coded for a
>> reason...
>>
>> If you put yamon on the flash, it should start instead of cmon...

Good day.

Some MIPS board have ability to add alternate window if flash bigger
than 4M, for BCM5354 chip it is 0x1c000000, when flash 8M size.

Then lower 4M accessible via 0x1fc00000 and via 0x1c000000, bigger 4M
only via 0x1c000000, because 0x1fc00000 segment end on 0x20000000
boundary.

>>
>> Warner
>> _______________________________________________
>> freebsd-mips@... mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
>> To unsubscribe, send any mail to
>> "freebsd-mips-unsubscribe@..."


--
Alexandr Rybalko <ray@...>
_______________________________________________
freebsd-mips@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "freebsd-mips-unsubscribe@..."