Re: kernel package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/11/2007 12:34 PM, Josh Boyer wrote:
On Fri, 2007-05-11 at 10:50 +0200, Oliver Falk wrote:
Hi!

A question; Before I open BZ... Is the kernel team (I see Dave Jones is doin' much; that's why CC:) willing to help AlphaCore and add patches to kernel spec?

No, it's nothing for upstream. Just fixes for the spec. Some if(n)arch's, sections for alpha, a config, ... Nothing that should break primary archs...

Where are these patches?

Please find attached my current cvs diff. The Makefile.config part should be fixed better - I know, but had no time yet...

I also attached the patch mentioned in the diff and the config that I currently use.

I have no SMP support at the moment, as I don't have a smp capable machine.

I don't know if it will build correctly, havn't yet finished my build - but I had a few tries already and today fixed - hopefully - the last build error.

I'm also not sure if the kernel will boot fine.

I'm just trying to get the first patches in devel, so if you update something in cvs, it's easier to merge with what I have...

At the moment I'm not *fixing* things. I just try to build a kernel with make alpha directly in my cvs checkout. If it fails, I check where it fails and disable the appropriate module in my alpha config. I will go through the ifnarch's after I finally managed to boot up the new kernel and see that it works. Where appropriate, I will work with kernel upstream to fix the problems - of course...

I'd really like to work together with the current kernel maintainers to provide a kernel spec/srpm, that builds on alpha.

-of
? kernel-2.6.21-alpha.config.new
? linux-2.6-no_fec_for_alpha.patch
? configs/ALPHA
? configs/config-alpha
Index: Makefile.config
===================================================================
RCS file: /cvs/dist/devel/kernel/Makefile.config,v
retrieving revision 1.53
diff -r1.53 Makefile.config
17c17,18
< 	$(CFG)-ia64-xen.config
---
> 	$(CFG)-ia64-xen.config \
> 	$(CFG)-alpha.config
19c20
< PLATFORMS	= x86 x86_64 powerpc powerpc32 powerpc64 s390 ia64 # sparc sparc64
---
> PLATFORMS	= x86 x86_64 powerpc powerpc32 powerpc64 s390 ia64 alpha # sparc sparc64
69a71,73
> #temp-alpha-generic: configs/config-alpha-generic temp-generic
> #	perl merge.pl $^ > $@
> 
84a89,91
> #temp-alpha-xen-generic: configs/config-xen-generic temp-alpha-generic
> #	perl merge.pl $^ > $@
> 
144a152,157
> #kernel-$(VERSION)-alpha.config: configs/config-alpha-generic temp-alpha-generic
> #	perl merge.pl $^ alpha > $@
> 
> kernel-$(VERSION)-alpha.config: configs/config-alpha
> 	cat $^ > $@
> 
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/devel/kernel/kernel-2.6.spec,v
retrieving revision 1.3125
diff -r1.3125 kernel-2.6.spec
168a169,178
> %ifarch alpha alphaev5 alphaev56 alphaev6 alphaev67
> %define with_smp 0
> %define with_pae 0
> %define with_xen 0
> %define with_kdump 0
> %define with_debug 0
> %define usesparse 0
> %define with_modsign 0
> %endif
> 
239a250,256
> %ifarch alpha alphaev6 alphaev67
> %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-alpha*.config
> %define image_install_path boot
> %define make_target boot
> %define kernel_image vmlinux
> %endif
> 
292c309
< Release: %{release}
---
> Release: %{release}axp
298c315
< ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390 s390x
---
> ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390 s390x alpha alphaev6 alphaev67
365a383,385
> Source50: kernel-%{kversion}-alpha.config
> Source50: kernel-%{kversion}-alpha-smp.config
> 
458a479,481
> # 700 - 799   alpha
> Patch701: linux-2.6-no_fec_for_alpha.patch
> 
1011a1035
> %ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
1012a1037
> %endif
1120a1146
> %ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev6
1121a1148
> %endif
1195a1223
> %ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev6
1196a1225
> %endif
1212a1242
> %ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
1213a1244
> %endif
1284a1316
> %ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
1285a1318
> %endif
1362a1396
> %ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
1363a1398
> %endif
1376a1412,1414
> # alpha related, but must be done at the end...
> %patch701 -p0
> 
2342a2381,2383
> * Thu May 03 2007 Oliver Falk <oliver@xxxxxxxxxxxxxxx>
> - Build on alpha - testing only
> 
--- drivers/net/Kconfig.no_fec_mpc52xx_for_alpha.patch	2007-05-03 14:18:50.000000000 +0200
+++ drivers/net/Kconfig	2007-05-03 14:18:55.000000000 +0200
@@ -1889,7 +1889,6 @@
 	  controller on the Renesas H8/300 processor.
 
 source "drivers/net/fec_8xx/Kconfig"
-source "drivers/net/fec_mpc52xx/Kconfig"
 source "drivers/net/fs_enet/Kconfig"
 
 endmenu

Attachment: kernel-2.6.21-alpha.config
Description: Binary data

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux