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.

TMS320DM368: No uboot prompt

Part Number: TMS320DM368

Hello all,

       We have used dm3xx_sd_boot-6_leopard flashing utility to burn ubl, uboot to the nand of Leopardboard 368 using sd card. The boot data is copied successfully into the sd card as shown below. Yet, there is no uboot prompt. Are there any corrections required in the below procedure ?

root@user-laptop:~# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 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: 0x274bbd70

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       12749   102297600    7  HPFS/NTFS
/dev/sda3           12749       19371    53189632    7  HPFS/NTFS
/dev/sda4           19371       38914   156979201    5  Extended
/dev/sda5           19371       38115   150565888   83  Linux
/dev/sda6           38115       38914     6412288   82  Linux swap / Solaris

Disk /dev/sdb: 1977 MB, 1977614336 bytes
61 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3782 * 512 = 1936384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          22       41601+   6  FAT16
/dev/sdb2   *          23        1021     1889109   83  Linux
root@user-laptop:~# fdisk /dev/sdb

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): d
No partition is defined yet!

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.


root@user-laptop:~# cd /home/user/Pictures/dm3xx_sd_boot-6_leopard
root@user-laptop:/home/user/Pictures/dm3xx_sd_boot-6_leopard# export PATH=$PATH:/usr/local/montavista/pro/devkit/arm/v5t_le/bin:bin.x86
root@user-laptop:/home/user/Pictures/dm3xx_sd_boot-6_leopard# make


make -C sdcard_flash PLATFORM=DM36x all
make[1]: Entering directory `/home/user/Pictures/dm3xx_sd_boot-6_leopard/sdcard_flash'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/Pictures/dm3xx_sd_boot-6_leopard/sdcard_flash'
make -C sdcard_flash PLATFORM=DM35x all
make[1]: Entering directory `/home/user/Pictures/dm3xx_sd_boot-6_leopard/sdcard_flash'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/Pictures/dm3xx_sd_boot-6_leopard/sdcard_flash'
OK


root@user-laptop:/home/user/Pictures/dm3xx_sd_boot-6_leopard# ./dm3xx_sd_boot format /dev/sdb
cleaning SD card
1000+0 records in
1000+0 records out
1024000 bytes (1.0 MB) copied, 0.689451 s, 1.5 MB/s

Disk /dev/sdb: 1021 cylinders, 61 heads, 62 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/sdb: 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/sdb1   *     0+    40-    41-     41601+   b  W95 FAT32
/dev/sdb2   *    40+  1885-  1845-   1889109   83  Linux
/dev/sdb3         0      -      0          0    0  Empty
/dev/sdb4         0      -      0          0    0  Empty
Successfully wrote the new partition table

Re-reading the partition table ...

mkfs.vfat 3.0.7 (24 Dec 2009)
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4.0165e-05 s, 0.0 kB/s
0+1 records in
0+1 records out
19 bytes (19 B) copied, 6.2804e-05 s, 303 kB/s
total 15000
-rwxr-xr-x 1 root root 15360000 2017-11-15 16:31 dm3xx.dat
SD card /dev/sdb formatted
10000+0 records in
10000+0 records out
10240000 bytes (10 MB) copied, 0.699891 s, 14.6 MB/s
dm3xx_boot_data_addr=0x0a4400
Image dm3xx_boot_rec:a1aced00 100 3c 523 0 0 0 0 a4400
10000+0 records in
10000+0 records out
10240000 bytes (10 MB) copied, 0.720156 s, 14.2 MB/s
dm3xx boot record is written


Please reinsert the card for auto mounting or mount it manually


root@user-laptop:/home/user/Pictures/dm3xx_sd_boot-6_leopard# make install
./dm3xx_sd_boot data
copying data to
Writing /media/E860-D03C/dm3xx.dat
000200-006754,    25940 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-044bb8,   150456 bytes <- original/u-boot-1.3.4-dm365_evm.bin
060000-1c76e0,  1472224 bytes <- original/uImage-dm365
400000-bcb5c7,  8172999 bytes <- original/ramdisk.gz
syncing
DM355 boot data copied in data file /media/E860-D03C/dm3xx.dat on
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1                40945     15001     25945  37% /media/E860-D03C


root@user-laptop:/home/user/Pictures/dm3xx_sd_boot-6_leopard# 

Thank you,