making kernel for ppc405gp from montavista sources
Hello,
I downloaded the linux_tar.gz file from montavista and unpacked it ! I copied the .config file from the same location to the kernel tree's root. Before I did a "make mrproper".
When I run a "make dep" I got an error ! Well, I could start to check out if there is an error in the tree, but I think that there is a general mistake I made !
Does anybody know where the error comes from ? Here is the output of my "make dep":
----------------------
mfuchs@pc-matthias:~/mvista_405_linux_new/linux > make dep
make -C arch/ppc/boot fastdep
make[1]: Entering directory /home/mfuchs/mvista_405_linux_new/linux/arch/ppc/boot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory /home/mfuchs/mvista_405_linux_new/linux/arch/ppc/boot'
make -C arch/ppc/chrpboot fastdep
make[1]: Entering directory /home/mfuchs/mvista_405_linux_new/linux/arch/ppc/chrpboot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory /home/mfuchs/mvista_405_linux_new/linux/arch/ppc/chrpboot' make -C arch/ppc/treeboot fastdep
make[1]: Entering directory /home/mfuchs/mvista_405_linux_new/linux/arch/ppc/treeboot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory /home/mfuchs/mvista_405_linux_new/linux/arch/ppc/treeboot' scripts/mkdep init/*.c > .dependscripts/mkdep `find /home/mfuchs/mvista_405_linux_new/linux/include/asm /home/mfuchs/mvista_405_linux_new/linux/include/linux /home/mfuchs/mvista_405_linux_new/linux/include/scsi /home/mfuchs/mvista_405_linux_new/linux/include/net -follow -name \*.h ! -name modversions.h -print` > .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_arch/ppc/kernel _sfdep_arch/ppc/mm _sfdep_arch/ppc/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib arch/ppc/kernel arch/ppc/mm arch/ppc/lib"
make[1]: Entering directory `/home/mfuchs/mvista_405_linux_new/linux' make -C kernel fastdep
make[2]: Entering directory `/home/mfuchs/mvista_405_linux_new/linux/kernel'
make[2]: *** No rule to make target `/home/mfuchs/mvista_405_linux_new/linux/include/linux/autoconf.h', needed
by `/home/mfuchs/mvista_405_linux_new/linux/include/linux/modules/signal.ver'. Stop.
make[2]: Leaving directory `/home/mfuchs/mvista_405_linux_new/linux/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/home/mfuchs/mvista_405_linux_new/linux'
make: *** [dep-files] Error 2 mfuchs@pc-matthias:~/mvista_405_linux_new/linux >
--------------------------------------
thanks for advise
Matthias
--
-------------------------------------------------
\ Matthias Fuchs \
\ esd electronic system design Gmbh \
\ Vahrenwalder Straße 205 \
\ D-30165 Hannover \
\ email: [email protected] \
\ phone: +49-511-37298-0 \
\ fax: +49-511-37298-68 \
--------------------------------------------------** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
I believe 'make mrproper' blows away .config and autoconf.h. I don't know what the state of your tree is now, but try to
copy the .config again
"make 'your favorite config process'" (mine is xconfig) keep all defaults and 'save and exit'. this will create things like autoconf.h "make dep"
"make 'your favorite image'"
Quoted 79 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Matthias Fuchs
Sent: Saturday, August 05, 2000 9:02 AM
To: linuxppc-embedded
Subject: making kernel for ppc405gp from montavista sourcesHello,
I downloaded the linux_tar.gz file from montavista and unpacked it ! I copied the .config file from the same location to the kernel tree's root. Before I did a "make mrproper".
When I run a "make dep" I got an error ! Well, I could start to check out if there is an error in the tree, but I think that there is a general mistake I made !
Does anybody know where the error comes from ? Here is the output of my "make dep":
----------------------
mfuchs@pc-matthias:~/mvista_405_linux_new/linux > make dep make -Carch/ppc/bootfastdep
make[1]: Entering directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/boot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/boot'
make -Carch/ppc/chrpbootfastdep
make[1]: Entering directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/chrpboot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/chrpboot' make -Carch/ppc/treebootfastdep
make[1]: Entering directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/treeboot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/treeboot'scripts/mkdepinit/*.c> .dependscripts/mkdep`find/home/mfuchs/mvista_405_linux_new/linux/include/asm/home/mfuchs/mvista_405_linux_new/linux/include/linux/home/mfuchs/mvista_405_linux_new/linux/include/scsi/home/mfuchs/mvista_405_linux_new/linux/include/net-follow -name \*.h ! -namemodversions.h-print` > .hdepend
make_sfdep_kernel_sfdep_drivers_sfdep_mm_sfdep_fs_sfdep_net_sfdep_ipc_sfdep_lib_sfdep_arch/ppc/kernel _sfdep_arch/ppc/mm _sfdep_arch/ppc/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc libarch/ppc/kernelarch/ppc/mmarch/ppc/lib"
make[1]: Entering directory `/home/mfuchs/mvista_405_linux_new/linux' make -C kernel fastdep
make[2]: Entering directory `/home/mfuchs/mvista_405_linux_new/linux/kernel'
make[2]: *** No rule to make target `/home/mfuchs/mvista_405_linux_new/linux/include/linux/autoconf.h', needed
by `/home/mfuchs/mvista_405_linux_new/linux/include/linux/modules/sig nal.ver'.
Stop.
make[2]: Leaving directory `/home/mfuchs/mvista_405_linux_new/linux/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/home/mfuchs/mvista_405_linux_new/linux'
make: *** [dep-files] Error 2 mfuchs@pc-matthias:~/mvista_405_linux_new/linux >
--------------------------------------thanks for advise
Matthias--
-------------------------------------------------
\ Matthias Fuchs \
\ esd electronic system design Gmbh \
Quoted 7 lines
\ Vahrenwalder Straße 205 \
\ D-30165 Hannover \
\ email: [email protected] \
\ phone: +49-511-37298-0 \
\ fax: +49-511-37298-68 \
--------------------------------------------------** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Matthew Locke
I believe 'make mrproper' blows away .config and
autoconf.h. I don't know what the state of your tree is now, but try tocopy the .config again
"make 'your favorite config process'" (mine is xconfig) keep all defaults and 'save and exit'. this will create things likeautoconf.h"make dep"
"make 'your favorite image'"
Follow the directions on my web page in the section "Building the kernel:",
http://www.mvista.com/products/405gp_status/main.html
(This URL is likely to change in the next few days, I'll send out an announcement when it does.)
After getting the .config, you need to
make oldconfig
make dep
make one of the kernel targets
Please use "make menuconfig" instead of "make xconfig". The last time I checked, make xconfig generates incorrect results for the 405gp. Fixing it to work is on my to-do list.
Note that the web page points you to the May 3 kernel. There is a new kernel as of June 29, but I haven't announced it yet since I haven't updated the web page.
Quoted 75 lines
Quoted 75 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Matthias Fuchs
Sent: Saturday, August 05, 2000 9:02 AM
To: linuxppc-embedded
Subject: making kernel for ppc405gp from montavista sourcesHello,
I downloaded the linux_tar.gz file from montavista and unpacked it ! I copied the .config file from the same location to the kernel tree's root. Before I did a "make mrproper".
When I run a "make dep" I got an error ! Well, I could start to check out if there is an error in the tree, but I think that there is a general mistake I made !
Does anybody know where the error comes from ? Here is the output of my "make dep":
----------------------
mfuchs@pc-matthias:~/mvista_405_linux_new/linux > make dep make -Carch/ppc/bootfastdep
make[1]: Entering directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/boot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/boot'
make -Carch/ppc/chrpbootfastdep
make[1]: Entering directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/chrpboot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/chrpboot' make -Carch/ppc/treebootfastdep
make[1]: Entering directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/treeboot' /home/mfuchs/mvista_405_linux_new/linux/scripts/mkdep *.[Sch] > .depend make[1]: Leaving directory/home/mfuchs/mvista_405_linux_new/linux/arch/ppc/treeboot'scripts/mkdepinit/*.c> .dependscripts/mkdep`find/home/mfuchs/mvista_405_linux_new/linux/include/asm/home/mfuchs/mvista_405_linux_new/linux/include/linux/home/mfuchs/mvista_405_linux_new/linux/include/scsi/home/mfuchs/mvista_405_linux_new/linux/include/net-follow -name \*.h ! -namemodversions.h-print` > .hdepend
make_sfdep_kernel_sfdep_drivers_sfdep_mm_sfdep_fs_sfdep_net_sfdep_ipc_sfdep_lib_sfdep_arch/ppc/kernel _sfdep_arch/ppc/mm _sfdep_arch/ppc/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc libarch/ppc/kernelarch/ppc/mmarch/ppc/lib"
make[1]: Entering directory `/home/mfuchs/mvista_405_linux_new/linux' make -C kernel fastdep
make[2]: Entering directory `/home/mfuchs/mvista_405_linux_new/linux/kernel'
make[2]: *** No rule to make target `/home/mfuchs/mvista_405_linux_new/linux/include/linux/autoconf.h', needed
by `/home/mfuchs/mvista_405_linux_new/linux/include/linux/modules/sig nal.ver'.
Stop.
make[2]: Leaving directory `/home/mfuchs/mvista_405_linux_new/linux/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/home/mfuchs/mvista_405_linux_new/linux'
make: *** [dep-files] Error 2 mfuchs@pc-matthias:~/mvista_405_linux_new/linux >
--------------------------------------thanks for advise
Matthias
Quoted 12 lines
Quoted 11 lines
--
-------------------------------------------------
\ Matthias Fuchs \
\ esd electronic system design Gmbh \\ Vahrenwalder Straße 205 \ \ D-30165 Hannover \ \ email: [email protected] \ \ phone: +49-511-37298-0 \ \ fax: +49-511-37298-68 \ --------------------------------------------------
-Frank
--
Frank Rowand <[email protected]>
MontaVista Software, Inc
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/