Hi All,
Please find the screen-shot attached herewith which shows the error log. I get Segmentation fault (core dumped) when I try to install the latest SDK (version 7) on Ubuntu 14.04 LTS 32 bit Operating system.
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.
I have managed to get the new SDK to install on 64 bit Ubuntu 14.04 LTS by making a couple of changes to the supplied scripts.
First because I am running a 64 bit host I needed to install the following libraries.
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
These libraries replace the ia32-libs library used in previous versions of Ubuntu.
Also make sure the downloaded SDK install file is the correct size. I had difficulty getting a complete file downloaded from the TI servers. The transfer would just stop with no error messages and leave me with a partial download. The file should match the size reported on the TI download page at http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html (currently 1951260K).
At this point I could run the installer and I installed the SDK to the default location, /opt/ti-sdk-...
I am currently modifying the setup scripts to work under 14.04 as well, but I have not been able to get them to complete yet.
First I had to add 14.04 (trusty) to the supported release at line 42 of setup-host-check.sh in the bin directory
if [ "$host" != "lucid" -a "$host" != "precise" -a "$host" != "trusty"]; then
Then I had to change the the name of the uboot package at line 56 of bin/setup-package-install.sh from uboot-mkimage to u-boot-tools
At this point the setup script runs correctly until the last step, setup-uboot-env.sh. This script fails because 14.04 has changed the location of the mounted SD card image from /media/boot to /media/<username>/boot. After fixing that I have run into permission problems when creating the uEnv.txt file.
I think I will start again from scratch in case I messed something up along the way. I will let you know how it goes.
HTH
Dennis Cote
Is there any plan to get the SDK 7 install executable rebuilt to execute correctly on Ubuntu14.04 (32bit)?
I'm trying to install everything inside a VirtualBox VM of Ubuntu 12.04. Everything installs fine in the 12.04 VM, however there's some things I can't do from the VM because 14.04 and/or VirtBox isn't able to expose the BeagleBone to the VM that I can figure out. However I can setup the VM "bridged" with my private network so the BBB can boot from the VM via TFTP and NFS. I just can't get the BBB's USB-ethernet IP (192.168.7.2). Ubuntu14.04 doesn't seem to route its other datalinks to that USB-based Ethernet datalink.
#$ uname -a
Linux XXXXXXXXXX 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
#$ apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libgnomevfs2-0:i386 liborbit2:i386 libjpeg62:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
#$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
#$ ./ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin --mode text
# uname -a
Linux cgrey-i7 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux
Now because I have the 32-bit version installed, the libs you listed aren't available:
# apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libgnomevfs2-0:i386 liborbit2:i386 libjpeg62:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lib32z1
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by regex 'lib32bz2-1.0'
I do have the correct Java version:
# java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK Server VM (build 24.51-b03, mixed mode)
What really got me moving forward was the next line:
# ./ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin --mode text
This finally executed without causing segmentation fault (core dump).
Once installed, I ran into the next set of issues when I tried to run the setup script which were actually not difficult to solve.
The setup-host-check.sh script in the ./bin directory is looking for the Ubuntu version to be 10.04 or 12.04. Since I'm running 14.04, this check fails. I edited the line that exits at that point by just placing a # to comment out the exit command. At this point, the setup continues. I imagine you can simply delete the line if you want. Whatever you want to do to prevent the abortion of the setup.
The next problem was discovered in setup-package-install.sh. It's trying to install uboot-mkimage which is no longer available for Ubuntu 14.04. It's been superseded by u-boot-tools so update the script to include u-boot-tools instead. To ensure all went well, I actually manually installed each component listed in this script. With all of them already present, the script moves along much faster.
At this point, everything should be setup and able to be used just as if you were running on Ubuntu 12.04.
The only additional thing I do is to replace tftpd with tftpd-hpa because I found that version transfers the kernel image about twice as fast as the older tftpd does. Although, you do have to reconfigure it to know where your ./tftpboot folder is.
Directions on tftpd-hpa can be found here:
http://www.cyberciti.biz/faq/install-configure-tftp-server-ubuntu-debian-howto/
Details on testing a tftp server can be found here:
http://mohammadthalif.wordpress.com/2010/03/05/installing-and-testing-tftpd-in-ubuntudebian/
I have had issues immediately after installing tftpd-hpa where everything shows it running, but it's not really communicating. You may need to reboot the machine. There probably was a way to "fix" it without resorting to that, but I just wasn't patient enough to bother. If you don't want to go through all that, skip the tftpd-hpa upgrade. It's not necessary.