public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew Wozniak <awozniak@mc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to pause u-boot after serial init
Date: Thu, 06 Jan 2005 13:25:13 -0500	[thread overview]
Message-ID: <41DD8289.6020202@mc.com> (raw)
In-Reply-To: <1105027245.41d677cnishant.subs@myrealbox.com>

If your hang function is an infinite loop, then any code after it will 
NOT get a chance to execute and you will not see any console output. 
U-Boot is single threaded, non-multitasking.


Nishant Galange wrote:
> Dear all,
> 
> I have a query regarding my custom board (8266 based PMC card, 512K boot flash, Himem (top boot), 32 MB main flash,  128 MB SDRAM, u-boot 1.1.1).
> 
> When trying to bring up the serial port, I want to stop execution after serial initialization. So, I inserted an infinite loop ('hang') in init_sequence[] in lib_ppc/board.c. 
> 
> The problem is that a 'hang' placed just after console_init_f works but I can't see any display on Hype Terrminal, because no prints have happened yet.
> 
> And a 'hang' placed after 'display options' dosen't even load! The data lines (seen on a Logic Analyzer) show all 0s
> 
> Can anybody please shed some light on this problem? Any help / hints will be greatly appreciated.
> 
> Regards,
> Nishant.
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

      parent reply	other threads:[~2005-01-06 18:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06 16:00 [U-Boot-Users] How to pause u-boot after serial init Nishant Galange
2005-01-06 17:15 ` Wolfgang Denk
2005-01-06 18:25 ` Andrew Wozniak [this message]

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=41DD8289.6020202@mc.com \
    --to=awozniak@mc.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