OpenWrt Forum Archive

Topic: Upgrade Kernel from 2.6.25 to 2.6.27 for X86

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I did the patch to compile the openWrt using X86 as a target system for kernel 2.6.27.

i added two files from the openWrt development under /target/linux/x86/

config_2.6.27
config_2.6.26

Also changed the Makefile.
Index: Makefile
===================================================================
--- Makefile    (revision 15075)
+++ Makefile    (working copy)
@@ -12,7 +12,7 @@
FEATURES:=squashfs jffs2 ext2 vdi
SUBTARGETS=generic

-LINUX_VERSION:=2.6.25.17
+LINUX_VERSION:=2.6.27.6

include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci


after doing all the above i did make world V=99

i am getting errors.
/home/kotesh/balaji/Kamikaze_8.09/8.09/scripts/kconfig.pl +  /home/kotesh/balaji/Kamikaze_8.09/8.09/target/linux/x86/config-2.6.27 >
/home/kotesh/balaji/Kamikaze_8.09/8.09/build_dir/linux-x86_generic/linux-2.6.27.6/.config.target
Parse error at /home/kotesh/balaji/Kamikaze_8.09/8.09/scripts/kconfig.pl line 119, <FILE> line 502.
make[4]: *** [/home/kotesh/balaji/Kamikaze_8.09/8.09/build_dir/linux-x86_generic/linux-2.6.27.6/.configured] Error 255
make[4]: Leaving directory `/home/kotesh/balaji/Kamikaze_8.09/8.09/target/linux/x86'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/kotesh/balaji/Kamikaze_8.09/8.09/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/kotesh/balaji/Kamikaze_8.09/8.09'
make[1]: *** [/home/kotesh/balaji/Kamikaze_8.09/8.09/staging_dir/i386/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/kotesh/balaji/Kamikaze_8.09/8.09'

Please some one help how to upgrade to kernel 2.6.27 for X86

Did you get this to work??

The discussion might have continued from here.