Skip to contentSkip to conversation

Less verbose output when loading vxworks 6.x images

PATCH New Niklaus Giger 2 participants 2 messages Jul 23, 2009 – Jul 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Less verbose output when loading vxworks 6.x images

Loading vxWorks 5.x images resulted just into 3 or 4 lines of output. With vxWorks 6.x and the new GCC it emits about 30 lines, which is far too noisy in my opinion.

---
 common/cmd_elf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_elf.c +1 -1
index abec7dd..63f6fe7 100644
@@ -287,7 +287,7 @@ unsigned long load_elf_image (unsigned long addr)
 		}
 
 		if (strtab) {
-			printf ("%sing %s @ 0x%08lx (%ld bytes)\n",
+			debug("%sing %s @ 0x%08lx (%ld bytes)\n",
 				(shdr->sh_type == SHT_NOBITS) ?
 					"Clear" : "Load",
 				&strtab[shdr->sh_name],
Signature · 1 line
1.6.3.3
#1 lore raw

PATCH v2 1/1 Less verbose output when loading vxworks 6.x images

Dear Niklaus Giger,

Quoted 8 lines · In message <[email protected]>…

Loading vxWorks 5.x images resulted just into 3 or 4 lines of output. With vxWorks 6.x and the new GCC it emits about 30 lines, which is far too noisy in my opinion.

---
 common/cmd_elf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You have the capacity to learn from  mistakes.  You'll  learn  a  lot
today.