On Wed, Oct 6, 2010 at 5:28 PM, Loïc Minier <loic.min...@linaro.org> wrote:
>  Ah sorry about that; I've backed out the change in this branch:
>    lp:~lool/linaro-image-tools/back-out-non-fs-data-partition
>  would you mind testing it and I'll merge it in mainline if it works as
>  expected
>
There is a typo at line 403.  The "<EOF" should be "<< EOF"?

And I'm not sure if it's another issue with sfdisk.  But I will get
the following layout with the sfdisk command in your l-m-c.

$ sudo fdisk -l -u /dev/mmcblk0

Disk /dev/mmcblk0: 1 GB, 1965841920 bytes
255 heads, 63 sectors/track, 239 cylinders, total 3839535 sectors
Units = sectors of 1 * 512 = 512 bytes

       Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p2              63       16064           0   83  Linux
/dev/mmcblk0p1   *       16065      160649       80262    c  FAT32 LBA

This is actually the issue I ran into when I was working on mx51evk
support.  And I have to make it like the following to get the expected
layout.

  sudo sfdisk -D -H $HEADS -S $SECTORS $CYLINDER_ARG $partdev << THEEND
1,9,$PARTITION_TYPE,*
10,,,-
THEEND

-- 
Regards,
Shawn

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to