[Arm-netbook] CT-PC89E - success replicating boot from SDcard with switch in NON-factory-default setting

Luke Kenneth Casson Leighton luke.leighton at googlemail.com
Wed Mar 24 13:08:20 GMT 2010


you MUST use a 2gb SDcard for this to work, so if you use fdisk, it
must show the same params as here:

# fdisk /dev/mmcblk0

Command (m for help): p

Disk /dev/mmcblk0: 1977 MB, 1977614336 bytes
61 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3782 * 512 = 1936384 bytes


if you have exactly that, then the following will work.

# wget http://lkcl.net/arm_systems/CT-PC89E/mmblk0p1.bz2
# bunzip2 mmcblk0p1.bz2
# dd if=/opt/cross-tools/mid-linux/mmcblk0p1 of=/dev/mmcblk0 seek=3672000 bs=512


you can basically do that _without_ formatting the SDcard.  no
partitions required, nothing, because the hardware actually reads
directly from the SD card.

the only reason for creating the "top" partition is for safety
reasons, to make sure that nobody overwrites the u-boot, kernel etc.

but - fuckit.  if you want to do a quick test, grab the copy of
mmcblk0p1 which someone made (teis?  can't remember) a while back,
shove it on the 2gb SD card, and go.

this is _extremely_ good news, because it means that it's now possible
to a) safely begin reverse-engineering u-boot b) safely recover any
bricked machine

l.



More information about the Arm-netbook mailing list