Patch: FW:Xilinx: BSP: Updated ML405 to matchhardwareusedfortesting

Guillaume Dargaud dargaud at lpsc.in2p3.fr
Tue Apr 1 18:24:37 EST 2008


>> 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/





More information about the Linuxppc-dev mailing list