U-Boot 1.0.0 (Jul 19 2006 - 17:33:49) U-Boot code: 61000000 -> 610176C0 BSS: -> 6101B05C IRQ Stack: 6103c058 FIQ Stack: 6103d058 DRAM Configuration: Bank #0: 60000000 64 MB Flash: 2 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 PEGASUS # PEGASUS # help ? - alias for 'help' autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bootvx - Boot vxWorks from an ELF image cmp - memory compare coninfo - print console devices and informations cp - memory copy crc32 - checksum calculation dcache - enable or disable data cache echo - echo args to console erase - erase FLASH memory flinfo - print FLASH memory information go - start application at address 'addr' help - print online help icache - enable or disable instruction cache iminfo - print header information for application image imls - list all images found in flash loadb - load binary file over serial line (kermit mode) loads - load S-Record file over serial line loop - infinite loop on address range md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nm - memory modify (constant address) printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saveenv - save environment variables to persistent storage setenv - set environment variables sleep - delay execution for some time tftpboot- boot image via network using TFTP protocol version - print monitor version PEGASUS # md 0x60008000 60008000: 00000000 00000000 00000000 00000000 ................ 60008010: 00000000 00000000 00000000 00000000 ................ 60008020: 00000000 00000000 00000000 00000000 ................ 60008030: 00000000 00000000 00000000 00000000 ................ 60008040: 00000000 00000000 00000000 00000000 ................ 60008050: 00000000 00000000 00000000 00000000 ................ 60008060: 00000000 00000000 00000000 00000000 ................ 60008070: 00000000 00000000 00000000 00000000 ................ 60008080: 00000000 00000000 00000000 00000000 ................ 60008090: 00000000 00000000 00000000 00000000 ................ 600080a0: 00000000 00000000 00000000 00000000 ................ 600080b0: 00000000 00000000 00000000 00000000 ................ 600080c0: 00000000 00000000 00000000 00000000 ................ 600080d0: 00000000 00000000 00000000 00000000 ................ 600080e0: 00000000 00000000 00000000 00000000 ................ 600080f0: 00000000 00000000 00000000 00000000 ................ PEGASUS # mw 0x60008000 0x11 0x2000 PEGASUS # md 0x60008000 60008000: 00000011 00000011 00000011 00000011 ................ 60008010: 00000011 00000011 00000011 00000011 ................ 60008020: 00000011 00000011 00000011 00000011 ................ 60008030: 00000011 00000011 00000011 00000011 ................ 60008040: 00000011 00000011 00000011 00000011 ................ 60008050: 00000011 00000011 00000011 00000011 ................ 60008060: 00000011 00000011 00000011 00000011 ................ 60008070: 00000011 00000011 00000011 00000011 ................ 60008080: 00000011 00000011 00000011 00000011 ................ 60008090: 00000011 00000011 00000011 00000011 ................ 600080a0: 00000011 00000011 00000011 00000011 ................ 600080b0: 00000011 00000011 00000011 00000011 ................ 600080c0: 00000011 00000011 00000011 00000011 ................ 600080d0: 00000011 00000011 00000011 00000011 ................ 600080e0: 00000011 00000011 00000011 00000011 ................ 600080f0: 00000011 00000011 00000011 00000011 ................ PEGASUS # loadb 0x60008000 115200 ## Ready for binary (kermit) download to 0x60008000 at 115200 bps... from HOST PC [root@localhost s3c24x0_uboot_dev]# cat ../hello_world > /dev/ttyS0 [root@localhost s3c24x0_uboot_dev]# NOTE: got some junk data when cat the binary file....seems like u-boot is trying to print the data it is receiving, on the console +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ When used with kermit: [root@localhost root]# kermit C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0 Copyright (C) 1985, 2002, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/root/) C-Kermit> (/root/) C-Kermit>c Connecting to /dev/ttyS0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- PEGASUS # loadb 0x60008000 115200 ## Ready for binary (kermit) download to 0x60008000 at 115200 bps... (Back at localhost.localdomain) ---------------------------------------------------- (/root/) C-Kermit>show flow-control Connection type: modem Current flow-control: none Switches automatically: no Defaults by connection type: remote : none direct-serial : none modem : rts/cts tcp/ip : none ssh : none pipe : none (/root/) C-Kermit>send /home/banajit/pegasus/s3c24x0_uboot_dev/u-boot.bin ************************* SEND-class command failed. Packets sent: 2 Retransmissions: 11 Timeouts: 12 Damaged packets: 0 Fatal Kermit Protocol Error: Too many retries HINTS... If the preceding error message does not explain the failure: . Did you start a Kermit receiver on the far end? . Adjust the timeout method (see HELP SET SEND). . Increase the retry limit (see HELP SET RETRY). . Try it again with SET STREAMING OFF. . Try it again with SET PARITY SPACE. . As a last resort, give a ROBUST command and try again. Also: . Be sure the source file has read permission. . Be sure the target directory has write permission. (Use SET HINTS OFF to suppress hints.) ************************* (/root/) C-Kermit>