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

Andrew Wozniak awozniak at mc.com
Thu Jan 6 19:25:13 CET 2005


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
> 




More information about the U-Boot mailing list