summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-18docs: create a useful READMEJohn Ogness
Remove the outdated/useless INSTALL, README, and README.txt files and create a new and useful README. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-18build: cleanup build processingHolger Dengler
Cleanup build processing: - support quiet and verbose build output (V=0, 1, or 2) - cleanup clean targets - replace for-loops with foreach statements The build process now supports 3 levels of verbosity. Default (V=0) provides very little output of the latex tooling, V=1 adds the full output of the latex tooling and V=2 adds output of the make tooling. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-18build: remove master-presentation and -handout buildsHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-17build: replace build commandHolger Dengler
Building latex files may require to re-run the build command more than once. The make target rules are normally called once. Make also does not check the dependencies, which are caused by tex statements (like \input{} or \includegraphics{}). Both problems are solved by latexmk. This wrapper scans all dependencies in the .tex file and calls the latex-command until all depending steps are resolved. The call of the build-command is forced in make, because the checking, if a tex-file requires a rebuild is done by latexmk. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-17build: fix broken clean targetsHolger Dengler
Rename the clean target in modules.mk to "clean_texfiles" to avoid collision with "clean" target in Makefile. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-05dd-multi: update/cleanup for gpt supportJohn Ogness
- require gpt images and expect partition layout and sizes from lx-trainer-vm.xml - cleanup output - use dd instead of cat (to allow progress status) - use parted instead of fdisk (necessary to fix gpt table) - remove unnecessary partprobe's Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-05lx-trainer-vm: do not explicitly mount debugfsJohn Ogness
Debian will mount debugfs by default. Do not explicitly specify it in /etc/fstab. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-05lx-trainer-vm: change boot to uefi/bios hybridJohn Ogness
This requires devel/elbe-3.0 branch to build! In particular, commit 79adee34de55 ("Add support for hybrid images (UEFI+Bios)") Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-05lx-trainer-vm: do not create lx-trainer.tar.gzJohn Ogness
Creating this tarball takes a long time and a lot of space on the initvm. Since this file is not needed, stop creating it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-05add rootfs_basic scriptsJohn Ogness
These scripts are provided to participants after the training to allow them to quickly/easily reproduce the many steps of creating a simple root filesystem from scratch. These scripts also serve as an excellent reference for trainers to follow during the live excercises. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-05add eclipse and preempt-rt notesJohn Ogness
These are notes that may be helpful for trainers when preparing for a schulung. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-04kernel-basics: extend and update development statisticsManuel Traut
rebased against master Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-03-20dd-multi.sh: loop partprobe until successJohn Ogness
When partitioning many devices, it is possible that partprobe returns with a "EBUSY" error. Loop until partprobe succeeds. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-03-20what-is-linux: update contentManuel Traut
to be more up to date Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-03-19lx-trainer.img: force nfs server to version 2John Ogness
In order for the qemu arm vm's to nfs root out-of-the-box, either the client must specify v3 or the server must restrict itself to version 2. Rather than expecting special arguments from the client, force the lx-trainer image to use nfs server version 2. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-03-07application-devel: Integrate Git-Basic slidesHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-03-07application-devel: add Git-Basics slidesHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-03-07embedded-devel: typo: remove duplicate wordHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-03-02basics: sh-programming: more variable setting examplesJohn Ogness
There are several methods of setting and printing variables. Add a couple frames to help clarify that before jumping into the more complex examples. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-03-02basics: sh-programming: add "case" exampleJohn Ogness
A simple example demonstrating the syntax of "case". Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-03-02add colordiff toolJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-23dd-multi.sh: wait for new partitionsJohn Ogness
There is a latency between when partprobe is called and when udev actually creates the device nodes. Wait for the desired device nodes to appear before continuing. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-23mtrace: force PIEJohn Ogness
In case it is run on a system where PIE is not the default, explicitly set for the binary to be built as PIE. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-23add gnome-screenshotJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20remove german slides when english are availableJohn Ogness
Remove german slides if a completely translated english version is available. For slides that have been translated to english, but do not contain all the information of the german slides, the german slides are still available. But they are only available for reference. That will not be built. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20tools: add ipc dbus exampleJohn Ogness
2018-02-20tools: rename 'rtex' tool to 'pgflt'John Ogness
The rtex tool only demonstrates prefaultingn to avoid runtime page faults. It makes more sense to call it pgflt. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20ipc: add frames to summarize methodsJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20module-basics: fix wrappingJohn Ogness
Wrap lines that are too long for the slide. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20module-basics: add a slide for vain plat full exampleJohn Ogness
With the device tree added, the full example no longer fits in 5 slides. Add a 6th slide to spread things out better. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20module-basics: cleanup vain examplesJohn Ogness
Cleanup the examples so that they show (and hide) the same things for both examples. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20modules-basics: add device tree to full exampleJohn Ogness
There are separate files showing the full vain example. They need to show the device tree compatibility as well. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20module-basics: add device tree to vainJohn Ogness
Modern kernels will use device trees for platform devices, so make vain do the same. (Also fixup an unnecessary line break.) Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20kernel-tracking: avoid unnecessary line splitJohn Ogness
Don't split lines that will fit in the slide. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20update/cleanup earlyprintk and cgroupsJohn Ogness
Update slides for latest kernels. Cleanup slide contents. Add slides about manually setting the CPU affinity. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20linux-mm-basics: fix spelling errorJohn Ogness
Chunks, not junks. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20debugging-tools: fixup typosJohn Ogness
Fixup some copy/paste errors. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add ld.so.cache infoJohn Ogness
We talk about the dynamic loader, so let's talk about how to configure it too. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20debugging-tools: add symbol reinsert and PIE infoJohn Ogness
PIE binaries are now the default, so let's talk about them. Particularly for mtrace it is important to understand. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add slides about PIE binariesJohn Ogness
PIE binaries are now the default, so let's talk about them. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add LD_TRACE_PRELINKINGJohn Ogness
Since PIE binaries are created by default now, it has become important to see where the binaries are mapped in memory. LD_TRACE_PRELINKING is the dynamic loader environment variable to see that. $ env LD_TRACE_PRELINKING=1 ./hello | grep '=>' Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20tailpres: change to englishJohn Ogness
Almost all slides are english now, so the final "thank you" page should be too. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20yocto basic: replace depexp with taskexpVolker Haspel
The command depexp is deprecated and doesn't work with the trainer image. We should show the new command taskexp. Signed-off-by: Volker Haspel <volker.haspel@linutronix.de>
2018-02-20dd-multi.sh: add support for layer tarballs in subdirsJohn Ogness
Use 'basename' to isolate the layer tarball filename in case they are specified in a directory other than the current working directory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-19dd-multi.sh: change partitioning procedureJohn Ogness
Initially write 10MB of 0's instead of 1MB to make sure any tables at the beginning are really gone. Rather than calling 'partprobe' with no arguments, explicitly pass the list of devices to re-read. 'fdisk' is used to create the 2nd (/home) partition. Do not do that in the background but instead synchronously for each device. Add a 'sync' afterwards to hopefully create a barrier before rescanning the devices. This is should address a problem where 'partprobe' is run too early and the kernel does not find the 2nd partition of the last device. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-08security: rework Mandatory Access ControlHolger Dengler
- Rework generic information - Add information about SMACK and AppArmor - Add References - Add examples Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-01-17do not add devel user to wireshark groupJohn Ogness
There is no wireshark group by default. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-01-15security: cleanup concept slidesHolger Dengler
Cleanup multiple peanuts: - remove [fragile] (were not required) - remove unnecessary header stubs - align subsections Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-01-15security: change code fontsize to scriptsizeHolger Dengler
Fontsize "scriptsize" is a good alternative between default fontsize and "tiny". Signed-off-by: Holger Dengler <dengler@linutronix.de>
2017-12-19add a userspace tracing exampleManuel Traut
using lttng-ust, perf and tshark traces can be shown in tracecompass Signed-off-by: Manuel Traut <manut@linutronix.de>