How to compile openwrt 2.6.30 kernel?

Lars-Peter Clausen lars at metafoo.de
Tue Aug 11 02:10:23 CEST 2009


Radek Polak wrote:
> Hi,
> i am trying to compile kernel that is used in openwrt. I used these
> steps:
>
> 1/ download and unpack linux-2.6.30.4.tar.bz from kernel.org
> 2/ svn co svn://svn.openwrt.org/openwrt/trunk/target/linux/s3c24xx
> 3/ copy files-2.6.30 on top of unpacked linux-2.6.30
> 4/ apply all patches in patches-2.6.30
> 5/ copy config-2.6.30 to .config
> 5/ make
> CROSS_COMPILE=/opt/toolchains/arm920t-eabi/bin/arm-angstrom-linux-gnueabi- ARCH=arm
>
> But i am getting this error:
>
> CC      arch/arm/mach-s3c2442/mach-gta02.o
> arch/arm/mach-s3c2442/mach-gta02.c:101:27: error: linux/glamofb.h: No
> such file or directory
>
> Any idea what am i doing wrong?
>
> Is there any git repository with openwrt patches applied?
>
> Thanks
>
> Radek
>
>
>   
Hi Radek

You'll also need some files from the generic patchset:
https://dev.openwrt.org/browser/trunk/target/linux/generic-2.6/files-2.6.30/include/linux/glamofb.h
https://dev.openwrt.org/browser/trunk/target/linux/generic-2.6/files-2.6.30/include/linux/glamo-engine.h
https://dev.openwrt.org/browser/trunk/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch

- Lars



More information about the openmoko-kernel mailing list