summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-02yocto-example-layer: fix typosschulungJohn Ogness
- misspelled "graphics" - missing "$" for bitbake variable Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-26dd-multi.sh: add --keep-filesJohn Ogness
The first couple steps of the dd-multi.sh script is to: 1. make a sparse copy of the original image 2. loop mount the copy 3. unpack the layers to the loop mount 4. create a vmdk of the copy 5. copy the image and vmdk to the usb drives If many USB drives need to be prepared at once, usually the dd-multi.sh script will need to be called multiple times (due to not enough USB-3 ports being available). However, there is no need for steps 1-4 to run each time. Add a --keep-files argument that will not delete the copy and vmdk files on completion. The --keep-files argument also tells the dd-multi.sh script to look for existing copy and vmdk files. If they are found, they are used. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-26Makefile: use literal strings instead of escapingJohn Ogness
Although the escaping was correct, it is ugly and bug prone. Use literal strings if static strings (no variables) are involved. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-26management/lifecycle: remove tabsJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-26yocto-basic: update git url for https and thud 2.6.1John Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-26layer-building/yocto: update scripts for 2.6.1John Ogness
Use the latest thud stable and also cleanup the scripts a bit so that it is easier to update the version in the future. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-04-25schulung_tools/yocto-own-layer: add u-boot howtoJohn Ogness
meta-schulung does not include building u-boot. However, building/running u-boot with qemu is quite easy. Add a mini howto with the steps to help the trainer quickly demonstrate u-boot. Signed-off-by: John Ogness <john.ogness@linutronix.de>
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>