[U-Boot-Users] How to pause u-boot after serial init

Wolfgang Denk wd at denx.de
Thu Jan 6 18:15:41 CET 2005


In message <1105027245.41d677cnishant.subs at 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.




More information about the U-Boot mailing list