summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2019-01-11linux-basic: Add Linux Graphics Overview slidesHolger Dengler
Signed-off-by: John Ogness <john.ogness@linutronix.de> [integration, presentation header] Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-11linux-basic: Add Userspace-to-Kernel API slidesHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-11tailpres: Hide empty subsection in TOCHolger Dengler
Sections and subsections, which are marked with a "*" are not included in the Table of Content. Empty subsections at the end of the document should not be included in TOC. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-11Revert "lxfrau" (accidentally pushed)John Ogness
The "lxfrau" Patch is needed for building on jessie. I accidentally pushed this. Sorry. This reverts commit 5de1a739a83da6b266a91ec958c971ae07b21956. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-11packaging: move to new apt toolingHolger Dengler
Debian introduced a main apt command with several subcommands. Its going to replace the apt-* series as the main interface, so we should mention it here. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-11microconsult theme: update copyright to 2019John Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-11lxfrauJohn Ogness
2019-01-09what is linux: remove unavailable graphicManuel Traut
the graphic is of size 0byte - remove it Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-09defconfig: add a defconfig for the security trackHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-09themes: reduce font size for microconsult themeHolger Dengler
The font size in the theme for microconsult is larger than in the original linutronix theme. Therefore, in some slides there is not enough space for all text. The font sizes in both themes are now nearly equal, so the problem should be fixed. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2019-01-09notes: howto-eclipse-yocto: update versions to thudJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-12-14licenses: add slide spdx headerVolker Haspel
Until now we don't we have no slides about spdx header. This slide is just a short introduction and reminder for the trainer to talk about spdx. Signed-off-by: Volker Haspel <volker.haspel@linutronix.de>
2018-12-14licenses: add License OverviewVolker Haspel
Many oss licenses are available. The links should show an an overview over the most common licenses and how to compare them. Signed-off-by: Volker Haspel <volker.haspel@linutronix.de>
2018-12-11tailbeamer: clear subsectionJohn Ogness
The final "thank you" slide does not reset the subsection, so it shows whatever the last subsection was. Reset it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-12-11yocto own layer: fix misspelled pinguinJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-12-11lx-trainer-image: add networking toolsJohn Ogness
For the networking trainings, additional tools are needed. Add them: - ebtables - arptables - nftables - iptables-nftables-compat - ethtool - traceroute - mtr - iptraf - quagga Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-29lx-trainer-vm: add pwgenJohn Ogness
A nice tool to quickly generate secure passwords. For example with: pwgen -sy 32 1 Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-29yocto-intro: update release graphicManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-11-29yocto-basic: update git url for thudManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-11-29add 'yocto-layer-example'Manuel Traut
This is a first attemp to create a new slideset for day2 of yocto-trainig. The slideset is based on 'yocto-advanced' but with integration of 'meta-schulung' explanations. I used a slightly modified version of 'meta-schulung'. The following changes are currently not available in git: I don't use linux-yocto in meta-schulung, but use an own kernel-recipe and integrate the RT-PREEMPT patch. wic: i can't see the need for the second partition and the need for huge files in the kconfig. It works for me by adding ' --align 1024 ' to the wic setup. I decided to use ext2 instead of ext4. I renamed the rootfs.bb file into schulung-base.bb I use the u-boot recipe from poky. However i don't use u-boot for anything atm. But bootloader is on our agenda.. Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-11-22lx-trainer-vm: add libpam-capJohn Ogness
The security schulung has an example involving capabilities assigned via PAM login. This package is needed for it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-22microconsult theme: update copyright to 2018John Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-21layer-building/yocto: update tarball script for thudJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-21lx-trainer-vm: set root:root as /opt/* ownerJohn Ogness
The linaro toolchain creates files with some obscure user/group. Instead of trusting the owners/permissions of the downloaded archives, recursively set all /opt to root:root. If for some reason any files are setuid, this will also clear that bit. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-21layer-building/yocto: add a start script for vexpressJohn Ogness
I include this start script in /home/prebuilt so that schulung participants can easily start the vexpress board. NOTE: It expects to be run from the build directory, typically /home/devel/yocto/build/vexpress Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-21layer-building/yocto: switch to thudJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-21meta-schulung: add thud support, create separate branchesJohn Ogness
The meta-schulung.bundle now includes separate branches depending on the poky release. This was necessary because thud introduced a new busybox dependency (virtual/crypt). One nice feature of this splitting is that it is very easy to see how the layer changes over poky versions by diffing the branches. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-20images: update yocto releases screenshotJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-09lx-trainer-img: use FQDN for nereusJohn Ogness
If building the image from a machine other than nereus, the name nereus (used in fine-tuning wget) cannot be resolved. Use the FQDN instead. That works (as long as you are in the Linutronix network). Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-06app-debugging: remove obsolete slidesJohn Ogness
Trainers should use DEBUGGING_TOOLS instead. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-02printk: add printk slides from elce2018John Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-11-02layer-building: add scripts to automatically build yocto layersJohn Ogness
The yocto training requires a lot of data to be prebuilt/downloaded (about 15GB). These scripts can be used to automatically download/prebuild all that data and create the various layer tarballs. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-10-30build kconf with mconf for 'make menuconfig'Manuel Traut
menuconfig needs mconf. If 'libncurses5-dev' is not installed, kconfig will be silently built without mconf and 'make menuconfig' can't be executed. If hard enabling the feature a more useful error message, complaining about not install ncurses headers, is shown. Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-10-19lx-trainer-vm: add iwJohn Ogness
This is the wireless tool to use for the future. iwlist/iwconfig are old. Signed-off-by: John Ogness <john.ogness@linutronix.de>