Re: [OE-core] [PATCH 1/1] bootimg: Fix a math thinko in the block count calculation

2012-01-25 Thread Richard Purdie
On Tue, 2012-01-24 at 21:20 -0800, Darren Hart wrote: > Fixes [YOCTO #1852] ... again. > > The conversion from sectors to blocks was multiplying by 2 instead > of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The > result was images being much larger than intended. > > Reported-by:

Re: [OE-core] [PATCH 1/1] bootimg: Fix a math thinko in the block count calculation

2012-01-24 Thread Tom Zanussi
On Tue, 2012-01-24 at 21:20 -0800, Darren Hart wrote: > Fixes [YOCTO #1852] ... again. > > The conversion from sectors to blocks was multiplying by 2 instead > of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The > result was images being much larger than intended. > Much better,

[OE-core] [PATCH 1/1] bootimg: Fix a math thinko in the block count calculation

2012-01-24 Thread Darren Hart
Fixes [YOCTO #1852] ... again. The conversion from sectors to blocks was multiplying by 2 instead of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The result was images being much larger than intended. Reported-by: Tom Zanussi Signed-off-by: Darren Hart CC: Joshua Lock --- meta