* [Buildroot] Kernel Download Error with external toolchain
@ 2007-09-28 13:18 Clark Rawlins
2007-09-28 18:08 ` Bernhard Fischer
0 siblings, 1 reply; 10+ messages in thread
From: Clark Rawlins @ 2007-09-28 13:18 UTC (permalink / raw)
To: buildroot
When attempting to build a fairly simple config including a kernel using
an external toolchain I am getting the following error:
rm
-rf /home/crawlins/src/br-trunk/project_build_i686/build/buildroot-config
mkdir -p /home/crawlins/src/br-trunk/project_build_i686/build
cp -dpRf
package/config/buildroot-config /home/crawlins/src/br-trunk/project_build_i686/build/buildroot-config
wget --passive-ftp -nd -P /home/crawlins/src/br-trunk/dl
http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
--09:13:15--
http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
=> `/home/crawlins/src/br-trunk/dl/linux-...tar.bz2'
Resolving www.kernel.org... 204.152.191.5, 204.152.191.37
Connecting to www.kernel.org|204.152.191.5|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:13:16 ERROR 404: Not Found.
make: *** [/home/crawlins/src/br-trunk/dl/linux-...tar.bz2] Error 1
I have been attempting to look at the Makefiles to figure out the
correct way to configure this option but I don't see how it is possible.
I have included my .config file as an attachment.
-------------- next part --------------
#
# Automatically generated make config: don't edit
# Fri Sep 28 09:00:42 2007
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
# BR2_alpha is not set
# BR2_arm is not set
# BR2_armeb is not set
# BR2_avr32 is not set
# BR2_cris is not set
# BR2_ia64 is not set
BR2_i386=y
# BR2_m68k is not set
# BR2_mips is not set
# BR2_mipsel is not set
# BR2_nios2 is not set
# BR2_powerpc is not set
# BR2_s390 is not set
# BR2_sh is not set
# BR2_sh64 is not set
# BR2_sparc is not set
# BR2_sparc64 is not set
# BR2_x86_64 is not set
# BR2_x86_i386 is not set
# BR2_x86_i486 is not set
# BR2_x86_i586 is not set
BR2_x86_i686=y
# BR2_x86_pentiumpro is not set
# BR2_x86_pentium_mmx is not set
# BR2_x86_pentium_m is not set
# BR2_x86_pentium2 is not set
# BR2_x86_pentium3 is not set
# BR2_x86_pentium4 is not set
# BR2_x86_prescott is not set
# BR2_x86_nocona is not set
# BR2_x86_core2 is not set
# BR2_x86_k6 is not set
# BR2_x86_k6_2 is not set
# BR2_x86_athlon is not set
# BR2_x86_athlon_4 is not set
# BR2_x86_opteron is not set
# BR2_x86_opteron_sse3 is not set
# BR2_x86_barcelona is not set
# BR2_x86_geode is not set
# BR2_x86_c3 is not set
# BR2_x86_winchip_c6 is not set
# BR2_x86_winchip2 is not set
BR2_ARCH="i686"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="i686"
BR2_GCC_TARGET_ARCH="i686"
#
# Target options
#
#
# Project Options
#
BR2_PROJECT="build"
BR2_HOSTNAME="build"
BR2_BANNER="FireBall Development Environment."
#
# Preset Devices
#
BR2_PACKAGE_LINUX=y
# BR2_TARGET_SOEKRIS_NET4521 is not set
# BR2_TARGET_SOEKRIS_NET4801 is not set
# BR2_TARGET_VIA_EPIA_MII is not set
#
# Generic x86 Device Support
#
#
# Generic System Support
#
# BR2_TARGET_GENERIC_ACCESS_POINT is not set
# BR2_TARGET_GENERIC_FIREWALL is not set
# BR2_TARGET_GENERIC_DEV_SYSTEM is not set
#
# Build options
#
BR2_WGET="wget --passive-ftp -nd"
BR2_SVN_CO="svn co"
BR2_SVN_UP="svn up"
BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
#
# Mirrors and Download locations
#
BR2_SOURCEFORGE_MIRROR="easynews"
#
# Atmel Mirrors
#
BR2_ATMEL_MIRROR="ftp://at91dist:distrib at 81.80.104.162/AT91_Third_Party_Design_Flow/Linux_Host/"
BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/"
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX=""
BR2_GNU_BUILD_SUFFIX="pc-linux-gnu"
BR2_GNU_TARGET_SUFFIX="linux-uclibc"
BR2_JLEVEL=2
# BR2_PREFER_IMA is not set
# BR2_DEPRECATED is not set
BR2_STRIP_strip=y
# BR2_STRIP_sstrip is not set
# BR2_STRIP_none is not set
# BR2_PREFER_STATIC_LIB is not set
BR2_HAVE_MANPAGES=y
BR2_HAVE_INFOPAGES=y
BR2_UPDATE_CONFIG=y
#
# Toolchain
#
# BR2_TOOLCHAIN_BUILDROOT is not set
BR2_TOOLCHAIN_EXTERNAL=y
# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
# BR2_TOOLCHAIN_SOURCE is not set
# BR2_PACKAGE_GDB is not set
# BR2_PACKAGE_GDB_SERVER is not set
# BR2_PACKAGE_GDB_HOST is not set
BR2_LARGEFILE=y
# BR2_INET_IPV6 is not set
# BR2_INET_RPC is not set
BR2_TARGET_OPTIMIZATION="-Os -pipe"
#
# External Toolchain Options
#
BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.6"
BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-2.6.so libc-2.6.so libmudflapth.so libBrokenLocale-2.6.so libBrokenLocale.so libm-2.6.so libm.so libdl-2.6.so libdl.so libmemusage.so libcrypt-2.6.so libcrypt.so libpthread-2.6.so libgomp.so libresolv-2.6.so libresolv.so libnss_dns-2.6.so libstdc++.so libnss_dns.so libanl-1.5.so libanl.so libnss_files-2.6.so libssp.so libnss_files.so libmudflap.so librt-2.6.so librt.so libSegFault.so libpcprofile.so libthread_db-1.0.so libthread_db.so libnss_hesiod-2.6.so libnss_hesiod.so libnsl-2.6.so libnsl.so libnss_nis-2.6.so libnss_nis.so libssp.so libnss_nisplus-2.6.so libnss_nisplus.so libnss_compat-2.6.so libnss_compat.so libutil-2.6.so libutil.so libc.so libpthread.so libstdc++.so libmudflap.so libgcc_s.so.1 ld-linux.so.2"
BR2_TOOLCHAIN_EXTERNAL_STRIP=y
#
# Common Toolchain Options
#
#
# Gdb Options
#
BR2_TOOLCHAIN_EXTERNAL_PATH="/opt/crosstool/gcc-4.2.1-glibc-2.6/i686-unknown-linux-gnu"
BR2_TOOLCHAIN_EXTERNAL_PREFIX="i686-unknown-linux-gnu"
# BR2_EXT_PTHREADS_NONE is not set
# BR2_EXT_PTHREADS is not set
BR2_EXT_PTHREADS_OLD=y
# BR2_EXT_PTHREADS_NATIVE is not set
#
# Package Selection for the target
#
BR2_PACKAGE_BUSYBOX=y
# BR2_BUSYBOX_VERSION_1_2_2_1 is not set
# BR2_BUSYBOX_VERSION_1_6_1 is not set
# BR2_BUSYBOX_VERSION_1_7_0 is not set
BR2_BUSYBOX_VERSION_1_7_1=y
# BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set
BR2_BUSYBOX_VERSION="1.7.1"
BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.6.0.config"
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
# The minimum needed to build a uClibc development system
#
# BR2_PACKAGE_BASH is not set
# BR2_PACKAGE_BZIP2 is not set
# BR2_PACKAGE_DIFFUTILS is not set
# BR2_PACKAGE_ED is not set
# BR2_PACKAGE_FLEX is not set
# BR2_PACKAGE_GCC_TARGET is not set
# BR2_PACKAGE_GREP is not set
# BR2_PACKAGE_MAKE is not set
# BR2_PACKAGE_PATCH is not set
#
# Other development stuff
#
# BR2_PACKAGE_AUTOCONF is not set
# BR2_PACKAGE_AUTOMAKE is not set
# BR2_PACKAGE_BISON is not set
# BR2_PACKAGE_CCACHE_TARGET is not set
# BR2_PACKAGE_DISTCC is not set
# BR2_PACKAGE_DMALLOC is not set
# BR2_PACKAGE_EXPAT is not set
# BR2_PACKAGE_FAKEROOT is not set
BR2_HOST_FAKEROOT=y
# BR2_PACKAGE_GETTEXT is not set
# BR2_PACKAGE_LIBINTL is not set
# BR2_PACKAGE_LIBGMP is not set
# BR2_PACKAGE_LIBMPFR is not set
# BR2_PACKAGE_LIBTOOL is not set
# BR2_PACKAGE_M4 is not set
# BR2_PACKAGE_PKGCONFIG is not set
# BR2_READLINE is not set
# BR2_PACKAGE_VALGRIND is not set
# BR2_PACKAGE_XERCES is not set
#
# Other stuff
#
# BR2_PACKAGE_AT is not set
# BR2_PACKAGE_BERKELEYDB is not set
# BR2_PACKAGE_BSDIFF is not set
# BR2_PACKAGE_CUSTOMIZE is not set
# BR2_PACKAGE_DASH is not set
# BR2_PACKAGE_FILE is not set
# BR2_PACKAGE_KEXEC is not set
# BR2_PACKAGE_LESS is not set
# BR2_PACKAGE_LIBDAEMON is not set
# BR2_PACKAGE_LIBELF is not set
# BR2_PACKAGE_LIBEVENT is not set
# BR2_PACKAGE_LIBFLOAT is not set
# BR2_PACKAGE_LIBGCRYPT is not set
# BR2_PACKAGE_LIBGPG_ERROR is not set
# BR2_PACKAGE_LIBLOCKFILE is not set
# BR2_PACKAGE_LIBSYSFS is not set
# BR2_PACKAGE_LIBXML2 is not set
# BR2_PACKAGE_LOCKFILE_PROGS is not set
# BR2_PACKAGE_LSOF is not set
# BR2_PACKAGE_LTP-TESTSUITE is not set
# BR2_PACKAGE_LTT is not set
# BR2_PACKAGE_MODULE_INIT_TOOLS is not set
# BR2_PACKAGE_MODUTILS is not set
# BR2_PACKAGE_NANO is not set
# BR2_PACKAGE_PORTAGE is not set
# BR2_PACKAGE_PROCPS is not set
# BR2_PACKAGE_PSMISC is not set
# BR2_PACKAGE_SQLITE is not set
# BR2_PACKAGE_STRACE is not set
# BR2_PACKAGE_SUDO is not set
# BR2_PACKAGE_SYSKLOGD is not set
# BR2_PACKAGE_SYSVINIT is not set
# BR2_PACKAGE_TINYLOGIN is not set
# BR2_PACKAGE_UEMACS is not set
# BR2_PACKAGE_UTIL-LINUX is not set
# BR2_PACKAGE_WHICH is not set
BR2_NETWORK_SUPPORT=y
#
# Networking applications
#
# BR2_PACKAGE_ARGUS is not set
# BR2_PACKAGE_AVAHI is not set
# BR2_PACKAGE_BOA is not set
# BR2_PACKAGE_BIND is not set
# BR2_PACKAGE_BRIDGE is not set
# BR2_PACKAGE_CURL is not set
# BR2_PACKAGE_LIBCURL is not set
# BR2_PACKAGE_ISC_DHCP is not set
# BR2_PACKAGE_DNSMASQ is not set
# BR2_PACKAGE_DROPBEAR is not set
# BR2_PACKAGE_ETHTOOL is not set
# BR2_PACKAGE_HASERL is not set
# BR2_PACKAGE_IRDA_UTILS is not set
# BR2_PACKAGE_IPERF is not set
# BR2_PACKAGE_IPROUTE2 is not set
# BR2_PACKAGE_IPSEC_TOOLS is not set
# BR2_PACKAGE_IPTABLES is not set
# BR2_PACKAGE_L2TP is not set
# BR2_PACKAGE_LIBCGI is not set
# BR2_PACKAGE_LIBCGICC is not set
# BR2_PACKAGE_LIBPCAP is not set
# BR2_PACKAGE_LINKS is not set
# BR2_PACKAGE_LRZSZ is not set
# BR2_PACKAGE_MDNSRESPONDER is not set
# BR2_PACKAGE_MICROCOM is not set
# BR2_PACKAGE_MROUTED is not set
# BR2_PACKAGE_MUTT is not set
# BR2_PACKAGE_NBD is not set
# BR2_PACKAGE_NCFTP is not set
# BR2_PACKAGE_NETCAT is not set
# BR2_PACKAGE_NETKITBASE is not set
# BR2_PACKAGE_NETKITTELNET is not set
# BR2_PACKAGE_NETPLUG is not set
# BR2_PACKAGE_NETSNMP is not set
# BR2_PACKAGE_NFS_UTILS is not set
# BR2_PACKAGE_NTP is not set
# BR2_PACKAGE_OLSR is not set
# BR2_PACKAGE_OPENNTPD is not set
# BR2_PACKAGE_OPENSSH is not set
# BR2_PACKAGE_OPENSSL is not set
# BR2_PACKAGE_OPENVPN is not set
# BR2_PACKAGE_OPENSWAN is not set
# BR2_PACKAGE_PORTMAP is not set
# BR2_PACKAGE_PPPD is not set
# BR2_PACKAGE_RP_PPPOE is not set
# BR2_PACKAGE_PPTP_LINUX is not set
# BR2_PACKAGE_PROFTPD is not set
# BR2_PACKAGE_QUAGGA is not set
#
# quagga suite
#
# BR2_PACKAGE_QUAGGA_ZEBRA is not set
# BR2_PACKAGE_QUAGGA_BGPD is not set
# BR2_PACKAGE_QUAGGA_RIPD is not set
# BR2_PACKAGE_QUAGGA_RIPNGD is not set
# BR2_PACKAGE_QUAGGA_OSPFD is not set
# BR2_PACKAGE_QUAGGA_WATCHQUAGGA is not set
# BR2_PACKAGE_QUAGGA_ISISD is not set
# BR2_PACKAGE_RSYNC is not set
# BR2_PACKAGE_SAMBA is not set
# BR2_PACKAGE_SOCAT is not set
# BR2_PACKAGE_STUNNEL is not set
# BR2_PACKAGE_TCPDUMP is not set
# BR2_PACKAGE_DHCPDUMP is not set
# BR2_PACKAGE_TFTPD is not set
# BR2_PACKAGE_LIGHTTPD is not set
# BR2_PACKAGE_THTTPD is not set
# BR2_PACKAGE_TINYHTTPD is not set
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_VPNC is not set
# BR2_PACKAGE_VTUN is not set
# BR2_PACKAGE_WGET is not set
# BR2_PACKAGE_WIRELESS_TOOLS is not set
BR2_BLOCKDEV_SUPPORT=y
# BR2_PACKAGE_ACPID is not set
# BR2_PACKAGE_DBUS is not set
# BR2_PACKAGE_DM is not set
# BR2_PACKAGE_DMRAID is not set
# BR2_PACKAGE_E2FSPROGS is not set
# BR2_PACKAGE_GADGETFS_TEST is not set
# BR2_PACKAGE_HAL is not set
# BR2_PACKAGE_HDPARM is not set
# BR2_PACKAGE_HOTPLUG is not set
# BR2_PACKAGE_HWDATA is not set
# BR2_PACKAGE_IOSTAT is not set
# BR2_PACKAGE_LIBAIO is not set
# BR2_PACKAGE_LIBRAW1394 is not set
# BR2_PACKAGE_LIBUSB is not set
# BR2_PACKAGE_LM_SENSORS is not set
# BR2_PACKAGE_LVM2 is not set
# BR2_PACKAGE_MDADM is not set
# BR2_PACKAGE_MEMTESTER is not set
# BR2_PACKAGE_MKDOSFS is not set
# BR2_PACKAGE_MTD is not set
# BR2_PACKAGE_PCIUTILS is not set
# BR2_PACKAGE_PCMCIA is not set
# BR2_PACKAGE_RAIDTOOLS is not set
# BR2_PACKAGE_SETSERIAL is not set
# BR2_PACKAGE_SFDISK is not set
# BR2_PACKAGE_SMARTMONTOOLS is not set
# BR2_PACKAGE_UDEV is not set
# BR2_PACKAGE_USBMOUNT is not set
# BR2_PACKAGE_USBUTILS is not set
# BR2_PACKAGE_WIPE is not set
# BR2_PACKAGE_XFSPROGS is not set
BR2_AUDIO_SUPPORT=y
# BR2_PACKAGE_ALSA_LIB is not set
# BR2_PACKAGE_ASTERISK is not set
# BR2_PACKAGE_AUMIX is not set
# BR2_PACKAGE_LIBMAD is not set
# BR2_PACKAGE_LIBSNDFILE is not set
# BR2_PACKAGE_LIBVORBIS is not set
# BR2_PACKAGE_MADPLAY is not set
# BR2_PACKAGE_MPG123 is not set
BR2_GRAPHIC_SUPPORT=y
#
# text rendering libraries
#
# BR2_PACKAGE_NCURSES is not set
# BR2_PACKAGE_NEWT is not set
# BR2_PACKAGE_SLANG is not set
#
# text rendering applications
#
# BR2_PACKAGE_DIALOG is not set
#
# graphic libraries
#
# BR2_PACKAGE_DIRECTFB is not set
# BR2_PACKAGE_IMAGEMAGICK is not set
# BR2_PACKAGE_JPEG is not set
# BR2_PACKAGE_LIBPNG is not set
# BR2_PACKAGE_LIBUNGIF is not set
# BR2_PACKAGE_SDL is not set
# BR2_PACKAGE_TIFF is not set
#
# busybox graphic applications
#
#
# --> (May be broken in busybox)
#
# BR2_PACKAGE_FBV is not set
# BR2_PACKAGE_FBSET is not set
#
# other GUIs
#
# BR2_PACKAGE_QTE is not set
# BR2_PACKAGE_QTOPIA4 is not set
BR2_PACKAGE_XSERVER_none=y
# BR2_PACKAGE_XSERVER_x11r7 is not set
# BR2_PACKAGE_XSERVER_xorg is not set
# BR2_PACKAGE_XSERVER_tinyx is not set
BR2_X11_PREFIX="/usr"
#
# X libraries and helper libraries
#
# BR2_PACKAGE_ATK is not set
# BR2_PACKAGE_PANGO is not set
# BR2_PACKAGE_LIBDRM is not set
# BR2_PACKAGE_LIBGLIB12 is not set
# BR2_PACKAGE_LIBGLIB2 is not set
# BR2_PACKAGE_FONTCONFIG is not set
# BR2_PACKAGE_FREETYPE is not set
# BR2_PACKAGE_TSLIB is not set
#
# X Window managers
#
# BR2_PACKAGE_MATCHBOX is not set
#
# X applications
#
#
# Video libraries/codecs and applications
#
# BR2_PACKAGE_MPLAYER is not set
BR2_COMPRESSOR_SUPPORT=y
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set
BR2_SCRIPTING_SUPPORT=y
# BR2_PACKAGE_MICROPERL is not set
# BR2_PACKAGE_PYTHON is not set
# BR2_PACKAGE_RUBY is not set
# BR2_PACKAGE_TCL is not set
# BR2_PACKAGE_PHP is not set
#
# Target filesystem options
#
#
# filesystem for target device
#
# BR2_TARGET_ROOTFS_CRAMFS is not set
# BR2_TARGET_ROOTFS_CLOOP is not set
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
BR2_TARGET_ROOTFS_EXT2_NONE=y
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
# BR2_TARGET_ROOTFS_JFFS2 is not set
# BR2_TARGET_ROOTFS_SQUASHFS is not set
# BR2_TARGET_ROOTFS_TAR is not set
# BR2_TARGET_ROOTFS_CPIO is not set
# BR2_TARGET_ROOTFS_ISO9660 is not set
# BR2_TARGET_ROOTFS_INITRAMFS is not set
#
# bootloader for target device
#
# BR2_TARGET_GRUB is not set
# BR2_TARGET_SYSLINUX is not set
# BR2_TARGET_PXELINUX is not set
#
# Kernel
#
# BR2_KERNEL_none is not set
BR2_KERNEL_LINUX=y
# BR2_KERNEL_HURD is not set
BR2_PACKAGE_LINUX_KCONFIG="config-2.6.21"
BR2_PACKAGE_LINUX_FORMAT="bzImage"
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 13:18 [Buildroot] Kernel Download Error with external toolchain Clark Rawlins
@ 2007-09-28 18:08 ` Bernhard Fischer
2007-09-28 18:16 ` Clark Rawlins
2007-09-28 19:01 ` Ulf Samuelsson
0 siblings, 2 replies; 10+ messages in thread
From: Bernhard Fischer @ 2007-09-28 18:08 UTC (permalink / raw)
To: buildroot
On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
>When attempting to build a fairly simple config including a kernel using
>an external toolchain I am getting the following error:
>
>http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
Index: target/linux/Config.in
===================================================================
--- target/linux/Config.in (revision 20084)
+++ target/linux/Config.in (working copy)
@@ -15,7 +15,6 @@ config BR2_PACKAGE_LINUX
config BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
bool "linux kernel experimental configuration"
depends on BR2_PACKAGE_LINUX
- depends on BR2_TARGET_ATMEL
default n
help
More advanced configuration (in development)
Another thing that is hidden behind some odd ATMEL symbol. What was the
reasoning for hiding this one, too?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 18:08 ` Bernhard Fischer
@ 2007-09-28 18:16 ` Clark Rawlins
2007-09-28 18:20 ` Bernhard Fischer
2007-09-28 19:01 ` Ulf Samuelsson
1 sibling, 1 reply; 10+ messages in thread
From: Clark Rawlins @ 2007-09-28 18:16 UTC (permalink / raw)
To: buildroot
On Fri, 2007-09-28 at 20:08 +0200, Bernhard Fischer wrote:
> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
> >When attempting to build a fairly simple config including a kernel using
> >an external toolchain I am getting the following error:
> >
> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
>
> Index: target/linux/Config.in
> ===================================================================
> --- target/linux/Config.in (revision 20084)
> +++ target/linux/Config.in (working copy)
> @@ -15,7 +15,6 @@ config BR2_PACKAGE_LINUX
> config BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
> bool "linux kernel experimental configuration"
> depends on BR2_PACKAGE_LINUX
> - depends on BR2_TARGET_ATMEL
> default n
> help
> More advanced configuration (in development)
>
> Another thing that is hidden behind some odd ATMEL symbol. What was the
> reasoning for hiding this one, too?
Alas,
I saw this earlier as well and attempted the same change you made but
with the same result end result.
(snip)
wget --passive-ftp -nd -P /home/crawlins/src/br-trunk/dl
http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
--14:10:41--
http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
=> `/home/crawlins/src/br-trunk/dl/linux-...tar.bz2'
Resolving www.kernel.org... 204.152.191.37, 204.152.191.5
Connecting to www.kernel.org|204.152.191.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
14:10:42 ERROR 404: Not Found.
make: *** [/home/crawlins/src/br-trunk/dl/linux-...tar.bz2] Error 1
Here is the diff between my previous config and the config after
removing the depends on BR2_TARGET_ATMEL line as noted above. I took the
defaults except to ask that the kernel get copied to my rootfs instead
of somewhere else.
--- buildroot.config 2007-09-28 14:12:58.090882697 -0400
+++ .config 2007-09-28 14:10:34.576202778 -0400
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Fri Sep 28 09:00:42 2007
+# Fri Sep 28 14:10:34 2007
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -490,5 +490,46 @@
# BR2_KERNEL_none is not set
BR2_KERNEL_LINUX=y
# BR2_KERNEL_HURD is not set
+BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG=y
BR2_PACKAGE_LINUX_KCONFIG="config-2.6.21"
-BR2_PACKAGE_LINUX_FORMAT="bzImage"
+BR2_PACKAGE_LINUX_FORMAT="uImage"
+# BR2_LINUX_2_6_SNAP is not set
+# BR2_LINUX_2_6_MM is not set
+# BR2_LINUX_2_6_STABLE is not set
+BR2_LINUX_2_6_22_1=y
+# BR2_LINUX_2_6_22 is not set
+# BR2_LINUX_2_6_21_6 is not set
+# BR2_LINUX_2_6_21_1 is not set
+# BR2_LINUX_2_6_21 is not set
+# BR2_LINUX_2_6_20_4 is not set
+# BR2_LINUX_2_6_20 is not set
+# BR2_LINUX_2_6_19_2 is not set
+# BR2_LINUX_2_6_19 is not set
+# BR2_LINUX_2_6_18 is not set
+# BR2_LINUX_2_6_17 is not set
+# BR2_LINUX_2_6_16 is not set
+# BR2_LINUX_2_6_15 is not set
+# BR2_LINUX_2_6_23 is not set
+# BR2_LINUX_CUSTOM is not set
+
+#
+# Patches
+#
+BR2_LINUX_BSP_PATCH=""
+BR2_DOWNLOAD_LINUX26_VERSION="2.6.22.1"
+BR2_LINUX26_VERSION="2.6.22.1"
+BR2_LINUX26_RC_PATCH=""
+BR2_PACKAGE_LINUX_USE_KCONFIG=y
+# BR2_LINUX26_DEFCONFIG is not set
+# BR2_LINUX_CUSTOMIZE is not set
+# BR2_LINUX_BIN_BZIMAGE is not set
+BR2_LINUX_BIN_UIMAGE=y
+# BR2_LINUX_BIN_VMLINUX is not set
+# BR2_LINUX_BIN_ZIMAGE is not set
+# BR2_LINUX_BIN_CUSTOM is not set
+
+#
+# Destinations for linux kernel binaries
+#
+BR2_LINUX_IN_ROOTFS=y
+# BR2_LINUX_COPY is not set
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 18:16 ` Clark Rawlins
@ 2007-09-28 18:20 ` Bernhard Fischer
0 siblings, 0 replies; 10+ messages in thread
From: Bernhard Fischer @ 2007-09-28 18:20 UTC (permalink / raw)
To: buildroot
On Fri, Sep 28, 2007 at 02:16:22PM -0400, Clark Rawlins wrote:
>On Fri, 2007-09-28 at 20:08 +0200, Bernhard Fischer wrote:
>> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
>> >When attempting to build a fairly simple config including a kernel using
>> >an external toolchain I am getting the following error:
>> >
>> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
>>
>> Index: target/linux/Config.in
>> ===================================================================
>> --- target/linux/Config.in (revision 20084)
>> +++ target/linux/Config.in (working copy)
>> @@ -15,7 +15,6 @@ config BR2_PACKAGE_LINUX
>> config BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
>> bool "linux kernel experimental configuration"
>> depends on BR2_PACKAGE_LINUX
>> - depends on BR2_TARGET_ATMEL
>> default n
>> help
>> More advanced configuration (in development)
>>
>> Another thing that is hidden behind some odd ATMEL symbol. What was the
>> reasoning for hiding this one, too?
>
>Alas,
>
>I saw this earlier as well and attempted the same change you made but
>with the same result end result.
Ah, yes. That's something different.
Add an option to your toolchain/external for the kernel-version. For
buildroot, i currently use the same version of the kernel that is used
for the headers. This will eventually be expanded in the future.
It's odd that you don't simply compile your own distro or use an
existing one, considering that you seem to be using glibc anyway.
*shrug*
HTH,
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 18:08 ` Bernhard Fischer
2007-09-28 18:16 ` Clark Rawlins
@ 2007-09-28 19:01 ` Ulf Samuelsson
2007-09-28 19:16 ` Bernhard Fischer
1 sibling, 1 reply; 10+ messages in thread
From: Ulf Samuelsson @ 2007-09-28 19:01 UTC (permalink / raw)
To: buildroot
fre 2007-09-28 klockan 20:08 +0200 skrev Bernhard Fischer:
> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
> >When attempting to build a fairly simple config including a kernel using
> >an external toolchain I am getting the following error:
> >
> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
>
> Index: target/linux/Config.in
> ===================================================================
> --- target/linux/Config.in (revision 20084)
> +++ target/linux/Config.in (working copy)
> @@ -15,7 +15,6 @@ config BR2_PACKAGE_LINUX
> config BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
> bool "linux kernel experimental configuration"
> depends on BR2_PACKAGE_LINUX
> - depends on BR2_TARGET_ATMEL
> default n
> help
> More advanced configuration (in development)
Give time to do development, without beeing to intrusive.
Been tied down with other stuff so It has not gotten
the attention it deserved.
Ulf
>
> Another thing that is hidden behind some odd ATMEL symbol. What was the
> reasoning for hiding this one, too?
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 19:01 ` Ulf Samuelsson
@ 2007-09-28 19:16 ` Bernhard Fischer
2007-09-28 20:49 ` Clark Rawlins
0 siblings, 1 reply; 10+ messages in thread
From: Bernhard Fischer @ 2007-09-28 19:16 UTC (permalink / raw)
To: buildroot
On Fri, Sep 28, 2007 at 09:01:57PM +0200, Ulf Samuelsson wrote:
>fre 2007-09-28 klockan 20:08 +0200 skrev Bernhard Fischer:
>> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
>> >When attempting to build a fairly simple config including a kernel using
>> >an external toolchain I am getting the following error:
>> >
>> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
>Give time to do development, without beeing to intrusive.
>
>Been tied down with other stuff so It has not gotten
>the attention it deserved.
np. It wouldn't have really helped either way without a little love..
Compiling a kernel with his external toolchain and setting the
INST_MOD_PATH properly shouldn't be that hard.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 19:16 ` Bernhard Fischer
@ 2007-09-28 20:49 ` Clark Rawlins
2007-09-28 20:58 ` Bernhard Fischer
0 siblings, 1 reply; 10+ messages in thread
From: Clark Rawlins @ 2007-09-28 20:49 UTC (permalink / raw)
To: buildroot
On Fri, 2007-09-28 at 21:16 +0200, Bernhard Fischer wrote:
> On Fri, Sep 28, 2007 at 09:01:57PM +0200, Ulf Samuelsson wrote:
> >fre 2007-09-28 klockan 20:08 +0200 skrev Bernhard Fischer:
> >> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
> >> >When attempting to build a fairly simple config including a kernel using
> >> >an external toolchain I am getting the following error:
> >> >
> >> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
>
> >Give time to do development, without beeing to intrusive.
> >
> >Been tied down with other stuff so It has not gotten
> >the attention it deserved.
>
> np. It wouldn't have really helped either way without a little love..
> Compiling a kernel with his external toolchain and setting the
> INST_MOD_PATH properly shouldn't be that hard.
True, It is easy enough, I just hopped (based on the configuration
options) that this was supported.
Here is the patch I am using to accomplish this. It seems like it may
be a bit of a hack, but I couldn't see a better way to do it without
really diving in, so I am open to suggestions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: external-kernel.patch
Type: text/x-patch
Size: 1387 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070928/676fe752/attachment.bin
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 20:49 ` Clark Rawlins
@ 2007-09-28 20:58 ` Bernhard Fischer
2007-09-29 16:50 ` Clark Rawlins
0 siblings, 1 reply; 10+ messages in thread
From: Bernhard Fischer @ 2007-09-28 20:58 UTC (permalink / raw)
To: buildroot
On Fri, Sep 28, 2007 at 04:49:06PM -0400, Clark Rawlins wrote:
>On Fri, 2007-09-28 at 21:16 +0200, Bernhard Fischer wrote:
>> On Fri, Sep 28, 2007 at 09:01:57PM +0200, Ulf Samuelsson wrote:
>> >fre 2007-09-28 klockan 20:08 +0200 skrev Bernhard Fischer:
>> >> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
>> >> >When attempting to build a fairly simple config including a kernel using
>> >> >an external toolchain I am getting the following error:
>> >> >
>> >> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
>>
>> >Give time to do development, without beeing to intrusive.
>> >
>> >Been tied down with other stuff so It has not gotten
>> >the attention it deserved.
>>
>> np. It wouldn't have really helped either way without a little love..
>> Compiling a kernel with his external toolchain and setting the
>> INST_MOD_PATH properly shouldn't be that hard.
>
>True, It is easy enough, I just hopped (based on the configuration
>options) that this was supported.
>
>Here is the patch I am using to accomplish this. It seems like it may
>be a bit of a hack, but I couldn't see a better way to do it without
>really diving in, so I am open to suggestions.
Well, it shouldn't be depending on the external stuff.
There should be a knob that is settable in Config to set if
kernel-headers-version == kernel-src-version (for TOOLCHAIN_SOURCE)
or not. If not or if TOOLCHAIN_EXTERNAL then use the given kernel-src-version
for building the kernel, keep using the kernel-headers-version for
headers-install (including unpacking, patching, etc. Both will need
this if kernel-headers-version != kernel-src-version, of course).
I'm just using the == case, so help with the other case is welcome
(including non-2.6 kernel-src, as some will most likely demand..)
cheers and TIA,
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-28 20:58 ` Bernhard Fischer
@ 2007-09-29 16:50 ` Clark Rawlins
2007-09-29 17:10 ` Bernhard Fischer
0 siblings, 1 reply; 10+ messages in thread
From: Clark Rawlins @ 2007-09-29 16:50 UTC (permalink / raw)
To: buildroot
On Fri, 2007-09-28 at 22:58 +0200, Bernhard Fischer wrote:
> On Fri, Sep 28, 2007 at 04:49:06PM -0400, Clark Rawlins wrote:
> >On Fri, 2007-09-28 at 21:16 +0200, Bernhard Fischer wrote:
> >> On Fri, Sep 28, 2007 at 09:01:57PM +0200, Ulf Samuelsson wrote:
> >> >fre 2007-09-28 klockan 20:08 +0200 skrev Bernhard Fischer:
> >> >> On Fri, Sep 28, 2007 at 09:18:26AM -0400, Clark Rawlins wrote:
> >> >> >When attempting to build a fairly simple config including a kernel using
> >> >> >an external toolchain I am getting the following error:
> >> >> >
> >> >> >http://www.kernel.org/pub/linux/kernel/v2.6//linux-...tar.bz2
> >>
> >> >Give time to do development, without beeing to intrusive.
> >> >
> >> >Been tied down with other stuff so It has not gotten
> >> >the attention it deserved.
> >>
> >> np. It wouldn't have really helped either way without a little love..
> >> Compiling a kernel with his external toolchain and setting the
> >> INST_MOD_PATH properly shouldn't be that hard.
> >
> >True, It is easy enough, I just hopped (based on the configuration
> >options) that this was supported.
> >
> >Here is the patch I am using to accomplish this. It seems like it may
> >be a bit of a hack, but I couldn't see a better way to do it without
> >really diving in, so I am open to suggestions.
>
Let me rephrase to make sure I understand what you are saying.
> Well, it shouldn't be depending on the external stuff.
> There should be a knob that is settable in Config to set if
> kernel-headers-version == kernel-src-version (for TOOLCHAIN_SOURCE)
> or not.
You want a bool Config.in setting (BR2_BUILT_KERNEL_IS_HEADER_VERSION?)
dependent on BR2_PACKAGE_LINUX and !BR2_TOOLCHAIN_EXTERNAL that lets the
user choose if the kernel they build is the same as the kernel headers
version they chose and ...
> If not or if TOOLCHAIN_EXTERNAL then use the given kernel-src-version
> for building the kernel, keep using the kernel-headers-version for
> headers-install (including unpacking, patching, etc. Both will need
> this if kernel-headers-version != kernel-src-version, of course).
Expose a choice for BR2_LINUX26_VERSION dependent on either
BR2_TOOLCHAIN_EXTERNAL or !BR2_BUILT_KERNEL_IS_HEADER_VERSION that
allows the user to choose which version of the kernel to build.
Then the makefiles need to setup LINUX26_VERSION and LINUX26_SOURCE when
BR2_LINUX26_VERSION is set so that the download target/linux/linux.mk
will get used to download the kernel source.
How close am I? :)
>
> I'm just using the == case, so help with the other case is welcome
> (including non-2.6 kernel-src, as some will most likely demand..)
>
> cheers and TIA,
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Kernel Download Error with external toolchain
2007-09-29 16:50 ` Clark Rawlins
@ 2007-09-29 17:10 ` Bernhard Fischer
0 siblings, 0 replies; 10+ messages in thread
From: Bernhard Fischer @ 2007-09-29 17:10 UTC (permalink / raw)
To: buildroot
On Sat, Sep 29, 2007 at 12:50:20PM -0400, Clark Rawlins wrote:
>Let me rephrase to make sure I understand what you are saying.
>How close am I? :)
Yes, that'd be it.
For the dependency stuff (project_/$PROJ/buildroot-config), i'd prefer
to keep the names in the BR2_KERNEL_* hierarchy. A bit clumsy,
but nicer for the wildcards.
config BR2_KERNEL_SRC_IS_HEADERS
bool "Use kernel tarball for both headers and kernel-binary"
default y
help
selfexplanatory but could need a more elaborate text
BR2_PACKAGE_LINUX_SRC_VERSION
string "linux kernel version"
default ""
depends on !BR2_KERNEL_SRC_IS_HEADERS
help
Specify the version of the linux kernel to use to
build the kernel binary.
or something like this
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-09-29 17:10 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 13:18 [Buildroot] Kernel Download Error with external toolchain Clark Rawlins
2007-09-28 18:08 ` Bernhard Fischer
2007-09-28 18:16 ` Clark Rawlins
2007-09-28 18:20 ` Bernhard Fischer
2007-09-28 19:01 ` Ulf Samuelsson
2007-09-28 19:16 ` Bernhard Fischer
2007-09-28 20:49 ` Clark Rawlins
2007-09-28 20:58 ` Bernhard Fischer
2007-09-29 16:50 ` Clark Rawlins
2007-09-29 17:10 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox