| Age | Commit message (Collapse) | Author |
|
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>
|
|
Describes the main targets, files, and procedure dealing with building
kernels.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
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>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
It's much simpler to have syscall names instead of numbers in traces.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
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>
|
|
top -d 0 is also an interesting test for finding bugs.
[jogness] Extended the description of the test.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
As discussed with John, this slide set basically only shows the RT tests. So
rename it.
Furthermore, the last two slides are not needed. Especially for scheduling, we
have different slides.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
Rather than manually determining and setting the uprobes, use perf
to do it. This allows for the README to become a generic script
that can run out-of-the-box to create the trace.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
pthread_mutexattr_setrobust() is now in the posix standard. Remove
the _np/_NP usage.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The daemon slides are sitting in the middle of the scheduling
section. Very odd. Move them to after the Parent/Child slides.
There it makes more sense.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Priority 99 is really reserved for special kernel tasks (such as
migration and watchdog). Mention that it should never be used by
any thing the user does.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
User apps should _never_ use prio 99. So don't show a demo using it!
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
In the last 2 trainings I've had participants with batteries going
dead because there was no display for the battery status. The mate
power manager provides this feature. Add it to the image.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
During the audio schulung, we needed to manually install:
qjackctl
libjack-dev
Also, compiling the new kernels now requires:
libelf-dev
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
JUCE itself is not installed (it is broken in stretch). Instead,
all JUCE dependencies are installed and the upstream JUCE will
be used for the workshop.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
- Update Concepts (redundant, rescue)
- Update Processing (swupdate)
- Deployment (Hawkbit)
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
With the sumo release, a lot of May commits were pushed. Regenerate
the stats to show this.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The list of machine features was too long for the slide. Shorten
it and add dots to show that there are more.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The paths for the toolchains were too long and inconsistent with
rocko. Change them to more generic examples (using dots).
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The section title was german. Change it to english.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Update commands, examples, and output to match rocko.
NOTE: We will checkout a tag instead of a branch!
There are many many slides showing lots (all?) the various
tasks that exist. It is not productive to spend so much time
going through such details. The slides have been completely
commented out. It would probably be good to have a few slides
about this, but that will need to be determined by someone.
The text for many points has been cleaned up (capitalization,
grammar) and in many cases modified to improve clarity. The
general the content of the slides has been preserved.
New slides are added to show function overriding and function
extending.
The kernel/u-boot part of the machine.conf explanation has
been moved to the end of the machine.conf slides.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Capitalization for slides has been cleaned up.
There are many slides about inspection of things like the build
stats. Although interesting, it is not something we should spend
so many slides on. The slides have been commented out.
There are many slides talking about how cleaning can be different
depending on the recipe. We probably don't need slides for this
and can just mention it instead. The slides have been commented
out.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Perform minor cleanups to capitalization and examples.
John Ogness <john.ogness@linutronix.de>
|
|
All slide sets show the date on the cover page. We should not
have individual slide sets that do their own thing. If dates are
not wanted, they should be generally removed (or perhaps a
configuration option when building).
John Ogness <john.ogness@linutronix.de>
|
|
The eclipse information is no longer correct for oxygen. It is
almost correct and just needs updating. For that reason it has
been commented out (not deleted).
Capitalization and grammar has been cleaned up on several
places.
The toolchain slides have been moved together and the NFS export
slide moved after.
John Ogness <john.ogness@linutronix.de>
|
|
Use a consistent and easy to read capitalization scheme.
This patch fixes some minor typos discovered during capitalization
changes.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The various statistic tables were replaced by gnuplot graphs. These
graphs were generated using various scripts. These scripts need to
be added to this repository so that it is easy to update the graphs.
The yocto version table was replaced by a screenshot from
https://wiki.yoctoproject.org/wiki/Releases.png
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
With stretch, the new runstatedir variable is supported. Use the
configure script generated by stretch.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
For the yocto training, some important packages are missing.
Toaster requires pip for python3. The documentation requires
xsltproc and fop. Install them.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Use the image/device argument now passed to the script.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|