linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problems on porting linux 2.6 to xilinx ML410
@ 2007-08-24  3:11 woyuzhilei
  2007-08-24 18:21 ` Grant Likely
  0 siblings, 1 reply; 9+ messages in thread
From: woyuzhilei @ 2007-08-24  3:11 UTC (permalink / raw)
  To: grant.likely; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]

Hey:
    Recently I'm doing some project on Xilinx Ml410 evaluation board.The first step is porting linux 2.6 to ml410,but I got some problems on this,and my project cann't proceed,so I come to you for some help.
    I use the linux kernel source tree download from  http://git.secretlab.ca/git/linux-2.6-virtex.git  (The latest one).Add the file the xparameters.h,xparameter_ml40x.h.  Then add arch/ppc/platforms/4xx/xilinx_generic_ppc.c(Use the patch I get here),and change it's name to ml40x.c,then I make some necessay change of the configuration files to accept selecting a Ml40x type board.Then compile the kernel,and get the image file from arch/ppc/boot/images, (On kernel compiling,the only device driver  I sellect is " 8250/16550 and compatible serial support ").After that  I download the zImage.elf file to the target board,and run it.But there is no output from the serial port at all.Am I doing somthing wrong?I really don't know goes wrong.
    Can anyone here help me with this?Any help from you is appreciated.Thank you very much!

        


                                                                                                                                                                                    woyuzhilei
                                                                                                                                                                                     2007-08-24

[-- Attachment #2: Type: text/html, Size: 3952 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems on porting linux 2.6 to xilinx ML410
  2007-08-24  3:11 Problems on porting linux 2.6 to xilinx ML410 woyuzhilei
@ 2007-08-24 18:21 ` Grant Likely
  2007-08-25  7:37   ` woyuzhilei
  2007-08-25  8:48   ` how to get your linux-2.6-virtex tree? Ming Liu
  0 siblings, 2 replies; 9+ messages in thread
From: Grant Likely @ 2007-08-24 18:21 UTC (permalink / raw)
  To: woyuzhilei; +Cc: linuxppc-embedded

On 8/23/07, woyuzhilei <woyuzhilei@163.com> wrote:
>
>
> Hey:
>     Recently I'm doing some project on Xilinx Ml410 evaluation board.The
> first step is porting linux 2.6 to ml410,but I got some problems on this,and
> my project cann't proceed,so I come to you for some help.
>     I use the linux kernel source tree download from
> http://git.secretlab.ca/git/linux-2.6-virtex.git  (The
> latest one).Add the file the xparameters.h,xparameter_ml40x.h.  Then add
> arch/ppc/platforms/4xx/xilinx_generic_ppc.c(Use the patch I
> get here),and change it's name to ml40x.c,then I make some necessay change
> of the configuration files to accept selecting a Ml40x type board.

You shouldn't need to do all of this; only the xparameters_ml40x.h
file is needed.  To get started, I'd just use replace
xparameters_ml403.h with your custom xparameters_ml40x.h and use the
ml403 board port.  Once you've got it booting, you can get more fancy.

> Then
> compile the kernel,and get the image file from arch/ppc/boot/images, (On
> kernel compiling,the only device driver  I sellect is " 8250/16550 and
> compatible serial support ").After that  I download the zImage.elf file to
> the target board,and run it.But there is no output from the serial port at
> all.Am I doing somthing wrong?I really don't know goes wrong.
>     Can anyone here help me with this?Any help from you is appreciated.Thank
> you very much!

Make sure you've got 16550 console support enabled and
'console=/dev/ttyS0' in your kernel command line.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: Problems on porting linux 2.6 to xilinx ML410
  2007-08-24 18:21 ` Grant Likely
@ 2007-08-25  7:37   ` woyuzhilei
  2007-08-25  8:48   ` how to get your linux-2.6-virtex tree? Ming Liu
  1 sibling, 0 replies; 9+ messages in thread
From: woyuzhilei @ 2007-08-25  7:37 UTC (permalink / raw)
  To: Grant Likely; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]


Thank you very much for your help!I think there may be somthing wrong with my kernel command  line.



woyuzhilei
2007-08-25



发件人: Grant Likely
发送时间: 2007-08-25 02:21:11
收件人: woyuzhilei
抄送: linuxppc-embedded
主题: Re: Problems on porting linux 2.6 to xilinx ML410

On 8/23/07, woyuzhilei  <woyuzhilei@163.com > wrote:
>
>
> Hey:
>     Recently I'm doing some project on Xilinx Ml410 evaluation board.The
> first step is porting linux 2.6 to ml410,but I got some problems on this,and
> my project cann't proceed,so I come to you for some help.
>     I use the linux kernel source tree download from
> http://git.secretlab.ca/git/linux-2.6-virtex.git  (The
> latest one).Add the file the xparameters.h,xparameter_ml40x.h.  Then add
> arch/ppc/platforms/4xx/xilinx_generic_ppc.c(Use the patch I
> get here),and change it's name to ml40x.c,then I make some necessay change
> of the configuration files to accept selecting a Ml40x type board.

You shouldn't need to do all of this; only the xparameters_ml40x.h
file is needed.  To get started, I'd just use replace
xparameters_ml403.h with your custom xparameters_ml40x.h and use the
ml403 board port.  Once you've got it booting, you can get more fancy.

> Then
> compile the kernel,and get the image file from arch/ppc/boot/images, (On
> kernel compiling,the only device driver  I sellect is " 8250/16550 and
> compatible serial support ").After that  I download the zImage.elf file to
> the target board,and run it.But there is no output from the serial port at
> all.Am I doing somthing wrong?I really don't know goes wrong.
>     Can anyone here help me with this?Any help from you is appreciated.Thank
> you very much!

Make sure you've got 16550 console support enabled and
'console=/dev/ttyS0' in your kernel command line.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

[-- Attachment #2: Type: text/html, Size: 5832 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to get your linux-2.6-virtex tree?
  2007-08-24 18:21 ` Grant Likely
  2007-08-25  7:37   ` woyuzhilei
@ 2007-08-25  8:48   ` Ming Liu
  2007-08-25 14:10     ` Grant Likely
  1 sibling, 1 reply; 9+ messages in thread
From: Ming Liu @ 2007-08-25  8:48 UTC (permalink / raw)
  To: grant.likely; +Cc: linuxppc-embedded

Dear Grant,
I am trying to get your linux-2.6-virtex tree. When I release the command 
"git-clone git://git.secretlab.ca/git/linux-2.6-virtex.git", it shows 

fatal: unexpected EOF
fetch-pack from 'git://git.secretlab.ca/git/linux-2.6-virtex.git' failed.

How can I get your tree? Thanks for your telling.

BR
Ming

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how to get your linux-2.6-virtex tree?
  2007-08-25  8:48   ` how to get your linux-2.6-virtex tree? Ming Liu
@ 2007-08-25 14:10     ` Grant Likely
  2007-08-25 14:29       ` Jon Smirl
  2007-08-25 14:46       ` Ming Liu
  0 siblings, 2 replies; 9+ messages in thread
From: Grant Likely @ 2007-08-25 14:10 UTC (permalink / raw)
  To: Ming Liu; +Cc: linuxppc-embedded

On 8/25/07, Ming Liu <eemingliu@hotmail.com> wrote:
> Dear Grant,
> I am trying to get your linux-2.6-virtex tree. When I release the command
> "git-clone git://git.secretlab.ca/git/linux-2.6-virtex.git", it shows
>
> fatal: unexpected EOF
> fetch-pack from 'git://git.secretlab.ca/git/linux-2.6-virtex.git' failed.

Hmmm....  Works fine from my machines.

What does 'dig git.secretlab.ca' tell you?  I see this:
;; ANSWER SECTION:
git.secretlab.ca.       1320    IN      A       208.123.74.12

Have you tried the git:// protocol?

This is what I get when I clone from another machine:

grant@trillian:~/temp$ git-clone
git://git.secretlab.ca/git/linux-2.6-virtex.git
Initialized empty Git repository in /home/grant/temp/linux-2.6-virtex/.git/
remote: Generating pack...
remote: Counting objects: 504459
remote: Done counting 548333 objects.
remote: Deltifying 548333 objects...
remote:  100% (548333/548333) done
Indexing 548333 objects...
remote: Total 548333 (delta 445331), reused 547457 (delta 444455)
 100% (548333/548333) done
Resolving 445331 deltas...
 100% (445331/445331) done
Checking 22546 files out...
 100% (22546/22546) done
grant@trillian:~/temp$

---
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how to get your linux-2.6-virtex tree?
  2007-08-25 14:10     ` Grant Likely
@ 2007-08-25 14:29       ` Jon Smirl
  2007-08-25 14:46       ` Ming Liu
  1 sibling, 0 replies; 9+ messages in thread
From: Jon Smirl @ 2007-08-25 14:29 UTC (permalink / raw)
  To: Grant Likely; +Cc: linuxppc-embedded

On 8/25/07, Grant Likely <grant.likely@secretlab.ca> wrote:
> Hmmm....  Works fine from my machines.
>
> grant@trillian:~/temp$ git-clone
> git://git.secretlab.ca/git/linux-2.6-virtex.git

I just checked it for you, both http and git are working.

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how to get your linux-2.6-virtex tree?
  2007-08-25 14:10     ` Grant Likely
  2007-08-25 14:29       ` Jon Smirl
@ 2007-08-25 14:46       ` Ming Liu
  2007-08-25 15:24         ` Grant Likely
  1 sibling, 1 reply; 9+ messages in thread
From: Ming Liu @ 2007-08-25 14:46 UTC (permalink / raw)
  To: grant.likely; +Cc: linuxppc-embedded

Dear Grant,

>What does 'dig git.secretlab.ca' tell you?  I see this:
>;; ANSWER SECTION:
>git.secretlab.ca.       1320    IN      A       208.123.74.12

I released 'dig git.secretlab.ca' and saw this: 
;; QUESTION SECTION:
;git.secretlab.ca.              IN      A

;; ANSWER SECTION:
git.secretlab.ca.       855     IN      A       208.123.74.12




>Have you tried the git:// protocol?

Yes. I tried both git:// and http://. 

For git:// protocal:
mingliu@romeo ~ $ git-clone git://git.secretlab.ca/git/linux-2.6-virtex.git
fatal: unexpected EOF
fetch-pack from 'git://git.secretlab.ca/git/linux-2.6-virtex.git' failed.


For http:// protocal:
mingliu@romeo ~ $ git-clone 
http://git.secretlab.ca/git/linux-2.6-virtex.git
Getting alternates list for 
http://git.secretlab.ca/git/linux-2.6-virtex.git/
Getting pack list for http://git.secretlab.ca/git/linux-2.6-virtex.git/
Getting index for pack d1a6ff0f5f0433214bc37fd3038ff75f080c073d
Getting index for pack 41af2e852d9cb50ce5c8b3fe77c269780b979323
Getting index for pack a36ffcb5ecf2e87cbd9da9384dc9bd617f6169c4
Getting pack a36ffcb5ecf2e87cbd9da9384dc9bd617f6169c4
 which contains 0d62d8a8e639210cecab55f5921f293cb8250a31
walk 0d62d8a8e639210cecab55f5921f293cb8250a31
walk f9892f74b7d827a7d1b80cd418aca30f32b46c73
Getting pack d1a6ff0f5f0433214bc37fd3038ff75f080c073d
 which contains ebf9bf84da0aab5ed944264a5db2a65fe3a3e883
......

Is that the problem of my cluster? Ohmm. I need to check this now.

BR
Ming

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how to get your linux-2.6-virtex tree?
  2007-08-25 14:46       ` Ming Liu
@ 2007-08-25 15:24         ` Grant Likely
  2007-08-25 16:13           ` Ming Liu
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Likely @ 2007-08-25 15:24 UTC (permalink / raw)
  To: Ming Liu; +Cc: linuxppc-embedded

On 8/25/07, Ming Liu <eemingliu@hotmail.com> wrote:
> Dear Grant,
>
> >What does 'dig git.secretlab.ca' tell you?  I see this:
> >;; ANSWER SECTION:
> >git.secretlab.ca.       1320    IN      A       208.123.74.12
>
> I released 'dig git.secretlab.ca' and saw this:
> ;; QUESTION SECTION:
> ;git.secretlab.ca.              IN      A
>
> ;; ANSWER SECTION:
> git.secretlab.ca.       855     IN      A       208.123.74.12

Upgrade to a newer version of git.  git.secretlab.ca uses the virtual
hosting feature of git daemon, but you need to be using git version >
1.5

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: how to get your linux-2.6-virtex tree?
  2007-08-25 15:24         ` Grant Likely
@ 2007-08-25 16:13           ` Ming Liu
  0 siblings, 0 replies; 9+ messages in thread
From: Ming Liu @ 2007-08-25 16:13 UTC (permalink / raw)
  To: grant.likely; +Cc: linuxppc-embedded

Dear Grant,
That's right!!! My git's version is quite old. OK then. Thus I will upgrade 
my git and obtain your kernel tree. Thanks for your help.

BR
Ming


>From: "Grant Likely" <grant.likely@secretlab.ca>
>To: "Ming Liu" <eemingliu@hotmail.com>
>CC: linuxppc-embedded@ozlabs.org
>Subject: Re: how to get your linux-2.6-virtex tree?
>Date: Sat, 25 Aug 2007 09:24:31 -0600
>
>On 8/25/07, Ming Liu <eemingliu@hotmail.com> wrote:
> > Dear Grant,
> >
> > >What does 'dig git.secretlab.ca' tell you?  I see this:
> > >;; ANSWER SECTION:
> > >git.secretlab.ca.       1320    IN      A       208.123.74.12
> >
> > I released 'dig git.secretlab.ca' and saw this:
> > ;; QUESTION SECTION:
> > ;git.secretlab.ca.              IN      A
> >
> > ;; ANSWER SECTION:
> > git.secretlab.ca.       855     IN      A       208.123.74.12
>
>Upgrade to a newer version of git.  git.secretlab.ca uses the virtual
>hosting feature of git daemon, but you need to be using git version >
>1.5
>
>Cheers,
>g.
>
>--
>Grant Likely, B.Sc., P.Eng.
>Secret Lab Technologies Ltd.
>grant.likely@secretlab.ca
>(403) 399-0195

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-08-25 16:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-24  3:11 Problems on porting linux 2.6 to xilinx ML410 woyuzhilei
2007-08-24 18:21 ` Grant Likely
2007-08-25  7:37   ` woyuzhilei
2007-08-25  8:48   ` how to get your linux-2.6-virtex tree? Ming Liu
2007-08-25 14:10     ` Grant Likely
2007-08-25 14:29       ` Jon Smirl
2007-08-25 14:46       ` Ming Liu
2007-08-25 15:24         ` Grant Likely
2007-08-25 16:13           ` Ming Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).