[U-Boot] Transfer file using loadb

Chetan Nanda chetannanda at gmail.com
Sun Jan 31 16:45:12 CET 2010


Hi Wolfgang

I tried with kermit again.
Following is the console log when file is getting transfered.

###################################
C-Kermit 8.0.211, 10 Apr 2004, chetan-laptop

   Current Directory: /media/DISK_VOL2/Work/beagleboard/sw/code/testApp
Communication Device: /dev/ttyUSB0
 Communication Speed: 115200
              Parity: none
         RTT/Timeout: 01 / 02
             SENDING: uImage => uImage
           File Type: BINARY
           File Size: 1911160
        Percent Done: 2   /
                          ...10...20...30...40...50...60...70...80...90..100
 Estimated Time Left: 00:05:38
  Transfer Rate, CPS: 5512
        Window Slots: 1 of 1
         Packet Type: D
        Packet Count: 79
       Packet Length: 609
         Error Count: 32
          Last Error: (resend)
        Last Message:

X to cancel file, Z to cancel group, <CR> to resend last packet,
############################

As there is considerable difference between the logs I am getting and logs
you have provided in you last mail.

e.g Communication device is /dev/ttyUSB0 (in my logs)

But in your case it look like:
       Network Host: ts0:513
       Network Type: TCP/IP

I am not sure about these differences.

~cnanda

On Sun, Jan 31, 2010 at 8:43 PM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Chetan Nanda,
>
> In message <7f245da81001310646x12451ac8s5ac9bda0fd6ac37c at mail.gmail.com>
> you wrote:
> >
> > Tried with loady command in u-boot and ymodem option from minicom.
> > With this combination I am able to transfer and run uImage.
>
> I tested this again on OMAP3 systems (including Beagle):
>
> OMAP3 beagleboard.org # loadb ${uimage_addr}
> ## Ready for binary (kermit) download to 0x80300000 at 115200 bps...
>
> (Back at pollux.denx.de)
> ----------------------------------------------------
> Kermit>send /bin /tftpboot/beagle/uImage
> ...
> C-Kermit 8.0.211, 10 Apr 2004, pollux.denx.de [192.168.1.1]
>
>   Current Directory: /home/wd
>        Network Host: ts0:513
>        Network Type: TCP/IP
>              Parity: none
>         RTT/Timeout: 01 / 02
>             SENDING: /tftpboot/beagle/uImage => uImage
>           File Type: BINARY
>           File Size: 1962820
>        Percent Done: 99  /////////////////////////////////////////////////-
>                          ...10...20...30...40...50...60...70...80...90..100
>  Estimated Time Left: 00:00:02
>  Transfer Rate, CPS: 4748
>        Window Slots: 1 of 1
>         Packet Type: D
>        Packet Count: 2459
>       Packet Length: 1000
>         Error Count: 0
>          Last Error:
>        Last Message:
>
> X to cancel file, Z to cancel group, <CR> to resend last packet,
> E to send Error packet, ^C to quit immediately, ^L to refresh screen.
> ...
> Kermit>c
> Connecting to host ts0:513
>  Escape character: Ctrl-\ (ASCII 28, FS): enabled
> Type the escape character followed by C to get back,
> or followed by ? to see other options.
> ----------------------------------------------------
> ## Total Size      = 0x001df344 = 1962820 Bytes
> ## Start Addr      = 0x80300000
> OMAP3 beagleboard.org # imi 0x80300000
>
> ## Checking Image at 80300000 ...
>   Legacy image found
>   Image Name:   Linux-2.6.33-rc5-07168-gc48807a
>   Created:      2010-01-25  14:58:56 UTC
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    1962756 Bytes =  1.9 MB
>   Load Address: 80008000
>   Entry Point:  80008000
>   Verifying Checksum ... OK
> OMAP3 beagleboard.org #
>
> As you can see, this is working without any problems.
>
> So either your host systems is still misconfigured (which I consoder
> most likely), or your target system hast issues (instable RAM and.or
> serial port, etc.), or you have been doing something wrong.
>
> I don't think there is a problem in the mainline U-Boot code.
>
> 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 I can have honesty, it's easier to overlook mistakes.
>        -- Kirk, "Space Seed", stardate 3141.9
>


More information about the U-Boot mailing list