* Re: Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used for testing
@ 2008-03-26 11:47 Guillaume Dargaud
2008-03-26 13:01 ` Grant Likely
0 siblings, 1 reply; 6+ messages in thread
From: Guillaume Dargaud @ 2008-03-26 11:47 UTC (permalink / raw)
To: linuxppc-dev
Hello all,
I'm trying to get things up and running on a Xilinx Virtex-4 ml405 board,
and as such I've been trying to figure out the following recent message to
the list:
http://patchwork.ozlabs.org/linuxppc/patch?person=1226&id=17037
I don't understand what this patch applies to: it references files such as
ml405_defconfig which are not part of the normal kernel tree and which I
cannot find anywhere. Is there some other kind of patch that needs to apply
first in order to get for instance CONFIG_XILINX_DRIVERS,
CONFIG_XILINX_EMAC, etc...
Thanks
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used for testing
2008-03-26 11:47 Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used for testing Guillaume Dargaud
@ 2008-03-26 13:01 ` Grant Likely
2008-03-28 10:40 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used fortesting Guillaume Dargaud
0 siblings, 1 reply; 6+ messages in thread
From: Grant Likely @ 2008-03-26 13:01 UTC (permalink / raw)
To: Guillaume Dargaud; +Cc: linuxppc-dev
On Wed, Mar 26, 2008 at 5:47 AM, Guillaume Dargaud
<dargaud@lpsc.in2p3.fr> wrote:
> Hello all,
>
> I'm trying to get things up and running on a Xilinx Virtex-4 ml405 board,
> and as such I've been trying to figure out the following recent message to
> the list:
> http://patchwork.ozlabs.org/linuxppc/patch?person=1226&id=17037
>
> I don't understand what this patch applies to: it references files such as
> ml405_defconfig which are not part of the normal kernel tree and which I
> cannot find anywhere. Is there some other kind of patch that needs to apply
> first in order to get for instance CONFIG_XILINX_DRIVERS,
> CONFIG_XILINX_EMAC, etc...
>
> Thanks
It applies to Xilinx's git tree of the Linux kernel.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used fortesting
2008-03-26 13:01 ` Grant Likely
@ 2008-03-28 10:40 ` Guillaume Dargaud
2008-03-28 12:35 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardware usedfortesting Guillaume Dargaud
0 siblings, 1 reply; 6+ messages in thread
From: Guillaume Dargaud @ 2008-03-28 10:40 UTC (permalink / raw)
To: linuxppc-dev
>> I'm trying to get things up and running on a Xilinx Virtex-4 ml405
>> board,
>> and as such I've been trying to figure out the following recent message
>> to
>> the list:
>> http://patchwork.ozlabs.org/linuxppc/patch?person=1226&id=17037
>>
>> I don't understand what this patch applies to: it references files such
>> as
>> ml405_defconfig which are not part of the normal kernel tree and which I
>> cannot find anywhere. Is there some other kind of patch that needs to
>> apply
>> first in order to get for instance CONFIG_XILINX_DRIVERS,
>> CONFIG_XILINX_EMAC, etc...
> It applies to Xilinx's git tree of the Linux kernel.
Fair enough.
OK, I managed to install git, download the Xilinx kernel source tree,
integrate it into root and compile it successfully...
Now I'd like to understand this ml405_defconfig file. I cannot replace my
.config with it because it gives me:
$ make ARCH=ppc linux26-menuconfig
[ -f
/home/guinevere/buildroot/project_build_ppc/genepy/linux-2.6.24/.config ] |
| cp local/genepy/linux-2.6.24.config
/home/guinevere/buildroot/project_build_pp
c/genepy/linux-2.6.24/.config
/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=powerpc
CFLAGS_KERNEL
="-Os -I/home/guinevere/buildroot/build_ppc/staging_dir/usr/include -I/home/guin
evere/buildroot/build_ppc/staging_dir/include --sysroot=/home/guinevere/buildroo
t/build_ppc/staging_dir/ -isysroot
/home/guinevere/buildroot/build_ppc/staging_d
ir -mtune=405"
INSTALL_MOD_PATH=/home/guinevere/buildroot/project_build_ppc/gene
py/root
CROSS_COMPILE=/home/guinevere/buildroot/build_ppc/staging_dir/usr/bin/pp
c-linux-uclibc-
LDFLAGS="-L/home/guinevere/buildroot/build_ppc/staging_dir/lib -
L/home/guinevere/buildroot/build_ppc/staging_dir/usr/lib --sysroot=/home/guineve
re/buildroot/build_ppc/staging_dir/"
LZMA="/home/guinevere/buildroot/toolchain_b
uild_ppc/bin/lzma" -C
/home/guinevere/buildroot/project_build_ppc/genepy/linux-
2.6.24 menuconfig
make[1]: Entering directory
`/home/guinevere/buildroot/project_build_ppc/genepy/
linux-2.6.24'
scripts/kconfig/mconf arch/powerpc/Kconfig
.config:117:warning: trying to assign nonexistent symbol WANT_EARLY_SERIAL
.config:122:warning: trying to assign nonexistent symbol BUBINGA
.config:123:warning: trying to assign nonexistent symbol CPCI405
.config:124:warning: trying to assign nonexistent symbol EP405
.config:127:warning: trying to assign nonexistent symbol SYCAMORE
.config:129:warning: trying to assign nonexistent symbol XILINX_ML300
.config:130:warning: trying to assign nonexistent symbol XILINX_XUPV2P
.config:131:warning: trying to assign nonexistent symbol XILINX_ML403
.config:132:warning: trying to assign nonexistent symbol XILINX_ML405
.config:133:warning: trying to assign nonexistent symbol XILINX_ML41x
.config:138:warning: trying to assign nonexistent symbol XILINX_EMBED_CONFIG
.config:139:warning: trying to assign nonexistent symbol EMBEDDEDBOOT
.config:140:warning: trying to assign nonexistent symbol PPC4xx_DMA
.config:142:warning: trying to assign nonexistent symbol UART0_TTYS0
.config:143:warning: trying to assign nonexistent symbol UART0_TTYS1
.config:149:warning: trying to assign nonexistent symbol PC_KEYBOARD
.config:759:warning: trying to assign nonexistent symbol SERIAL_TEXT_DEBUG
So my question is that even with a full (?) Xilinx kernel, there seems to be
missing drivers. Does this have to do with the BSP ?
Thanks
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Patch: FW:Xilinx: BSP: Updated ML405 to match hardware usedfortesting
2008-03-28 10:40 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used fortesting Guillaume Dargaud
@ 2008-03-28 12:35 ` Guillaume Dargaud
2008-03-28 16:06 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardwareusedfortesting Stephen Neuendorffer
0 siblings, 1 reply; 6+ messages in thread
From: Guillaume Dargaud @ 2008-03-28 12:35 UTC (permalink / raw)
To: linuxppc-dev
I should add that I've tried several things:
- compile the Xilinx kernel as indicated in my previous message.
- compile it with just the xparameters_ml*.h files added
- copy all the files from the BSP into the (Xilinx) kernel tree
- directly generate the BSP into the (Xilinx) kernel tree
For instance, the last one still gives me:
.config:117:warning: trying to assign nonexistent symbol WANT_EARLY_SERIAL
.config:122:warning: trying to assign nonexistent symbol BUBINGA
.config:123:warning: trying to assign nonexistent symbol CPCI405
.config:124:warning: trying to assign nonexistent symbol EP405
.config:127:warning: trying to assign nonexistent symbol SYCAMORE
.config:129:warning: trying to assign nonexistent symbol XILINX_ML300
.config:130:warning: trying to assign nonexistent symbol XILINX_XUPV2P
.config:131:warning: trying to assign nonexistent symbol XILINX_ML403
.config:132:warning: trying to assign nonexistent symbol XILINX_ML405
.config:133:warning: trying to assign nonexistent symbol XILINX_ML41x
.config:138:warning: trying to assign nonexistent symbol XILINX_EMBED_CONFIG
.config:139:warning: trying to assign nonexistent symbol EMBEDDEDBOOT
.config:140:warning: trying to assign nonexistent symbol PPC4xx_DMA
.config:142:warning: trying to assign nonexistent symbol UART0_TTYS0
.config:143:warning: trying to assign nonexistent symbol UART0_TTYS1
.config:149:warning: trying to assign nonexistent symbol PC_KEYBOARD
.config:759:warning: trying to assign nonexistent symbol SERIAL_TEXT_DEBUG
.config:772:warning: trying to assign nonexistent symbol XILINX_OCP
.config:773:warning: trying to assign nonexistent symbol XILINX_ML40x
Two more things:
$ make ARCH=ppc ml405_defconfig
cp .config
cp: missing destination file operand after `.config'
Try `cp --help' for more information.
make: *** [ml405_defconfig] Error 1
And on the page http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex
which I've been studying closely, I also tried the Secret Lab repository:
$ git clone git://git.secretlab.ca/git/linux-2.6-virtex.git
Initialized empty Git repository in
/home/guinevere/buildroot/linux-2.6-virtex/.git/
fatal: The remote end hung up unexpectedly
fetch-pack from 'git://git.secretlab.ca/git/linux-2.6-virtex.git' failed.
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Patch: FW:Xilinx: BSP: Updated ML405 to match hardwareusedfortesting
2008-03-28 12:35 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardware usedfortesting Guillaume Dargaud
@ 2008-03-28 16:06 ` Stephen Neuendorffer
2008-04-01 7:24 ` Patch: FW:Xilinx: BSP: Updated ML405 to matchhardwareusedfortesting Guillaume Dargaud
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Neuendorffer @ 2008-03-28 16:06 UTC (permalink / raw)
To: Guillaume Dargaud, linuxppc-dev
> -----Original Message-----
> From: =
linuxppc-dev-bounces+stephen.neuendorffer=3Dxilinx.com@ozlabs.org
[mailto:linuxppc-dev-
> bounces+stephen.neuendorffer=3Dxilinx.com@ozlabs.org] On Behalf Of
Guillaume Dargaud
> Sent: Friday, March 28, 2008 5:35 AM
> To: linuxppc-dev@ozlabs.org
> Subject: Re: Patch: FW:Xilinx: BSP: Updated ML405 to match
hardwareusedfortesting
>=20
> I should add that I've tried several things:
> - compile the Xilinx kernel as indicated in my previous message.
> - compile it with just the xparameters_ml*.h files added
This should work.
> - copy all the files from the BSP into the (Xilinx) kernel tree
> - directly generate the BSP into the (Xilinx) kernel tree
Neither of these will work.
> For instance, the last one still gives me:
> .config:117:warning: trying to assign nonexistent symbol
WANT_EARLY_SERIAL
> .config:122:warning: trying to assign nonexistent symbol BUBINGA
> .config:123:warning: trying to assign nonexistent symbol CPCI405
> .config:124:warning: trying to assign nonexistent symbol EP405
> .config:127:warning: trying to assign nonexistent symbol SYCAMORE
> .config:129:warning: trying to assign nonexistent symbol XILINX_ML300
> .config:130:warning: trying to assign nonexistent symbol XILINX_XUPV2P
> .config:131:warning: trying to assign nonexistent symbol XILINX_ML403
> .config:132:warning: trying to assign nonexistent symbol XILINX_ML405
> .config:133:warning: trying to assign nonexistent symbol XILINX_ML41x
> .config:138:warning: trying to assign nonexistent symbol
XILINX_EMBED_CONFIG
> .config:139:warning: trying to assign nonexistent symbol EMBEDDEDBOOT
> .config:140:warning: trying to assign nonexistent symbol PPC4xx_DMA
> .config:142:warning: trying to assign nonexistent symbol UART0_TTYS0
> .config:143:warning: trying to assign nonexistent symbol UART0_TTYS1
> .config:149:warning: trying to assign nonexistent symbol PC_KEYBOARD
> .config:759:warning: trying to assign nonexistent symbol
SERIAL_TEXT_DEBUG
> .config:772:warning: trying to assign nonexistent symbol XILINX_OCP
> .config:773:warning: trying to assign nonexistent symbol XILINX_ML40x
Did you check out the head of the tree?
> Two more things:
>=20
> $ make ARCH=3Dppc ml405_defconfig
> cp .config
> cp: missing destination file operand after `.config'
> Try `cp --help' for more information.
> make: *** [ml405_defconfig] Error 1
I'd suggest starting over with a fresh tree.
1) Copy the xparameters file, overwriting the appropriate xparameters
file in the git tree.
2) make ARCH=3Dppc ml405_defconfig
3) make ARCH=3Dppc all
> And on the page
http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex
> which I've been studying closely, I also tried the Secret Lab
repository:
> $ git clone git://git.secretlab.ca/git/linux-2.6-virtex.git
> Initialized empty Git repository in
> /home/guinevere/buildroot/linux-2.6-virtex/.git/
> fatal: The remote end hung up unexpectedly
> fetch-pack from 'git://git.secretlab.ca/git/linux-2.6-virtex.git'
failed.
I know Grant has been having problems with the secretlab git server
recently.
Steve
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Patch: FW:Xilinx: BSP: Updated ML405 to matchhardwareusedfortesting
2008-03-28 16:06 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardwareusedfortesting Stephen Neuendorffer
@ 2008-04-01 7:24 ` Guillaume Dargaud
0 siblings, 0 replies; 6+ messages in thread
From: Guillaume Dargaud @ 2008-04-01 7:24 UTC (permalink / raw)
To: linuxppc-dev
>> I should add that I've tried several things:
>> - compile the Xilinx kernel as indicated in my previous message.
>> - compile it with just the xparameters_ml*.h files added
>
> This should work.
It doesn't... Which makes me wonder if my problem may be with the boot
itself.
Once I have my zImage properly (?) compiled, I create an ACE file thus:
$ xmd -tcl genace.tcl -jprog -board ml405 -target ppc_hw -hw system.bit -elf
zImage -ace Kernel26.ace
But then nothing happens when I boot with it.
[...]
>> .config:773:warning: trying to assign nonexistent symbol XILINX_ML40x
>
> Did you check out the head of the tree?
You mean svn head ? Yes.
Something escapes me here. I pull the complete kernel git tree from Xilinx
and
when I menuconfig it, it removes the Xilinx additions ('nonexistent symbol
')...
I'm not very knowledgeable of the kernel organization, so I don't know what
this means, but I imagine there's a relation between 'XILINX_ML40x=y' in
.config, Kconfig which holds the help text and the .h/.c driver files
themselves. How can I check that the whole package is sane ?
>> Two more things:
>>
>> $ make ARCH=ppc ml405_defconfig
>> cp .config
>> cp: missing destination file operand after `.config'
>> Try `cp --help' for more information.
>> make: *** [ml405_defconfig] Error 1
>
> I'd suggest starting over with a fresh tree.
> 1) Copy the xparameters file, overwriting the appropriate xparameters
> file in the git tree.
> 2) make ARCH=ppc ml405_defconfig
> 3) make ARCH=ppc all
One detail, I'm not doing 'make' from the kernel directory, but from the
buildroot directory, this way I'm sure it's compiled with the appropriate
cross-compiler and environment. Maybe targets such as ml405_defconfig are
not transmitted properly from one make to the other. Anyone who knows
buildroot care to
comment on that ?
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-01 7:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 11:47 Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used for testing Guillaume Dargaud
2008-03-26 13:01 ` Grant Likely
2008-03-28 10:40 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardware used fortesting Guillaume Dargaud
2008-03-28 12:35 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardware usedfortesting Guillaume Dargaud
2008-03-28 16:06 ` Patch: FW:Xilinx: BSP: Updated ML405 to match hardwareusedfortesting Stephen Neuendorffer
2008-04-01 7:24 ` Patch: FW:Xilinx: BSP: Updated ML405 to matchhardwareusedfortesting Guillaume Dargaud
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).