OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Open Embedded => Topic started by: Alexandr on November 04, 2007, 10:12:34 am

Title: Where To Get Linux Headers For The Angstrom Development
Post by: Alexandr on November 04, 2007, 10:12:34 am
Hello All,
I am trying to compile qtopia 2.2 for the Angstrom for the SL-C1000 (Akita), but I need kernel libraries and header for cross compilation. I can extract libraries from the installed ROM and headers from the linux-kernel-2.6.23 + patches (I cannot apply all patches for the kernel source).
Question: Where can I find pre-compiled libraries and headers.? Or how to get and apply all patches for the linux sources and build libraries?
Thank you.
Title: Where To Get Linux Headers For The Angstrom Development
Post by: speculatrix on November 05, 2007, 03:54:31 pm
Quote from: Alexandr
Hello All,
I am trying to compile qtopia 2.2 for the Angstrom for the SL-C1000 (Akita), but I need kernel libraries and header for cross compilation. I can extract libraries from the installed ROM and headers from the linux-kernel-2.6.23 + patches (I cannot apply all patches for the kernel source).
Question: Where can I find pre-compiled libraries and headers.? Or how to get and apply all patches for the linux sources and build libraries?
Thank you.

it's not that easy, I don't think there's a pre-built dev environment (tho I had hoped there'd be a vmware player or qemu image provided at some point).

the only way I know of is to follow the Angstrom web site information at http://linuxtogo.org/gowiki/Angstrom (http://linuxtogo.org/gowiki/Angstrom) - follow the developers link, it'll take you to OpenEmbedded pages which is the underlying fabric of the Angstrom build!

also ... http://www.angstrom-distribution.org/building-angstrom (http://www.angstrom-distribution.org/building-angstrom)
Title: Where To Get Linux Headers For The Angstrom Development
Post by: Alexandr on November 06, 2007, 01:23:11 pm
Quote from: Alexandr
Hello All,
I am trying to compile qtopia 2.2 for the Angstrom for the SL-C1000 (Akita), but I need kernel libraries and header for cross compilation. I can extract libraries from the installed ROM and headers from the linux-kernel-2.6.23 + patches (I cannot apply all patches for the kernel source).
Question: Where can I find pre-compiled libraries and headers.? Or how to get and apply all patches for the linux sources and build libraries?
Thank you.

Thank you.
I will try.
Title: Where To Get Linux Headers For The Angstrom Development
Post by: Alexandr on November 07, 2007, 10:41:53 am
Quote from: speculatrix
Quote from: Alexandr
Hello All,
I am trying to compile qtopia 2.2 for the Angstrom for the SL-C1000 (Akita), but I need kernel libraries and header for cross compilation. I can extract libraries from the installed ROM and headers from the linux-kernel-2.6.23 + patches (I cannot apply all patches for the kernel source).
Question: Where can I find pre-compiled libraries and headers.? Or how to get and apply all patches for the linux sources and build libraries?
Thank you.

it's not that easy, I don't think there's a pre-built dev environment (tho I had hoped there'd be a vmware player or qemu image provided at some point).

the only way I know of is to follow the Angstrom web site information at http://linuxtogo.org/gowiki/Angstrom (http://linuxtogo.org/gowiki/Angstrom) - follow the developers link, it'll take you to OpenEmbedded pages which is the underlying fabric of the Angstrom build!

also ... http://www.angstrom-distribution.org/building-angstrom (http://www.angstrom-distribution.org/building-angstrom)

This links has no instructions how-to build kernel.
I can found on OE server (http://www.rpsys.net/openzaurus/patches/bbfiles) bbfiles for kernel 2.6.16 (not 2.6.23, used in angstrom). Can anyone say how to build kernel using bb files?
Thank you.
Title: Where To Get Linux Headers For The Angstrom Development
Post by: Alexandr on November 07, 2007, 01:06:38 pm
Quote from: Alexandr
Quote from: Alexandr
Hello All,
I am trying to compile qtopia 2.2 for the Angstrom for the SL-C1000 (Akita), but I need kernel libraries and header for cross compilation. I can extract libraries from the installed ROM and headers from the linux-kernel-2.6.23 + patches (I cannot apply all patches for the kernel source).
Question: Where can I find pre-compiled libraries and headers.? Or how to get and apply all patches for the linux sources and build libraries?
Thank you.

Thank you.
I will try.

Currently, I found on this page (http://www.angstrom-distribution.org/repo/?action=details&pnm=hostap-modules) linux-2.6.23.tar.gz (kernel) and kernel-2.6.23 2.6.23-r5 (patch?) for akita.

But, the patch (?) in the ipk format, how merge it with linux-2.6.23.tar.gz

I cannot open it with winzip or tar.
Any suggestions?

Thank you.
Title: Where To Get Linux Headers For The Angstrom Development
Post by: ofels on November 08, 2007, 03:44:13 pm
Quote from: Alexandr
This links has no instructions how-to build kernel.
I can found on OE server (http://www.rpsys.net/openzaurus/patches/bbfiles) bbfiles for kernel 2.6.16 (not 2.6.23, used in angstrom). Can anyone say how to build kernel using bb files?

You did not read the whole story on the site you have been pointed to.
Angstrom is the linux distribution which is built using the OpenEmbedded build system. If you read about how to setup OE you will have the knowledge to use a fullyautomatically working build environment in which you do not have care about kernel headers and cross compilation yourself.
If that runs you will have to write the recipes for building Qtopia 2.2

Do yourself a favor and check out the Angstrom Wiki and the instructions at http://www.openembedded.org (http://www.openembedded.org)

Oliver