On Sat, 2013-01-26 at 12:26 +0200, Andrei Gherzan wrote: > > On Jan 26, 2013 10:53 AM, "Jan Schmidt" <thay...@noraisin.net> wrote: > > > > On Sat, 2013-01-26 at 02:19 +0200, Andrei Gherzan wrote: > > > On Fri, Jan 25, 2013 at 3:33 PM, Jan Schmidt > <thay...@noraisin.net> > > > wrote: > > > > > > > > > > > This is a good idea but you will have to align the new ROOTFS_SIZE > > > to IMAGE_ROOTFS_ALIGNMENT. > > > > > > + SDIMG_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + > > > ${BOOT_SPACE_ALIGNED} + ${ROOTFS_SIZE}) > > > > > > > > > So you are actually removing IMAGE_ROOTFS_ALIGNMENT space at the > end > > > of the sd image. Why are you doing this? Nothing stated in the > > > comment. > > > > Sorry, yeah - I forgot to mention it. I removed it because it's > > pointless. It's not actually aligning to anything (it doesn't > calculate > > an alignment based on the difference between the ROOTFS_SIZE and > some > > target multiple). Instead, it was just arbitrarily padding some > > megabytes onto the end of the image file. > > > > Makes sense. I added that because we had a strange bug where the final > sdimg file size was not enough. Maybe this was fixed now - something > related to parted. Please add your comment and modify the asci > partition layout in the bbclass file too.
It may have been the use of the inherited ROOTFS_SIZE, which will be slightly smaller than the ext3 fs produced, because it measure the size of the contents of the fs. I'll re-send the patch. > > Thanks, > Andrei > > > > Thanks, > -- Jan Schmidt <thay...@noraisin.net> _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto