How to compile openwrt 2.6.30 kernel?

Thomas Gstädtner thomas at gstaedtner.net
Mon Aug 17 13:52:10 CEST 2009


On Tue, Aug 11, 2009 at 02:10, Lars-Peter Clausen<lars at metafoo.de> wrote:
> 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
>
>

Order is like follows:
1) Unpack generic-files on plain linux
2) Unpack files...
3) Apply generic patchset
4) Apply patchset
5) build :)



More information about the openmoko-kernel mailing list