* [Buildroot] Kernel not configuring [PowerPC 603e]
@ 2007-12-04 8:19 Andrea Provasi
[not found] ` <4ac2955e0712040031w3217e3b3s9733b271e246e671@mail.gmail.com>
2007-12-04 18:35 ` Ulf Samuelsson
0 siblings, 2 replies; 4+ messages in thread
From: Andrea Provasi @ 2007-12-04 8:19 UTC (permalink / raw)
To: buildroot
Hi all,
I am trying to build a rootfs and a kernel with buildroot for a Lite5200
evaluation board from Freescale. The board has an MPC5200B powerpc (it's a
603e core)
I made buildroot menuconfig changing the config to "Advanced Configuration",
vmlinux binary image in uImage, and rootfs type ext2 gzip compressed. All
the rest is as per defconfig (I think)
All build goes fine through toolchain and uClib.
When it is time to configure the kernel I get the following error:
==========================================================
You should create a .config for your kernel
and install it as /-linux-2.6.21.config
cp -dpf /-linux-2.6.21.config/opt/buildroot/project_build_powerpc/uclibc/linux-
2.6.21/.config
cp: impossibile fare stat di `/-linux-2.6.21.config': No such file or
directory
make: *** [/opt/buildroot/project_build_powerpc/uclibc/linux-2.6.21/.configured]
Error 1
===========================================================
this is quite expceted being the .config origin name wrong? (I may ask :-))
Looking into
the Makefile.in.advanced in the kernel package subtree,
/opt/buildroot/target/linux
seem that the calling make process is failing to export the variables:
BR2_BOARD_PATH and BR2_BOARD_NAME
I actuallyam NOT very keen in browsing the makefiles...I can't tell if it's
ME that I'm missing something or is anywhere anything I should set in the
menuconfig to define the two envvars?
Many thanks in advance for any help
Regads
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071204/1a912394/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Kernel not configuring [PowerPC 603e]
[not found] ` <4ac2955e0712040031w3217e3b3s9733b271e246e671@mail.gmail.com>
@ 2007-12-04 8:52 ` Andrea Provasi
2007-12-04 9:43 ` ing. Federico Fuga
0 siblings, 1 reply; 4+ messages in thread
From: Andrea Provasi @ 2007-12-04 8:52 UTC (permalink / raw)
To: buildroot
Thanks,
one further question while I try that, since the lite5200_defconfig file is
in arch/ppc/config
subfolder of the linux sources, could I directly put that into the buildroot
menuconfig or
do I hae to copy/move it to the buildroot directory?
This si cause I intendo to build several FSs using the same buildroot, as I
have another 2
powerPC board with different specs: an MPC8360 (which is still a 603e) and a
PowerPC405GX.
For all of them I'd like to build a Kernel and root filesystem and I wonder
how to differentiate te
.config for the different kernels.
Cheers
Andy
2007/12/4, mahendra varman <mahendravarman15@gmail.com>:
>
> Hi
>
> Under kernel section of the menuconfig you have to give your board
> specific kernel config file.
> Say for example , you can copy the .config file of ur kernel and name it
> as test.config paste into the
> buildroot folder. Give the name test.config under kernel .config section
> in menuconfig
>
> Good luck
> Mahendravarman
>
>
>
>
> On Dec 4, 2007 1:49 PM, Andrea Provasi <pkrcel@gmail.com > wrote:
>
> > Hi all,
> > I am trying to build a rootfs and a kernel with buildroot for a
> > Lite5200 evaluation board from Freescale. The board has an MPC5200B powerpc
> > (it's a 603e core)
> >
> > I made buildroot menuconfig changing the config to "Advanced
> > Configuration", vmlinux binary image in uImage, and rootfs type ext2 gzip
> > compressed. All the rest is as per defconfig (I think)
> >
> > All build goes fine through toolchain and uClib.
> >
> > When it is time to configure the kernel I get the following error:
> >
> > ==========================================================
> > You should create a .config for your kernel
> > and install it as /-linux-2.6.21.config
> >
> > cp -dpf /-linux-2.6.21.config/opt/buildroot/project_build_powerpc/uclibc/linux-
> > 2.6.21/.config
> > cp: impossibile fare stat di `/- linux-2.6.21.config': No such file or
> > directory
> > make: *** [/opt/buildroot/project_build_powerpc/uclibc/linux- 2.6.21/.configured]
> > Error 1
> > ===========================================================
> >
> > this is quite expceted being the .config origin name wrong? (I may ask
> > :-))
> >
> > Looking into
> > the Makefile.in.advanced in the kernel package subtree,
> > /opt/buildroot/target/linux
> > seem that the calling make process is failing to export the variables:
> >
> > BR2_BOARD_PATH and BR2_BOARD_NAME
> >
> > I actuallyam NOT very keen in browsing the makefiles...I can't tell if
> > it's ME that I'm missing something or is anywhere anything I should set in
> > the menuconfig to define the two envvars?
> >
> > Many thanks in advance for any help
> >
> > Regads
> > Andy
> >
> >
> >
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071204/29a36f47/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Kernel not configuring [PowerPC 603e]
2007-12-04 8:52 ` Andrea Provasi
@ 2007-12-04 9:43 ` ing. Federico Fuga
0 siblings, 0 replies; 4+ messages in thread
From: ing. Federico Fuga @ 2007-12-04 9:43 UTC (permalink / raw)
To: buildroot
Andrea Provasi ha scritto:
> For all of them I'd like to build a Kernel and root filesystem and I
> wonder how to differentiate te
> .config for the different kernels.
Hi Andrea,
you can use make saveconfig and make BOARD=xxx getconfig to save and get
the configuration set (kernel/uclibc/busybox) into the local/$(BOARD)
subdirectory. I think you also have to specify the correct board name
into the right menuconfig entry.
Regards,
ing. Federico Fuga
>
> Cheers
> Andy
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Kernel not configuring [PowerPC 603e]
2007-12-04 8:19 [Buildroot] Kernel not configuring [PowerPC 603e] Andrea Provasi
[not found] ` <4ac2955e0712040031w3217e3b3s9733b271e246e671@mail.gmail.com>
@ 2007-12-04 18:35 ` Ulf Samuelsson
1 sibling, 0 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2007-12-04 18:35 UTC (permalink / raw)
To: buildroot
----- Original Message -----
From: "Andrea Provasi" <pkrcel@gmail.com>
To: <buildroot@uclibc.org>
Sent: Tuesday, December 04, 2007 9:19 AM
Subject: [Buildroot] Kernel not configuring [PowerPC 603e]
> Hi all,
> I am trying to build a rootfs and a kernel with buildroot for a Lite5200
> evaluation board from Freescale. The board has an MPC5200B powerpc (it's a
> 603e core)
>
> I made buildroot menuconfig changing the config to "Advanced Configuration",
> vmlinux binary image in uImage, and rootfs type ext2 gzip compressed. All
> the rest is as per defconfig (I think)
>
> All build goes fine through toolchain and uClib.
>
> When it is time to configure the kernel I get the following error:
>
> ==========================================================
> You should create a .config for your kernel
> and install it as /-linux-2.6.21.config
>
> cp -dpf /-linux-2.6.21.config/opt/buildroot/project_build_powerpc/uclibc/linux-
> 2.6.21/.config
> cp: impossibile fare stat di `/-linux-2.6.21.config': No such file or
> directory
> make: *** [/opt/buildroot/project_build_powerpc/uclibc/linux-2.6.21/.configured]
> Error 1
> ===========================================================
>
> this is quite expceted being the .config origin name wrong? (I may ask :-))
>
> Looking into
> the Makefile.in.advanced in the kernel package subtree,
> /opt/buildroot/target/linux
> seem that the calling make process is failing to export the variables:
>
> BR2_BOARD_PATH and BR2_BOARD_NAME
>
> I actuallyam NOT very keen in browsing the makefiles...I can't tell if it's
> ME that I'm missing something or is anywhere anything I should set in the
> menuconfig to define the two envvars?
>
> Many thanks in advance for any help
>
> Regads
> Andy
>
Your board support needs to define these BOARD support variables,
(involves editing makefiles)
or you have to change the default path to the linux config file to something
which exists.
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-04 18:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 8:19 [Buildroot] Kernel not configuring [PowerPC 603e] Andrea Provasi
[not found] ` <4ac2955e0712040031w3217e3b3s9733b271e246e671@mail.gmail.com>
2007-12-04 8:52 ` Andrea Provasi
2007-12-04 9:43 ` ing. Federico Fuga
2007-12-04 18:35 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox