On Tue, Dec 7, 2010 at 1:10 PM, Guilherme Salgado <salg...@canonical.com> wrote:
> On Tue, 2010-12-07 at 09:10 -0600, Robert Nelson wrote:
>> Hi Guilherme,
>>
>> > I know you found a workaround with fdisk so you're probably no longer
>> > using parted, but I was wondering if you were able to use parted to
>> > change the geometry in the partition table to 255heads/63sectors as the
>> > boot rom seems to require?
>>
>> Actually with current x-loader/u-boot the 255heads/63sectors isn't a
>> hard requirement anymore for the boot partition, so i've dropped it..
>
> I thought the 255h/63s requirement came from the boot ROM?

That was my impression to for the last couple years, but we had
discussion about it on the beagleboard group.  The rom doesn't care,
it was x-loader that was coded for sector 63..

http://www.sakoman.com/cgi-bin/gitweb.cgi?p=x-loader.git;a=commit;h=f24393836812798cac755eeaeae37112d709b09d

Discussion:

http://groups.google.com/group/beagleboard/browse_thread/thread/2a41df7801eca451/23f2921ef00c0f9e#23f2921ef00c0f9e

>
>>
>> https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L348
>>
>
> I partitioned a card with the exact same commands you use in
> setup_sdcard.sh (fdisk to create the boot partition and parted for the
> root one), and then used our script to populate it (without changing the
> partitions), but it didn't boot.  This is what I got on my xM.
>
>        Texas Instruments X-Loader 1.4.4ss (Sep 30 2010 - 14:44:32)
>        Beagle xM Rev A
>        Reading boot sector
>        Error: reading boot sector
>        u-boot.bin not found or blank nand contents - attempting serial
>        boot . . .
>        ## Ready for binary (kermit) download to 0x80008000 at 115200
>        bps...
>
> Maybe I did something wrong when partitioning?

Here's mine for comparison:

Texas Instruments X-Loader 1.4.4ss (Sep 22 2010 - 16:12:19)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2010.03-dirty (Oct 18 2010 - 11:31:58)

OMAP3630/3730-GP ES1.0, CPU-OPP2, L3-165MHz,
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MB
NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial

Probing for expansion boards, if none are connected you'll see a
harmless I2C error.

No EEPROM on expansion board
Beagle xM Rev A
Die ID #51b200001bf00000015739ea0700c02c

fdisk -l  (note: the physcial/logical warning seems to just be this
microSD card, i don't have another around to test..)

Disk /dev/sdd: 3965 MB, 3965190144 bytes
122 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7564 * 512 = 3872768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005702e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1          18       65560    e  W95 FAT16 (LBA)
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 0, 17)
Partition 1 has different physical/logical endings:
     phys=(1023, 3, 16) logical=(17, 41, 6)
Partition 1 does not end on cylinder boundary.
/dev/sdd2              18        1007     3741073   83  Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(8, 41, 34) logical=(17, 41, 7)
Partition 2 has different physical/logical endings:
     phys=(473, 230, 47) logical=(1006, 62, 54)
Partition 2 does not end on cylinder boundary.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

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

Reply via email to