← Back to team overview

ac100 team mailing list archive

Re: dd-ing boot image locally instead nvflash-ing


On Wed, 24 Aug 2011 09:52:06 -0300, Nicolás Wolovick <nwolovick@xxxxxxxxx> wrote:
On Wed, Aug 24, 2011 at 9:31 AM, Gordan Bobic  wrote:
 If I have a boot image on my AC100 that I built locally on it, can I
just dd that to /dev/mmcblk0p1 (the only 5MB partition I can see)?
Will that work? Or do I have to use nvflash?

I've successfully done this twice.

abootimg -u /dev/mmcblk0p2 -k

Luckly abootimg is a standard package in Natty.
The comand means: update the Android Boot Partition with this kernel.

mmcblk0p2? That's not 5MB in size, so I'm guessing that isn't the rescue partition. Ideally what I want to do is something like:

abootimage --create newboot.img -k zImage -r initrd.img -c '....'

dd if=newboot.img of=/dev/mmcblk0p1

The real question I guess I have here is whether abootimage -u will just push the raw image out to a raw partition or whether it does some other, additional magic going on.


Follow ups