public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: thaoth <thaoth@cybersoft-vn.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Run hello world with Uboot !
Date: Mon, 6 Oct 2008 22:30:33 -0700 (PDT)	[thread overview]
Message-ID: <19851315.post@talk.nabble.com> (raw)


Hi,

I'm working on SH7727?T-Engine Board (MS7727CP02)(sh3) and I'm trying to
load Hello World example in U-boot (use Serial, ymodem and hello_world.bin), 
...
=> loady 0x8e000000
## Ready for binary (ymodem) download to 0x8E000000 at 115200 bps...
CCCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) packets, 5 retries
## Total Size      = 0x000112ec = 70380 Bytes
=> go 0x8e000000
## Starting application at 0x8E000000 ...
...
but my board reset when I run Hello world. I also try with hello_world.srec
(serial, Kermit mode) and an uboot image:
"mkimage -A sh -O u-boot -T standalone -C none -a 0x8c000000 -e 0x8c000000
-n 'Hello Image' -d examples/hello_world hello.img"
...
=> loady
## Ready for binary (ymodem) download to 0x8E000000 at 115200 bps...
CCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) packets, 4 retries
## Total Size      = 0x0001132c = 70444 Bytes
=> bootm 0x8e000000
*  kernel: cmdline image address = 0x8e000000
## Booting kernel from Legacy Image at 8e000000 ...
   Image Name:   Hello Image
   Image Type:   SuperH U-Boot Standalone Program (uncompressed)
   Data Size:    70380 Bytes = 68.7 kB
   Load Address: 8c000000
   Entry Point:  8c000000
   Verifying Checksum ... OK
Wrong Image Type for bootm command
ERROR: can't get kernel image!
...
Could you give me an advice?
I think i have wrong image format? But how can I get correct format ?

Best regards.
-- 
View this message in context: http://www.nabble.com/Run-hello-world-with-Uboot-%21-tp19851315p19851315.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

             reply	other threads:[~2008-10-07  5:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07  5:30 thaoth [this message]
2008-10-07 12:41 ` [U-Boot] Run hello world with Uboot ! Andrejs Cainikovs
2008-10-07 14:27 ` Mathieu Dube
2008-10-07 15:57   ` Wolfgang Denk
     [not found]     ` <c5ee099c0810070917s7bd8d0dey9908f41419c3c03d@mail.gmail.com>
2008-10-07 21:05       ` Wolfgang Denk
2008-10-08 13:32         ` Mathieu Dube
2008-10-08 14:39           ` Wolfgang Denk
2008-10-08  6:25 ` thaoth
2008-10-08  7:32   ` Remy Bohmer
2008-10-08 13:41     ` Mathieu Dube
2008-10-09  5:15   ` Nobuhiro Iwamatsu
2008-10-09  8:30     ` thaoth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19851315.post@talk.nabble.com \
    --to=thaoth@cybersoft-vn.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox