Re: Contributing to drivers/staging area

2021-08-27 Thread Len Baker
Hi Greg,

On Thu, Aug 26, 2021 at 10:39:20AM +0200, Greg KH wrote:
> On Fri, Aug 20, 2021 at 04:45:15PM +0200, Len Baker wrote:
> > Hi Greg,
> >
> > I am a kernel newbie in the path to find an area where to contribute
> > on. I have sent some patches before (simple ones) but I would like
> > to find some driver to contribute on and if possible mantain in the
> > future. Due to the big amount of drivers in staging, and my lack
> > of experience and specific hardware:
> >
> > Are there any driver in the staging area that not requires specific
> > hardware? I have only access to an old laptop with 4 processors:
>
> I think all drivers in staging relate to real hardware, so I would
> recommend just buying one of the cheap devices for the drivers.  I just
> purchased one of the USB wifi devices for under 20 euros, so it is
> possible.

Ok, thank you very much for all the info and advices.
Again, thanks for your time.

Regards,
Len

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: How do the kernel boot parameters work (especially "toram")?

2021-08-27 Thread Ian Pilcher

On 8/27/21 6:03 AM, Gueven Bay wrote:

With kernel boot parameters I mean the arguments you give on the grub
command line to the kernel. Just like "toram" which on some distros
work and on many doesn't.


I'm not familiar with "toram", but it's possible that it's not actually
a kernel parameter.  Not everything that's passed on the kernel command
line is actually a kernel parameter; see dracut.cmdline(7) for a bunch
of examples.

Actual kernel parameters are implemented with various macros defined in
include/linux/moduleparam.h.

--

 In Soviet Russia, Google searches you!



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


How do the kernel boot parameters work (especially "toram")?

2021-08-27 Thread Gueven Bay
Hello,

With kernel boot parameters I mean the arguments you give on the grub
command line to the kernel. Just like "toram" which on some distros
work and on many doesn't.

I googled but only found webpages listing the possible boot parameters
and maybe explaining what they do, but none where it was explained
_how_ they work.

Does a boot parameter make the kernel call a script? Does a boot
parameter reference a function inside the kernel? If some distros seem
to allow a specific boot parameter what did they do to their distros
kernel to make this parameter work? And which module or which part of
the kernel takes the boot parameters as input to do the appropriate
things?

For example: It seems that Centos (8) does not suppport "toram"
(allowing to load the whole OS into RAM), at least on my machine.
Okay, what should or can I do to get my (Centos) kernel to accept
this? Writing a script? Patching something?

(Maybe my questions are not really clear, just ask me, please.)

Thanks.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies