Talk:SD Configuration

From OMAPpedia

Jump to: navigation, search

[edit] Using SD to boot Zoom2

Q: I had selected 1024MB for the fat32 partition. I want to use this partition to boot the zoom2. Zoom2 won't boot unless I use +64MB; using +1024MB won't boot. Any ideas?


I believe you may have not formatted the SD card correctly. I have been able to do this many times with a 2GB SD card. Make sure you set the first partition's first cylinder to its default setting and the last cylinder to +1024M. Leave the second partition settings alone. Use the default settings. This should take care of the issue.

Partition number (1-4): 2
First cylinder (10-123, default 10):
Using default value 10 --> leave at default settings (may vary depending on card)
Last cylinder or +size or +sizeM or +sizeK (10-123, default 123):
Using default value 123 --> leave at default settings (may vary depending on card)

Let me know if this helps....

[edit] No Solution

Thanks, the number of cylinders were miscalculated and that'll result in Bad Magic Number when loading the kernel. After repeating the whole process and re-formatting twice the booting partition it worked. I had to erase the nand also.

Many people have reported the same issue. Making a boot partition larger than 64 MB makes it un-bootable, even by modifying the mentioned script. Any ideas?


Well, this is a common issue we see. However we are able to use a 2GB SD card with a +1024 partition. If you set the partitions manually you should be able to get a SD with a larger partition. I have a 2GB Kingston SD card and I have been able to create a +1024 partition.

--orb

I have a 4GB Kingston SDHC card class 4. I need to be partitioned half and half and to be class 4 due to project constraints. So manually I have created it by choosing +2000MB and this is the table I have generated

Disk /dev/sdd: 3957 MB, 3957325824 bytes
255 heads, 63 sectors/track, 481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1         244     1959898+   c  W95 FAT32 (LBA)
/dev/sdd2             245         481     1903702+  83  Linux

We have seen that only the MLO is not working, flashing it to NAND and let the rest uboot, kernel and fs run from this particular SD Card everything is fine.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox