| Age | Commit message (Collapse) | Author |
|
A nice tool to quickly generate secure passwords.
For example with: pwgen -sy 32 1
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
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>
|
|
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>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
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>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
Trainers should use DEBUGGING_TOOLS instead.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
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>
|
|
This is the wireless tool to use for the future. iwlist/iwconfig
are old.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This is how Linutronix was able to reproduce the futex issue.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
In the comments, the bitbake commands for menuconfig and diffconfig
were incorrect.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
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>
|