* Re: Re: (usagi-users 02263) Usagi kernel for MIPS target
@ 2003-03-12 8:49 Santosh
2003-03-12 9:06 ` Tiemo Krueger - mycable GmbH
2003-03-12 10:20 ` (usagi-users 02267) " KUNITAKE Koichi
0 siblings, 2 replies; 4+ messages in thread
From: Santosh @ 2003-03-12 8:49 UTC (permalink / raw)
To: KUNITAKE Koichi; +Cc: linux-mips, usagi-users
i tried compiling this way
# make ARCH=mips xconfig
i get
ERROR - Attempting to write value for unconfigured variable
(CONFIG_VTAG_ICACHE)
ERROR - Attempting to write value for unconfigured variable
(CONFIG_BINFMT_ELF32)
ERROR - Attempting to write value for unconfigured variable
(CONFIG_SERIAL)
ERROR - Attempting to write value for unconfigured variable
(CONFIG_RTC)
Don't know what's wrong.
I have configured for MIPS Malta (Experimental) board
then i did # make ARCH=mips dep
finally # make ARCH=mips CROSS_COMPILE=mipsel-linux-
Now i get
binfmt_elf.c: In function 'load_elf_interp':
binfmt_elf.c:278: 'EF_MIPS_ABI2' undeclared
binfmt_elf.c:278: 'EF_MIPS_ABI' undeclared
make[2]:Leaving directory '/home/user/usagi/kernel/linux24/fs'
make:***[_dir_fs]Error 2
Is Usagi stable on MIPS Malta board ??
Pls tell me what's wrong.
-Santosh
------------------------------------------
On Wed, 12 Mar 2003 KUNITAKE Koichi wrote :
> Hello,
>
>On 12 Mar 2003 07:08:17 -0000
>"Santosh " <ipv6_san@rediffmail.com> wrote:
>
> >Can someone tell me what changes i have to make to compile
>the
> >sources successfully for MIPS target ???
>
> I have never compiled USAGI for MIPS target, but I think you
>should edit linux24/Makefile as following.
>
>
>--- Makefile.orig 2003-03-12 16:55:06.000000000 +0900
>+++ Makefile 2003-03-12 16:55:32.000000000 +0900
>@@ -5,7 +5,8 @@
>
>
>KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
>
>-ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e
>s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
>+#ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e
>s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
>+ARCH := mips
> KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e
>"s/-//g")
>
> CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH;
>\
>@@ -19,7 +20,7 @@
> HOSTCC = gcc
> HOSTCFLAGS = -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer
>
>-CROSS_COMPILE =
>+CROSS_COMPILE = mips-linux-
>
> #
> # Include the make variables (CC, etc...)
>
>
> Did this fail?
>
>Best regards,
>
__________________________________________________________
Great Travel Deals, Airfares, Hotels on
http://www.journeymart.com/rediff/travel.asp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (usagi-users 02263) Usagi kernel for MIPS target
2003-03-12 8:49 Re: (usagi-users 02263) Usagi kernel for MIPS target Santosh
@ 2003-03-12 9:06 ` Tiemo Krueger - mycable GmbH
2003-03-12 10:20 ` (usagi-users 02267) " KUNITAKE Koichi
1 sibling, 0 replies; 4+ messages in thread
From: Tiemo Krueger - mycable GmbH @ 2003-03-12 9:06 UTC (permalink / raw)
To: Santosh; +Cc: linux-mips
I had some time ago some trouble with xconfig, it seems that some
dependencies between configuration topics are not setup properly for MIPS
try the normal 'config' instead.
I remember that RTC was one of the appearing problems
Tiemo
Santosh wrote:
> i tried compiling this way
>
> # make ARCH=mips xconfig
> i get
> ERROR - Attempting to write value for unconfigured variable
> (CONFIG_VTAG_ICACHE)
> ERROR - Attempting to write value for unconfigured variable
> (CONFIG_BINFMT_ELF32)
> ERROR - Attempting to write value for unconfigured variable
> (CONFIG_SERIAL)
> ERROR - Attempting to write value for unconfigured variable (CONFIG_RTC)
>
> Don't know what's wrong.
> I have configured for MIPS Malta (Experimental) board
>
> then i did # make ARCH=mips dep
>
> finally # make ARCH=mips CROSS_COMPILE=mipsel-linux-
>
> Now i get
> binfmt_elf.c: In function 'load_elf_interp':
> binfmt_elf.c:278: 'EF_MIPS_ABI2' undeclared
> binfmt_elf.c:278: 'EF_MIPS_ABI' undeclared
> make[2]:Leaving directory '/home/user/usagi/kernel/linux24/fs'
> make:***[_dir_fs]Error 2
>
> Is Usagi stable on MIPS Malta board ??
> Pls tell me what's wrong.
>
> -Santosh
> ------------------------------------------
>
>
> On Wed, 12 Mar 2003 KUNITAKE Koichi wrote :
>
>> Hello,
>>
>> On 12 Mar 2003 07:08:17 -0000
>> "Santosh " <ipv6_san@rediffmail.com> wrote:
>>
>> >Can someone tell me what changes i have to make to compile the
>> >sources successfully for MIPS target ???
>>
>> I have never compiled USAGI for MIPS target, but I think you
>> should edit linux24/Makefile as following.
>>
>>
>> --- Makefile.orig 2003-03-12 16:55:06.000000000 +0900
>> +++ Makefile 2003-03-12 16:55:32.000000000 +0900
>> @@ -5,7 +5,8 @@
>>
>>
>> KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
>>
>> -ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/
>> -e s/arm.*/arm/ -e s/sa110/arm/)
>> +#ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/
>> -e s/arm.*/arm/ -e s/sa110/arm/)
>> +ARCH := mips
>> KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
>>
>> CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
>> @@ -19,7 +20,7 @@
>> HOSTCC = gcc
>> HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
>>
>> -CROSS_COMPILE =
>> +CROSS_COMPILE = mips-linux-
>>
>> #
>> # Include the make variables (CC, etc...)
>>
>>
>> Did this fail?
>>
>> Best regards,
>>
>
> __________________________________________________________
> Great Travel Deals, Airfares, Hotels on
> http://www.journeymart.com/rediff/travel.asp
>
>
>
--
-------------------------------------------------------
Tiemo Krueger Tel: +49 48 73 90 19 86
mycable GmbH Fax: +49 48 73 90 19 76
Boeker Stieg 43
D-24613 Aukrug eMail: tk@mycable.de
Public Kryptographic Key is available on request
-------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (usagi-users 02267) Re: Usagi kernel for MIPS target
2003-03-12 8:49 Re: (usagi-users 02263) Usagi kernel for MIPS target Santosh
2003-03-12 9:06 ` Tiemo Krueger - mycable GmbH
@ 2003-03-12 10:20 ` KUNITAKE Koichi
2003-03-12 11:08 ` Juan Quintela
1 sibling, 1 reply; 4+ messages in thread
From: KUNITAKE Koichi @ 2003-03-12 10:20 UTC (permalink / raw)
To: usagi-users; +Cc: linux-mips
I think you cant use "xconfig" on Cross-compiling env, please edit
linux24/Makefile and use "make config". After all, please exec following
commands.
$ make config
$ make dep; make clean; make zImage
On 12 Mar 2003 08:49:46 -0000
"Santosh " <ipv6_san@rediffmail.com> wrote:
>i tried compiling this way
>
># make ARCH=mips xconfig
>i get
>ERROR - Attempting to write value for unconfigured variable
>(CONFIG_VTAG_ICACHE)
>ERROR - Attempting to write value for unconfigured variable
>(CONFIG_BINFMT_ELF32)
>ERROR - Attempting to write value for unconfigured variable
>(CONFIG_SERIAL)
>ERROR - Attempting to write value for unconfigured variable
>(CONFIG_RTC)
>
>Don't know what's wrong.
>I have configured for MIPS Malta (Experimental) board
>
>then i did # make ARCH=mips dep
>
>finally # make ARCH=mips CROSS_COMPILE=mipsel-linux-
>
>Now i get
>binfmt_elf.c: In function 'load_elf_interp':
>binfmt_elf.c:278: 'EF_MIPS_ABI2' undeclared
>binfmt_elf.c:278: 'EF_MIPS_ABI' undeclared
>make[2]:Leaving directory '/home/user/usagi/kernel/linux24/fs'
>make:***[_dir_fs]Error 2
>
>Is Usagi stable on MIPS Malta board ??
>Pls tell me what's wrong.
>
>-Santosh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (usagi-users 02267) Re: Usagi kernel for MIPS target
2003-03-12 10:20 ` (usagi-users 02267) " KUNITAKE Koichi
@ 2003-03-12 11:08 ` Juan Quintela
0 siblings, 0 replies; 4+ messages in thread
From: Juan Quintela @ 2003-03-12 11:08 UTC (permalink / raw)
To: KUNITAKE Koichi; +Cc: usagi-users, linux-mips
>>>>> "kunitake" == KUNITAKE Koichi <kunitake@linux-ipv6.org> writes:
kunitake> I think you cant use "xconfig" on Cross-compiling env, please edit
kunitake> linux24/Makefile and use "make config". After all, please exec following
kunitake> commands.
kunitake> $ make config
kunitake> $ make dep; make clean; make zImage
I bet that a make vmlinux or make vmlinux.ecoff is better than zImage
on mips :p
Go to source.
My mips tree don't have a zImage at all :p
Later, juan.
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-12 11:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 8:49 Re: (usagi-users 02263) Usagi kernel for MIPS target Santosh
2003-03-12 9:06 ` Tiemo Krueger - mycable GmbH
2003-03-12 10:20 ` (usagi-users 02267) " KUNITAKE Koichi
2003-03-12 11:08 ` Juan Quintela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox