[U-Boot-Users] printf question

Jerry Walden jerry.walden at lantronix.com
Wed Mar 24 05:19:08 CET 2004


Okay - so this is probably not a big deal, however when I use the printf
in u-boot as follows:
 
unsigned char x = 0xC2;
 
printf("this is the problem %02X\n", x);
 
 
result is:
 
this is the problem FFFFFFFC2
 
 
 

	-----Original Message-----
	From: Zhang, Jian [mailto:jzhang at ti.com] 
	Sent: Tuesday, February 03, 2004 2:23 PM
	To: 'u-boot-users at lists.sourceforge.net'
	Cc: Zhang, Jian; Woodruff, Richard; Powers, John
	Subject: [U-Boot-Users] [PATCH] bug fixes for fat.h
	
	

	This patch fixed two bugs found in fat.h. It is a diff with
U-Boot-1.0.0 (10/29/2003). 

	1. The number of FAT12 entries in FAT12 buffer was calculated
incorrectly. As a result, you are not able to read any big file using
more 2048 FAT12 entries.

	2. data_begin in fsdata struct can be negative depending on the
FAT system layout. If it happens, wrong sectors are requested by fat
code.

	Best Regards, 
	Jian Zhang 

	



**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040323/b22752cf/attachment.htm 


More information about the U-Boot mailing list