Skip to contentSkip to conversation

svn At revision 20289 breakage

Buildroot Babarovic Ivica 3 participants 15 messages Oct 18, 2007 – Oct 19, 2007

lore
Share & tools
lore
#0 lore raw

Hi!

$ make all

Checking build system dependencies:

BUILDROOT_DL_DIR clean:                         Ok
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/usr/bin/sed)

GNU make version '3.81': Ok
C compiler '/usr/bin/gcc'
C compiler version '4.1.1': Ok
C++ compiler '/usr/bin/g++'

C++ compiler version '4.1.1':                   Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

rm -rf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config mkdir -p
/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32
cp -dpRf package/config/buildroot-config /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config cp -dpf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config
cp: missing destination file operand after /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.configured] Error 1

#1 lore raw
Quoted 16 lines

rm -rf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config mkdir -p
/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32
cp -dpRf package/config/buildroot-config /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config cp -dpf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config
cp: missing destination file operand after /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.configured] Error 1

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Yes, I have the same error:

rm -rf /opt/buildroot/project_build_arm/uclibc/buildroot-config
mkdir -p /opt/buildroot/project_build_arm/uclibc
cp -dpRf package/config/buildroot-config /opt/buildroot/project_build_arm/uclibc/buildroot-config cp -dpf /opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.config
cp: missing destination file operand after /opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.configured] Error 1

Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

#2 lore raw
Quoted 22 lines
Quoted 15 lines

rm -rf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config mkdir -p
/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32
cp -dpRf package/config/buildroot-config /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config cp -dpf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config
cp: missing destination file operand after /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.configured] Error 1

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Yes, I have the same error:

Quoted 13 lines

rm -rf /opt/buildroot/project_build_arm/uclibc/buildroot-config mkdir -p /opt/buildroot/project_build_arm/uclibc
cp -dpRf package/config/buildroot-config /opt/buildroot/project_build_arm/uclibc/buildroot-config
cp -dpf /opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.config
cp: missing destination file operand after /opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.configured] Error 1

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

#3 lore raw
Quoted 37 lines · Ulf Samuelsson
Quoted 21 lines
Quoted 15 lines

rm -rf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config mkdir -p
/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32
cp -dpRf package/config/buildroot-config /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/buildroot-config cp -dpf /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config
cp: missing destination file operand after /home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/home/ivo/src/mpc5200_binar/build-tools/buildroot/project_build_powerpc/cpu32/linux-2.6.22.10/.configured] Error 1

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Yes, I have the same error:

Quoted 13 lines

rm -rf /opt/buildroot/project_build_arm/uclibc/buildroot-config mkdir -p /opt/buildroot/project_build_arm/uclibc
cp -dpRf package/config/buildroot-config /opt/buildroot/project_build_arm/uclibc/buildroot-config
cp -dpf /opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.config
cp: missing destination file operand after /opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.config' Try cp --help' for more information.
make: *** [/opt/buildroot/project_build_arm/uclibc/linux-2.6.22.10/.configured] Error 1

Key question:

Quoted 9 lines

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

        cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
        $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

BR,
Ivan

--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

#4 lore raw
Quoted 13 lines
Quoted 12 lines

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

Quoted 10 lines

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

       cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
       $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

Gotcha!

Quoted 3 lines

BR,
Ivan

Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB

Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden

Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57

#5 lore raw
In reply to Ivan Kuten
Quoted 13 lines
Quoted 12 lines

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

Quoted 10 lines

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

       cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
       $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

Gotcha!

Why not try the "Advanced Linux configuration" recently added This should allow you to do "make xconfig" to create the needed file.

Quoted 3 lines

BR,
Ivan

Best Regards
Ulf Samuelsson

#6 lore raw
Quoted 28 lines · Ulf Samuelsson
Quoted 11 lines
Quoted 11 lines

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

Quoted 10 lines

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

       cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
       $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

Gotcha!

Why not try the "Advanced Linux configuration" recently added This should allow you to do "make xconfig" to create the needed file.

Quoted 8 lines
Quoted 3 lines

BR,
Ivan

Best Regards
Ulf Samuelsson

That's because I have generic arm .config:

BR2_arm=y
BR2_arm920t=y

BR2_ARM_TYPE="ARM920T"
# BR2_ARM_OABI is not set
BR2_ARM_EABI=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm920t"

BR2_KERNEL_HEADERS_2_6_22=y
# BR2_KERNEL_HEADERS_SNAP is not set
BR2_DEFAULT_KERNEL_HEADERS="2.6.22.9"

# BR2_KERNEL_none is not set
BR2_KERNEL_LINUX=y
# BR2_KERNEL_HURD is not set
# BR2_PACKAGE_LINUX is not set

And it was always building OK without any creation of .config for kernel. Seems some defconfig for arm920t was broken/changed.

BR,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

#7 lore raw
In reply to Ulf Samuelsson
Quoted 20 lines · Ulf Samuelsson
Quoted 20 lines
Quoted 12 lines

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

       cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
       $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config
Quoted 9 lines
Quoted 3 lines

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

Gotcha!

Why not try the "Advanced Linux configuration" recently added This should allow you to do "make xconfig" to create the needed file.

Wait! so we should now include our kernel .config files in buildroot build process?
If so Why?

BR,
I.

#8 lore raw
Quoted 31 lines · Babarovic Ivica
Quoted 19 lines · Ulf Samuelsson
Quoted 19 lines
Quoted 12 lines

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

       cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
       $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config
Quoted 10 lines
Quoted 4 lines

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

Gotcha!

Why not try the "Advanced Linux configuration" recently added This should allow you to do "make xconfig" to create the needed file.

Quoted 8 lines

Wait! so we should now include our kernel .config files in buildroot build process?
If so Why?

BR,
I.
_______________________________________________

Never mind that. I've selected Kernel type (none).

I.

#9 lore raw
In reply to Babarovic Ivica

----- Original Message -----
From: "Babarovic Ivica" <[email protected]>
To: <[email protected]>
Sent: Friday, October 19, 2007 8:39 AM
Subject: Re: [Buildroot] svn At revision 20289 breakage

Quoted 25 lines
Quoted 24 lines · Ulf Samuelsson
Quoted 23 lines
Quoted 12 lines

Key question:

What does

$ cp a

do?

Best Regards
Ulf Samuelsson

target/linux/Makefile.in : line 148

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)

       cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
       $(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

and LINUX26_KCONFIG is "" because BR2_PACKAGE_LINUX_KCONFIG=""

Quoted 8 lines
Quoted 5 lines

Gotcha!

Why not try the "Advanced Linux configuration" recently added This should allow you to do "make xconfig" to create the needed file.

Wait! so we should now include our kernel .config files in buildroot build process?
If so Why?

It is always the case that you have to provide a ".config" file for linux.

For some lucky souls Buildroot will do it for you.
This is when there is an appropriate definition somewhere in the target directory,
and if you have supplied the right kernel.

For some unlucky souls, they now have an option to start a "make xconfig" to get a window allowing them to configure things instead of having a failed build.

Quoted 3 lines

BR,
I.

Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB

Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden

Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57

Technical support when I am not available:
AT89 C51 Applications Group: mailto:micro.hotline at nto.atmel.com AT90 AVR Applications Group: mailto:avr at atmel.com AT91 ARM Applications Group: mailto:at91support at atmel.com FPSLIC Application Group: mailto:fpslic at atmel.com Best AVR
link: www.avrfreaks.net

#10 lore raw
Quoted 8 lines · Ulf Samuelsson

It is always the case that you have to provide a ".config" file for linux.

For some lucky souls Buildroot will do it for you. This is when there is an appropriate definition somewhere in the target directory,
and if you have supplied the right kernel.

Well, I guess I was lucky until now. I never provided any kernel or .config files.
I still fail to see why this is important for buildroot build. Kernel headers?

I have a .config file from a kernel I build. Should I put that into buildroot process?
What differences would it make?

Quoted 5 lines

For some unlucky souls, they now have an option to start a "make xconfig" to get a window allowing them to configure things instead of having a failed build.

#11 lore raw

----- Original Message -----
From: "Babarovic Ivica" <[email protected]>
To: "Ulf Samuelsson" <[email protected]>
Cc: <[email protected]>
Sent: Friday, October 19, 2007 10:13 AM
Subject: Re: [Buildroot] svn At revision 20289 breakage

Quoted 9 lines
Quoted 8 lines · Ulf Samuelsson

It is always the case that you have to provide a ".config" file for linux.

For some lucky souls Buildroot will do it for you.
This is when there is an appropriate definition somewhere in the target directory,
and if you have supplied the right kernel.

Quoted 9 lines

Well, I guess I was lucky until now. I never provided any kernel or .config files.
I still fail to see why this is important for buildroot build. Kernel headers?

I have a .config file from a kernel I build. Should I put that into buildroot process?
What differences would it make?

Quoted 1 line

If you want buildroot to build the kernel for you, you need to ensure that LINUX26_KCONFIG
is defined as a link to your ".config" file when the linus kernel is built.

The difference is that it will be one less script to run
you will get the modules automatically inserted into the root file system, and the result will be in the binaries directory.

With the Advanced Kernel Configuration, you should be able to build basically
any kernel version, and you are able to apply patches much more freely than before.

If you use the same version as the kernel headers, then your kernel version choice is rather limited, and if you choose to go with the latest, then the kernel version will be updated once or twice a month.

Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB

Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden

Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57

#12 lore raw
In reply to Babarovic Ivica
Quoted 16 lines · Babarovic Ivica
Quoted 7 lines · Ulf Samuelsson

It is always the case that you have to provide a ".config" file for linux.

For some lucky souls Buildroot will do it for you. This is when there is an appropriate definition somewhere in the target directory,
and if you have supplied the right kernel.

Well, I guess I was lucky until now. I never provided any kernel or .config files.
I still fail to see why this is important for buildroot build. Kernel headers?

I have a .config file from a kernel I build. Should I put that into buildroot process?
What differences would it make?

Quoted 8 lines
Quoted 4 lines

For some unlucky souls, they now have an option to start a "make xconfig" to get a window allowing them to configure things instead of having a failed build.

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

As for me, I'm not using building kernel in buildroot - I'm building it separately. And with recent changes made by Ulf, we have only to regenerate our .config buildroot config and to select Kernel -> "none". And I have buildroot build OK again.
The only thing that Ulf forget to warn people that if they have old buildroot .config they must regenerate it and select kernel .config or kernel none , otherwise you will get that error messages when doing cp.

Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

#13 lore raw

link: www.avrfreaks.net
----- Original Message -----
From: "Kuten Ivan" <[email protected]>
To: "Babarovic Ivica" <[email protected]>
Cc: "Ulf Samuelsson" <[email protected]>; <[email protected]>
Sent: Friday, October 19, 2007 12:21 PM
Subject: Re: [Buildroot] svn At revision 20289 breakage

Quoted 27 lines
Quoted 21 lines · Babarovic Ivica
Quoted 7 lines · Ulf Samuelsson

It is always the case that you have to provide a ".config" file for linux.

For some lucky souls Buildroot will do it for you. This is when there is an appropriate definition somewhere in the target directory,
and if you have supplied the right kernel.

Well, I guess I was lucky until now. I never provided any kernel or .config files.
I still fail to see why this is important for buildroot build. Kernel headers?

I have a .config file from a kernel I build. Should I put that into buildroot process?
What differences would it make?

Quoted 5 lines

For some unlucky souls, they now have an option to start a "make xconfig"
to get a window allowing them to configure things instead of having a failed build.

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Quoted 11 lines

As for me, I'm not using building kernel in buildroot - I'm building it separately.
And with recent changes made by Ulf, we have only to regenerate our .config buildroot config
and to select Kernel -> "none". And I have buildroot build OK again. The only thing that Ulf forget to warn people that if they have old buildroot .config
they must regenerate it and select kernel .config or kernel none , otherwise you will get that error
messages when doing cp.

It was Bernhard which introduced the new kernel selection so dont blame me.

The old way of building the kernel really suck, so I understand why you build it separately.

I added the Advanced Kernel Configuration last week to fix those problems. You can select any 2.6.x.y kernel.
You can add -rc# patches, -mm# patches and your own proprietary patch which is located in $(DL_DIR)
You can select easily zImage,bzImage, uImage, vmlinux (proprietary).
It would be good if you gave that one a try and provide feedback on any
drawbacks you see.

Quoted 2 lines

Best regards,
Ivan

Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB

Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden

Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57

#14 lore raw
Quoted 6 lines

It was Bernhard which introduced the new kernel selection so dont blame me.

The old way of building the kernel really suck, so I understand why you build it separately.

Quoted 8 lines

I added the Advanced Kernel Configuration last week to fix those problems. You can select any 2.6.x.y kernel.
You can add -rc# patches, -mm# patches and your own proprietary patch which is located in $(DL_DIR)
You can select easily zImage,bzImage, uImage, vmlinux (proprietary).
It would be good if you gave that one a try and provide feedback on any
drawbacks you see.

Sorry Ulf, I did not want to blame anybody.

Yeah, for me it was quite surprising that having buildroot .config which was working for several months to see that it's not working anymore.

OK, i'll try building kernel within buildroot and will inform about results.

Best regards,
Ivan

Signature · 5 lines
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------