* Re: XUP Virtex II p with Linux 2.4 - Question
@ 2008-02-25 19:05 rodolfo
2008-02-25 20:05 ` Grant Likely
0 siblings, 1 reply; 5+ messages in thread
From: rodolfo @ 2008-02-25 19:05 UTC (permalink / raw)
To: linuxppc-embedded
Hey everybody,
I'm in trouble;
1) The EDK flow: I set the OS in the Software Plataform Settings to
linux_2_6 version 1.00.a. after that, in OS and Library section I have to
fill out the fields "memory size" , "connected_periphs" , "ramdisk size"
... ? How would I do it ?
2) Do I place xparametera_ml300.h in /opt/ELDK/ppc_4xx/usr/src/linux-2.6.15
? if not where?
3) I downloaded "ppc-2006-01-11.iso" from denx (ELDK) website and I'm
trying to follow their instructions for ppc 4xx plataform.
[ website: http://www.denx.de/wiki/view/DULG/ELDK ]
In /opt/ELDK/ppc_4xx/usr/src/u-boot-1.1.4/ I do:
"make distclen" and "make ml300_config" are ok! After "make all" in I've
got an error:
a - ppc_longjmp.o
a - ppc_setjmp.o
a - stubs.o
make[1]: *** No rules for processing the target `hello_world.srec', needed
by `all'. Stop. --> note: "TRANSLATION FROM PORTUGESE"
make[1]: Exiting `/opt/ELDK/ppc_4xx/usr/src/u-boot-1.1.4/examples'
make: ** [examples] Error 2
Can you help me, please?
Thanks in advance,
Rodolfo Galvão.
On Tue, 19 Feb 2008 10:07:54 -0700, "Grant Likely"
<grant.likely@secretlab.ca> wrote:
> On Feb 19, 2008 9:55 AM, rodolfo <rodolfo@lesc.ufc.br> wrote:
>> ok Grant Likely. i have a talk with my professor and he agrees with you.
>> Now i'm reading about ELDK. Following this guide, i will have problems
> with
>> edk version?
>
> No. One of the advantages of going with 2.6 is that you no longer
> need to copy the BSP generated by EDK into the linux kernel tree.
> Instead you only need to copy one file; xparameters_ml40x.h
>
> Cheers,
> g.
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: XUP Virtex II p with Linux 2.4 - Question
2008-02-25 19:05 XUP Virtex II p with Linux 2.4 - Question rodolfo
@ 2008-02-25 20:05 ` Grant Likely
2008-02-29 21:28 ` Kernel 2.6 configuration rodolfo
0 siblings, 1 reply; 5+ messages in thread
From: Grant Likely @ 2008-02-25 20:05 UTC (permalink / raw)
To: rodolfo; +Cc: linuxppc-embedded
On Mon, Feb 25, 2008 at 12:05 PM, rodolfo <rodolfo@lesc.ufc.br> wrote:
> Hey everybody,
>
> I'm in trouble;
>
> 1) The EDK flow: I set the OS in the Software Plataform Settings to
> linux_2_6 version 1.00.a. after that, in OS and Library section I have to
> fill out the fields "memory size" , "connected_periphs" , "ramdisk size"
> ... ? How would I do it ?
>
> 2) Do I place xparametera_ml300.h in /opt/ELDK/ppc_4xx/usr/src/linux-2.6.15
> ? if not where?
You should download a current release of the linux kernel. Don't use
the one that comes with ELDK.
in arch/ppc/platforms/4xx/xparameters/xparameters_ml403.h. If you're
using the ml403 reference design, it is already there. If you're
using a custom design then you'll need to replace it.
See here for hints:
http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex
> 3) I downloaded "ppc-2006-01-11.iso" from denx (ELDK) website and I'm
> trying to follow their instructions for ppc 4xx plataform.
> [ website: http://www.denx.de/wiki/view/DULG/ELDK ]
This is an old release of ELDK. You should probably move up to a more
recent release.
>
> In /opt/ELDK/ppc_4xx/usr/src/u-boot-1.1.4/ I do:
>
> "make distclen" and "make ml300_config" are ok! After "make all" in I've
> got an error:
>
> a - ppc_longjmp.o
> a - ppc_setjmp.o
> a - stubs.o
> make[1]: *** No rules for processing the target `hello_world.srec', needed
> by `all'. Stop. --> note: "TRANSLATION FROM PORTUGESE"
> make[1]: Exiting `/opt/ELDK/ppc_4xx/usr/src/u-boot-1.1.4/examples'
> make: ** [examples] Error 2
You're using an ancient copy of u-boot that breaks with certain
versions of the 'make' program. You should try using a recent release
of u-boot. Alternately, you can hack the u-boot makefile to not build
the examples directory.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Kernel 2.6 configuration
2008-02-25 20:05 ` Grant Likely
@ 2008-02-29 21:28 ` rodolfo
0 siblings, 0 replies; 5+ messages in thread
From: rodolfo @ 2008-02-29 21:28 UTC (permalink / raw)
To: Linuxppc embedded, rodolfo
As Grant Likely said I downloaded the last release of linux kernel
(2.6.24). How can I configure the kernel for XUP v II P ? Which are the
minimal required configuration for a simple test? I just want to check if
the ppc405 is booting the kernel image.
Thanks !
On Mon, 25 Feb 2008 13:05:19 -0700, "Grant Likely"
<grant.likely@secretlab.ca> wrote:
> On Mon, Feb 25, 2008 at 12:05 PM, rodolfo <rodolfo@lesc.ufc.br> wrote:
>> Hey everybody,
>>
>> I'm in trouble;
>>
>> 1) The EDK flow: I set the OS in the Software Plataform Settings to
>> linux_2_6 version 1.00.a. after that, in OS and Library section I have
> to
>> fill out the fields "memory size" , "connected_periphs" , "ramdisk
> size"
>> ... ? How would I do it ?
>>
>> 2) Do I place xparametera_ml300.h in
> /opt/ELDK/ppc_4xx/usr/src/linux-2.6.15
>> ? if not where?
>
> You should download a current release of the linux kernel. Don't use
> the one that comes with ELDK.
>
> in arch/ppc/platforms/4xx/xparameters/xparameters_ml403.h. If you're
> using the ml403 reference design, it is already there. If you're
> using a custom design then you'll need to replace it.
>
> See here for hints:
>
> http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex
>
>> 3) I downloaded "ppc-2006-01-11.iso" from denx (ELDK) website and I'm
>> trying to follow their instructions for ppc 4xx plataform.
>> [ website: http://www.denx.de/wiki/view/DULG/ELDK ]
>
> This is an old release of ELDK. You should probably move up to a more
> recent release.
>
>>
>> In /opt/ELDK/ppc_4xx/usr/src/u-boot-1.1.4/ I do:
>>
>> "make distclen" and "make ml300_config" are ok! After "make all" in
> I've
>> got an error:
>>
>> a - ppc_longjmp.o
>> a - ppc_setjmp.o
>> a - stubs.o
>> make[1]: *** No rules for processing the target `hello_world.srec',
> needed
>> by `all'. Stop. --> note: "TRANSLATION FROM PORTUGESE"
>> make[1]: Exiting `/opt/ELDK/ppc_4xx/usr/src/u-boot-1.1.4/examples'
>> make: ** [examples] Error 2
>
> You're using an ancient copy of u-boot that breaks with certain
> versions of the 'make' program. You should try using a recent release
> of u-boot. Alternately, you can hack the u-boot makefile to not build
> the examples directory.
>
> Cheers,
> g.
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 5+ messages in thread
* XUP Virtex II p with Linux 2.4 - Question
@ 2008-02-15 15:51 rodolfo
2008-02-15 18:44 ` Grant Likely
0 siblings, 1 reply; 5+ messages in thread
From: rodolfo @ 2008-02-15 15:51 UTC (permalink / raw)
To: linuxppc-embedded, rodolfogalvao87
Hi everybody!
I subscribe on this list today because i have some problems with linux
kernel 2.4 compilation. I'm using EDK/ISE 9.1i, crosstool-0.38 . I follow
this sites:
- http://www.cs.washington.edu/research/lis/empart/xup_ppc_linux.shtml
- http://splish.ee.byu.edu/projects/LinuxFPGA/
- http://www.crhc.uiuc.edu/IMPACT/gsrc/hardwarelab/docs/kernel-HOWTO.html
I have a lot of error like this: "can not found ...", "undeclared first in
this function...". But i could solve them! Now the problem is:
../common/ns16550.c: In function `serial_init':
../common/ns16550.c:63: error: `XPAR_UARTNS550_0_CLOCK_FREQ_HZ' undeclared
(first use in this function)
../common/ns16550.c:63: error: (Each undeclared identifier is reported only
once
../common/ns16550.c:63: error: for each function it appears in.)
make[2]: ** [../common/ns16550.o] Erro 1
make[2]: Saindo do diretório
`/home/rodolfo/Desktop/Projeto_Linux_Embedded/bk-client2.0/linux/arch/ppc/boot/simple'
make[1]: ** [zImage.initrd] Erro 2
make[1]: Saindo do diretório
`/home/rodolfo/Desktop/Projeto_Linux_Embedded/bk-client2.0/linux/arch/ppc/boot'
make: ** [zImage.initrd] Erro 2
Anybody can help me? i'm new in this world (fpga - linux)!
Thanks
Rodolfo Galvao
Fortaleza/CE - BRASIL
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-29 21:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 19:05 XUP Virtex II p with Linux 2.4 - Question rodolfo
2008-02-25 20:05 ` Grant Likely
2008-02-29 21:28 ` Kernel 2.6 configuration rodolfo
-- strict thread matches above, loose matches on Subject: below --
2008-02-15 15:51 XUP Virtex II p with Linux 2.4 - Question rodolfo
2008-02-15 18:44 ` Grant Likely
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).