[oe] squasfs jffs2 default image settings
rod at whitby.id.au
Wed May 2 02:05:10 CEST 2007
Stelios Koroneos wrote:
> After a day of "head scratching" i realized the the reason an image i was
> building, failed to load on a powerpc target was that the default settings
> for squashfs squashfs-lzma and jffs2 were set to little endian architecture
> //snip from bitbake.conf
> EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
> EXTRA_IMAGECMD_squashfs = "-le -b 16384"
> EXTRA_IMAGECMD_squashfs-lzma = "-le -b 16384"
> These look like they were set for a specific machine (maybe i am wrong), but
> shouldn't the default settings be at least architecture neutral ?
> (Even the block sizes shouldn't be defined there as a machine might be
> better suited by another size)
> Any objections to have EXTRA_IMAGECMD for these types of images default to
> no specific settings ?
Fine with me. I think the nslu2 and ixp4xx are the few dual-endian
machines in OE, and both of them are already set up to set the
endianness, padding and block size on those commands explicitly.
More information about the Openembedded-devel