All of lore.kernel.org
 help / color / mirror / Atom feed
From: Smitha <sagnav@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Uncompressing kernel ..... OK (Hangs here)
Date: Thu, 16 Jun 2011 12:14:10 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110616T141019-111@post.gmane.org> (raw)
In-Reply-To: 44364.8242312067$1079416667@news.gmane.org

Wolfgang Denk <wd <at> denx.de> writes:

> 
> In message <001301c3786a$369162b0$321c10ac <at> asradproto50> Tien wrote:
> > 
> > Another thing you can do is go to u-boot/common/cmd_bootm.c in the function
> > do_bootm_linux(..), at the end of it :
> > 
> >       (*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end);
> > 
> > change it to
> > 
> >       (*kernel) (gd->bd, initrd_start, initrd_end, cmd_start, cmd_end);  //
> > kbd change to gd->bd
> 
> Do NOT do this.
> 
> > It should works.
> 
> No, it is BROKEN. "gd" and "gd->bd" will go out of scope  when  Linux
> is booting. The contents of this memory will be undefined. You create
> ndefined  behaviour.  What  do you think why we create a copy of this
> date (in "kbd") in the first place?
> 
> Best regards,
> 
> Wolfgang Denk
> 



Hi ,

I am tryng to bring up the WRlinux kernel on a custom board based on mpc 
8247 . When I boot my image using bootm command it hangs at (*kernel) (kbd, 
initrd_start, initrd_end, cmd_start, cmd_end); in do_bootm_linux ( function..

please can you help 

Regards,
Smitha

  parent reply	other threads:[~2011-06-16 12:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E19wvkA-0000a6-00@sc8-sf-list2.sourceforge.net>
2003-09-10 15:35 ` [U-Boot-Users] Uncompressing kernel ..... OK (Hangs here) James Bates
2003-09-10 18:12   ` Detlev Zundel
2003-09-10 18:18   ` Wolfgang Denk
2003-09-10 18:19   ` Yuli Barcohen
2003-09-11 13:40     ` tn
2003-09-11 19:50       ` Wolfgang Denk
     [not found]       ` <44364.8242312067$1079416667@news.gmane.org>
2011-06-16 12:14         ` Smitha [this message]
2003-09-10 20:54   ` Brian Waite
2003-09-10 21:20     ` Wolfgang Denk

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=loom.20110616T141019-111@post.gmane.org \
    --to=sagnav@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.