|
Re: How to select Kernel: msg#00006t2.devel
This is a multi-part message in MIME format. Hi, Myself asked a few days ago: Is it possible to build T2-Head with a 2.4 linux kernel? Or an older 2.6.x version? And if so, how do I go about it? I tried deselecting the linux26 package and adding linux24 instead but that apparently was not enough. T2 attempted to build a 2.4 kernel but failed. I have not investigated that further as I really wanted a 2.6.18 kernel. The system I have been targeting is reported to work with that version plus patches that I have. So I first looked up the change history for base/package/linux26 and found that a kernel newer than 2.6.18.x was introduced: svn log package/base/linux26 | less And found it was in 21075: ------------------------------------------------------------------------ r21075 | rene | 2006-11-30 11:27:37 +0100 (Thu, 30 Nov 2006) | 2 lines * updated linux26 (2.6.18.3 -> 2.6.19) I then downgraded the packages linux-headers, linux24, and linux26 to the revision immediately preceding this one: svn update -r 21074 package/base/linux-header svn update -r 21074 package/base/linux24 svn update -r 21074 package/base/linux26 I then copied the patches, config-adaptations etc to my target. cp -r packages/base/linux-header target/kbox/package cp -r packages/base/linux24 target/kbox/package cp -r packages/base/linux26 target/kbox/package I stole that idea from other targets. I then reran the T2-Configuration, and ./scripts/Download -required. And right, it downloads 2.6.18-stuff. Fine. ./scripts/Build-Target fails unfortunately: > .. > patching file include/acpi/acpiosxf.h > patching file init/main.c > You should not call uname during the build! > Makefile:409: /home/kbox/t2/src.linux26.default.20080711.092946.29331.kboxdev/linux-2.6.18/arch/x86/Makefile: > No such file or directory > make: *** No rule to make target `/home/kbox/t2/src.linux26.default.20080711.092946.29331.kboxdev/linux-2.6.18/arch/x86/Makefile'. Stop. The reason for this is simple: There is no arch/x86 in linux 2.6.18. It's still arch/i386. The T2-code that precedes the error-report is in package/base/linux24/linux-conf.in: # some arches (avr32, sh64 at the time of writing) have a "defect" Makefile # and do not work without a .config ... yes '' | eval $MAKE $makeopt oldconfig > /dev/null $makeopt has ARCH=x86 So I also downgraded ./architecture as well. I ran ./scripts/Config again, and switched the architecture for my build away from and back to x86. Unfortunately that was not the case, the error persists. What would be the T2-way of fixing this? Ciao, MM -- Marian Aldenhövel, Rosenhain 23, 53123 Bonn http://www.marian-aldenhoevel.de "I ran some quick calculations on it. He's about 80% on the right track. That leaves him only 20% dead when he crashes." Bob C |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Strange problem building Package commonc++: 00006, Marian Aldenhövel |
|---|---|
| Next by Date: | Re: How to select Kernel: 00006, Marian Aldenhövel |
| Previous by Thread: | How to select Kerneli: 00006, Marian Aldenhövel |
| Next by Thread: | Re: How to select Kernel: 00006, Marian Aldenhövel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |