* [U-Boot-Users] Can I use kermit to download u-boot image to RAM @ 2007-03-09 8:51 Pharaoh . 2007-03-09 14:45 ` Wolfgang Denk 0 siblings, 1 reply; 6+ messages in thread From: Pharaoh . @ 2007-03-09 8:51 UTC (permalink / raw) To: u-boot Hi list, I want to copy u-boot image to RAM and check whether it runs successfully from there before I actually write it to flash. I know copying to RAM and flashing should be done using JTAG/BDI interfaces etc. I think kermit can be used to copy linux image to flash, the same way can it be used to copy u-boot image to RAM or flash? On my new board which doesnt have any boot loader, can I use kermit to download u-boot.bin to RAM and check whether is working from there? -Pharaoh ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Can I use kermit to download u-boot image to RAM 2007-03-09 8:51 [U-Boot-Users] Can I use kermit to download u-boot image to RAM Pharaoh . @ 2007-03-09 14:45 ` Wolfgang Denk 2007-03-12 6:43 ` Pharaoh . 0 siblings, 1 reply; 6+ messages in thread From: Wolfgang Denk @ 2007-03-09 14:45 UTC (permalink / raw) To: u-boot In message <61445c750703090051i7d560b16rcda9461143f0382@mail.gmail.com> you wrote: > > I want to copy u-boot image to RAM and check whether it runs > successfully from there before I actually write it to flash. I know > copying to RAM and flashing should be done using JTAG/BDI interfaces > etc. I think kermit can be used to copy linux image to flash, the same > way can it be used to copy u-boot image to RAM or flash? No, kermit cannot download to flash, it's only talking to the serial line. If you had a working U-Boot running on your target, you could use that, but so you have a chicken & egg problem... > On my new board which doesnt have any boot loader, can I use kermit to > download u-boot.bin to RAM and check whether is working from there? No, you cannot. See the FAQ: http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Sometimes, too long is too long. - Joe Crowe ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Can I use kermit to download u-boot image to RAM 2007-03-09 14:45 ` Wolfgang Denk @ 2007-03-12 6:43 ` Pharaoh . 2007-03-12 7:46 ` Wolfgang Denk 0 siblings, 1 reply; 6+ messages in thread From: Pharaoh . @ 2007-03-12 6:43 UTC (permalink / raw) To: u-boot As per my understanding the FAQ talks about loading u-boot to RAM when another boot loader is already there in on the board. And it gives reasons why it wont work, but in my case it is a virgin board, no boot loader is available. Assuming the above explaination applies to virgin boards too, I gather there is no way I can downlaod the image of u-boot to RAM and make it run without ever burning it to RAM. Correct me if I am assuming too much. -pharaoh. On 3/9/07, Wolfgang Denk <wd@denx.de> wrote: > In message <61445c750703090051i7d560b16rcda9461143f0382@mail.gmail.com> you > wrote: > > > > I want to copy u-boot image to RAM and check whether it runs > > successfully from there before I actually write it to flash. I know > > copying to RAM and flashing should be done using JTAG/BDI interfaces > > etc. I think kermit can be used to copy linux image to flash, the same > > way can it be used to copy u-boot image to RAM or flash? > > No, kermit cannot download to flash, it's only talking to the serial > line. If you had a working U-Boot running on your target, you could > use that, but so you have a chicken & egg problem... > > > On my new board which doesnt have any boot loader, can I use kermit to > > download u-boot.bin to RAM and check whether is working from there? > > No, you cannot. See the FAQ: > http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk > Office: Kirchenstr. 5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > Sometimes, too long is too long. - Joe Crowe > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Can I use kermit to download u-boot image to RAM 2007-03-12 6:43 ` Pharaoh . @ 2007-03-12 7:46 ` Wolfgang Denk 2007-03-12 8:12 ` Pharaoh . 0 siblings, 1 reply; 6+ messages in thread From: Wolfgang Denk @ 2007-03-12 7:46 UTC (permalink / raw) To: u-boot In message <61445c750703112343p22ce167r35e54aab3433ab38@mail.gmail.com> you wrote: > As per my understanding the FAQ talks about loading u-boot to RAM when > another boot loader is already there in on the board. And it gives No. It talks about if U-Boot can be configured such that it can be started in RAM, no matter if you start it from a BMD/JTAG debugger or a primary bootstrap loader or another boot loader. > reasons why it wont work, but in my case it is a virgin board, no boot > loader is available. That's exactly the situation the FAQ is about. > Assuming the above explaination applies to virgin boards too, I gather > there is no way I can downlaod the image of u-boot to RAM and make it > run without ever burning it to RAM. Correct me if I am assuming too > much. Burning to RAM? I'can't parse that. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de 1 1 was a race-horse, 2 2 was 1 2. When 1 1 1 1 race, 2 2 1 1 2. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Can I use kermit to download u-boot image to RAM 2007-03-12 7:46 ` Wolfgang Denk @ 2007-03-12 8:12 ` Pharaoh . 2007-03-12 9:11 ` Ulf Samuelsson 0 siblings, 1 reply; 6+ messages in thread From: Pharaoh . @ 2007-03-12 8:12 UTC (permalink / raw) To: u-boot Oops....I meant downloading to RAM. Thanks. On 3/12/07, Wolfgang Denk <wd@denx.de> wrote: > In message <61445c750703112343p22ce167r35e54aab3433ab38@mail.gmail.com> you > wrote: > > As per my understanding the FAQ talks about loading u-boot to RAM when > > another boot loader is already there in on the board. And it gives > > No. It talks about if U-Boot can be configured such that it can be > started in RAM, no matter if you start it from a BMD/JTAG debugger or > a primary bootstrap loader or another boot loader. > > > reasons why it wont work, but in my case it is a virgin board, no boot > > loader is available. > > That's exactly the situation the FAQ is about. > > > Assuming the above explaination applies to virgin boards too, I gather > > there is no way I can downlaod the image of u-boot to RAM and make it > > run without ever burning it to RAM. Correct me if I am assuming too > > much. > > Burning to RAM? I'can't parse that. > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk > Office: Kirchenstr. 5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > 1 1 was a race-horse, 2 2 was 1 2. When 1 1 1 1 race, 2 2 1 1 2. > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Can I use kermit to download u-boot image to RAM 2007-03-12 8:12 ` Pharaoh . @ 2007-03-12 9:11 ` Ulf Samuelsson 0 siblings, 0 replies; 6+ messages in thread From: Ulf Samuelsson @ 2007-03-12 9:11 UTC (permalink / raw) To: u-boot If you are using the AT91RM9200 and dataflash, the proper procedure is to: 1) Boot the CPU using Bootrom 2) Download dataflashboot.bin, The bootROM will store this in internal SRAM CPU will automatically jump and execute dataflashboot.bin from SRAM 3) Download dataflashboot.bin again. dataflashboot.bin will store this in dataflash 4) Download u-boot, dataflashboot.bin will store this in dataflash. 5) Reset the system 6) The BootROM will find dataflashboot.bin and will load that into SRAM. dataflashboot.bin will load the u-boot into SDRAM and jump and execute U-Boot. Best Regards Ulf Samuelsson ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-03-12 9:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-03-09 8:51 [U-Boot-Users] Can I use kermit to download u-boot image to RAM Pharaoh . 2007-03-09 14:45 ` Wolfgang Denk 2007-03-12 6:43 ` Pharaoh . 2007-03-12 7:46 ` Wolfgang Denk 2007-03-12 8:12 ` Pharaoh . 2007-03-12 9:11 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox