Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volodymyr.kniazkyi #113

Open
wants to merge 17 commits into
base: Valentyn.Korniienko
Choose a base branch
from
Open

Conversation

ValentinSidorov
Copy link
Contributor

ADD

ekovalyov and others added 3 commits December 1, 2021 00:13
Add descriptions of tasks for lesson 5.

Signed-off-by: Yevgen Kovalyov <[email protected]>
Add task for implementation of procFS API

Signed-off-by: Oleksandr Posukhov <[email protected]>
@alexposukhov alexposukhov added the invalid This doesn't seem right label Dec 14, 2021
Oleksandr Posukhov and others added 9 commits December 21, 2021 14:17
Add example of polling mechanism, add hometask

Signed-off-by: Oleksandr Posukhov <[email protected]>
Add hometask for lection 10: Chardev

Signed-off-by: Oleksandr Posukhov <[email protected]>
Add initial revision of homework task
Add first revision of kernel module with parameters
Module outputs:
 - A sum of parameters upon driver load
 - A substraction of parameters upon unload
On read form attribute “list” show content of the objects linked list.
On write to attribute “list”  add new string to the objects linked list.
During rmmod clear all received strings and free all resources.
Implement program which return absolute time in user space
Implement kernel module wich return relative and absolute
time since previous read of it.
Make one line in code shorter by moving procedure parameter
to next one.
Create user-space program and test allcation/freeing time for
functions malloc, calloc and alloca.
Create kernel module and test allocation/freeing time for
functions kmalloc, kzalloc, vmalloc, and get_free_pages.
Create kernel module with procfs API wich:
 - Create folder in procfs file system;
 - Create entry that returns module author name;
 - Create entry that returns amount of "store" callback calls;
 - Create entry that returns amount of "show" callback calls.

Build image for orange pi zero
 - Make one line in code shorter by moving procedure parameters
   to next one;
 - Fix copy-paste mistakes in module initialization procedure.
Delete trailing whitespace
Delete whitespace before tabs
 Modify and run polling example module on Orange Pi board
 Create driver with irq handling instead of pooling mechanism
Create character device driver to control status led and user button
Create userspace application to control status led and user button
Modify and run simple web-server to control status led
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants