| Age | Commit message (Collapse) | Author |
|
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>
|
|
The german slides are still there but they will not get built.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Taken from Jan's 2010 talk. These need to be converted to
english!
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The german version file is still there but it will no longer be
built by the Makefile.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
With commit 80aaf492("lx-trainer-vm: take manpages from
stretch-backports"), elbe was no longer able to build the rootfs
because manpages-dev also requires manpages from backports.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This has the "dot" tool for visualizing systemd boot stats.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Since the "cat" part isn't really about setting, also mention
that we are verifying.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
[jogness: fixed up to show both set and check of affinity]
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
There is no need for the extra directory level. Move all the
example modules to the parent "drivers" directory and delete
the modules directory.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
There is no reason the the kernel build patch needs to duplicate
the entire hello driver. Just show the parts relating to kbuild
integration.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
These patches are based heavily on the work by Manu to make the
driver lessons more interesting. Rather than create a new driver,
I took his work and created a series of patches that do
interesting modifications to the hello driver.
These patches can be used together with the "leds" program to
do live blinking demonstrations.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Since hello.c changed, the patch for adding custom sysfs files
needed to be updated. While at it, make the patch into a form
that can be used with "git am".
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
- add SPDX license identifier
- cleanup goto target names
- remove an obsolete setting of owner to THIS_MODULE
- update the module version
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The default build directory needed manual adjustment when the
driver was to be built. Change it to use the Debian build path
so this driver can be built immediately for the native Debian
system without any changes.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The leds application runs on the host and is used to simulate
PCI hardware with 3 LEDs. See the README for information about
how to build and use it.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The amount of instructions should be the same regardless what
method you use (1 or 2) but the cache misses will be very
different. Looking at these statistics side by side clearly
illustrate the problem.
Update the README to also include the instruction count.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Fixes for:
- missing variable definition in Makefile
- wrong serial device in kernel parameters
- missing trace-cmd subcmd and wrong parameter (sched_switch is an
event, not a plugin)
- missing #include in example code
- fix copy&paste leftover
Signed-off-by: Holger Dengler <dengler@linutronix.de>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This demo should (hopefully serve) as a basis for overlaying pcap
and ftrace data within trace compass.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
We want pthread_mutex_consistent, which is not in stretch.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
After calling partprobe, userspace may need a moment to delete any
previously existing device nodes. Sleep a second to give userspace
a chance to do this before checking for the nodes to appear.
Also, copy the vmdk files in parallel. Otherwise it takes forever
to setup the USB disks.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The qt5 base dev files allow building of the ivshmem software
device.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
ext2 is recommended for flash-based block devices? Why?!
I have changed it to F2FS and EXT4.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
very basic version of slides for kernel lists
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
As of 6f5bc54("lx-trainer-vm: increase image size to 64GiB") the
root filesystem is now large enough for all layers and training
work. So there is no reason to create a separate /home partition.
Change the dd-multi.sh script to instead:
- create an exfat partition
- convert the image to VMDK format and copy to exfat partition
This allows participants who cannot boot from USB to be able to
use VMware or VirtualBox during the training. They need only to
create a virtual machine and set the "training-hd.vmdk" file as
the hard drive.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Rename the variable representing the extra partition. Until now
this was /home but it will be changed to be an extra partition.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
PIE is enabled in the gcc of Debian/stretch by default.
However the gprof in stretch isn't able to produce any
output if PIE is enabled. This is also documented here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854704
Disable PIE for the moment to get some gprof output.
However i'm not able to find out how to disable PIE if
compiling and linking is done in two steps. Therefore this
is just removed.
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
they should be converted to a 'Kernel API' slideset.
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
this module can be used to show the usage of klist
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
This is the initial version of a Device Tree Presentation.
The Presentation includes Background, Scope and Advantages
of Device Tree usage as well as a short explanation of the
Syntax and Usage.
It ends with information about current developments and
references to further information.
Also an excercise for the attendees is defined.
Signed-off-by: Manuel Traut <manut@linutronix.de>
|