Hi Julien,

> From: "Julien Wajsberg" <[email protected]>
>
> Le 19/03/2013 18:20, Dave Hylands a écrit :
> 
> > The actual format of the system.img file may use yaffs or it may
> > use ext4, or it may use something else. That's really phone
> > specific.
> >
> > We build the system.img by packing up all of the files in
> > out/target/product/PHONE/system directory, so there really isn't a
> > need to unpack it. out/target/product/PHONE/system already
> > contains everything completely unpacked.
> >
> >
> 
> 
> If for some reason you need to see what's inside one of our builds,
> you
> first need to convert the image using Android SDK's simg2img utility.
> And then you can just "mount -o loop" the resulting file :)

That works well when the underlying system.img file is ext4 based, but not so 
well when it's yaffs based.
Most desktop kernels don't have yaffs available, so you'd need to rebuild your 
kernel to add yaffs support.

You could probably put a yaffs based system.img on the sdcard and loop mount it 
using the actual device, since that kernel will have appropriate bits and 
pieces available.

Dave Hylands
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to