[oe-commits] [Bug 5435] New: machine htcleo: gcc version etc.

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Wed May 19 14:26:31 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5435

           Summary: machine htcleo: gcc version etc.
           Product: Openembedded
           Version: org.openembedded.dev
          Platform: ARM
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: unspecified
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: lukas at htc-linux.org


hello

Machine htcleo (htc hd2) is based on qualcomm qsd8250 platform. It has a
cortex-a8 like armv7 cpu.
I was told to use recent gcc version (min 4.4.x) for this arm version /
instruction set and to make use of the vfp/neon thing.
When building for machine htcleo and angstrom-2008.1 distro, bitbake will use
some gcc-*_4.3.x .
I think some overrun should be added in distro or machine config like it is
done for the minimal distro: it requires
conf/distro/include/sane-toolchain.inc:

PREFERRED_GCC_VERSION_armv7a         ?= "4.4.1" 

Is this a good version to use for cortex-a8 platform?

I tired a build setting gcc version manually:

PREFERRED_VERSION_gcc-cross = "4.4.4"
PREFERRED_VERSION_gcc-cross-initial = "4.4.4"
PREFERRED_VERSION_gcc-cross-intermediate = "4.4.4"
PREFERRED_VERSION_binutils-cross = "2.20.1"

For htcleo I was able to build a minimal-image and console-image including the
linux-qsd8_git.bb (currently 2.6.32.9) kernel and mplayer with that set.
Leo uses cortex-a8.inc so it uses vfp and neon. That is also enabled in the
kernel config.

When using the unmodified images as rootfs (tried mmc as well as initrd) init
will die after a segmentation fault that is printed after udevd is ran.
Dmesg with this happening is appended.

[   40.539657] udevd: unhandled page fault (11) at 0x000280f0, code 0x8000000f
[   40.577112] udevadm: unhandled page fault (11) at 0x3d4e4f48, code
0x80000005

When I put a custom init script I can do all kinds of stuff. Made a little demo
that mounts several filesystems, uses chroot and plays back several 720p videos
from sd card using mplayer without one error:
http://linuxtogo.org/~lgorris/hd2-mediaplayer.zip

Since the kernel for this device (it ships with WinCE) is not very mature yet I
think this might be kernel related.
(Kernel port is documented at http://htc-linux.org/wiki/index.php?title=Leo )

But maybe some of the flags OE configures for cortex-a8 are not suiteable for
the machine?
How could I check for other potential errors like they occur with udevd?
Is there some testing stuff in OE?  

I would really like this platform to work well in OE.

P.S.
Thanks to Khem Raj for all the pointers!

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list