summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2018-10-19rt-specialties: add stress-ng as a load scenarioJohn Ogness
This is how Linutronix was able to reproduce the futex issue. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-10-14realtime agl: add Jan's AGL talkJohn Ogness
This talk includes a lot of material from various rt, mm, proc slides. It also includes some new material that was previously only in Jan's private repository. NOTE: The slides taken from the other rt, mm, proc slides have been cleaned up and improved. These changes need to find their way back to the original slides! Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-10-14realtime: translate section name to englishJohn Ogness
The section name is used for tableofcontents commands. Since the slides are english, so should the section names. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-10-08sh-programming: fix example whitespaceJohn Ogness
Whitespace is needed for all parts of [ tests. Also, while at it, change it to match the multi-line version. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-10-08lx-trainer-vm: setup console in finetuningJohn Ogness
Normally the console font and keyboard is setup on first boot. But this can be done in the finetuning so that we do not rely on a "first boot" for the console to be setup correctly. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-10-08lx-trainer-vm: use firmware from stretch backportsJohn Ogness
Most of the firmware packages have versions in stretch backports that support more hardware. Use these in an attempt to work for all laptops. NOTE: There are a few firmware packages that are not in stretch backports. These are still taking from stretch. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-28hello driver: add x86 supportJohn Ogness
Supporting x86 allows us to quickly show the hello driver in action directly from the x86 trainer image. It also shows how platform devices can be added on architectures that do not support device trees. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-28lx-trainer-vm: add tftp and ftpJohn Ogness
During a training I needed these tools. Especially tftp is useful for verifying that the tftp server is available. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-14schulung-tools: meta-schulung: fix commentsJohn Ogness
In the comments, the bitbake commands for menuconfig and diffconfig were incorrect. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-14schulung-tools: add git bundle for meta-schulung creationJohn Ogness
It is nice to have a finished layer for trainers to use as a reference when helping participants to create their own layer. However, there are files that are modified multiple times during the creation process. For this reason a git bundle is added so that trainers have a step-by-step procedure for guiding participants during layer creation. Each commit is a step, documented for the trainer. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-13notes: add linux-build-targetsJohn Ogness
Describes the main targets, files, and procedure dealing with building kernels. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-13images: update yocto releases screenshotJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-09-06dd-multi: workaround mount/umount issueJohn Ogness
It seems that calling umount directly after mount can lead to a busy error. With strace on umount the problem goes away. It must be a very small window. Someone should debug the umount syscall on this. It is reproducable with: ./dd-multi.sh lx-trainer.img /dev/sdx (i.e. regular training image and no layers) Implement a workaround for this for now. From the comments... If there were no layer files added, umount might return a busy error since we just mounted. (Possibly a kernel bug.) By accessing the filesytem before unmounting it, the mount/umount problem seems to go away. Use "ls" to access the filesystem. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31tcf-agent: add HOWTO for downloading/buildingJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31sh-programming: add english translationJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31filesystem-structure: add english translationJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31networking: cleanup formatting and capitalizationJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31processes: fix minor typoJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31filesystems: show mkfs for real partitions before loopJohn Ogness
Creating filesystems for real partitions should be shown first. Then, the slightly more complex example of loop images can be shown. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31embedded-devel: fix loader env-var table to fitJohn Ogness
The table showing the dynamic loader environment variables was running off the edge of the slide. The main reason was because the description column was too wide. Reduce the description column width. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-03fastboot: add notes from previous schulungenJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-07-30build: use xelatex as latex build-commandHolger Dengler
Although the commandline of latexmk specifies xelatex as a sub-command, the commandline parameter "-pdf" enforces the usage of pdflatex instead. Without this parameter, latexmk correctly uses xelatex as latex build-command. Also add the additional, xelatex-specific, temporary files to the clean target and .gitignore. This fixes a bug in commit 44797f7be06e047c2ecd56189c5bb11e7edf854f, which implicitly changed from xelatex to pdflatex as latex build-command. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-07-13Makefile: clean kconfig-frontends with mrproperJohn Ogness
When making the mrproper target, I expect the kconfig-frontends to also be cleaned up. So do it. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-07-13config.tex: add subfig package usageJohn Ogness
The Jailhouse presentation uses "subfloat" to place 2 images next to each other. This requires the "subfig" package. It looks nice, so maybe other presentations will start using it to put things next to each other. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-07-12misc: Jailhouse SlidesHolger Dengler
- Overview embedded Hypervisor - Concepts - Configuration - RT-Measurements Signed-off-by: Andreas Messerschmid <andreas.messerschmid@linutronix.de> (adapt to schulung repo) Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-07-11rt-basics: fix building of printoutKurt Kanzenbach
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2018-07-11tools: ipc-shm: better use syscalls events instead of raw eventsKurt Kanzenbach
It's much simpler to have syscall names instead of numbers in traces. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2018-07-06linutronix_cmdref: add ln and ctrl+rJohn Ogness
The "ln" tool is needed for the basic schulung. Add it to the command reference handout. Since adding something to the left column creates empty space in the right column, use that to add a reference to ctrl+r (searching the shell history). This is a feature that is always asked about during the schulung. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-07-06basic-intro.pdf: add LibrePlan fileJohn Ogness
An older version of this file was in the devel/jogness branch. We do not want trainers digging around in the devel/jogness branch. And since this file is still considered useful, put the latest version in the master branch. NOTE: This needs to be converted to LaTeX at some point! Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-07-06eclipse-notes: update debug connection info, add yocto variantJohn Ogness
It is much easier to use tcf-agent with eclipse and cross-remote debugging. Since local plugin-mirrors and yocto instructions are now available, update the documents to reflect this. Using the old method (with ssh) probably still works, but is definitely more work to get setup on the target. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-07-05rt-basics: fix spelling mistakeKurt Kanzenbach
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2018-06-29linux-proc: mention sched deadlineKurt Kanzenbach
Sched deadline was introduced in 3.14 and extended in 4.13. Customers keep asking about this, so we should at least mention it in our scheduling slides. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>