summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-25fastboot: add english translated fastboot slidesJohn Ogness
The german slides are still there but they will not get built. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-25boot-process-basics: fix various typos from translationJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-18fastboot: add (german) fastboot slidesJohn Ogness
Taken from Jan's 2010 talk. These need to be converted to english! Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-18boot-process-basics: translate to englishJohn Ogness
The german version file is still there but it will no longer be built by the Makefile. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15lx-trainer-vm: add manpages from stretch-backportsJohn Ogness
With commit 80aaf492("lx-trainer-vm: take manpages from stretch-backports"), elbe was no longer able to build the rootfs because manpages-dev also requires manpages from backports. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15lx-trainer-vm: add graphvizJohn Ogness
This has the "dot" tool for visualizing systemd boot stats. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15linux/processes: add description of why the "cat"John Ogness
Since the "cat" part isn't really about setting, also mention that we are verifying. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15linux/processes: fix maxcpus kernel parameter and irq affitinityKurt Kanzenbach
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> [jogness: fixed up to show both set and check of affinity] Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: drivers: remove modules subdirJohn Ogness
There is no need for the extra directory level. Move all the example modules to the parent "drivers" directory and delete the modules directory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: relocate and minimize kernel build patchJohn Ogness
There is no reason the the kernel build patch needs to duplicate the entire hello driver. Just show the parts relating to kbuild integration. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: add patches for use with ledsJohn Ogness
These patches are based heavily on the work by Manu to make the driver lessons more interesting. Rather than create a new driver, I took his work and created a series of patches that do interesting modifications to the hello driver. These patches can be used together with the "leds" program to do live blinking demonstrations. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: update patch-add-sysfsJohn Ogness
Since hello.c changed, the patch for adding custom sysfs files needed to be updated. While at it, make the patch into a form that can be used with "git am". Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: cleanup codeJohn Ogness
- add SPDX license identifier - cleanup goto target names - remove an obsolete setting of owner to THIS_MODULE - update the module version Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: hellodriver: set to find Debian kernel buildJohn Ogness
The default build directory needed manual adjustment when the driver was to be built. Change it to use the Debian build path so this driver can be built immediately for the native Debian system without any changes. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-15schulung_tools: leds: add Qt leds application for hostJohn Ogness
The leds application runs on the host and is used to simulate PCI hardware with 3 LEDs. See the README for information about how to build and use it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-14schulung_tools: matrix: add instructions counterJohn Ogness
The amount of instructions should be the same regardless what method you use (1 or 2) but the cache misses will be very different. Looking at these statistics side by side clearly illustrate the problem. Update the README to also include the instruction count. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-07fix various typos and wrong commands in slidesHolger Dengler
Fixes for: - missing variable definition in Makefile - wrong serial device in kernel parameters - missing trace-cmd subcmd and wrong parameter (sched_switch is an event, not a plugin) - missing #include in example code - fix copy&paste leftover Signed-off-by: Holger Dengler <dengler@linutronix.de> Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-01ipc_tcp: fix output message in senderJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-01ipc_tcp: add tcpdump commands to READMEJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-01ipc_tcp: add new ipc example using loopback socketsJohn Ogness
This demo should (hopefully serve) as a basis for overlaying pcap and ftrace data within trace compass. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-01lx-trainer-vm: take manpages from stretch-backportsJohn Ogness
We want pthread_mutex_consistent, which is not in stretch. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-01dd-multi.sh: add sleep for caution, copy vmdk in parallelJohn Ogness
After calling partprobe, userspace may need a moment to delete any previously existing device nodes. Sleep a second to give userspace a chance to do this before checking for the nodes to appear. Also, copy the vmdk files in parallel. Otherwise it takes forever to setup the USB disks. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-01lx-trainer-vm: add qtbase5-devJohn Ogness
The qt5 base dev files allow building of the ivshmem software device. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-31filesystems: change recommendations for sd-cardsJohn Ogness
ext2 is recommended for flash-based block devices? Why?! I have changed it to F2FS and EXT4. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-31add klist slidesManuel Traut
very basic version of slides for kernel lists Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-29rt-basics: use more descriptive prio-inheritance imagesJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28dd-multi: create vmdk partition instead of /home paritionJohn Ogness
As of 6f5bc54("lx-trainer-vm: increase image size to 64GiB") the root filesystem is now large enough for all layers and training work. So there is no reason to create a separate /home partition. Change the dd-multi.sh script to instead: - create an exfat partition - convert the image to VMDK format and copy to exfat partition This allows participants who cannot boot from USB to be able to use VMware or VirtualBox during the training. They need only to create a virtual machine and set the "training-hd.vmdk" file as the hard drive. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28dd-multi: rename HOMEPT to EXTRAPTJohn Ogness
Rename the variable representing the extra partition. Until now this was /home but it will be changed to be an extra partition. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28profiling - gprof: use no PIE compiler and linker optionManuel Traut
PIE is enabled in the gcc of Debian/stretch by default. However the gprof in stretch isn't able to produce any output if PIE is enabled. This is also documented here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854704 Disable PIE for the moment to get some gprof output. However i'm not able to find out how to disable PIE if compiling and linking is done in two steps. Therefore this is just removed. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28schulung_tools/notes add some kernel notesManuel Traut
they should be converted to a 'Kernel API' slideset. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28schulung_tools: add klist kernel moduleManuel Traut
this module can be used to show the usage of klist Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28Device Tree: initial versionManuel Traut
This is the initial version of a Device Tree Presentation. The Presentation includes Background, Scope and Advantages of Device Tree usage as well as a short explanation of the Syntax and Usage. It ends with information about current developments and references to further information. Also an excercise for the attendees is defined. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28kernel-dbg: update printk slidesManuel Traut
- add a reference to elinux.org/Debugging_by_printing - improve explanation of /proc/sys/kernel/printk - add a slide about rate limiting printk - add a slide about wrappers like dev_dbg Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28pres_kernel-basics_en: add translated versionManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28add a zombie exampleManuel Traut
To show that processes become zombies if you don't wait. Also show that init becomes the father of your zombies if the original father dies. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28add a malloc exampleManuel Traut
it demonstrates that memory is only allocated if used. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28linking: move text docs out of Makefile exampleJohn Ogness
The text docs are general references showing how to build, link, and verify dynamic libraries and executables. They are not specific to any build system. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28linking/hello: fixup MakefilesJohn Ogness
It is good to have Makefile and autotool versions for compare. But the Makefiles should not be intentially horrible. Clean them up to the level that we teach in the training. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28add examples for dynamic linking / loadingManuel Traut
one example by doing it manually with an ugly Makefile, another one by using autotools. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-28lx-trainer-vm: increase image size to 64GiBJohn Ogness
Until now, a separate /home partition was created during post-build. However, now that the entire root filesystem will also need to exist as a VMDK file, it is simpler to just have the entire root filesystem in a single partition. 64GiB is currently large enough for the largest training: Yocto, 20GiB in layers with worst case about 10GiB in data generated during the training. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28lx-trainer-vm: add exfat tools and virtualbox driversJohn Ogness
The generated image will be post-modified to include an exfat partition with a VMDK version of the image stored. This can be used by VMware or VirtualBox in case the image cannot be directly booted. Having the exfat tools in the image allows for usage of that partition by the booted system (if needed). VirtualBox needs the dkms drivers in order to provide a larger graphic screen. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-18linux-basics: Add Filesystem-Org slidesHolger Dengler
Add slides about Filesystem Organization and Structural Elements. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-18pres_signals: fix typosJohn Ogness
Signed-of-by: Holger Dengler <dengler@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-18new slide set for using signals in linuxVolker Haspel
Signed-off-by: Volker Haspel <volker.haspel@linutronix.de>
2019-01-11notes: tcf-agent: update CC, add info about dependencies and portJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-11printouts: add subsection to frameJohn Ogness
Currently the subsection of a frame is not shown on the printouts. However, this is often useful information that needs to be seen as well since it often functions as a title for the frame. Include it in the printouts. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-11fix handling of numbers on slides and printoutsManuel Traut
As mentioned in mantis #1449 slides are increasing the page number if \pause is used. This leads to different page numbers in printout presentations. This is fixed by using frame numbers instead of page numbers. The micronsult theme doesn't use any numbers. This inserts the frame number on the bottom left. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-11theme: microconsult: properly position footer imageJohn Ogness
The footer image is too high causing the copyright text to be partly cutoff. Vertically center the text. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-11theme: microconsult: remove extra line from imageJohn Ogness
The extra transparent line add confusion when trying to vertically place the image. Remove it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-11schulung_tools: matrix: add more details to READMEJohn Ogness
mention some other usage of perf to track done the problem [Reformatted by jogness] Signed-off-by: Manuel Traut <manut@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de>