public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] How to pause u-boot after serial init
@ 2005-01-06 16:00 Nishant Galange
  2005-01-06 17:15 ` Wolfgang Denk
  2005-01-06 18:25 ` Andrew Wozniak
  0 siblings, 2 replies; 3+ messages in thread
From: Nishant Galange @ 2005-01-06 16:00 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] How to pause u-boot after serial init
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-01-06 17:15 UTC (permalink / raw)
  To: u-boot

In message <1105027245.41d677cnishant.subs@myrealbox.com> you wrote:
>
> I have a query regarding my custom board (8266 based PMC card, 512K boot fl
> ash, Himem (top boot), 32 MB main flash,  128 MB SDRAM, u-boot 1.1.1).
> 
> Will you please use a shorter linelength, say 70 characters or so  as
> suggested by the netiquette? Thanks.
> 
> When trying to bring up the serial port, I want to stop execution after ser
> ial initialization. So, I inserted an infinite loop ('hang') in init_sequ
> ence[] in lib_ppc/board.c. 

I don't understand what this would be good for,  but  if  you  really
want to do this...

> The problem is that a 'hang' placed just after console_init_f works but I c
> an't see any display on Hype Terrminal, because no prints have happened y
> et.

That's what you asked for...

> And a 'hang' placed after 'display options' dosen't even load! The data lin
> es (seen on a Logic Analyzer) show all 0s

What do you mean by "does not load"? And which  data  lines  are  you
talking about, and when do you sample these data lines?

> Can anybody please shed some light on this problem? Any help / hints will b
> e greatly appreciated.

I have no idea what you're trying to do, but attaching a BDI2000  and
running  the  code  under GDB is probably the fastest way to find out
what's going on on your system.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
An armed society is a polite society.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] How to pause u-boot after serial init
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Wozniak @ 2005-01-06 18:25 UTC (permalink / raw)
  To: u-boot

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-06 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox