[oe] RFC: omap2 support.

Khem Raj raj.khem at gmail.com
Tue Aug 14 17:05:32 UTC 2007


Hi Koen

Thanks for looking through the patch and valuable feedback.
Attached is the revised patch which incorporates your comments.

I renams the kernel to 2.6.x. The x is because it will pick always the
latest from omsp git tree and it keeps moving the minor version with
the releases.

mfloat-abi=softfp will let compiler use VFP instructions where it can
where as -mgloat-abi=soft will default to soft floating point library
so for performance sake I chose the former. So for armv6 case
TARGET_FPU does not take care of this. It defaults to 'soft'

There is a patch to get the kernel building on top of the last patch.
Now I could boot the kernel and also the angstrom-kernel-image.


Thanks

-Khem

Thanks

-Khem

On 8/13/07, Koen Kooi <koen at dominion.kabel.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Khem Raj schreef:
> > Hi
> >
> > This adds support of omap2430sdp board. I have added recipe for a new kernel
> > and u-boot. The angstrom-2008.1 build with MACHINE=omap2430sdp till the kernel.
> > Kernel is having issues due to a compile problem.
>
> Looks pretty, some minor issues, see below.
>
>
> - --- conf/machine/omap2430sdp.conf     a9af9a075c6a90b2d65f3966f1fb4b8fc1eb662e
> +++ conf/machine/omap2430sdp.conf       a9af9a075c6a90b2d65f3966f1fb4b8fc1eb662e
> @@ -0,0 +1,17 @@
> +#@TYPE: Machine
> +#@NAME: ARM 1136 cpu on OMAP2430 SDP board
> +#@DESCRIPTION: Machine configuration for the OMAP 2430 SDP development board with a
> arm1136 processor.
> +
> +TARGET_ARCH = "arm"
> +PACKAGE_EXTRA_ARCHS = "armv5te armv6"
>
> that should be PACKAGE_EXTRA_ARCHS = "armv4t armv5te armv6"
>
> +PREFERRED_VERSION_u-boot = "omap2430sdp"
>
> 'omap2430sdp' is not a proper version (see below)
>
>
> +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
>
> MACHINE_FEATURES = "kernel26" should take care of that
>
>
> +BOOTSTRAP_EXTRA_RDEPENDS += "modutils-collateral"
>
> That shouldn't be needed
>
>
>
> ============================================================
> - --- packages/linux/linux-omap2_git.bb f7dd822d0aa5d74967b00c6b49bde9755d89e1f8
> +++ packages/linux/linux-omap2_git.bb   f7dd822d0aa5d74967b00c6b49bde9755d89e1f8
> @@ -0,0 +1,13 @@
> +require linux-omap.inc
> +
> +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git"
> +PV = "2.6+git${SRCDATE}"
>
> That should be PV = "2.6.<micro release number>+git${SRCDATE}"
>
>
>
> - --- packages/uboot/u-boot_omap2430sdp.bb      fe281ead4f04210e0876f455ed429333d5f6d40d
>
> That should be u-boot-omap2430_1.<minor version>.<microversion>.bb, so we know which uboot
> version it was originally based on.
>
>
>
> - --- conf/machine/include/tune-arm1136jf-s.conf        b8cdf4c6533420f583f03a1a756edec48bc2e823
> +++ conf/machine/include/tune-arm1136jf-s.conf  3a32f71999f930e828ad32e4ce1e7af1b4dc9662
> @@ -1,2 +1,2 @@
> - -TARGET_CC_ARCH = "-march=armv6 -mtune=arm1136jf-s -mfpu=vfp"
> +TARGET_CC_ARCH = "-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp"
>
> What does -mfloat-abi=softfp" imply, and shouldn't TARGET_FPU take care of that?
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFGwNB2MkyGM64RGpERAl/5AKCgCr7+XYfYcaGFCcuNHruNzyuFRACghfso
> 5A6AOBkSHh+ZHiLwjTqSTuc=
> =u0ys
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 68527 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20070814/0b6eac83/attachment-0002.obj>


More information about the Openembedded-devel mailing list