Este documento describe los pasos para compilar y modificar el kernel Linux versión 4.4.76 en openSUSE 42.3. Los objetivos incluyen mostrar un mensaje personalizado al encender la computadora, personalizar la apariencia visual del sistema operativo y asegurar que funcione normalmente luego de las modificaciones. Se instalan herramientas como Ncurses y GCC, se descarga el código fuente del kernel, se modifica el archivo main.c para mostrar el mensaje, se compila y se instala el nuevo kernel, y se actualiza el gestor de arranque grub2 para usar el kernel comp
Linux has become integral part of Embedded systems. This presentation gives deeper perspective of Linux from system programming perspective. Stating with basics of Linux it goes on till advanced aspects like system calls, process subsystem, inter process communication mechanisms, thread and various synchronization mechanisms like mutex and semaphores. Understanding these services provided by Linux are essential for embedded systems engineer. These constructs helps users to write efficient programs in Linux environment
Linux has become integral part of Embedded systems. This presentation gives deeper perspective of Linux from system programming perspective. Stating with basics of Linux it goes on till advanced aspects like system calls, process subsystem, inter process communication mechanisms, thread and various synchronization mechanisms like mutex and semaphores. Understanding these services provided by Linux are essential for embedded systems engineer. These constructs helps users to write efficient programs in Linux environment
LInux: Basics & File System:The Unix operating system was conceived and implemented in 1969 at AT&T's Bell Laboratories in the United States by Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. First released in 1971, Unix was written entirely in assembly language, as was common practice at the time. Later, in a key pioneering approach in 1973, it was rewritten in the C programming language by Dennis Ritchie (with exceptions to the kernel and I/O). The availability of a high-level language implementation of Unix made its porting to different computer platforms easier.
Presentation on Debian Operating System. In this presentation auther describes the Debian OS and Its Facility and Fetures point-by-point and How Debian Invented. It is also usefull for CSE Student for the presentation of their OS Subject.
Part 02 Linux Kernel Module ProgrammingTushar B Kute
Presentation on "Linux Kernel Module Programming".
Presented at Army Institute of Technology, Pune for FDP on "Basics of Linux Kernel Programming". by Tushar B Kute (http://tusharkute.com).
Android Things is the latest attempt from Google to connect the dots between the cloud and devices by introducing an OS that is exclusively built for IoT devices. Initially announced as project Brillo, Android Things helps developers to build devices faster and enable them integrate with cloud services. This presentation traces the architectural aspects of Android Things by connecting it back with Embedded Linux, Embedded Android and Brillo.
Basic commands for powershell : Configuring Windows PowerShell and working wi...Hitesh Mohapatra
Configuring Windows PowerShell and working with basic commands
• Configuring the Windows PowerShell console
• Configuring the Windows PowerShell ISE application
• Finding commands
• Running commands
• Using the About files
Shell: A Command-Line Interpretor that connects a user to Operating System and allows to execute the commands or by creating text script.
Process: Any task that a user run in the system is called a process. A process is little more complex than just a task.
File: It resides on hard disk (hdd) and contains data owned by a user.
X-windows aka windows: A mode of Linux where screen (monitor) can be split in small “parts” called windows, that allow a user to do several things at the same time and/or switch from one task to another easily and view graphics in a nice way.
Text terminal: A monitor that has only the capability of displaying text stuff, no graphics or a very basic graphics display.
Session: Time between logging on and logging out of the system.
LInux: Basics & File System:The Unix operating system was conceived and implemented in 1969 at AT&T's Bell Laboratories in the United States by Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. First released in 1971, Unix was written entirely in assembly language, as was common practice at the time. Later, in a key pioneering approach in 1973, it was rewritten in the C programming language by Dennis Ritchie (with exceptions to the kernel and I/O). The availability of a high-level language implementation of Unix made its porting to different computer platforms easier.
Presentation on Debian Operating System. In this presentation auther describes the Debian OS and Its Facility and Fetures point-by-point and How Debian Invented. It is also usefull for CSE Student for the presentation of their OS Subject.
Part 02 Linux Kernel Module ProgrammingTushar B Kute
Presentation on "Linux Kernel Module Programming".
Presented at Army Institute of Technology, Pune for FDP on "Basics of Linux Kernel Programming". by Tushar B Kute (http://tusharkute.com).
Android Things is the latest attempt from Google to connect the dots between the cloud and devices by introducing an OS that is exclusively built for IoT devices. Initially announced as project Brillo, Android Things helps developers to build devices faster and enable them integrate with cloud services. This presentation traces the architectural aspects of Android Things by connecting it back with Embedded Linux, Embedded Android and Brillo.
Basic commands for powershell : Configuring Windows PowerShell and working wi...Hitesh Mohapatra
Configuring Windows PowerShell and working with basic commands
• Configuring the Windows PowerShell console
• Configuring the Windows PowerShell ISE application
• Finding commands
• Running commands
• Using the About files
Shell: A Command-Line Interpretor that connects a user to Operating System and allows to execute the commands or by creating text script.
Process: Any task that a user run in the system is called a process. A process is little more complex than just a task.
File: It resides on hard disk (hdd) and contains data owned by a user.
X-windows aka windows: A mode of Linux where screen (monitor) can be split in small “parts” called windows, that allow a user to do several things at the same time and/or switch from one task to another easily and view graphics in a nice way.
Text terminal: A monitor that has only the capability of displaying text stuff, no graphics or a very basic graphics display.
Session: Time between logging on and logging out of the system.
Presentación de los conceptos básicos del Sistema Operativo GNU / Linux; en los cuales se habla un poco de su historia, de su estructura y de su funcionamiento.
1. Universidad Nacional de Ingeniería
Recinto Universitario Simón Bolívar
Facultad de Electrotecnia y Computación
Sistemas Operativos y Redes
Compilación y configuración del
Kernel 4.4.76 en openSUSE 42.3
Autores:
Francisco Rios Cabrera. 2013-61643
Erving Galeano Cruz. 2013-61343
Docente: Narciso Agulera
Grupo: 4T3-Co
Fecha: 01 de noviembre de 2017.
2. Objetivo general
Elaborar una guía detallada de la compilación y edición del kernel 4.4.76 en la
versión de Linux openSUSE 42.3, para que pueda ser implementada por
cualquier persona con conocimientos de computación.
Objetivos específicos
Modificar el kernel de manera que presente un mensaje personalizado al
encender la computadora.
Personalizar el aspecto visual del sistema operativo de openSUSE.
Lograr que el sistema operativo funcione normalmente luego de las
modificaciones.
3. Reseña histórica de openSUSE
openSUSE es el nombre de la distribución y el proyecto libre de un sistema
operativo basado en Linux, auspiciado por SUSE Linux GmbH (una división
independiente de The Attachmate Group), y AMD para su desarrollo y
mantenimiento. Después de adquirir SUSE Linux en enero de 2004, Novell
decidió lanzar SUSE Linux Professional como un proyecto completamente de
código abierto, involucrando a la comunidad en el proceso de desarrollo. La
versión inicial fue una versión beta de SUSE Linux 10.0, y la última versión
estable es openSUSE 42.3
openSUSE es una de las más conocidas distribuciones Linux existentes a nivel
mundial, se basó en sus orígenes en Slackware. Entre las principales virtudes
de esta distribución se encuentra el que sea una de las más sencillas de instalar
y administrar, ya que cuenta con varios asistentes gráficos para completar
diversas tareas en especial por su gran herramienta de instalación y
configuración YasT.
La versión inicial fue una versión beta de SUSE Linux 10.0, y la última versión
estable es openSUSE
42.3 openSUSE comparte muchas características con SUSE Linux Enterprise,
ofreciendo por ejemplo:
• AppArmor: otorga permisos a las aplicaciones en función de cómo se ejecutan
e interaccionan con el sistema.
• YaST: una aplicación que openSUSE utiliza para administrar el sistema e
instalar software.
• Xen: software de virtualización.
• KDE y GNOME.
• Compiz: un escritorio 3D que corre sobre Xgl.
4. Instalamos las siguientes herramientas necesarias para la compilación.
Ncurses: biblioteca de programación que provee la API.
GCC: compilador de C.
Digitamos en la terminal los siguientes comandos para descargar las
herramientas necesarias para la compilación.
Ejecutamos el siguiente comando para ver la versión del Kernel.
Ya verificada la versión del Kernel, digitamos el siguiente comando para
Descargar el Kernel.
5. Verificamos que esta descargado con ls.
Descomprimimos la fuente del kernel con el siguiente comando.
6. Modificación del Archivo main.c
Este archivo es el que modificaremos para mostrar el mensaje
personalizado.
Desde la terminal nos dirigimos nos dirigimos a la ubicación del archivo
main.c
7. Nos preparamos para compilar. Nos vamos a menuconfig.
Aquí solo aceptamos y nos salimos.
8.
9. Por ultimo nos queda compilar el kernel. Los hacemos con make.
10. Después que finalizo la compilación, los siguiente seria escribir make
modules (compilar los módulos)
12. Ya por ultimo make install para instalar el kernel.
Actualizar el grub2.
El grub2 tenemos que configúralo para que asuma el nuevo kernel. Nos
ubicamos en la carpeta /boot con cd y veremos que ahí se encuentra grub2.
13. Después con el editor nano vamos a editar el tiempo y quitaremos el
splash para que aparezca la carga del sistema en modo texto junto con lo
que escribimos en main.c
Lo que haremos aquí es quitar lo que está entre comilla en
CRUB_CMDLINE_LINUX_DEFAULT=””(quitar el splash)
CRUB_TIMEOUT=30 (pusimos 30 segundos para cargar el crub).
Después damos control+o para guardar.
14. Para finalizar y actualizamos grub y grub2.
Con todo esto hecho ya podemos reiniciar y probar los cambios.
Shutdown –r now
Resultados.