RE: [U-Boot-Users] can i load u-boot into RAM and jump to it as a test?

FAQ. Yes, but it is difficult, unsupported, and fraught with peril. You are on your own if you choose to do it.
gvb
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of Robert P. J. Day Sent: Thursday, August 26, 2004 3:35 PM To: U-Boot list Subject: [U-Boot-Users] can i load u-boot into RAM and jump to it as a test?
(i posted something similar to this on the SF forum before i realized there was a real mailing list. oops.)
before i commit myself to reflashing with u-boot, i'd like to know if it's possible to just load it into RAM and use the current bootloader to jump to it, just to see the menu come up, nothing more.
working with an 8xx board, 850DE-based, and as a test, i did a configure with RPXlite_config (even though, technically, it's not exactly an RPXlite but close). generated u-boot.bin and used embedded planet's planet core (PC) bootloader to download it into RAM. at this point, am i allowed to just use PC to
g <download address> ??
we could do that with PC -- compile a new version, download it to RAM and jump to it, just to see that it seemed to function at the basic level.
thoughts? i've tried it, and every time i use PC to transfer control, i get nothing -- immediate hang. maybe a serial comms problem? who knows?
rday
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ******************************************

In message 065ACD8E84315E4394C835E398C8D5EB5DAF8A@cossmgmbx02.email.corp.tld you wrote:
FAQ. Yes, but it is difficult, unsupported, and fraught with peril. You= are on your own if you choose to do it.
Ummm... This is not quite correct.
The precise answer to the original question:
before i commit myself to reflashing with u-boot, i'd like to know if it's possible to just load it into RAM and use the current bootloader to jump to it, just to see the menu come up, nothing more.
... is a plain NO.
You cannot load the same image first to RAM, run and test it, and then program it to flash.
These will be two different images, and because of that the image you write to flash will always be an untested one.
[But yes, it's true, you can make U-Boot run from RAM. But this is a different issue.]
Best regards,
Wolfgang Denk
participants (2)
-
VanBaren, Gerald (AGRE)
-
Wolfgang Denk