[Arm-netbook] Disecting mmcblk0p1 and the boot process
elendil at planet.nl
Tue Mar 2 22:33:42 GMT 2010
On Tuesday 02 March 2010, Frans Pop wrote:
> The second variant is used here and for the logo files the following
> formula makes the commands match the offset in mmcblk0p1:
> (sector# * 512) - 74a7:8000
> Could make sense if 74a7:8000 is the base address of the mmcblk0 device.
It may even be simpler if you remember that mmcblk0p1 is actually the 3rd
partition in physical order:
# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 1977 MB, 1977614336 bytes
4 heads, 16 sectors/track, 60352 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 57376 60352 95264 83 Linux
/dev/mmcblk0p2 42727 57375 468768 83 Linux
/dev/mmcblk0p3 1 42726 1367224 83 Linux
74a7:8000 = 1.957.134.336.
The start of mmcblk0p1 is at 57376 * 64 * 512 = 1.880.096.768.
So there's still a gap to explain.
More information about the Arm-netbook