summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-07secureboot: allow device or image specificationJohn Ogness
Rather than assuming the image file lx-trainer.img in the current working directory, require an argument that specifies this. Also, allow this argument to be a block device to perform the secure boot preparation on devices already prepared with the image. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-05-04dd-multi.sh: unpack layers in parallelJohn Ogness
Start the untar processes in parallel. This will take advantage of file caching and should max out the USB bandwidth. This is important because some trainings (like Yocto) have huge layers. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-05-04dd-multi.sh: check if /home is empty before copyingJohn Ogness
/home shouldn't be empty, but check just in case. Getting an error in the middle of the script is very annoying. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-05-04dd-multi.sh: check for layers before beginningJohn Ogness
It is very annoying if the script aborts in the middle because of something like missing files. Check for them in the beginnning. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-05-04lx-trainer-vm: upgrade eclipseJohn Ogness
... from neon-3 to oxygen-3a. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20secureboot: add make_lxtrainer_secureboot.sh scriptJohn Ogness
Eventually the lx-trainer image will come with secure boot automatically. But for now, we have to manually adjust the image. Here is a script to do that. Also update the README. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20dd-multi.sh: unpack the tarballs directlyJohn Ogness
Tarballs are copied to the USB drives and then unpacked in a chroot. However, this means the data will travel across the bus three times! For large layers this is craziness. Since --numeric-owner is used anyway, just unpack the tarballs directly. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20evalsheet: rename menu and config nameJohn Ogness
Label the menu item "Evaluation sheet" and name the config item CONFIG_EVALSHEET. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20docs: add more known issuesJohn Ogness
A clean must be performed when the theme is switched and incremental building does not work if printouts are enabled. Add this information to the README. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20microconsult: add menu option to use themeJohn Ogness
Add a new CONFIG_BUILD_MICROCONSULT option to use the MicroConsult theme. Printouts are also affected by this option. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20microconsult: change Arial to Liberation SansJohn Ogness
Liberation Sans is a free metrically equivalent drop-in replacement for the non-free Arial. Use it instead. This also requires users to install the fonts-liberation2 package. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-20add microconsult themeHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-19kernel/devel: remove tabsJohn Ogness
The new "make check" caught some tabs in .tex files. Remove them. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19build: add missing PHONY targetsJohn Ogness
Some targets were missed in b9c47deaa48("build: cleanup PHONY targets"). Add them as well. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19build: check for tabs in tex-filesHolger Dengler
Tabs in tex-files are not correctly processed, so check for tabs in all tex-files and print a warning about the affected files. Tabs in tex-files will not terminate the build process. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-19build: check for required toolsHolger Dengler
Check the required tools, before starting the build process. Missing tools will terminate the build process. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-19build: cleanup PHONY targetsHolger Dengler
Use a variable for the PHONY targets. This makes it easier and robust to maintain this list. Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-19kernel-basics/module work in linux source treeManuel Traut
instead of having a out-of-tree kernel module (i hate them). Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-04-19kernel/devel - module: fix driver examplesManuel Traut
remove devinit for probe and devexit for unregister functions add __init and __exit for init and exit functions Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-04-19printouts: add Kconfig option to build with printoutsJohn Ogness
If enabled, all selected presentations will also be build using the print templates. These are named the same, but stored in the deploy/printouts subdirectory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19fix generic support for print version (tail)John Ogness
In 5d4433a71928("add generic support for print version") the tails were not adjusted correctly. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19add generic support for print versionJohn Ogness
All presentations can be built in print form if the file .lxformat_print exists in the main directory. If this file does not exist, the regular beamer format will be generated. IMPORTANT: The print version of the files are named the same as the beamer version! Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19remove tabsJohn Ogness
Some tabs were missed in ea793b23c984("replace *all* tabs with spaces"). Remove them. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19replace *all* tabs with spacesJohn Ogness
There are times when tabs are allowed and times when they are not. Let's just simply never use tabs for anything. This makes it easy to find presentations where tabs were accidentally inserted. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19configpres: add fancyvrb package useJohn Ogness
The "fancyvrb" package is needed by the minicoredumper presentation. This is quite a nice package for marking up text. Perhaps other presentations will start using it also. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19kernel-basics: adjust image sizesJohn Ogness
Adjust image sizes so they fit well on the slides. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19embedded-devel: fix command line to match exampleJohn Ogness
The following slide shows hello2 using DT_RPATH, so set the output to hello2 when compiling. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19images: rework linux-kernel-development-companies.pngJohn Ogness
The list of companies is a very long and narrow image. It does not fit well on the slide. I split the image into two columns so that it is now readable. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19images: re-export patches_per_hour.pngJohn Ogness
For whatever reason, latex did not like this file. It would not display. I re-exported it in gimp. Now it works. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-18security: firewall_ex: minimize pres/print diffJohn Ogness
The only difference between a pres and a print is the config and tail lines (first and last lines of the .tex). Make this clear by consolidating all other lines into the main content. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-18configprint: add borders around framesJohn Ogness
Boards help to add structure to the printouts. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-18security: firewall_ex: add printable handoutHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-18security: firewall_ex: move content to a separate fileHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-18security: firewall_ex: remove remaining old design stuffHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-04-18config: Add new configuration for printable handoutsHolger Dengler
Characteristics of printable handouts: - no closing page - no Linutronix headline - all slides on a single frame - two frames per page Signed-off-by: Holger Dengler <dengler@linutronix.de>
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>