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: Tue, 7 Oct 2008 23:25:21 -0700 (PDT)	[thread overview]
Message-ID: <19873020.post@talk.nabble.com> (raw)
In-Reply-To: <19851315.post@talk.nabble.com>


Hi All,

Following guide at http://www.denx.de/wiki/DULG/UBootStandalone

1. Load hello_world.srec into SDRAM

=> loads
## Ready for S-Record download ...

## First Load Addr = 0x8E000000
## Last  Load Addr = 0x8E000157
## Total Size      = 0x00000158 = 344 Bytes
## Start Addr      = 0x8E000000

2. And Run

=> go 8e000000
## Starting application at 0x8E000000 ...


U-Boot 1.3.4-00404-gab00e7a-dirty (Oct  8 2008 - 11:47:35)
....

3. hello_world crash and UBoot reset.

4. Here is information of hello_world

#nm examples/hello_world
8e010158 A __bss_start
8e010158 A __data_start
8e010158 A _edata
8e010158 A _end
8e000126 T app_startup
8e0000d8 T do_reset
8e000038 T dummy
8e0000a8 T free
8e000090 T free_hdlr
8e0000c0 T get_timer
8e00003c T get_version
8e000048 T getc
8e0000e4 T getenv
8e000000 T hello_world
8e000084 T install_hdlr
8e00009c T malloc
8e000078 T printf
8e000060 T putc
8e00006c T puts
8e0000f0 T setenv
8e000108 T simple_strtol
8e0000fc T simple_strtoul
8e000114 T strcmp
8e000054 T tstc
8e0000b4 T udelay
8e0000cc T vprintf

5. Physical start address of SDRAM is 8c000000 and 

#define CONFIG_LOADADDR         0x8e000000

6. I didn't have JTAG interface so I couldn't debug it. 

Could I have a help? Anyone had same issue please tell me your idea? Thank
you alot.

This same the porting of UBoot on TEngine/SH7727 has the issue. But we don't
know what trouble shooting steps. 

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

  parent reply	other threads:[~2008-10-08  6:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07  5:30 [U-Boot] Run hello world with Uboot ! thaoth
2008-10-07 12:41 ` 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 [this message]
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=19873020.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