Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] unable to build arm926ejs toolchain with latest snapshot cp error during kernel unpack
@ 2007-09-27 10:59 Hebbar
  2007-09-27 11:15 ` Hebbar
  0 siblings, 1 reply; 3+ messages in thread
From: Hebbar @ 2007-09-27 10:59 UTC (permalink / raw)
  To: buildroot


Hi all,

 i am trying to build arm926ejs toolchain with latest snapshot and after the
make unpack and patches the linux kernel source it comes up with below
error.
kindly help me solve the same.

My config --> 

BR2_VERSION="0.10.0-svn"
BR2_arm=y
BR2_arm926t=y
BR2_ARM_TYPE="ARM926T"
BR2_ARM_EABI=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm9tdmi"
BR2_PACKAGE_LINUX=y
BR2_TOOLCHAIN_BUILDROOT=y
BR2_TOOLCHAIN_SOURCE=y
BR2_KERNEL_HEADERS_2_6_21_5=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.21.5"
BR2_UCLIBC_VERSION_0_9_29=y
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
BR2_ENABLE_LOCALE=y


<snip>
s-3.2.2/depmod /home/guru/project/toolchain/uclibc/bin/arm-linux-depmod26
rm -rf
/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5
*** Unpacking kernel source
bzcat /home/guru/project/original/bldrt/buildroot/dl/linux-2.6.21.5.tar.bz2
| tar -C
/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc   -xf -
touch
/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5/.unpacked
toolchain/patch-kernel.sh
/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5
toolchain/kernel-headers \
                linux-2.6.21.5-\*.patch{,.gz,.bz2}

Applying linux-2.6.21.5-006-wait-for-async-scanned-block-devices.patch using
plaintext: 
patching file init/do_mounts.c
Hunk #1 succeeded at 23 (offset -2 lines).
Hunk #2 succeeded at 215 (offset -2 lines).
Hunk #3 succeeded at 441 (offset -6 lines).
touch
/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5/.patched
cp -dpf 
/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5/.config
cp: missing destination file operand after
`/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5/.config'
Try `cp --help' for more information.
make: ***
[/home/guru/project/original/bldrt/buildroot/project_build_arm/uclibc/linux-2.6.21.5/.configured]
Error 1


Regards
Gururaja
-- 
View this message in context: http://www.nabble.com/unable-to-build-arm926ejs-toolchain-with-latest-snapshot-cp-error-during-kernel-unpack-tf4527671.html#a12918929
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] unable to build arm926ejs toolchain with latest snapshot cp error during kernel unpack
  2007-09-27 10:59 [Buildroot] unable to build arm926ejs toolchain with latest snapshot cp error during kernel unpack Hebbar
@ 2007-09-27 11:15 ` Hebbar
  2007-09-27 21:24   ` Ulf Samuelsson
  0 siblings, 1 reply; 3+ messages in thread
From: Hebbar @ 2007-09-27 11:15 UTC (permalink / raw)
  To: buildroot


Hi all,
i found the location of problem but yet to find the solution. In
buildroot\target\linux\makefile.in at 

$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)
	cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config          --------->
bug/error for me
	$(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config
ifeq ($(BR2_ARM_EABI),y)

$(LINUX26_KCONFIG) ---> is not getting set/defined.


# Linux kernel configuration file
# Has to be set by the target/device
# If it is not set by the target/device, then pick the one from .config
ifndef LINUX26_KCONFIG
ifneq ($(strip $(subst ",,$(BR2_PACKAGE_LINUX_KCONFIG))),)
LINUX26_KCONFIG=$(strip $(subst ",,$(BR2_PACKAGE_LINUX_KCONFIG)))
#"))
#"))
else
# LINUX26_KCONFIG=$(BOARD_PATH)/linux26.config
endif
endif


Kindly let me know how to set. 

also when i tries make linux26-

Regards
Gururaja



-- 
View this message in context: http://www.nabble.com/unable-to-build-arm926ejs-toolchain-with-latest-snapshot-cp-error-during-kernel-unpack-tf4527671.html#a12919161
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] unable to build arm926ejs toolchain with latest snapshot cp error during kernel unpack
  2007-09-27 11:15 ` Hebbar
@ 2007-09-27 21:24   ` Ulf Samuelsson
  0 siblings, 0 replies; 3+ messages in thread
From: Ulf Samuelsson @ 2007-09-27 21:24 UTC (permalink / raw)
  To: buildroot

tor 2007-09-27 klockan 04:15 -0700 skrev Hebbar:
> Hi all,
> i found the location of problem but yet to find the solution. In
> buildroot\target\linux\makefile.in at 
> 
> $(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)
> 	cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config          --------->
> bug/error for me
> 	$(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config
> ifeq ($(BR2_ARM_EABI),y)
> 
> $(LINUX26_KCONFIG) ---> is not getting set/defined.
> 
> 
> # Linux kernel configuration file
> # Has to be set by the target/device
> # If it is not set by the target/device, then pick the one from .config
> ifndef LINUX26_KCONFIG
> ifneq ($(strip $(subst ",,$(BR2_PACKAGE_LINUX_KCONFIG))),)

You do 
make menuconfig
select the Kernel->Linux
and then type in the patch + name of your linux config file.
If you dont have one, you have to go into the linux source tree

type

make ARCH=arm xconfig
and save the result.

Copy the ..config somewhere
and give menuconfig the path to the new file.



> LINUX26_KCONFIG=$(strip $(subst ",,$(BR2_PACKAGE_LINUX_KCONFIG)))
> #"))
> #"))
> else
> # LINUX26_KCONFIG=$(BOARD_PATH)/linux26.config
> endif
> endif
> 
> 
> Kindly let me know how to set. 
> 
> also when i tries make linux26-
> 
> Regards
> Gururaja
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-27 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-27 10:59 [Buildroot] unable to build arm926ejs toolchain with latest snapshot cp error during kernel unpack Hebbar
2007-09-27 11:15 ` Hebbar
2007-09-27 21:24   ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox