From 2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 9 Dec 2004 09:47:41 +0000 Subject: Merge oe-devel@oe-devel.bkbits.net:openembedded into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA --- cetools/files/sean-hsieh.patch | 97 ------------------------------------------ 1 file changed, 97 deletions(-) delete mode 100644 cetools/files/sean-hsieh.patch (limited to 'cetools/files/sean-hsieh.patch') diff --git a/cetools/files/sean-hsieh.patch b/cetools/files/sean-hsieh.patch deleted file mode 100644 index ce1b4965af..0000000000 --- a/cetools/files/sean-hsieh.patch +++ /dev/null @@ -1,97 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- cetools-0.3/bin2rom.c~sean-hsieh -+++ cetools-0.3/bin2rom.c -@@ -14,6 +14,12 @@ - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ -+ History: -+ 07/14/2000 Sean Hsieh -+ Clear padding bytes of the input buffer when -+ "blockSize < BLOCKSIZE" to avoid the checksum -+ error - */ - #include - #include -@@ -28,7 +34,7 @@ - - #define min(a, b) (a 0 ) - { - blockSize = min( BLOCKSIZE, reste ); -- -+ /**********************************************************************/ -+ /* Modified by Sean Hsieh */ -+ /* Clear the padding bytes to zero, this can avoid the checksum error */ -+ /**********************************************************************/ -+ if ( blockSize != BLOCKSIZE ) { -+ memset( inStart, 0, BLOCKSIZE ); -+ //printf( "adding padding bytes\n" ); -+ } - read( input, inStart, blockSize ); - - #ifdef MAP_OUTPUT -@@ -285,7 +298,8 @@ - - write( output, &boot, 4); - -- write( output, &nullData, 4); -+ //write( output, &nullData, 4); -+ write( output, &record, 4); - - #endif - -@@ -339,17 +353,26 @@ - { - long start; - long boot; -+ long record; - -- if( argc < 5 ) -+ if ( argc < 5 ) - { -- printf("bin2rom: \n"); -- exit( -1 ); -+ printf("bin2rom: [] [-s] [-c]\n"); -+ exit( -1 ); - } - - sscanf( argv[3], "%lx", &start ); - sscanf( argv[4], "%lx", &boot ); -- -- bin2rom( argv[1], argv[2], start, boot ); -+ if ( argc >= 6 ) -+ { -+ sscanf( argv[5], "%lx", &record ); -+ } -+ else -+ { -+ record = 0xffffffff; -+ } -+ -+ bin2rom( argv[1], argv[2], start, boot, record ); - - return 0; - } -\ No newline at end of file -- cgit v1.2.3