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
From: Grant Likely <hidden> Date: 2007-08-24 18:21:09
On 8/23/07, woyuzhilei [off-list ref] 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
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
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
From: Grant Likely <hidden> Date: 2007-08-25 14:10:05
On 8/25/07, Ming Liu [off-list ref] 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
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/
From: Grant Likely <hidden> Date: 2007-08-25 15:24:33
On 8/25/07, Ming Liu [off-list ref] wrote:
Dear Grant,
quoted
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
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" <redacted>
To: "Ming Liu" <redacted>
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 [off-list ref] wrote:
quoted
Dear Grant,
quoted
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