[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [microblaze-uclinux] bug httpd petalinux_v010-rc1



Hi Raul,

You are trying to build a 2.6 kernel for a microblaze v3.00 system, correct?

You really, really should moev to a modern MicroBlaze!

However, to proceed, simply copy linux-2.6.x/arch/microblaze/kernel/cpu/mb4.c to mb3.c

That should get you going.

Regards,

John

Raul Camaras wrote:
Hi,

I do it right with file Kconfig.auto. When compiling the kernel 2.6 with „make all” I get next error:

  CC      arch/microblaze/kernel/exceptions.o

In file included from arch/microblaze/kernel/exceptions.c:13:

include/asm/exceptions.h:43:5: warning: "CONFIG_XILINX_MICROBLAZE0_FPU_EXCEPTION" is not defined

make[3]: *** Keine Regel vorhanden, um das Target »arch/microblaze/kernel/cpu/mb3.o«,

benötigt von »arch/microblaze/kernel/cpu/built-in.o«, zu erstellen. Schluss.

make[2]: *** [arch/microblaze/kernel/cpu] Fehler 2

make[1]: *** [arch/microblaze/kernel] Fehler 2

make[1]: Verlassen des Verzeichnisses Verzeichnis »/root/petalinux-v0.20-rc3/software/linux-2.6.x-petalogix«

make: *** [linux] Fehler 1

What is to do?

Thanks.

Raul Camaras

-----Ursprüngliche Nachricht-----
*Von:* owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] *Im Auftrag von *Yeoh Chun Yeow
*Gesendet:* Donnerstag, 26. Juli 2007 03:10
*An:* microblaze-uclinux@xxxxxxxxxxxxxx
*Betreff:* Re: [microblaze-uclinux] bug httpd petalinux_v010-rc1

Hi, Raul

Kernel version 2.6 uses Kconfig.auto, not auto-config.in <http://auto-config.in>. For microblaze-auto, it is put in ./linux-2.6.x/arch/microblaze/platform/microblaze-auto

If you do split development, regarding Kconfig.auto, you can refer:
www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2007/07/msg00017.html <http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2007/07/msg00017.html>

Hope this help.

regards,
chun yeow

On 7/25/07, *Raul Camaras* <raul.camaras@xxxxxxxxxxxxxxxxxxx <mailto:raul.camaras@xxxxxxxxxxxxxxxxxxx>> wrote:

Hello John,

I would like to use fnord too.
I downloaded petalinux-v0.20-rc3.tar.gz from the petalogix site.
When I run "make user_only" I get next error:

/home/petalinux-v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/
../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/l
d.real: unrecognized option `--fatal-warnings'
/home/petalinux-v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/
../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/l
d.real: use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [busybox] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/home/petalinux-v0.20-rc3/software/petalinux-dist/user/busybox«
make[1]: *** [all] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/home/petalinux-v0.20-rc3/software/petalinux-dist/user«
make: *** [user_only] Fehler 2

What could I do?

By the way, using kernel version 2.6, where should I put my file
auto-config.in <http://auto-config.in>?
Should I choose vendot: Petalinux and target: microblaze-auto?
Thanks a lot.

Raul Camaras


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/