[Click] [SPAM] - Re: compile click to powerpc target problem - Email found in subject

Leung, Chu Chu.Leung at gdcanada.com
Tue Apr 1 10:55:55 EDT 2008


Hi Joonwoo,

no words can express my gratitude for your help,
i will try this asap,
and will update you with the result;

i am sorry that i did not provide enough info,
my target is a Lite mpc5200b,
and the host env is an old dell running ubuntu 
with kernel 2.6.19.2
and have a denx cross compile env

the denx cross compile env is setup 
to cross compile for ppc_6xx

so i will modify your suggestions a bit 
to use my configured denx

fyi 
Canada is a very nice place, and 
you will not be disappointed on
our beautiful nature and friendliness

regards and many thanks,
-chu


-----Original Message-----
From: Joonwoo Park [mailto:joonwpark81 at gmail.com] 
Sent: Tuesday, April 01, 2008 6:46 AM
To: Leung, Chu
Cc: Joonwoo Park; click at pdos.csail.mit.edu
Subject: [SPAM] - Re: [Click] compile click to powerpc target problem -
Email found in subject

2008/4/1, Joonwoo Park <joonwpark81 at gmail.com>:
> On Mon, Mar 31, 2008 at 08:56:28AM -0600, Leung, Chu wrote:
> > Hi Joonwoo,
>
> Chu,
>
> >
> > thanks a lot for your suggestion,
> > i did try this,
> > actually when i do make menuconfig
> > the patched kernel 2.6.19.2,
> > i experimentally unselect most options, the kernel hacking is among 
> > those unselected.
>
> The click linux patch has some problems for target powerpc.
> (target ppc needs pretty hard work, I suppose. so 2.6.24 should handle

> it for it, IMHO) Briefly, I made a extra patch for the powerpc. apply 
> it after as a second linux patch.
> Please try it with the instructions below.
>
> >
> > when i do the configure for the click, here is my command:
> >
> > ./configure ARCH=ppc --host=ppc-linux --enable-linuxmodule \ 
> > --with-linux=/myDir --enable-tools=host --disable-userlevel
>
> ARCH=powerpc CC=powerpc-softfloat-linux-gnu-gcc
> CXX=powerpc-softfloat-linux-gnu-g++ LD=powerpc-softfloat-linux-gnu-ld 
> ./configure --with-linux=/home/jason/click/git/linux-2.6.19.2
> --enable-linuxmodule --disable-userlevel 
> --target=powerpc-softfloat-linux-gnu --host=i686-pc-linux-gnu 
> --disable-multithread
>
> >
> > and i still got the 2 common reasons for the configure error
> >
> > i went over the config.log,
> > and one common type of configure error is:
> > file not find in asm/ (which is link to asm-ppc)
> >
> > the complained missing files can be found in i386, or powerpc dir, 
> > but not in ppc, i did also try changing the target type from ppc to 
> > powerpc, but there are other types of complains, and end up with the

> > same 2 common reasons for the configure error
>
> There weird problem with CONFIG_HIGHMEM=y on powerpc, please turn it 
> off first.
> FYI, I'm attaching my config as well.
>
> >
> > furthermore,
> > i also tried all these on an apple machine with powerpc, so i no 
> > longer needed the cross compile, and just did a native compile; 
> > however, i ended up with the same 2 common reasons (also with the 
> > kernel make menuconfig options  stripped down to almost nothing 
> > included)
>
> On the gentoo:
> You can get cross compiler for ppc:

Ahhh, for powerpc not ppc. sorry :-(

>
> $sudo emerge crossdev
> $sudo crossdev -t powerpc-softfloat-linux-gnu
>
> And build linux:
>
> $make -j4 ARCH=powerpc CROSS_COMPILE=powerpc-softfloat-linux-gnu-
>
> Finally build click:
>
> $CROSS_COMPILE=powerpc-softfloat-linux-gnu-
> LD=powerpc-softfloat-linux-gnu-ld NM=powerpc-softfloat-linux-gnu-nm 
> ARCH=powerpc make linuxmodule V=1
>
> >
> > are there any doc out there about how to do the proper cross 
> > compiling of the click kernel module?
>
> AFAIKS, No. :-(
>
> >
> > thanks and appreciate your help
> > regards,
> > -chu
> >
>
> Please don't drop CC-ed list next time. :-)
>
> Thanks,
> Joonwoo
>
>

The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. 
Thank you. 




More information about the click mailing list