[Arm-netbook] First stab at a custom kernel
Frans Pop
elendil at planet.nl
Wed Mar 3 15:39:35 GMT 2010
On Wednesday 03 March 2010, Frans Pop wrote:
> Alternatively it should I think in theory also be possible to just dd
> the custom zImage to mmcblk0p1 with an offset of 90971136...
I have tested this (using a swap partition on another SD card), and the
following should do the trick.
# dd if=zImage of=/dev/mmcblk0p1 ibs=512 obs=512 seek=177678
# sync
The value for seek is 90971136 / 512.
After thinking about it I think I prefer this over the firmware boot
option. I'll keep that as my "restore to factory" option.
I do intend to create a new image of the contents of mmcblk0p1 and compare
that with the original before actually rebooting. That way I can always dd
the full original image back in place if anything looks corrupted.
More information about the Arm-netbook
mailing list