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.

Bootable SD and uflash on DM36x?

I just tried making a bootable SD card using the uflash utility provided with DVSDK 4.1.0.9 and it no workie  Now I can make the same SD card work/boot with Constantine's SD nand writer utility, so I know the card is compatible with the RBL.

I create the partition for the linux file system on "/dev/sdb1".  This is when mounted on a Ubuntu computer.  And I write the file system.  Then I use uflash to create the bootable SD card using the UBL and U-Boot that I use with Constantine's SD nand writer.  But when I boot my board it's simply boots from nand.  The verbose readout from uflash looks pretty much like this....

UBL Size 13823
U-Boot Size 151635
First partition starts at 73036(37394432)
Required Blocks 450, Available Blocks 73035
UBL Magic Number        : a1aced00
UBL Entry Point         : 00000100
UBL Number of Blocks    : 0000001a
UBL Starting Block      : 00000075
UBL Load Address        : 00000000
Writing UBL Signature
Writing UBL
U-Boot Magic Number     : a1aced66
U-Boot Entry Point      : 81080000
U-Boot Number of Blocks : 00000129
U-Boot Starting Block   : 00000099
Load U-Boot Address     : 81080000
Writing U-Boot Signature
Writing U-Boot
Done...

The device name I give uflash is "/dev/sdb" and I run the command as root with "sudo"

Any ideas?

John A

  • Hello,

    Are you using DVSDK provided mksdboot script as documented in Software Developers Guide ? I don't remember seeing any issue with uflash, assuming that you have read uflash documented and formated the SD card accordingly. And all these progress is very simplified if you use mksdboot script.

    Thanks

    Brijesh

  • Hi Brijesh,

    Sorry it took a while to answer.  I got pulled off to work on something else for a few days.

    No I did not use the mksdboot script.  I'm currently developing with dvsdk 4.0.0.22.  So I simply installed 4.1.0.9 and performed a "make u-boot" to build the uflash utlity.  The README file in the uflash directory explains how to use the utility, and that is the procedure I followed.  I'm using the same u-boot and UBL that I am installing on the NAND flash.

    I performed a dump of the SD card that contains the Constantine bootable utility and the SD created by uflash.  The location of the first magic number is 0x200 for the uflash SD card, and every 0x200 thereafter 25 times.  The location of the first magic number is 0x1000 and none follow on the Constantine SD card.

    I get no indication from the serial terminal port that the magic number is found when using uflash to create a card

    John A

  • I made the SD card from the script today and it does boot.  So I guess I need to just figure out what's different.

    John A