Hey everyone, I am brand new to the ELDK and am having some trouble with installation and forming an overall understanding how to use the ELDK.
Here is some information about the setup I am using: Target - AMCC PowerPC 460 EX Host - Red Hat Enterprise Linux Server, Release 5.2 (Tikanga) Tool chain - eldk-eglibc-i686-powerpc-toolchain-gmae-5.2.1.tar.bz2 Root File System - core-image-base-generic-powerpc-4xx.tar.gz I have been following the instructions on http://www.denx.de/wiki/ELDK-5/WebHome. So far I have correctly setup the eldk-download directory and the targets/powerpc-4xx sub-directories and downloaded the install script, target.conf file, tool chain, and RFS. However, when I attempt to run the installation script I receive an error. Below is what the terminal displays: $ ./install.sh -s game -r base powerpc-4xx mktemp: invalid option -- - Usage: mktemp [-V] \ [-dqtu] [-p prefix] [template] It appears that the use of "tmpdir" in install.sh was the cause of the error. So, I decided to bypass the script and unzip the tool chain into my host /opt directory and create a directory called rootfs-base in the newly created /opt/eldk-5.2.1/powerpc-4xx directory and unzip the RFS into that. Is that correct? I am unsure if I have installed the ELDK correctly or not. Next, I also setup all of the environment variables in the environment-setup-ppc440e-linux file and set ARCH and CROSS_COMPILE. I proceeded to test if I installed the ELDK correctly by using a small C program called test.c. However, I was unsuccessful. (I verified that the code compiled and ran successfully on my host system.) C code: #include <stdio.h> int main () { printf("This is a test!\n"); } Terminal Display: $ ppc-linux-gcc test.c -o test -bash: ppc-linux-gcc: command not found $ {CROSS_COMPILE}gcc test.c -o test -bash: {CROSS_COMPILE}gcc: command not found So, I proceeded to double check my environment variables and those seem to be correct. Terminal Display: $ echo $ARCH powerpc $ echo $CROSS_COMPILE powerpc-linux- $ echo $PATH /opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux/usr/bin: /opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux/usr/bin/ppc440e-linux: /opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux/usr/bin: /opt/eldk-5.2.1/powerpc-4xx/sysroots/i686-eldk-linux/usr/bin/ppc440e-linux: usr/kerberos/sbin: /usr/kerberos/bin: /usr/local/sbin: /usr/local/bin: /sbin: /bin: /usr/sbin: /usr/bin: /root/bin So, I am not sure how to proceed. If anyone can give some guidance for installing the ELDK and how to use it, I would greatly appreciate it. Kindest Regards, Frank Frank Laritz II General Dynamics AIS Electrical Engineer Tel. 973-765-5275
_______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
