geodegx: Linux 2.6.31.4
PATCH 1/1 geodegx: Linux 2.6.31.4
conf/checksums.ini +4 -0
@@ -16954,6 +16954,10 @@ sha256=d7b9f19b92fd5c693c16cd62f441d051b699f28ec6a175d1b464e58bacd8c78f md5=84c077a37684e4cbfa67b18154390d8a sha256=0acd83f7b85db7ee18c2b0b7505e1ba6fd722c36f49a8870a831c851660e3512 +[http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.4.tar.bz2] +md5=ae7fde9fd0ae0d8ac12a1e1536d6d3ce +sha256=e63041db1ef666ca43293762c8aaec27bd4b54b6d86aee68ebb090c1b66584f4 + [http://kernel.org//pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2] md5=e921200f074ca97184e150ef5a4af825 sha256=f5dba6366e87e91234d1b0069cfea655b0a4cb37ea97f899226f16998e6ab9f1
conf/machine/geodegx.conf +4 -2
@@ -6,8 +6,10 @@ TARGET_ARCH = "i486" require conf/machine/include/tune-geode.inc -PREFERRED_PROVIDER_virtual/kernel = "linux-geodegx" -BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules" +PREFERRED_PROVIDER_virtual/kernel = "linux" +MACHINE_EXTRA_RDEPENDS = "kernel grub" +MACHINE_FEATURES = "kernel26 pci ext2 x86" +MACHINE_KERNEL_VERSION = "2.6" udevdir = "/dev"
recipes/linux/linux-2.6.31.4/geode/defconfig new file +1792 -0
1,792 lines not on this page · raw message
recipes/linux/linux_2.6.31.4.bb new file +13 -0
@@ -0,0 +1,13 @@ +DESCRIPTION = "Linux 2.6 kernel for the AMD Geode GX processor" +LICENSE = "GPL" + +require linux.inc +COMPATIBLE_MACHINE = "geodegx" + +PR = "r0" +S = "${WORKDIR}/linux-${PV}" +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_geodegx = "1" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ + file://defconfig"
Signature · 1 line
1.5.6.5
PATCH 1/1 geodegx: Fix glibc configure error
Fix glibc configure error:
| configure: running configure fragment for add-on nptl | checking sysdep dirs... configure: error: The geode subspecies of i486 is not supported. | FATAL: oe_runconf failed
conf/machine/geodegx.conf +2 -2
@@ -2,7 +2,7 @@ # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) -TARGET_ARCH = "i486" +TARGET_ARCH = "i586" require conf/machine/include/tune-geode.inc
@@ -16,4 +16,4 @@ udevdir = "/dev" KERNEL_IMAGETYPE = "bzImage" GLIBC_ADDONS = "nptl" -GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=geode" +GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=i586"
conf/machine/geodelx.conf +2 -2
@@ -2,7 +2,7 @@ # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) -TARGET_ARCH = "i486" +TARGET_ARCH = "i586" require conf/machine/include/tune-geode.inc
@@ -11,5 +11,5 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-geodelx" KERNEL_IMAGETYPE = "bzImage" GLIBC_ADDONS = "nptl" -GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=geode" +GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=i586" SELECTED_OPTIMIZATION_pn-glibc := "${@'${SELECTED_OPTIMIZATION}'.replace('-fomit-frame-pointer', '')}"
Signature · 1 line
1.5.6.5
Re: [PATCH][geodegx] geodegx: Fix glibc configure error
Hello,
Quoted 7 lines · Petr Štetiar
Fix glibc configure error:
| configure: running configure fragment for add-on nptl | checking sysdep dirs... configure: error: The geode subspecies of i486 is not supported. | FATAL: oe_runconf failedSigned-off-by Petr Štetiar <[email protected]>
I use it this way here and it works. Which glibc version are you using? In my case I'm using:
angstrom 2008 versions, plus:
PREFERRED_VERSION_gcc = "4.3.2" PREFERRED_VERSION_gcc-cross = "4.3.2" PREFERRED_VERSION_gcc-cross-sdk = "4.3.2" PREFERRED_VERSION_gcc-cross-initial = "4.3.2"
PREFERRED_VERSION_gcc-cross-intermediate = "4.3.2"
And I build in stable; but this is not supposed to affect it.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH][geodegx] geodegx: Fix glibc configure error
Otavio Salvador <[email protected]> [2009-11-06 10:13:16]:
Quoted 1 line
Hello,
Hi,
Quoted 11 lines · Petr Štetiar
Quoted 7 lines
Fix glibc configure error:
| configure: running configure fragment for add-on nptl | checking sysdep dirs... configure: error: The geode subspecies of i486 is not supported. | FATAL: oe_runconf failedSigned-off-by Petr Štetiar <[email protected]>I use it this way here and it works. Which glibc version are you using? In my case I'm using:
I don't use custom glibc version, it's same as in OE, log says it's glibc-2.9-r35.2 and from GCC is ANGSTROM_GCC_VERSION ?= "4.3.3".
Quoted 9 lines
angstrom 2008 versions, plus:
PREFERRED_VERSION_gcc = "4.3.2" PREFERRED_VERSION_gcc-cross = "4.3.2" PREFERRED_VERSION_gcc-cross-sdk = "4.3.2" PREFERRED_VERSION_gcc-cross-initial = "4.3.2"PREFERRED_VERSION_gcc-cross-intermediate = "4.3.2"
And I build in stable; but this is not supposed to affect it.
I build dev and I found this fix on the web using Google, now looking it up again I found yours and Hrw's conversation on #oe http://pastebin.com/f6640d6f7
It seems, that it's 4.3.3 issue?
-- ynezz
Re: [PATCH][geodegx] geodegx: Fix glibc configure error
Hello,
2009/11/6 Petr Štetiar <[email protected]>:
Quoted 3 lines
I build dev and I found this fix on the web using Google, now looking it up again I found yours and Hrw's conversation on #oe http://pastebin.com/f6640d6f7
It seems, that it's 4.3.3 issue?
Yes; you and hrw are the two persons that found it; maybe it is gcc related indeed; while you're on it, do you mind to test it?
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH][geodegx] geodegx: Fix glibc configure error
Otavio Salvador <[email protected]> [2009-11-07 14:57:49]:
Quoted 9 lines
Hello,
2009/11/6 Petr Štetiar <[email protected]>:
Quoted 3 lines
I build dev and I found this fix on the web using Google, now looking it up again I found yours and Hrw's conversation on #oe http://pastebin.com/f6640d6f7
It seems, that it's 4.3.3 issue?Yes; you and hrw are the two persons that found it; maybe it is gcc related indeed; while you're on it, do you mind to test it?
My bad, of course it's glibc related, nothing to do with GCC.
configure.in:
[..snip..]
# Find what sysdep directories exist.
sysnames_add_ons=
sysnames=
for b in $base ''; do
for m0 in $mach ''; do
for v in /$vendor ''; do
test "$v" = / && continue
for o in /$ostry ''; do
test "$o" = / && continue
for m in $multi_arch_d $mach ''; do
for d in $add_ons_pfx ''; do
for a in $add_ons_sfx ''; do
if test -n "$m0$m0sub$b$v$o$m$msub"; then
try_srcdir="${srcdir}/"
case "$d" in
/*) try_srcdir= ;;
esac
try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
test -n "$enable_debug_configure" &&
echo "$0 [DEBUG]: try $try" >&2
if test -d "$try_srcdir$try"; then
sysnames="$sysnames $try"
{ test -n "$o" || test -n "$b"; } && os_used=t
{ test -n "$m" || test -n "$m0"; } && machine_used=t
case x${m0:-$m} in
x*/$submachine) submachine_used=t ;;
esac
if test -n "$d"; then
case "$sysnames_add_ons" in
*" $d "*) ;;
*|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
esac
fi
fi
fi
done
done
done
done
done
done
done[..snip..]
if test -z "$submachine_used" && test -n "$submachine"; then AC_MSG_ERROR(The $submachine subspecies of $host_cpu is not supported.) fi AC_SUBST(submachine)
Re: [PATCH][geodegx] geodegx: Fix glibc configure error
Hello,
2009/11/9 Petr Štetiar <[email protected]>:
Quoted 5 lines
My bad, of course it's glibc related, nothing to do with GCC.
configure.in:
[..snip..]
indeed; so I agree that it ought to be changed.
We ought just to test for performance it built as i486 and i586. IIRC i486 would be faster for geode.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Otavio Salvador
NAKNACK!
Quoted 26 lines · Petr Štetiar
Signed-off-by Petr Štetiar <[email protected]>conf/checksums.ini +0
-0@@ -16954,6 +16954,10 @@ sha256=d7b9f19b92fd5c693c16cd62f441d051b699f28ec6a175d1b464e58bacd8c78fmd5=84c077a37684e4cbfa67b18154390d8a sha256=0acd83f7b85db7ee18c2b0b7505e1ba6fd722c36f49a8870a831c851660e3512
+[http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.4.tar.bz2]
conf/checksums.ini +3
-0+md5=ae7fde9fd0ae0d8ac12a1e1536d6d3ce +sha256=e63041db1ef666ca43293762c8aaec27bd4b54b6d86aee68ebb090c1b66584f4 +[http://kernel.org//pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2]
md5=e921200f074ca97184e150ef5a4af825 sha256=f5dba6366e87e91234d1b0069cfea655b0a4cb37ea97f899226f16998e6ab9f1conf/machine/geodegx.conf +0
-0@@ -6,8 +6,10 @@ TARGET_ARCH = "i486"require conf/machine/include/tune-geode.inc
conf/machine/geodegx.conf TARGET_ARCH = "i486" · line 12
Quoted 6 lines
conf/machine/geodegx.conf +4
-2-PREFERRED_PROVIDER_virtual/kernel = "linux-geodegx" -BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules" +PREFERRED_PROVIDER_virtual/kernel = "linux" +MACHINE_EXTRA_RDEPENDS = "kernel grub" +MACHINE_FEATURES = "kernel26 pci ext2 x86" +MACHINE_KERNEL_VERSION = "2.6"
You don't need to rdepends on the kernel and bootloader. In my case for example, I use a initrd and don't need to have the kernel in the image of rootfs; another issue, I use syslinux.
Besides, machine changes are another commit; please use one commit for kernel recipe and other to the machine changes.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Otavio Salvador <[email protected]> [2009-11-06 10:09:29]:
Quoted 29 lines
NACK!
Quoted 26 lines · Petr Štetiar
Signed-off-by Petr Štetiar <[email protected]>conf/checksums.ini +0
-0@@ -16954,6 +16954,10 @@ sha256=d7b9f19b92fd5c693c16cd62f441d051b699f28ec6a175d1b464e58bacd8c78fmd5=84c077a37684e4cbfa67b18154390d8a sha256=0acd83f7b85db7ee18c2b0b7505e1ba6fd722c36f49a8870a831c851660e3512
+[http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.4.tar.bz2]
conf/checksums.ini +3
-0+md5=ae7fde9fd0ae0d8ac12a1e1536d6d3ce +sha256=e63041db1ef666ca43293762c8aaec27bd4b54b6d86aee68ebb090c1b66584f4 +[http://kernel.org//pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2]
md5=e921200f074ca97184e150ef5a4af825 sha256=f5dba6366e87e91234d1b0069cfea655b0a4cb37ea97f899226f16998e6ab9f1conf/machine/geodegx.conf +0
-0@@ -6,8 +6,10 @@ TARGET_ARCH = "i486"require conf/machine/include/tune-geode.inc
Quoted 10 lines
conf/machine/geodegx.conf TARGET_ARCH = "i486" · line 12
Quoted 6 lines
conf/machine/geodegx.conf +4
-2-PREFERRED_PROVIDER_virtual/kernel = "linux-geodegx" -BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules" +PREFERRED_PROVIDER_virtual/kernel = "linux" +MACHINE_EXTRA_RDEPENDS = "kernel grub" +MACHINE_FEATURES = "kernel26 pci ext2 x86" +MACHINE_KERNEL_VERSION = "2.6"You don't need to rdepends on the kernel and bootloader. In my case for example, I use a initrd and don't need to have the kernel in the image of rootfs; another issue, I use syslinux.
Ok. I'll make my custom machine file.
Quoted 2 lines
Besides, machine changes are another commit; please use one commit for kernel recipe and other to the machine changes.
True, I'm sorry, it's my local modification. Would you revert/fix it in .dev, or should I provide patch? Thanks.
-- ynezz
Hello Petr,
2009/11/6 Petr Štetiar <[email protected]>:
Quoted 5 lines
Quoted 3 lines
You don't need to rdepends on the kernel and bootloader. In my case for example, I use a initrd and don't need to have the kernel in the image of rootfs; another issue, I use syslinux.
Ok. I'll make my custom machine file.
Cool ;-)
Quoted 5 lines
Quoted 2 lines
Besides, machine changes are another commit; please use one commit for kernel recipe and other to the machine changes.
True, I'm sorry, it's my local modification. Would you revert/fix it in .dev, or should I provide patch? Thanks.
Please provide the patches and I can push them to you; maybe you might get commit access to do it yourself? :-)
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br