| Age | Commit message (Collapse) | Author |
|
- misspelled "graphics"
- missing "$" for bitbake variable
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The first couple steps of the dd-multi.sh script is to:
1. make a sparse copy of the original image
2. loop mount the copy
3. unpack the layers to the loop mount
4. create a vmdk of the copy
5. copy the image and vmdk to the usb drives
If many USB drives need to be prepared at once, usually the
dd-multi.sh script will need to be called multiple times (due
to not enough USB-3 ports being available). However, there is
no need for steps 1-4 to run each time.
Add a --keep-files argument that will not delete the copy and vmdk
files on completion. The --keep-files argument also tells the
dd-multi.sh script to look for existing copy and vmdk files. If
they are found, they are used.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Although the escaping was correct, it is ugly and bug prone. Use
literal strings if static strings (no variables) are involved.
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>
|
|
Use the latest thud stable and also cleanup the scripts a bit so
that it is easier to update the version in the future.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
meta-schulung does not include building u-boot. However, building/running
u-boot with qemu is quite easy. Add a mini howto with the steps to help
the trainer quickly demonstrate u-boot.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Add the application after creating the layer. This allows the
participants to see the minimal efforts needed to create their
own applications. The layer can be used with any machine (for
example, the qemux86 machine that the participants had already
been working with).
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The dd step is the longest, so showing the progress is nice. But
dd does not show how big the file is. Hard-code the size since
we know how big it is.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
All trainers are now using stretch (or higher), so use the
status=progress feature. Also, increase the blocksize to
128M since that amount should be available on the cloning
host.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Add the aarch64 toolchain from linaro. Use the same version as
the armhf toolchain: 6.3.1-2017.05.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
If the man-db preseed is not set, the man database is not created
by elbe. This means that things like:
man -k timer
won't work. Preceed the configuration so that the database exists
immediately.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
There were an unnecessary number of events that were captured.
Only capture the ones that are truly interesting. And add the
irq vector.
Also, add some description to the significance of the events.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
On a machine with few CPUs, these tests could trigger RT
throttling.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
A very simple demo that shows the full chain of events from
sys_nanosleep_enter to sys_nanosleep_exit. (For the IRQ
calculations use expires= and now= from the hrtimer events.)
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
A more complex but cleaner implementation of retrieving/printing
the stats has been implemented. The implementation is put into
a separate stats.c file so that the main program (malloc.) can
be easily reviewed to see what the program is doing.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This is a set of tests to compare the scheduling using various
policies and priorities.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The example shows a prefaulted stack size of 8KB, which is pretty
small. Set it up to 64KB, which is a bit mor realistic.
Also, remove the pointless "return" at the end of that function.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Why is kprobes in all caps? Change it.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
There were some german and german-like words lingering. Fix these
to proper english.
Show the use of "perf probe" for adding kprobes and uprobes.
Move the tracing_on()/tracing_off() slide next to the trace_printk().
It makes more sense there since we are talking about writing kernel
code for tracing.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Some files were accidentally copied to the root directory in commit
335151d10296 ("Adding a new chapter for management related topics....").
These files are already in the images/ directory and can be safely
removed.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This covers chosing the correct versions, grading the quality of
Open-Source componentes and showing the difference between Yocto
and Debian. It also covers the security aspects of lifecycle
management.
Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de
|
|
Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de
|
|
topics are covered:
- History of Free Software an Open-Source
- Commercial benefits of Open-Source
- How to use Open-Source in a company
- Ideas about setting up an Open-Source program
- License compliance
Signed-off-by: Jan Altenberg <jan.altenberg@linutronix.de
|
|
For GDB sometimes the hello binary is located in /home/devel/work and sometimes
in /home/devel/jan. Unify it.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
The dtsi file is called mynode.dtsi, but the my.dts includes my.dtsi which
doesn't exist. Fix it.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
This is Kurt's Distributed Switch Architecture slides from the
Techdays.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The PKCS11 slides describe the main elements of the standard and how
the interfaces can be used in applications.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Add a brief introduction about what the address sanitizer actually is and what
types of bugs in can find. That's useful for our customers.
Requested-by: Holger Dengler <holger.dengler@linutronix.de>
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
It is an initramfs, not an initrd. So name it so.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This text document goes through examples of how to use the
uio_pdrv_genirq driver for UIO drivers. It covers the device tree
entries for various scenarios as well as userspace code using
libuio to access/map the devices.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
There are some big differences between initrd and initramfs. This
text document lists them and the advantages/disadvantages.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The knowledge base article does a much better job of explaining
this, but sometimes we just want a quick script to get things
going. This HOWTO is actually a script that goes from u-boot
source to running u-boot in qemu.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
- update dynamic printk format
- update addr2line for kernels by using script
- update qemu lines for vexpress
- add note about kaslr with qemu gdbserver
- use uart0 for console and uart1 for kgdb
- use 127.0.0.1 instead of localhost
(otherwise qemu and gdb get confused about IPv4 or IPv6)
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The stack size is also an important parameter for memory. Show it
as well.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The -dM argument shows the built-in macros. Cutting the #define
from the output not only make the command unnecessarily complex,
but also works against illustrating that they are macros.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Since these days fork() is just a wrapper for the clone() syscall,
it makes sense to at least mention it on the slide.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This is useful when demonstrating crash kernels with the Debian
kernel.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
When installing jackd2, it is required that the user choose
if realtime options are allowed. Say "yes" in the preseeding.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The address sanitizer is a useful tool for debugging lots of memory related bugs
such as heap/stack overflows, user after frees and much more.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
There are two sections named tracers. Probably a copy and paste error. Fix it.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
Reason: An Idle system may make use of power management features and introduce
large latencies. This should be also tested.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
It is nice to have debconf-get-selections so that the preseeding
values can be investigated.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
(helps for a comfortable vmware experience)
open-vm-tools-desktop
(requested from training participants)
vim-gtk3
terminator
iotop
bash-completion
(compression tools for building LZ4-compressed kernel/initramfs)
liblz4-tool
(realtime stress testing)
stress-ng
(fastboot tool)
prelink
(tool for devel/debugging)
clang
(packages for building new kernelshark)
tig
cmake
libjson-c-dev
freeglut3-dev
libxmu-dev
libxi-dev
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|