CUDA6.5 setup problem (in jetson)

I am trying to get the sample projects to run on the following setup:
OS: Ubuntu 14.04
CUDA: 6.5
HARD: Jetson TK1

I went to set up the CUDA this site ( http://elinux.org/Jetson/Installing_CUDA ) to reference.
And I was able to make compile.
But,“simpleGL” and etc… can not be run.
CUDA error at …/…/common/inc/helper_cuda.h:1032 code=35(cudaErrorInsufficientDriver) “cudaGetDeviceCount(&device_count)”
Error is displayed.

Please help me.

Your jetson has an older (CUDA 6.0) driver on it. When you compiled on your Ubuntu 14.04 setup against the CUDA 6.5 libraries, the executable built that way will require a 340.xx driver or newer. But your jetson probably has a 331.xx driver or thereabouts.

Thank you for replies, txbob!

How can I check doing I do?
And how to install it?

I tried to install the driver.

sudo add-apt-repository ppa:mamarley/nvidia
sudo apt-get update
sudo apt-get install nvidia-340

“E: Unable to locate package nvidia-340”
Error is displayed.

You may want to put L4T R21 on your jetson

https://developer.nvidia.com/jetson-tk1-development-pack

I was successful, thank txbob!
I am very grateful!

Then, I’ve installed “LT4 R21” in reference to this video.
( https://www.youtube.com/watch?v=1ZyACoenTNM&list=UUQs0lwV6E4p7LQaGJ6fgy5Q )

Thank you very much.