linux-mips
[Top] [All Lists]

Re: in mips how to change the start address to the new second boot load

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: in mips how to change the start address to the new second boot loader ?
From: nagalakshmi veeramallu <lucky.veeramallu@gmail.com>
Date: Tue, 21 Apr 2009 19:50:48 +0530
Cc: "Kevin D. Kissell" <kevink@paralogos.com>, "M. Warner Losh" <imp@bsdimp.com>, florian@openwrt.org, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=+oCurNygi2RpgrobN1wQAYky/3cn4T2ir040RZr6Ht0=; b=Bo1G2wFhbQBMLdfUgT+jLnCWuW9O+OMa+xZR41YI7H59049+xNA21FRDRMGix7QYzg xfobKRPypPRlRzi6PfPmhkPGLdcfHSeF6buWyhWw0TsfkP3XkEJiRWWFMs1XEAcZv4ZL ur7+9kcJcdNfjbmDjNrOb/7EASSL+YRLtauEc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fuiWAax1aU9lHvb9vGCk6HloE2tFkdI3brgQpt72i3UJ8UTPektWdp7Qe7qzQlwBCg EwlwBvKGcNR2iLzgtMukzZVTpyc8+JfQiII2vy83G/KHTZbAyglSTmxk/Tvdzq/BGpHh UpK7Fhs5lBPKJDYTOXuF1JjpZyuYbvgcLjmEw=
In-reply-to: <10f740e80904210710sdc9e5c2ic310e689ca6677b5@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <d77cedf30904142309na4355e6w63ecea63b0966c92@mail.gmail.com> <200904201100.39164.florian@openwrt.org> <20090420.085929.-1089997132.imp@bsdimp.com> <d77cedf30904202350g602c740dh26641f145677ddd5@mail.gmail.com> <49EDC965.60507@paralogos.com> <d77cedf30904210646v2ea71655ye83c8b57fecab761@mail.gmail.com> <10f740e80904210710sdc9e5c2ic310e689ca6677b5@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hi,
will this approach work? if i used "start" environmental variable will it go to new boot loader address directly.


Regards,
Lucky


On Tue, Apr 21, 2009 at 7:40 PM, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
On Tue, Apr 21, 2009 at 15:46, nagalakshmi veeramallu
> hi,
>          --          if we set environmental variable “start” as “go
> new_address”, will it go directly to the new bootloader in the next
> power-on.
> what about using system environmental "start" ,can you tell me at which
> context after power on environmental variables come onto picture.

Environment variables are parsed by the boot loader, whose code resides at,
guess what, 0x1fc00000...

> On Tue, Apr 21, 2009 at 6:55 PM, Kevin D. Kissell <kevink@paralogos.com>
> wrote:
>>
>> nagalakshmi veeramallu wrote:
>>
>> -           Mips atlas board has jumper  which will redirect accesses from
>> “Bootcode” range to either “Monitor flash” (0x1e000000) or the upper 4MB of
>> “System flash” (0x1dc00000) based on jumper settings. if my kmc board have
>> some jumper like this, can I redirect the start address.
>>
>> Of course, what is really happening there is that the Atlas boot ROM has a
>> vector at 0x1fc00000 which reads the jumper and jumps to one address or the
>> other depending on the jumper setting. If you control what is in ROM at
>> 0x1fc00000 and you have a software-readable jumper on your KMC board, you
>> can do the same thing.
>>
>>           Regards,
>>
>>           Kevin K.
>>
>
>



--
Gr{oetje,eeting}s,

                                               Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                           -- Linus Torvalds

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