From: Peter Tyser Date: Thu, 06 May 2010 11:21:58 -0500 Subject: [U-Boot] Endless loop in cmd_log.c? In-Reply-To: <004001caed35$9ed68930$dc839b90$@net> References: <1273069733-6194-1-git-send-email-weisserm@arcor.de> <1273069733-6194-2-git-send-email-weisserm@arcor.de> <1273069733-6194-3-git-send-email-weisserm@arcor.de> <1273069733-6194-4-git-send-email-weisserm@arcor.de> <004001caed35$9ed68930$dc839b90$@net> Message-ID: <1273162918.2451.5813.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Dennis, On Thu, 2010-05-06 at 09:03 -0700, Dennis Ruffer wrote: > Not sure why this hasn't come through in my 3 earlier attempts... > > Let me try a different email address... > > I am trying to implement CONFIG_LOGBUFFER and CONFIG_CMD_LOG on our ARM > systems and I seem to have run into an endless loop. With loglevel=5 so we > still see our console output, the printf at the end of logbuff_printk > appears to create an endless loop. > > I had to replace that line with serial_puts(msg); > > Have I missed some other solution or do the systems that use this never set > logbuffer higher than default_message_loglevel? It has been coming through. 4 times now. Give people some time to respond. http://lists.denx.de/pipermail/u-boot/2010-May/071107.html Best, Peter