List Info

Thread: Re: TRying to compile up linux 2.6




Re: TRying to compile up linux 2.6
country flaguser name
United States
2008-03-05 00:36:05

--- In ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, Jeff Cunningham <jeffrey...> wrote:
&gt;
> Did you look back through the archives of this list? There are several
> lengthy discussions in the last six months on building 2.6 kernels.
>
> Or, you could take a look at a page I made for a friend who was trying
> to duplicate mine:
&gt;
> http://cunningham.homeip.net/ts7200.html
>
> Its the section titled: "Building and Setting up a 2.6 Kernel&quot; about
1/3
> of the way down.
&gt;
> -Jeff

Sorry about the delay here I have been very busy at work lately. I
have followed the instructions on your web page and have not had any
luck. First of all the nano commands don't seem to work, but i think
nano is some sort of editor. Am i wrong in assuming this? Second in
the make files you provide the directory of the compiler is
";/home/richard/ts7200/2.6/arm-none-linux-gnueabi/bin" so when editing
the script file I put "../arm-none-linux-gnueabi/bin" and left
everything else alone. when I went to do the command
"arm-none-linux-gnueabi/bin" i received the following errors:
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
16: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
17: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory

and when I did the build command "sh build.sh&quot; I received these
errors:/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh:
line 16: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such
file or directory
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
17: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory
make: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: Command not found
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
16: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
17: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/i386/Kconfig
include/config/auto.conf:272:warning: symbol value
'console=ttyAM0,115200 root=/dev/nfs ip=dhcp' invalid for CMDLINE
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
16: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory
/home/richard/ts7200/2.6/linux-2.6.23-rc1/scripts/gcc-version.sh: line
17: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such file or
directory
make: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: Command not found
CHK include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
CC arch/i386/kernel/asm-offsets.s
/bin/sh: ../arm-none-linux-gnueabi/arm-none-linux-gnueabi-: No such
file or directory
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Im not sure whats going on here by looking at these errors it would
seem that the scripts are not really pointing tot he compilers. Any
help would be appreciated.

Regards,

Richard

__._,_.___
.

__,_._,___
Re: TRying to compile up linux 2.6
user name
2008-03-05 04:11:08

Hi,

Richard < sven115%40cave.gotdns.org">sven115cave.gotdns.org> [20080305 06:36:05 -0000]:
>
> --- In ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, Jeff Cunningham <jeffrey...> wrote:
&gt; >
>; > Did you look back through the archives of this list? There are several
> > lengthy discussions in the last six months on building 2.6 kernels.
> >
> > Or, you could take a look at a page I made for a friend who was trying
> > to duplicate mine:
&gt; >
> > http://cunningham.homeip.net/ts7200.html
> >
> > Its the section titled: "Building and Setting up a 2.6 Kernel&quot; about 1/3
> > of the way down.
&gt;
> Sorry about the delay here I have been very busy at work lately. I
> have followed the instructions on your web page and have not had any
> luck.
&gt;
Depends on the distro you are using however if you are using Debian the
'official' approach would be to use emdebian-tools to roll your own
toolchain; this however I found broken when I tinkered with it a month ago.

If you do not mind installing pre-alien'ed RPM packages on your box then:

http://www.freaknet.org/martin/crosstool/packages/

I downloaded:

http://www.freaknet.org/martin/crosstool/packages/arm-crosstool-linux-gnueabi-gcc-4.1.1-glibc-2.5-crosstool_0.42-1_i686.deb

Afterwards all you need is the alias in your shell:

alias amake='make ARCH=arm CROSS_COMPILE=arm-crosstool-linux-gnueabi-'

Then type 'amake' instead of 'make' to cross compile your kernel.

Alternatively, if you are not so bothered about EABI, then a good APT source:

http://debian.speedblue.org/

Cheers

Alex

--
_________________________________________
/ A good reputation is more valuable than
| money. |
| |
-- Publilius Syrus /
-----------------------------------------
^__^
(oo)_______
(__) )/
||----w |
|| ||

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )