Does anyone have any updated installation / getting started instructions?
All of the ones that I've read seem out of date, as they mention a RidgeRun bin file, that is not the file that RidgeRun now wants you to get.
I've also had issues making the newest RidgeRun SDK as the installation directions tell you to install the toolchain in the main /opt directory, but then when I attempt to make the file, it cannot find the toolchain.
Any help would be greatly appreciated as I'm trying to get the board up and running to compare the different cameras that I bought.
This has been the newest installation guide I can find:
www.ridgerun.com/.../SDK_Release_for_DM365_Leopard_Board
Even with this, the toolchain doesn't map properly. I get the following error:
ERROR: Either install the toolchain or add the toolchain to your PATH
Hi,
That link will lead to this one www.ridgerun.com/.../DM365-Leopard_SDK_Getting_Started_Guide which has more detailed information.
Double check that you have a directory named /opt/arm-linux-gnueabi (there should be several files/dirs inside it)
Pablo BarrantesEmbedded Software EngineerRidgeRun
Pablo -
I had the /opt/arm-linux-gnueabi directory yesterday when I was trying to make the file. However, I still received that error I posted above.
Any suggestions? I had gotten to an almost working point, then ran out of space on my Virtual Machine, so had to start over and haven't made it as far as I had before...
Hi WahooWon,
If you ran out of disk space, then delete the SDK and the toolchain (in /opt/arm-linux-gnueabi), free up some disk space, and start over. You will run into endless problems if part of the SDK or toolchain got installed, but not all of it.
Also, based on your feedback, I updated
www.ridgerun.com/.../DM365_Leopard_SDK_Getting_Started_Guide
The more specific you are on how to improve our documentation, the better it will get for the entire community.
Also, when you have a problem, please rerun make with VERBOSE=1, as in
make VERBOSE=1
and past the error message and a bunch of output before the error message so we have the details needed to provide a detailed answer to your question.
Todd
Todd -
Going through your updated steps, I verified that the toolchain was in its correct location (35 files to be exact).
After this, I try to make config, and it fails. Here's what I attempted:
gs-n@gs-n-laptop:~$ cd leo365
gs-n@gs-n-laptop:~/leo365$ make config
make[1]: *** [toolchaincheck] Error 255
make: *** [.oscheck] Error 2
gs-n@gs-n-laptop:~/leo365$ (make env)
export DEVDIR=/home/gs-n/leo365
export PATH=/opt/arm-linux-gnueabi/bin:/home/gs-n/leo365/bsp/local/bin:/home/gs-n/leo365/bsp/local/bin:/home/gs-n/leo365/bsp/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
gs-n@gs-n-laptop:~/leo365$ make config VERBOSE=1
make -C bsp/oscheck oscheck
make[1]: Entering directory `/home/gs-n/leo365/bsp/oscheck'
arm-linux-gnueabi-gcc --version 1>/dev/null 2>&1 || ( echo -e "\n\nERROR: Either install the toolchain or add the toolchain to your PATH\n" ; exit -1 )
make[1]: Leaving directory `/home/gs-n/leo365/bsp/oscheck'
Please let me know what I am doing incorrectly.
Thanks,
Greg
Greg,
You didn't show the update steps.
What do you get if you
cd $DEVDIR
fgrep CC bsp/oscheck/Makefile
I get
$(V) $(CONFIG_TOOLCHAIN_PATH)/bin/$(CC) --version 1>/dev/null 2>&1 || ( echo -e "\n\nERROR: Need to install the toolchain or configure the SDK toolchain path\n" ; exit -1 )
fgrep CONFIG_TOOLCHAIN_PATH bsp/mach/bspconfig
CONFIG_TOOLCHAIN_PATH="/opt/arm-linux-gnueabi"
My output seems to match yours:
gs-n@gs-n-laptop:~/leo365$ fgrep CC bsp/oscheck/Makefile
$(V) $(CC) --version 1>/dev/null 2>&1 || ( echo -e "\n\nERROR: Either install the toolchain or add the toolchain to your PATH\n" ; exit -1 )
gs-n@gs-n-laptop:~/leo365$ fgrep CONFIG_TOOLCHAIN_PATH bsp/mach/bspconfig
Not sure what is wrong...
Hi Greg,
You're not getting the same output as Todd, you get
$(V) $(CC)...
and he gets
$(V) $(CONFIG_TOOLCHAIN_PATH)/bin/$(CC)...
Do:
cd bsp/oscheck
svn up Makefile
That should work
Pablo
Todd, Pablo -
I'm able to start to make the file, but run into the following issue:
Ridgerun Linux SDK
Board configuration: Leopard Board DM365
Processing toolchain...
Build complete
Processing kernel...
<stdin>:1351:2: warning: #warning syscall migrate_pages not implemented
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
Processing fs...
Checking for host packages required by the SDK target applications...
Host machine has all required packages.
Entering host-apps...
Entering apps...
Checking dependencies for alsa-lib-1.0.21
Compiling and installing alsa-lib-1.0.21...
Checking dependencies for alsa-utils-1.0.21
Checking dependencies for ncurses-5.6
Compiling and installing ncurses-5.6...
Compiling and installing alsa-utils-1.0.21...
Checking dependencies for busybox-1.14.2
Compiling and installing busybox-1.14.2...
Checking dependencies for freetype-2.3.1
Compiling and installing freetype-2.3.1...
Checking dependencies for gettext-0.16
Compiling and installing gettext-0.16...
Checking dependencies for glib-2.16.5
Checking dependencies for libiconv-1.11
Compiling and installing libiconv-1.11...
Compiling and installing glib-2.16.5...
Checking dependencies for gst-plugins-bad-0.10.13
Checking dependencies for gstreamer-0.10.23
Checking dependencies for zlib-1.2.3
Compiling and installing zlib-1.2.3...
Checking dependencies for libxml2-2.6.27
Compiling and installing libxml2-2.6.27...
Compiling and installing gstreamer-0.10.23...
Checking dependencies for liboil-0.3.15
Compiling and installing liboil-0.3.15...
Checking dependencies for gst-plugins-base-0.10.23
Checking dependencies for libogg-1.1.3
Compiling and installing libogg-1.1.3...
Checking dependencies for libvorbis-1.1.2
Compiling and installing libvorbis-1.1.2...
Compiling and installing gst-plugins-base-0.10.23...
Compiling and installing gst-plugins-bad-0.10.13...
Checking dependencies for gst-plugins-good-0.10.14
Compiling and installing gst-plugins-good-0.10.14...
Checking dependencies for gst-plugins-ugly-0.10.11
Compiling and installing gst-plugins-ugly-0.10.11...
Checking dependencies for gst-tracelib-0.2
Compiling and installing gst-tracelib-0.2...
Checking dependencies for i2c-tools-3.0.2
Compiling and installing i2c-tools-3.0.2...
Checking dependencies for ipipe_init
Compiling and installing ipipe_init...
Checking dependencies for jpeg-6b
Compiling and installing jpeg-6b...
Checking dependencies for libpng-1.2.8
Compiling and installing libpng-1.2.8...
Checking dependencies for mtdutils-1.0.0
Compiling and installing mtdutils-1.0.0...
flashcp.c:258:2: warning: #warning "Check for smaller erase regions"
Checking dependencies for psplash
Compiling and installing psplash...
Checking dependencies for sysvinit
Compiling and installing sysvinit...
Entering /home/gs-n/leo365/toolchain...
Entering arch...
Checking dependencies for base
Compiling and installing base...
Entering mach...
Entering proprietary_src...
Checking dependencies for dvsdk_3_10_00
Compiling and installing dvsdk_3_10_00...
Checking dependencies for gst-dmai-plugins
Compiling and installing gst-dmai-plugins...
Checking out the code from subversion...
Password for '(null)' GNOME keyring:
svn: OPTIONS of 'gstreamer.ti.com/.../ticodecplugin&: authorization failed: Could not authenticate to server: rejected Basic challenge (https://gstreamer.ti.com)
make[3]: *** [src] Error 1
Error building gst-dmai-plugins
make[2]: *** [dependency_build] Error 1
make[1]: *** [proprietary_src_build] Error 1
make: *** [fs_build] Error 2
I've tried to install gstream myself, and get the following errors:
gs-n@gs-n-laptop:~/gst-dmai-plugins$ make all
make[1]: Entering directory `/home/gs-n/gst-dmai-plugins'
Building opensource_build
make[2]: Entering directory `/home/gs-n/gst-dmai-plugins/opensource_build'
make[3]: Entering directory `/home/gs-n/gst-dmai-plugins/opensource_build'
make[4]: Entering directory `/home/gs-n/gst-dmai-plugins/opensource_build'
***** Extracting glib
***** Configuring glib
configure: WARNING: using cross tools not prefixed with host triplet
configure: error: in `/home/gs-n/gst-dmai-plugins/opensource_build/glib-2.21.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[4]: *** [glib.configure] Error 77
make[4]: Leaving directory `/home/gs-n/gst-dmai-plugins/opensource_build'
make[3]: *** [base] Error 2
make[3]: Leaving directory `/home/gs-n/gst-dmai-plugins/opensource_build'
make[2]: *** [.base] Error 2
make[2]: Leaving directory `/home/gs-n/gst-dmai-plugins/opensource_build'
make[1]: *** [opensource_build] Error 2
make[1]: Leaving directory `/home/gs-n/gst-dmai-plugins'
make: *** [all] Error 2
Any advice would be great. Until I get gstream up, I can't make the RidgeRun SDK