From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Wozniak Date: Thu, 06 Jan 2005 13:25:13 -0500 Subject: [U-Boot-Users] How to pause u-boot after serial init In-Reply-To: <1105027245.41d677cnishant.subs@myrealbox.com> References: <1105027245.41d677cnishant.subs@myrealbox.com> Message-ID: <41DD8289.6020202@mc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >