* uclibc support for x86
@ 2008-11-25 15:46 Mikael Rosbacke
2008-11-25 23:52 ` Khem Raj
2008-11-26 15:20 ` Leon Woestenberg
0 siblings, 2 replies; 4+ messages in thread
From: Mikael Rosbacke @ 2008-11-25 15:46 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
Hello!
Seems I'm the only one crazy enough to try to run a uClibc based
distribution on x86. (I can see the response, What's the point?)
Anyway, it turns out uClibc is currently lacking support for x86.
I've added the folder openembedded/packages/uclibc/uclibc-0.9.30/x86
and created the file uClibc.machine in this folder. (See attachment)
Is there some way to get this into the git tree? Should I file a bug
report or could some maintainer give feedback on things to fix before
inclusion? I've tried to keep the config file in style with similar
config files for other machines.
Thanks in advance,
--- Mikael Rosbacke
[-- Attachment #2: uClibc.machine --]
[-- Type: text/plain, Size: 1600 bytes --]
#
# Automatically generated make config: don't edit
# Version: 0.9.30
# Tue Nov 25 12:58:02 2008
#
# TARGET_alpha is not set
# TARGET_arm is not set
# TARGET_avr32 is not set
# TARGET_bfin is not set
# TARGET_cris is not set
# TARGET_e1 is not set
# TARGET_frv is not set
# TARGET_h8300 is not set
# TARGET_hppa is not set
TARGET_i386=y
# TARGET_i960 is not set
# TARGET_ia64 is not set
# TARGET_m68k is not set
# TARGET_microblaze is not set
# TARGET_mips is not set
# TARGET_nios is not set
# TARGET_nios2 is not set
# TARGET_powerpc is not set
# TARGET_sh is not set
# TARGET_sh64 is not set
# TARGET_sparc is not set
# TARGET_v850 is not set
# TARGET_vax is not set
# TARGET_x86_64 is not set
# TARGET_xtensa is not set
#
# Target Architecture Features and Options
#
TARGET_ARCH="i386"
FORCE_OPTIONS_FOR_ARCH=y
CONFIG_GENERIC_386=y
# CONFIG_386 is not set
# CONFIG_486 is not set
# CONFIG_586 is not set
# CONFIG_586MMX is not set
# CONFIG_686 is not set
# CONFIG_PENTIUMII is not set
# CONFIG_PENTIUMIII is not set
# CONFIG_PENTIUM4 is not set
# CONFIG_K6 is not set
# CONFIG_K7 is not set
# CONFIG_ELAN is not set
# CONFIG_CRUSOE is not set
# CONFIG_WINCHIPC6 is not set
# CONFIG_WINCHIP2 is not set
# CONFIG_CYRIXIII is not set
# CONFIG_NEHEMIAH is not set
TARGET_SUBARCH=""
#
# Using ELF file format
#
ARCH_LITTLE_ENDIAN=y
#
# Using Little Endian
#
ARCH_HAS_MMU=y
ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
# DO_C99_MATH is not set
# UCLIBC_HAS_FENV is not set
KERNEL_HEADERS="/usr/include"
HAVE_DOT_CONFIG=y
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: uclibc support for x86
2008-11-25 15:46 uclibc support for x86 Mikael Rosbacke
@ 2008-11-25 23:52 ` Khem Raj
2008-11-26 12:27 ` Mikael Rosbacke
2008-11-26 15:20 ` Leon Woestenberg
1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2008-11-25 23:52 UTC (permalink / raw)
To: openembedded-devel
Looks sane to me. Have you tried to build a distro with this change ?
Thx
-Khem
On Tue, Nov 25, 2008 at 7:46 AM, Mikael Rosbacke <mikael@rosbacke.org> wrote:
> Hello!
>
> Seems I'm the only one crazy enough to try to run a uClibc based
> distribution on x86. (I can see the response, What's the point?)
>
> Anyway, it turns out uClibc is currently lacking support for x86.
> I've added the folder openembedded/packages/uclibc/uclibc-0.9.30/x86
> and created the file uClibc.machine in this folder. (See attachment)
>
> Is there some way to get this into the git tree? Should I file a bug
> report or could some maintainer give feedback on things to fix before
> inclusion? I've tried to keep the config file in style with similar
> config files for other machines.
>
> Thanks in advance,
>
>
> --- Mikael Rosbacke
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: uclibc support for x86
2008-11-25 23:52 ` Khem Raj
@ 2008-11-26 12:27 ` Mikael Rosbacke
0 siblings, 0 replies; 4+ messages in thread
From: Mikael Rosbacke @ 2008-11-26 12:27 UTC (permalink / raw)
To: openembedded-devel
I did:
rm -rf tmp
bitbake console-image
with this in my local.conf:
BBFILES = "/home/mikaelr/oe/openembedded/packages/*/*.bb"
CCACHE=""
DISTRO = "angstrom-2008.1"
MACHINE = "x86"
ANGSTROM_MODE = "uclibc"
BB_NUMBER_THREADS = "3"
IMAGE_FSTYPES += "tar.bz2"
There was 1 additional issue, as reported before. I had to insert:
'#include <limits.h>' in:
tmp/work/x86-angstrom-linux-uclibc/linux-2.6.21-r12/linux-2.6.21/scripts/mod/sumversion.c
and restart the build process. This is the same for a glibc build and
should be unrelated to the uclibc change.
After the build finished, I made a bootable CF card and booted a SiS550
based system (x86 compatible). I got to the Angstrom login prompt.
With my initial test ucLibc seems to work so far.
tnx,
--- Mikael R
tis 2008-11-25 klockan 15:52 -0800 skrev Khem Raj:
> Looks sane to me. Have you tried to build a distro with this change ?
>
> Thx
>
> -Khem
>
> On Tue, Nov 25, 2008 at 7:46 AM, Mikael Rosbacke <mikael@rosbacke.org> wrote:
> > Hello!
> >
> > Seems I'm the only one crazy enough to try to run a uClibc based
> > distribution on x86. (I can see the response, What's the point?)
> >
> > Anyway, it turns out uClibc is currently lacking support for x86.
> > I've added the folder openembedded/packages/uclibc/uclibc-0.9.30/x86
> > and created the file uClibc.machine in this folder. (See attachment)
> >
> > Is there some way to get this into the git tree? Should I file a bug
> > report or could some maintainer give feedback on things to fix before
> > inclusion? I've tried to keep the config file in style with similar
> > config files for other machines.
> >
> > Thanks in advance,
> >
> >
> > --- Mikael Rosbacke
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: uclibc support for x86
2008-11-25 15:46 uclibc support for x86 Mikael Rosbacke
2008-11-25 23:52 ` Khem Raj
@ 2008-11-26 15:20 ` Leon Woestenberg
1 sibling, 0 replies; 4+ messages in thread
From: Leon Woestenberg @ 2008-11-26 15:20 UTC (permalink / raw)
To: openembedded-devel
Hello Mikael,
On Tue, Nov 25, 2008 at 4:46 PM, Mikael Rosbacke <mikael@rosbacke.org> wrote:
> Seems I'm the only one crazy enough to try to run a uClibc based
> distribution on x86. (I can see the response, What's the point?)
>
No, very good:
- Adding more x86 support allows OE to be remain more clean and
architecture-independent.
- Not everything is ARM.
- We have seen adding powerpc support fix some generic OE issues,
adding more x86 support will fix additional issues I'm sure.
- Although x86 might not always be resource limited platforms, it
doesn't mean you shouldn't use OE, or uclibc.
Kudos,
--
Leon
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-26 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 15:46 uclibc support for x86 Mikael Rosbacke
2008-11-25 23:52 ` Khem Raj
2008-11-26 12:27 ` Mikael Rosbacke
2008-11-26 15:20 ` Leon Woestenberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.