summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-18meta-schulung: add app much soonerJohn Ogness
Add the application after creating the layer. This allows the participants to see the minimal efforts needed to create their own applications. The layer can be used with any machine (for example, the qemux86 machine that the participants had already been working with). Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-09dd-multi.sh: inform the trainer how much to ddJohn Ogness
The dd step is the longest, so showing the progress is nice. But dd does not show how big the file is. Hard-code the size since we know how big it is. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-09dd-multi.sh: use dd features from stretch and 128M blocksJohn Ogness
All trainers are now using stretch (or higher), so use the status=progress feature. Also, increase the blocksize to 128M since that amount should be available on the cloning host. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-09lx-trainer-vm: add linaro aarch64 toolchainJohn Ogness
Add the aarch64 toolchain from linaro. Use the same version as the armhf toolchain: 6.3.1-2017.05. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-09lx-trainer-vm: set preseed for man-dbJohn Ogness
If the man-db preseed is not set, the man database is not created by elbe. This means that things like: man -k timer won't work. Preceed the configuration so that the database exists immediately. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-03sleep_wake: update with more details, new eventsJohn Ogness
There were an unnecessary number of events that were captured. Only capture the ones that are truly interesting. And add the irq vector. Also, add some description to the significance of the events. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28schulung_tools: scheduling_tests: disable rt throttlingJohn Ogness
On a machine with few CPUs, these tests could trigger RT throttling. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28schulung_tools: add sleep_wake demoJohn Ogness
A very simple demo that shows the full chain of events from sys_nanosleep_enter to sys_nanosleep_exit. (For the IRQ calculations use expires= and now= from the hrtimer events.) Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28schulung_tools: rename/modify malloc to avoid system()John Ogness
A more complex but cleaner implementation of retrieving/printing the stats has been implemented. The implementation is put into a separate stats.c file so that the main program (malloc.) can be easily reviewed to see what the program is doing. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28schulung_tools: add scheduling testsJohn Ogness
This is a set of tests to compare the scheduling using various policies and priorities. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28linux-mm-basics: increase stack sizeJohn Ogness
The example shows a prefaulted stack size of 8KB, which is pretty small. Set it up to 64KB, which is a bit mor realistic. Also, remove the pointless "return" at the end of that function. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28kernel-tracing: KPROBES -> kprobesJohn Ogness
Why is kprobes in all caps? Change it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-28kernel-tracing: fixup denglish, add perf probe, tracing_onJohn Ogness
There were some german and german-like words lingering. Fix these to proper english. Show the use of "perf probe" for adding kprobes and uprobes. Move the tracing_on()/tracing_off() slide next to the trace_printk(). It makes more sense there since we are talking about writing kernel code for tracing. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-26remove unused files sitting in rootJohn Ogness
Some files were accidentally copied to the root directory in commit 335151d10296 ("Adding a new chapter for management related topics...."). These files are already in the images/ directory and can be safely removed. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-26Added a slideset for lifecycle management to the management chapter.Jan Altenberg
This covers chosing the correct versions, grading the quality of Open-Source componentes and showing the difference between Yocto and Debian. It also covers the security aspects of lifecycle management. Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de
2019-03-26Minimal fix for FOSS basic slideset.Jan Altenberg
Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de
2019-03-26Adding a new chapter for management related topics. Currently the followingJan Altenberg
topics are covered: - History of Free Software an Open-Source - Commercial benefits of Open-Source - How to use Open-Source in a company - Ideas about setting up an Open-Source program - License compliance Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de
2019-03-22app/debugging: unify path to hello binaryKurt Kanzenbach
For GDB sometimes the hello binary is located in /home/devel/work and sometimes in /home/devel/jan. Unify it. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-03-22kernel/dts: fix name of dtsi fileKurt Kanzenbach
The dtsi file is called mynode.dtsi, but the my.dts includes my.dtsi which doesn't exist. Fix it. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-03-14pres_dsa: add DSA presentationJohn Ogness
This is Kurt's Distributed Switch Architecture slides from the Techdays. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-14fastboot: replace tabs with spacesJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-03-07security: Add PKCS#11 slidesHolger Dengler
The PKCS11 slides describe the main elements of the standard and how the interfaces can be used in applications. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-03-07security: exclude top-level section in TOCsHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-03-06app/debugging: add description slide for address sanitizerKurt Kanzenbach
Add a brief introduction about what the address sanitizer actually is and what types of bugs in can find. That's useful for our customers. Requested-by: Holger Dengler <holger.dengler@linutronix.de> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-03-04notes: initrd: use a better name for the cpio fileJohn Ogness
It is an initramfs, not an initrd. So name it so. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28notes: initrd: add information about /init and /dev/consoleJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28notes: uio.txtJohn Ogness
This text document goes through examples of how to use the uio_pdrv_genirq driver for UIO drivers. It covers the device tree entries for various scenarios as well as userspace code using libuio to access/map the devices. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28notes: initrd.txt: add information about initrd vs initramfsJohn Ogness
There are some big differences between initrd and initramfs. This text document lists them and the advantages/disadvantages. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28HOWTO-uboot-qemu: add a quickstart referenceJohn Ogness
The knowledge base article does a much better job of explaining this, but sometimes we just want a quick script to get things going. This HOWTO is actually a script that goes from u-boot source to running u-boot in qemu. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28kernel-debugging: lots of minor fixups discovered during trainingJohn Ogness
- update dynamic printk format - update addr2line for kernels by using script - update qemu lines for vexpress - add note about kaslr with qemu gdbserver - use uart0 for console and uart1 for kgdb - use 127.0.0.1 instead of localhost (otherwise qemu and gdb get confused about IPv4 or IPv6) Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28linux-mm-basics: show the ulimit -s helpJohn Ogness
The stack size is also an important parameter for memory. Show it as well. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28embedded-devel: remove unnecessary "cut" in commandJohn Ogness
The -dM argument shows the built-in macros. Cutting the #define from the output not only make the command unnecessarily complex, but also works against illustrating that they are macros. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28linux-processes: also mention clone() syscallJohn Ogness
Since these days fork() is just a wrapper for the clone() syscall, it makes sense to at least mention it on the slide. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28lx-trainer-vm: add kernel debugging symbolsJohn Ogness
This is useful when demonstrating crash kernels with the Debian kernel. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28lx-trainer-vm: add required preseeding for jackd2John Ogness
When installing jackd2, it is required that the user choose if realtime options are allowed. Say "yes" in the preseeding. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28app/debugging: add address sanitizer exampleKurt Kanzenbach
The address sanitizer is a useful tool for debugging lots of memory related bugs such as heap/stack overflows, user after frees and much more. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-28app/debugging: remove trailing whitespacesKurt Kanzenbach
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-28kernel/tracing: removed double named section tracersKurt Kanzenbach
There are two sections named tracers. Probably a copy and paste error. Fix it. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-26rt-tests: test your idle system as wellKurt Kanzenbach
Reason: An Idle system may make use of power management features and introduce large latencies. This should be also tested. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-26rt-basics: translate german word in english presJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-26fastboot: add kconfig option for presJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-25lx-trainer-vm: add debconf-utilsJohn Ogness
It is nice to have debconf-get-selections so that the preseeding values can be investigated. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-25lx-trainer-vm: install lots of new packagesJohn Ogness
(helps for a comfortable vmware experience) open-vm-tools-desktop (requested from training participants) vim-gtk3 terminator iotop bash-completion (compression tools for building LZ4-compressed kernel/initramfs) liblz4-tool (realtime stress testing) stress-ng (fastboot tool) prelink (tool for devel/debugging) clang (packages for building new kernelshark) tig cmake libjson-c-dev freeglut3-dev libxmu-dev libxi-dev Signed-off-by: John Ogness <john.ogness@linutronix.de>
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>