* How do we handle autoconfiguration?
@ 2000-12-26 23:18 Eric S. Raymond
2000-12-27 10:31 ` [KBUILD] " Giacomo A. Catenazzi
0 siblings, 1 reply; 6+ messages in thread
From: Eric S. Raymond @ 2000-12-26 23:18 UTC (permalink / raw)
To: Linus Torvalds
Cc: Tim Wright, Kai Henningsen, André Dahlqvist, linux-kernel,
linux-kbuild
I wrote:
>Giacomo, what's the state of your project?
Sigh, I got an address-invalid bounce from Giacomo. Looks like he
may have fallen off the net.
--
>>esr>>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [KBUILD] How do we handle autoconfiguration?
@ 2000-12-27 0:52 Michael Elizabeth Chastain
0 siblings, 0 replies; 6+ messages in thread
From: Michael Elizabeth Chastain @ 2000-12-27 0:52 UTC (permalink / raw)
To: esr, torvalds; +Cc: anedah-9, cate, kaih, linux-kbuild, linux-kernel, timw
esr> # PROCESSOR is string valued; we capture stdout from the probe
esr> derive PROCESSOR from "myprobe1.sh"
esr>
esr> # FOOFEATURE is boolean; we look at the return status from myprobe2.py
esr> derive FOOFEATURE from "myprobe2.py"
I think this is cool.
esr> (kbuild people, this is one reason I want ifdefs gone from the
esr> makefiles. The autoconfigurator, whether it's Giacomo's or not,
esr> should be able to pass FOO=n to tell CML2 that a given feature is
esr> definitely not present.)
Yeah, we have to make an essential transition from 3-valued logic
("y"/"m"/"n" in some contexts and "y"/"m"/NULL in other contexts) to
4-valued logic ("y"/"m"/"n"/NULL).
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [KBUILD] How do we handle autoconfiguration?
2000-12-26 23:18 How do we handle autoconfiguration? Eric S. Raymond
@ 2000-12-27 10:31 ` Giacomo A. Catenazzi
0 siblings, 0 replies; 6+ messages in thread
From: Giacomo A. Catenazzi @ 2000-12-27 10:31 UTC (permalink / raw)
To: Eric S. Raymond; +Cc: linux-kernel, linux-kbuild
"Eric S. Raymond" wrote:
>
> I wrote:
> >Giacomo, what's the state of your project?
>
> Sigh, I got an address-invalid bounce from Giacomo. Looks like he
> may have fallen off the net.
I still receive mails!
Maybe try cate@debian.org [better administrators, better software :-)]
giacomo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [KBUILD] How do we handle autoconfiguration?
2000-12-26 23:13 Eric S. Raymond
@ 2000-12-27 11:14 ` Giacomo A. Catenazzi
2000-12-27 14:27 ` Giacomo A. Catenazzi
2000-12-27 16:10 ` Eric S. Raymond
0 siblings, 2 replies; 6+ messages in thread
From: Giacomo A. Catenazzi @ 2000-12-27 11:14 UTC (permalink / raw)
To: Eric S. Raymond; +Cc: linux-kernel, linux-kbuild
"Eric S. Raymond" wrote:
>
> I backed away from this because Giacomo Catenazzi told me he was
> working on a separate autoconfigurator that would generate config
> files in CML1 format. That's a cleaner design -- one would run his
> autoconfigurator and then import the resulting config into the CML2
> configurator as frozen (immutable) symbols. Giacomo, what's the state
> of your project?
Status:
Now I can detect most of modern hardware, and also some software
protocols.
My autoconfiguration only in few case say N, because is it difficult
to say: you don't need this drivers (e.g. the Matrox Millemium
include a list of PCI devices, but my card is not included,
but anyway, the driver works, because after the check of PCI ID, it
do further checks on other video PCI class).
I'm happy with the autodetection. I need some other software protocols
to detect, but it is difficult to distinguish: "need protocols" and
"protocols included in actual kernel (but nobody will use it)".
I've difficult to merge with the CML1/2:
In CML2-0.8.3 the include frozen flag (-I) is broken, and
also the new -W flag is broken, thus no real test.
CML2-0.9.0 need Python 2, which is not in the debian unstable
distribution, and I had no time to compile myself.
CML1: There is to many not answered question (most not important)
thus it has little value in use with make oldconfig.
(CML2 has a "oldmenuconfig and oldxconfig")
Thus I should modify the Configure files, but with CML2....
I will also add a NOVICE/NORMAL/EXPERT configuration menu,
to include ELF, COFF, IPC, SHM, ... . It is in project since
lots of days, but ELM, COFF, ELF64 are processor dependent,
and I don't find (yet) a clean method to include this
dependence (CML2).
giacomo
TODO: a correct/complete autodetection of CPU.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [KBUILD] How do we handle autoconfiguration?
2000-12-27 11:14 ` [KBUILD] " Giacomo A. Catenazzi
@ 2000-12-27 14:27 ` Giacomo A. Catenazzi
2000-12-27 16:10 ` Eric S. Raymond
1 sibling, 0 replies; 6+ messages in thread
From: Giacomo A. Catenazzi @ 2000-12-27 14:27 UTC (permalink / raw)
To: Eric S. Raymond, linux-kernel, linux-kbuild
I forgot:
The program is in http://people.debian.org/~cate/autoconfigure/
Notes of implementation:
It is a bash script. I've split in two file:
rules file: contain the pci id, device name, resources names,...
It is in a simple format, so that it can used in other programs.
Every resource has also a comment writing where I found it in
kernel sources.
main file: define how to use the rules file and how to detect
special configurations.
The autoconfiguration can be done in an external (target) machine
(it doesn't need nothing of kernel, no lspci, no special programs).
Now autoconfigure is in debug mode:
It write some extra debug information and rewrite twice some config
(one for every time it is detected). It write now only to std output,
to not corrupt actual .config files.
giacomo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [KBUILD] How do we handle autoconfiguration?
2000-12-27 11:14 ` [KBUILD] " Giacomo A. Catenazzi
2000-12-27 14:27 ` Giacomo A. Catenazzi
@ 2000-12-27 16:10 ` Eric S. Raymond
1 sibling, 0 replies; 6+ messages in thread
From: Eric S. Raymond @ 2000-12-27 16:10 UTC (permalink / raw)
To: Giacomo A. Catenazzi; +Cc: Eric S. Raymond, linux-kernel, linux-kbuild
Giacomo A. Catenazzi <cate@student.ethz.ch>:
> I've difficult to merge with the CML1/2:
>
> In CML2-0.8.3 the include frozen flag (-I) is broken, and
> also the new -W flag is broken, thus no real test.
0.9.0 fixes the -W flag. I wasn't able to reproduce your problem with -I.
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
Men trained in arms from their infancy, and animated by the love of liberty,
will afford neither a cheap or easy conquest.
-- From the Declaration of the Continental Congress, July 1775.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-12-27 16:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-26 23:18 How do we handle autoconfiguration? Eric S. Raymond
2000-12-27 10:31 ` [KBUILD] " Giacomo A. Catenazzi
-- strict thread matches above, loose matches on Subject: below --
2000-12-27 0:52 Michael Elizabeth Chastain
2000-12-26 23:13 Eric S. Raymond
2000-12-27 11:14 ` [KBUILD] " Giacomo A. Catenazzi
2000-12-27 14:27 ` Giacomo A. Catenazzi
2000-12-27 16:10 ` Eric S. Raymond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox