making kernel for ppc405gp from montavista sources

3 messages, 3 authors, 2000-07-05 · open the first message on its own page

making kernel for ppc405gp from montavista sources

From: Matthias Fuchs <hidden>
Date: 2000-07-05 16:01:56

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 > .depend
scripts/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: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: making kernel for ppc405gp from montavista sources

From: Matthew Locke <hidden>
Date: 2000-07-05 16:49:13

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'"
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Matthias
Fuchs
Sent: Saturday, August 05, 2000 9:02 AM
To: linuxppc-embedded
Subject: 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 > .depend
scripts/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/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              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: making kernel for ppc405gp from montavista sources

From: Frank Rowand <hidden>
Date: 2000-07-05 18:17:39

Matthew Locke wrote:
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'"

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
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Matthias
Fuchs
Sent: Saturday, August 05, 2000 9:02 AM
To: linuxppc-embedded
Subject: 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 > .depend
scripts/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/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              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help