Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

Leopard Board DM365 FAQ

From Texas Instruments Wiki
Jump to: navigation, search

Leopard Board distributors

Q: Where can I purchase a Leopard Board?

A: Leopard Board DM365 is available from: Avnet express, Arrow electronics and Leopard Imaging Inc.

Q: What to do in case your country is not on the list of shipping countries?

A: In case your country is not on the Avnet Express or Leopard Online shopping car, you can follow the next steps:

1. Email purchase order to : sales@leopardimaging.com, listing parts number to buy and QTY.

2. Payment methods: VISA/MasterCard Credit Cards, Paypal or T/T in advance. Please fax the Credit Card information to : 001-510-489-8352 (For security reasons, please do not send credit card information through email).

3. Shipment: UPS, FedEx or USPS.

Q: How can I select the shipping method?

A:

  • For North American countries, the online shopping cart supports both UPS and USPS (US Postal Service) services.
  • For European countries, the online shopping cart supports only UPS shipping service. For cost saving purpose, please send us PO by email if you need USPS shipping service.
  • For all other countries, it supports UPS, FedEx and USPS services.
  • International USPS shipping rate estimate: Priority Small Flat Rate Box: US$16, Priority International: US$30, Express International Mail: US$38.
  • International UPS or FedEx rate estimate: US$80 ~ US$110

Shipped hardware

Q: What hardware is included when I purchase my Leopard Board?

A: Only the board itself. To make board as cheap as possible, for most peripherals you need additional adapters.

Shipped software

Q: What software is included with my Leopard Board?

A:

Peripherals needed

Q: As shipped Leopard Board doesn't contain any peripherals and adapters, what else will I need?

A: There are some adapters necessary to bring up and some are nice to have for diagnosis etc.:

  • Serial cable adapter
  • Power adapter

Just received my board

Leopard Board information

DM365 Frequently Asked Questions

In this section some of the most common questions and errors a user might face is answered.


SD Card and External USB devices

  • Mounting the SD card and using the files in a SD cardWhen the power is applied boot process is finished, insert an SD card into the device. 

After a few seconds it will echo some info about the card like this:

mmc0: new high speed SDHC card at address b368

mmcblk0: mmc0:b368 NCard 7.47 GiB

mmcblk0:

Now we know the name of the device we need. (i.e. mmcblk0 in my device. It can be different in your device)

Now we need a folder on our LeopardBoard to use it as the mount point for our SD card.

I use a folder called CARD in the root for this purpose.

mkdir /CARD

now mount the SD card by:

mount /dev/mmcblk0 /CARD

If everything goes well, you won't see any errors.

now go to the folder we just created, and check the files in it.

cd /CARD

ls

All the files which are an the SD card are listed and can be used like a normal folder.


  • [USB Host] Use a USB mass storage devices (e.g. USB card reader, USB hard disk, USB flash disk,...)You need to change two jumpers in order to be able to power the external device.

They are J1 and J4. J1 is open by default. Close it for USB host mode.

J4 is on pins 1 and 2 by default. Set it to pins 2 and 3 for USB host mode.

Leoppard Board Jumpers for USB Host

Run the "make config" command and set the following:

1- Kernel configuration > Device Drivers > [*] USB support > <*> Support for Host-side USB
2- Kernel configuration > Device Drivers > [*] USB support > <*> Inventra Highspeed Dual Role Controller (TI, ADI, ...)
3- Kernel configuration > Device Drivers > [*] USB support > Driver Mode (USB Host) = (X) USB Host  
4- Kernel configuration > Device Drivers > [*] USB support > <*> USB Mass Storage support 

Please note that items 1,2,4 in the list above have asterisks (not M)

Compile and install.

Power up the device and wait for the boot completion

Connect an external USB device to the USB port (You might need a USB adapter to connect your device to your board)

Wait until it is ready and write down the name on the device.

Refer to the steps above for mounting the disk. (Steps for mounting an SD card.)


Memory errors

  • Memory error: CMEMK Error: Failed to find a pool which fits <poolsize>

If you get this error while trying to play or record a file, you can fix it in RRSDK2011Q2 as follows.

First of all make sure you have selected 720p (Not 480p) in make config under maximum video input buffer size

It increases the buffer size for the video engine and it is not related to your real output size. (e.g. You can have CVBS output with 480p resolution but you must select 720p for increasing the buffer size)

Then goto make config>Proprietary software and change the amount of memory you want to assign for cmem as follows:

Here are some typical values to be able to play and record H.264 480p video files.

Amount of Reserved memory from kernel:= 0x3b00000 (Default is 0x1D00000)

Amount of reserved memory for cmemk:= 0x3200000 (Default is 0xF00000)


Misc. questions

  • cmdline: Where is it?

Sometimes in some guides they ask you to change cmdline.

you can find it in your Linux machine at:

$DEVDIR/images/cmdline

you need to change it after any make command and before make install, as it is overwritten by the make command.


  • loadmodules.sh: Where is it?

In many guides including the official guide from RigdeRun, they ask you to run loadmodules.sh but where is it?

If you have RRSDK2011Q2, there is no loadmodules.sh file to edit or run. It is already integrated in the boot commands and loads automatically.

Instead, all the configuration files reside in $DEVDIR/fs/fs/etc and $DEVDIR/fs/fs/etc/init.d


RidgeRunSDK Installation problems

  • RidgeRunSDK installation looks stuck in one of the steps and I do not know whether it is still working or not
    Try running RRSDK from the command prompt without the GUI by:
./LeopardBoardDM365sdk-EVAL2011Q2-Linux-x86-Install.bin --mode console

and follow the prompts. It is more verbose than the GUI, and you can see what the problem is, and what it is doing.

  • RRSDK installation finishes very quickly and says that everything is ok, but there is no MAKE command available after install, inside the installation directory:
    While installing RidgeRunSDK, you must be connected to the internet at all times and during the installation, you must see a list of things it installs. (It takes from 10 min to 1 hour depending on the speed of your internet connection.)


RidgeRun SDK compile/make errors

  • I have messed up some files and I want a fresh install without the need to download and install RRSDK again:
    You can delete all the files and folders inside the installation directory of RR except Download and Installer.
    Then run this command in the root directory of your RRSDK: svn up 
    It will recreate all the directory structures and all needed files and re-downloads the patches and uses the files inside Download directory instead of downloading all of them again.


  • When I try to run make config, I get this error: "'DVSDK is currently on use by another RidgeRun SDK"
    Go to the installation directory of your TI DVSDK directory (Not the RidgeRun SDK!) and delete rrsdk-path, rules.make, rules.make
    Then issue a make command from inside the RidgeRunSDK directory.


  • I get an error that says, "Cannot compile DVSDK-x-x"
    Just install TI-DVSDK in the same directory again.


Leopard Board support

Q: What is the best way to get my question(s) answered?

A:

  • Search the related websites and mailing list to see if anyone has already asked your question and gotten an answer.
  • Visit the IRC channel for interactive support from your fellow community members. Please be patient as this is an all volunteer effort and people might not be paying attention when you type your question. Try at a few different times of the day and be sure to stay logged in to see any responses. Being polite will help you. You don't need to ask if you can ask a question, just ask :). If you have a large amount of text to share, please use a tool like [www.pastebin.com pastebin]. Please join #leopardboard on irc.freenode.net.
  • If you still cannot get an answer to your question, try posting it to the mailing list. There are many more people there, which means you should be even more polite and brief. Please give background on what you are trying to do as well as all pertinent information about what results you are seeing, but don't make people read your life's story to be able to help you, because they are not likely to answer if they must read a lot of extraneous information. It is best to follow typical guidelines for asking questions to hackers. Again, this is an all volunteer effort.

This answer is based on BeagleBoard frequently asked questions.