* [U-Boot] How to boot a newer version of u-boot from a older one?
@ 2011-06-05 6:54 Lingfeng Xiong
[not found] ` <45903308677306428B6EE7E6FF5A520413BA81@039-SN1MPN1-004.039d.mgd.msft.net>
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Lingfeng Xiong @ 2011-06-05 6:54 UTC (permalink / raw)
To: u-boot
hi there,
I bought a Freescale MPC8313E-RDB some days before. The version of
u-boot on that board is quite old and I wanna run a newer one. I have
already built the latest git version of u-boot for that board. But I
found there are several configuration files:
> MPC8313ERDB_33 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_33MHZ
> MPC8313ERDB_66 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_66MHZ
> MPC8313ERDB_NAND_33 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_33MHZ,NAND_U_BOOT
> MPC8313ERDB_NAND_66 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_66MHZ,NAND_U_BOOT
My board is Rev C and all switches are in factory default, could you
tell me which configuration should I use?
For I have no USBTAP, there are no way for me to flush either NOR Flash
or NAND Flash, so I am afraid if I install my u-boot to NOR Flash and
that u-boot cannot run correctly, my board would be unavailable. So I
wanna boot the latest version of u-boot from the original one. I tried
these:
=> tftp 0x01000000 u-boot.bin
=> go 0x01000000
But my board reset automatically. Could you tell me how to do with this?
Thanks.
--
??????????????????????
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
[not found] ` <45903308677306428B6EE7E6FF5A520413BA81@039-SN1MPN1-004.039d.mgd.msft.net>
@ 2011-06-05 10:00 ` Bear
0 siblings, 0 replies; 8+ messages in thread
From: Bear @ 2011-06-05 10:00 UTC (permalink / raw)
To: u-boot
hi,
Could you tell me which configuration should I use? There are 4
configurations for MPC8313ERDB...
>> MPC8313ERDB_33 powerpc mpc83xx mpc8313erdb
freescale - MPC8313ERDB:SYS_33MHZ
>> MPC8313ERDB_66 powerpc mpc83xx mpc8313erdb
freescale - MPC8313ERDB:SYS_66MHZ
>> MPC8313ERDB_NAND_33 powerpc mpc83xx mpc8313erdb
freescale - MPC8313ERDB:SYS_33MHZ,NAND_U_BOOT
>> MPC8313ERDB_NAND_66 powerpc mpc83xx mpc8313erdb
freescale - MPC8313ERDB:SYS_66MHZ,NAND_U_BOOT
>
??????????????????????
On 6/5/2011 3:14 PM, Aggrwal Poonam-B10812 wrote:
> I am not sure of the correct make option though, but you must try flashing NAND flash with NAND boot loader and do experiments there.
> It would be good not to tamper with the existing NOR boot loader for now.
> => tftp 1000000 u-boot-nand.bin
> => nand erase 0 80000
> => nand write 1000000 0 80000
>
> Switch off the board.
> Change the switch settings to boot from NAND.
> And switch on the board.
>
> Regards
> Poonam
>
>> -----Original Message-----
>> From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
>> On Behalf Of Lingfeng Xiong
>> Sent: Sunday, June 05, 2011 12:24 PM
>> To: u-boot at lists.denx.de
>> Subject: [U-Boot] How to boot a newer version of u-boot from a older one?
>>
>> hi there,
>> I bought a Freescale MPC8313E-RDB some days before. The version of u-boot
>> on that board is quite old and I wanna run a newer one. I have already
>> built the latest git version of u-boot for that board. But I found there
>> are several configuration files:
>>> MPC8313ERDB_33 powerpc mpc83xx mpc8313erdb
>> freescale - MPC8313ERDB:SYS_33MHZ
>>> MPC8313ERDB_66 powerpc mpc83xx mpc8313erdb
>> freescale - MPC8313ERDB:SYS_66MHZ
>>> MPC8313ERDB_NAND_33 powerpc mpc83xx mpc8313erdb
>> freescale - MPC8313ERDB:SYS_33MHZ,NAND_U_BOOT
>>> MPC8313ERDB_NAND_66 powerpc mpc83xx mpc8313erdb
>> freescale - MPC8313ERDB:SYS_66MHZ,NAND_U_BOOT
>>
>> My board is Rev C and all switches are in factory default, could you tell
>> me which configuration should I use?
>>
>> For I have no USBTAP, there are no way for me to flush either NOR Flash
>> or NAND Flash, so I am afraid if I install my u-boot to NOR Flash and
>> that u-boot cannot run correctly, my board would be unavailable. So I
>> wanna boot the latest version of u-boot from the original one. I tried
>> these:
>> => tftp 0x01000000 u-boot.bin
>> => go 0x01000000
>>
>> But my board reset automatically. Could you tell me how to do with this?
>> Thanks.
>>
>>
>>
>> --
>> ??????????????????????
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
[not found] ` <4DEB3B83.8010608@Gmail.com>
@ 2011-06-05 19:37 ` Wolfgang Denk
2011-06-06 1:34 ` Bear
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2011-06-05 19:37 UTC (permalink / raw)
To: u-boot
Dear Bear,
please keep the mailing list on Cc:.
In message <4DEB3B83.8010608@Gmail.com> you wrote:
>
> I sent that email via Thunderbird as Plain Text. Maybe it caused by my
> UTF-8 encoding? I am very sorry about that.
I don't know.
> > For I have no USBTAP, there are no way for me to flush either NOR Flash
> > or NAND Flash, so I am afraid if I install my u-boot to NOR Flash and
> > that u-boot cannot run correctly, my board would be unavailable. So I
> > wanna boot the latest version of u-boot from the original one. I tried
> > these:
> > => tftp 0x01000000 u-boot.bin
> > => go 0x01000000
> >
> > But my board reset automatically. Could you tell me how to do with this?
This doesn't work. See the explanation in the FAQ:
http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If it has syntax, it isn't user friendly.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
2011-06-05 19:37 ` Wolfgang Denk
@ 2011-06-06 1:34 ` Bear
0 siblings, 0 replies; 8+ messages in thread
From: Bear @ 2011-06-06 1:34 UTC (permalink / raw)
To: u-boot
hi,
Thanks for your help. I have read that FAQ and understood your meaning. :)
On 6/6/2011 3:37 AM, Wolfgang Denk wrote:
> Dear Bear,
>
> please keep the mailing list on Cc:.
>
> In message<4DEB3B83.8010608@Gmail.com> you wrote:
>>
>> I sent that email via Thunderbird as Plain Text. Maybe it caused by my
>> UTF-8 encoding? I am very sorry about that.
>
> I don't know.
>
>>> For I have no USBTAP, there are no way for me to flush either NOR Flash
>>> or NAND Flash, so I am afraid if I install my u-boot to NOR Flash and
>>> that u-boot cannot run correctly, my board would be unavailable. So I
>>> wanna boot the latest version of u-boot from the original one. I tried
>>> these:
>>> => tftp 0x01000000 u-boot.bin
>>> => go 0x01000000
>>>
>>> But my board reset automatically. Could you tell me how to do with this?
>
> This doesn't work. See the explanation in the FAQ:
> http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
>
> Best regards,
>
> Wolfgang Denk
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
2011-06-05 6:54 [U-Boot] How to boot a newer version of u-boot from a older one? Lingfeng Xiong
[not found] ` <45903308677306428B6EE7E6FF5A520413BA81@039-SN1MPN1-004.039d.mgd.msft.net>
[not found] ` <20110605071357.9BF74184CAD6@gemini.denx.de>
@ 2011-06-06 18:50 ` Scott Wood
2011-06-07 5:12 ` Bear
2 siblings, 1 reply; 8+ messages in thread
From: Scott Wood @ 2011-06-06 18:50 UTC (permalink / raw)
To: u-boot
On Sun, 5 Jun 2011 14:54:06 +0800
Lingfeng Xiong <xionglingfeng@gmail.com> wrote:
> hi there,
> I bought a Freescale MPC8313E-RDB some days before. The version of
> u-boot on that board is quite old and I wanna run a newer one. I have
> already built the latest git version of u-boot for that board. But I
> found there are several configuration files:
> > MPC8313ERDB_33 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_33MHZ
> > MPC8313ERDB_66 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_66MHZ
> > MPC8313ERDB_NAND_33 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_33MHZ,NAND_U_BOOT
> > MPC8313ERDB_NAND_66 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_66MHZ,NAND_U_BOOT
>
> My board is Rev C and all switches are in factory default, could you
> tell me which configuration should I use?
MPC8313ERDB_33 is for booting from NOR, which is the default.
The "66" targets are for an earlier version of the board that had a 66MHz
crystal rather than 33MHz.
> For I have no USBTAP, there are no way for me to flush either NOR Flash
> or NAND Flash, so I am afraid if I install my u-boot to NOR Flash and
> that u-boot cannot run correctly, my board would be unavailable.
Your best option is probably to build MPC8313ERDB_NAND_33, and put it in
NAND flash. Then you can change the board switches to boot from NAND, and
if it doesn't work, switch them back to NOR which you've left unmodified.
Once you have a working NAND, you can replace the NOR image, switching
back to NAND if the new NOR image is broken.
And of course be careful not to write to the wrong flash, and destroy your
backup boot source.
-Scott
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
2011-06-06 18:50 ` Scott Wood
@ 2011-06-07 5:12 ` Bear
2011-06-07 5:46 ` McClintock Matthew-B29882
0 siblings, 1 reply; 8+ messages in thread
From: Bear @ 2011-06-07 5:12 UTC (permalink / raw)
To: u-boot
hi,
> Once you have a working NAND, you can replace the NOR image, switching
> back to NAND if the new NOR image is broken.
>
> And of course be careful not to write to the wrong flash, and destroy your
> backup boot source.
Thanks for your help. Now I have already wrote the newer version of
u-boot into NAND Flash and boot from it!
Do you mind me to ask some more questions?
Where is environment stored? If I save the NAND-version u-boot's
environment, will it overwrite the one of NOR-version u-boot?
Thanks.
On 100/6/7 ?? 02:50, Scott Wood wrote:
> On Sun, 5 Jun 2011 14:54:06 +0800
> Lingfeng Xiong<xionglingfeng@gmail.com> wrote:
>
>> hi there,
>> I bought a Freescale MPC8313E-RDB some days before. The version of
>> u-boot on that board is quite old and I wanna run a newer one. I have
>> already built the latest git version of u-boot for that board. But I
>> found there are several configuration files:
>>> MPC8313ERDB_33 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_33MHZ
>>> MPC8313ERDB_66 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_66MHZ
>>> MPC8313ERDB_NAND_33 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_33MHZ,NAND_U_BOOT
>>> MPC8313ERDB_NAND_66 powerpc mpc83xx mpc8313erdb freescale - MPC8313ERDB:SYS_66MHZ,NAND_U_BOOT
>>
>> My board is Rev C and all switches are in factory default, could you
>> tell me which configuration should I use?
>
> MPC8313ERDB_33 is for booting from NOR, which is the default.
>
> The "66" targets are for an earlier version of the board that had a 66MHz
> crystal rather than 33MHz.
>
>> For I have no USBTAP, there are no way for me to flush either NOR Flash
>> or NAND Flash, so I am afraid if I install my u-boot to NOR Flash and
>> that u-boot cannot run correctly, my board would be unavailable.
>
> Your best option is probably to build MPC8313ERDB_NAND_33, and put it in
> NAND flash. Then you can change the board switches to boot from NAND, and
> if it doesn't work, switch them back to NOR which you've left unmodified.
>
> Once you have a working NAND, you can replace the NOR image, switching
> back to NAND if the new NOR image is broken.
>
> And of course be careful not to write to the wrong flash, and destroy your
> backup boot source.
>
> -Scott
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
2011-06-07 5:12 ` Bear
@ 2011-06-07 5:46 ` McClintock Matthew-B29882
2011-06-07 6:08 ` Bear
0 siblings, 1 reply; 8+ messages in thread
From: McClintock Matthew-B29882 @ 2011-06-07 5:46 UTC (permalink / raw)
To: u-boot
On Tue, Jun 7, 2011 at 12:12 AM, Bear <jilingshu@gmail.com> wrote:
>> Once you have a working NAND, you can replace the NOR image, switching
>> back to NAND if the new NOR image is broken.
>>
>> And of course be careful not to write to the wrong flash, and destroy your
>> backup boot source.
>
> Thanks for your help. Now I have already wrote the newer version of
> u-boot into NAND Flash and boot from it!
> Do you mind me to ask some more questions?
> Where is environment stored? If I save the NAND-version u-boot's
> environment, will it overwrite the one of NOR-version u-boot?
Typically, when booting from NAND u-boot is configured to save the
environment to NAND. You can always type 'save' and usually u-boot
will print a message showing where the environment is saved. Double
check the CONFIG*ENV* defines in your u-boot config file.
-M
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] How to boot a newer version of u-boot from a older one?
2011-06-07 5:46 ` McClintock Matthew-B29882
@ 2011-06-07 6:08 ` Bear
0 siblings, 0 replies; 8+ messages in thread
From: Bear @ 2011-06-07 6:08 UTC (permalink / raw)
To: u-boot
hi,
Thanks for your answer, I have solved this problem :)
On 100/6/7 ?? 01:46, McClintock Matthew-B29882 wrote:
> On Tue, Jun 7, 2011 at 12:12 AM, Bear<jilingshu@gmail.com> wrote:
>>> Once you have a working NAND, you can replace the NOR image, switching
>>> back to NAND if the new NOR image is broken.
>>>
>>> And of course be careful not to write to the wrong flash, and destroy your
>>> backup boot source.
>>
>> Thanks for your help. Now I have already wrote the newer version of
>> u-boot into NAND Flash and boot from it!
>> Do you mind me to ask some more questions?
>> Where is environment stored? If I save the NAND-version u-boot's
>> environment, will it overwrite the one of NOR-version u-boot?
>
> Typically, when booting from NAND u-boot is configured to save the
> environment to NAND. You can always type 'save' and usually u-boot
> will print a message showing where the environment is saved. Double
> check the CONFIG*ENV* defines in your u-boot config file.
>
> -M
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-06-07 6:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 6:54 [U-Boot] How to boot a newer version of u-boot from a older one? Lingfeng Xiong
[not found] ` <45903308677306428B6EE7E6FF5A520413BA81@039-SN1MPN1-004.039d.mgd.msft.net>
2011-06-05 10:00 ` Bear
[not found] ` <20110605071357.9BF74184CAD6@gemini.denx.de>
[not found] ` <4DEB3B83.8010608@Gmail.com>
2011-06-05 19:37 ` Wolfgang Denk
2011-06-06 1:34 ` Bear
2011-06-06 18:50 ` Scott Wood
2011-06-07 5:12 ` Bear
2011-06-07 5:46 ` McClintock Matthew-B29882
2011-06-07 6:08 ` Bear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox