| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| me7k-redist.tar.gz | 2022-03-15 | 1.7 GB | |
| README | 2022-03-15 | 2.4 kB | |
| me7k-v2.0-oss-2016-12-28.tgz | 2017-01-19 | 815.3 MB | |
| Totals: 3 Items | 2.5 GB | 0 |
The current existing heirarchy of ME7K source expects the cross-tool-chain (Follow steps 1 OR 2 from below to setup the cross-tools) to be placed under /dvstools directory for compilation.
The cross-tool requires the following packages, gcj-jdk, libexpat1-dev, bison, flex, gperf, texinfo, gawk, libtool, automake, libncurses5-dev, g++
Follow steps 1 OR 2 from below
1. cross-tool for gcc 4.7.2
<prompt>cd me7k-redist/ext-sw/cross-tools/
<prompt>tar -xkf crosstool-ng-1.17.0.tar.gz
<prompt>cd crosstool-ng-1.17.0
<prompt>./configure --prefix=/some/place
<pronpt>make
<prompt>make install
<prompt>export PATH="${PATH}:/some/place/bin"
<prompt>mkdir build; cd build
<prompt>cp ../../ct-ng-gcc-4.7.2-glibc-2.15.config .config
<prompt>ct-ng build
2. cross-tool for gcc 5.1.1:
<prompt>cd me7k-redist/ext-sw/cross-tools/
<prompt>tar -xkf crosstool-ng-1.21.0.tar.gz
<prompt>cd crosstool-ng-1.21.0
<prompt>./configure --prefix=/some/place
<pronpt>make
<prompt>make install
<prompt>export PATH="${PATH}:/some/place/bin"
<prompt>mkdir build; cd build
<prompt>cp ../../ct-ng-gcc-5.1.1-glibc-2.21_x86_64.config .config
<prompt>ct-ng build
Now, the tool-chain will be built under $HOME/dvstools/crosstool
Note that each of the above two compilation would take anywhere upto 2-3 hours and require close to 4G of space in home directory.
Since the source expects the tool-chain to be present at /dvstools, create a symbolic link of cross-tool[] to /dvstools as follows:
If step 1 is selected above (cross-tool for gcc 4.7.2)
<prompt> cd $HOME
<prompt> ln -s $HOME/dvstools/crosstool/gcc-4.7.2-glibc-2.15 /dvstools/crosstool/gcc-4.7.2-glibc-2.15
<prompt> ln -s $HOME/dvstools/crosstool/gcc-4.7.2-glibc-2.15 /dvstools/crosstool/gcc-5.1.1-glibc-2.21
If step 2 is selected above (cross-tool for gcc 5.1.1)
<prompt> cd $HOME
<prompt> ln -s $HOME/dvstools/crosstool/gcc-5.1.1-glibc-2.21 /dvstools/crosstool/gcc-5.1.1-glibc-2.21
<prompt> ln -s $HOME/dvstools/crosstool/gcc-5.1.1-glibc-2.21 /dvstools/crosstool/gcc-4.7.2-glibc-2.15
With all the tool-chain in place, the source code can be compiled as follows:
<propmt> cd me7k-redist/build-tools
<prompt> make; make install
Now, the binary output files(me7k_redist-1.0.0.tgz) will be generated under me7k-redist/build/, which contains the following files
driver.tgz ramfs-base.tgz and vmlinuz