From mboxrd@z Thu Jan 1 00:00:00 1970 From: Smitha Date: Thu, 16 Jun 2011 12:14:10 +0000 (UTC) Subject: [U-Boot] Uncompressing kernel ..... OK (Hangs here) References: <001301c3786a$369162b0$321c10ac@asradproto50> <44364.8242312067$1079416667@news.gmane.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk denx.de> writes: > > In message <001301c3786a$369162b0$321c10ac 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