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

Joonwoo Park joonwpark81 at gmail.com
Fri Apr 4 01:51:28 EDT 2008


2008/4/3, Leung, Chu <Chu.Leung at gdcanada.com>:
>
> Hi Joonwoo,
>
> thanks again for you time & help;

Your welcome, if I were not burdened I could be more helpful, sorry about it.

>
> i will reinstall the denx later,
> and set the target to be powerpc instead of ppc,
> and try again.
>
> i did apply the original patch first then
> the new one,
> i will try the p1 also.
>

> do you have any idea when will the new click releases?

In fact, I cannot say about it, as well
Maybe only Eddie could know about it.

> will the new one has better support on ppc?
> may be i should wait for the new release :)

However I'm pretty sure, patches from someone who includes you and I
would make better support for the ppc :-)

Thanks,
Joonwoo

>
> -----Original Message-----
> From: click-bounces at pdos.csail.mit.edu
> [mailto:click-bounces at pdos.csail.mit.edu] On Behalf Of Joonwoo Park
> Sent: Tuesday, April 01, 2008 8:04 PM
> To: Leung, Chu
> Cc: click at pdos.csail.mit.edu
> Subject: [SPAM] - Re: [Click] [SPAM] - Re: compile click to powerpc
> target problem -Email found in subject - Email found in subject
>
> Chu,
>
> With a quick view.
>
> 2008/4/2, Leung, Chu <Chu.Leung at gdcanada.com>:
> > Hi Joonwoo,
> >
> > thanks for your help;
> > i still use the ppc instead of the powerpc, since i configure the denx
>
> > env to cross compile to ppc_6xx ( i think the ppc will give me some
> > idea of what will happen,  and will reconfigure the denx to powerpc
> > later, then try again)
>
> My patch won't be help for ppc, I think
>
> >
> > i tried the patch, and
> > had the following results:
> > - tried patch -p0 -b < click-linux-2.6.19.2.powerpc.patch
>
> maybe patch -p1 ?
>
> >  (in linux source dir)
> > - but it complains no such file or the -p option is incorrect
> > - modified the files:
> >  - include/asm-powerpc/system.h &
> >  - include/net/checksum.h
> >  as indicated in the patch
> > - cross compile the kernel
> > - have problem in doing the click configure  the attached compressed
> > file contains my
> >  - .config &
> >  - extracted config.log file
> >    (left with cross compile info and configure errors)
> >
>
> However it should be applied without any complains, did you apply
> original version of patch (etc/linux-2.6.19.2-patch)?
> Please apply version of mine after applying the one of the click.
>
> > please shed some lights on what i have done wrong regards, -chu
> >
> >
>
> Thanks,
> Joonwoo
>
> > -----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.
> >
> >
> >
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list