[Arm-netbook] CT-PC89E - success replicating boot from SDcard with switch in NON-factory-default setting
Ben Dooks
ben at fluff.org
Wed Mar 24 16:03:14 GMT 2010
On Wed, Mar 24, 2010 at 01:35:14PM +0000, Luke Kenneth Casson Leighton wrote:
> On Wed, Mar 24, 2010 at 1:30 PM, Adam Gill <madallig at gmail.com> wrote:
> > so what's different with this that what i was trying to boot last nite?
>
> the method used to copy the data to the SDcard placed the data in the
> wrong place.
>
> code execution begins (if the S3C6410 is the same as the S5PC100)
> from loading the data 0x34000 bytes from the END of the SD card. by
> placing u-boot at exactly this location, guess what happens?
not iirc. take a look at qi for how to do this for the s3c6410, they
include a script to automatically write qi to a card, given it also
changes on the type of card (sd vs sdhc).
> if the two partitions at the front were not EXACTLY the right size
> (which is difficult to do) then when copying that data onto the end
> partition, u-boot would have been placed in entirely the wrong place.
>
> resulting in arbitrary code execution, hence the lovely pretty
> patterns on-screen.
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
More information about the Arm-netbook
mailing list