This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OMAP3530]: SD card boot fails.

Other Parts Discussed in Thread: OMAP3530

Hi all,

I am trying to create a bootable SD card for my OMAP3530 EVM. For that I am following the following steps:

honey@honey-desktop:~$ sudo fdisk /dev/sdc

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').

Command (m for help): d

Partition number (1-4): 1

Command (m for help): d

Selected partition 2

Command (m for help): p

Disk /dev/sdc: 3963 MB, 3963617280 bytes

255 heads, 63 sectors/track, 481 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x46e28938

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): 

Command (m for help): 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-481, default 1): 

Using default value 1

Last cylinder, +cylinders or +size{K,M,G} (1-481, default 481): +121

Command (m for help): p

Disk /dev/sdc: 3963 MB, 3963617280 bytes

255 heads, 63 sectors/track, 481 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x46e28938

   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1               1         122      979933+  83  Linux

Command (m for help): t

Selected partition 1

Hex code (type L to list codes): 6

Changed system type of partition 1 to 6 (FAT16)

Command (m for help): p

Disk /dev/sdc: 3963 MB, 3963617280 bytes

255 heads, 63 sectors/track, 481 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x46e28938

   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1               1         122      979933+   6  FAT16

Command (m for help): a

Partition number (1-4): 1

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 2

First cylinder (123-481, default 123): 

Using default value 123

Last cylinder, +cylinders or +size{K,M,G} (123-481, default 481): 

Using default value 481

Command (m for help): p

Disk /dev/sdc: 3963 MB, 3963617280 bytes

255 heads, 63 sectors/track, 481 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x46e28938

   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1   *           1         122      979933+   6  FAT16

/dev/sdc2             123         481     2883667+  83  Linux

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x

partitions, please see the fdisk manual page for additional

information.

Syncing disks.

honey@honey-desktop:~$ 

honey@honey-desktop:~$ 

honey@honey-desktop:~$ 

honey@honey-desktop:~$ sudo mkdosfs -F 16 -n boot /dev/sdc1

mkdosfs 3.0.7 (24 Dec 2009)

honey@honey-desktop:~$ sudo mkfs.ext3 -L filesys /dev/sdc2

mke2fs 1.41.11 (14-Mar-2010)

warning: 20 blocks unused.

Filesystem label=filesys

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

Stride=0 blocks, Stripe width=0 blocks

180576 inodes, 720896 blocks

36045 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=738197504

22 block groups

32768 blocks per group, 32768 fragments per group

8208 inodes per group

Superblock backups stored on blocks: 

32768, 98304, 163840, 229376, 294912

Writing inode tables: done                            

Creating journal (16384 blocks): done

Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or

180 days, whichever comes first.  Use tune2fs -c or -i to overrid

Then I have copied MLO, uboot and uImage in order to boot partition. And I have made adjustments to SW4 switch to be able to boot from the SD card.

Tried to boot from SD card. But No print is seen on the minicom terminal. (Neither uboot is up).

I have checked in my forums, tried out various combinations, made the boot partition as W95 Fat16, W95 Fat32 etc. But neither of the option works.

I am using Kingston 4GB SD card. 

Please help me find solution to my issue.

Thanks,

Honey S

  • I have tried a slight modification. I have adjusted the board SW4 switch to boot from OMAP3 EVM flash. Then put the kernel image in SD card boot partition and filesystem into SD card filesys partition. After that I have adjusted bootargs to take kernel image and fileystem from SD card. That way, I could boot OMAP3EVM. 

    Still I couldn't boot when I put the mlo and uboot.bin also to sd card and make the board boot from sd.  Anyone, please suggest a solution so that i can make a bootable sd card for omap3 evm; but only two partitions needed in sd card; boot and filesys.

    Thanks,

    Honey S