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.

Failed to SD card boot

Hi,

The problem is really bored me. I write the boot data into sd card as the wiki link http://wiki.davincidsp.com/index.php/SD_card_boot_and_flashing_tool_for_DM355_and_DM365

 After the below message, i insert sd card to top slop of DM365 and then set the SW4 to SD boot mode.

 Next, reset the board.

 But i don't see any message from EVM...

 Why...?  

****************************************************************************************************************************

root@192.168.1.180:/mnt/sdc# cd ../dm3xx_sd_boot-6/

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# ./dm3xx_sd_boot format /dev/mmcblk0

cleaning SD card

                1000+0 records in

1000+0 records out

1024000 bytes (1.0 MB) copied, 1.41951 seconds, 721 kB/s

 mmcblk0: unknown partition table

 

Disk /dev/mmcblk0: 3836 cylinders, 4 heads, 16 sectors/track

 

sfdisk: ERROR: sector 0 does not have an msdos signature

 /dev/mmcblk0: unrecognized partition table type

Old situation:

No partitions found

New situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

 

   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk0p1   *     0+    39     40-     40959+   b  W95 FAT32

/dev/mmcblk0p2   *    40    119-    80-     81792   83  Linux

/dev/mmcblk0p3         0      -      0          0    0  Empty

/dev/mmcblk0p4         0      -      0          0    0  Empty

Successfully wrote the new partition table

 

Re-reading the partition table ...

 mmcblk0: p1 p2

 

mkfs.vfat 2.11 (12 Mar 2005)

0+0 records in

0+0 records out

0 bytes (0 B) copied, 0.000266166 seconds, 0.0 kB/s

0+1 records in

0+1 records out

19 bytes (19 B) copied, 0.0809994 seconds, 0.2 kB/s

total 15000

-rwxr-xr-x 1 root root 15360000 Jan  1 00:08 dm3xx.dat

SD card /dev/mmcblk0 formatted

10000+0 records in

10000+0 records out

10240000 bytes (10 MB) copied, 2.15568 seconds, 4.8 MB/s

dm3xx_boot_data_addr=0x0a1c00

Image dm3xx_boot_rec:a1aced00 100 3c 50f 0 0 0 0 a1c00 

10000+0 records in

10000+0 records out

10240000 bytes (10 MB) copied, 2.16361 seconds, 4.7 MB/s

dm3xx boot record is written

Please reinsert the card for auto mounting or mount it manually

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# mmcblk0: mmc0:0001 128MB 122752KiB 

 mmcblk0: p1 p2

 

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# mount -t vfat /dev/mmcblk0p1 /mnt/sdc

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# ./dm3xx_sd_boot data /dev/mmcblk0

copying data to

Writing /dev/mmcblk0

000200-006724,    25892 bytes <- sdcard_flash/sdcard_flash_DM36x.bin

008000-008200,    512 bytes <- test pattern 1 2 3

010000-015000,    20480 bytes <- original/UBL_DM36x_NAND.bin

020000-045308,   152328 bytes <- original/u-boot-1.3.4-dm365_evm.bin

060000-2547c8,  2049992 bytes <- original/uImage-dm365

400000-6740c7,  2572487 bytes <- original/ramdisk.gz

syncing

DM355 boot data copied in data file /dev/mmcblk0 on

Filesystem           1K-blocks      Used Available Use% Mounted on

tmpfs                    10240       332      9908   4% /dev

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# ls

CREDITS   bin.arm                  dm3xx_boot_rec   flash_utils  sdcard_flash

Makefile  bin.x86                  dm3xx_sd.config  mmcblk0

README    dm3xx_boot_make_image.c  dm3xx_sd_boot    original

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# ls ../sd 

sdc/       sdhc_card/ 

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# ls ../sdc/

dm3xx.dat

root@192.168.1.180:/mnt/dm3xx_sd_boot-6# ls -l ../sdc/

total 15000

-rwxr-xr-x 1 root root 15360000 Jan  1  1980 dm3xx.dat

***************************************************************************************************************************************8