Age | Commit message (Collapse) | Author |
|
Latest official Honister release was published May 2022 and is
End-Of-Life since then, see https://wiki.yoctoproject.org/wiki/Releases.
We do not maintain this branch anymore either, please use a maintained
branch instead (at the time of committing, kirkstone).
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
Add support for bmaptools flashing process
See merge request som/yocto-layers/meta-theobroma-systems-bsp!7
|
|
For bmaptools to be used, the bmap layout file associated with the file
to be flashed needs to be present in the same directory as said file.
Therefore, let's archive this file too.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
kernel: linux-yocto: add fix for USB OTG on Puma Haikou
See merge request som/yocto-layers/meta-theobroma-systems-bsp!8
|
|
Puma Haikou was missing a few things in the device tree to be able to
use the Q7 USB P1 connector in either peripheral or host mode.
Applying this patch makes it possible to use this connector as USB OTG.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
bmaptool binary allows to flash binary images on block devices faster if
a .bmap file is available next to the binary image to flash.
This is the case for the wic images created for puma-haikou so let's
document this.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
kernel: linux-yocto: add fix for eMMC HS400
See merge request som/yocto-layers/meta-theobroma-systems-bsp!5
|
|
kas-theobroma.yml: add debug-tweaks to EXTRA_IMAGE_FEATURES
See merge request som/yocto-layers/meta-theobroma-systems-bsp!6
|
|
debug-tweaks EXTRA_IMAGE_FEATURES enables development features such as
passwordless root logins.
poky's local.conf.sample has it added by default so let's do the same.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
HS400 eMMC mode for Puma needs to be limited to 100MHz because of signal
integrity issues (see patch commit log).
Applying this patch makes it possible to read and write reliably on the
eMMC chip on the Puma SoM.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
Add build automation and setup configuration files
See merge request som/yocto-layers/meta-theobroma-systems-bsp!2
|
|
This allows us to build meta-theobroma-systems-bsp in a reproducible way
by using kas and the configuration file that is present in the repo.
To guarantee there's no leftover from previous builds, the workspace is
entirely cleaned up before checking out meta-theobroma-systems-bsp. This
is preferred to cleaning up the workspace after build in order to make
it possible to debug the last Jenkins job build.
Unfortunately, because of a Jenkins bug which prevents us from running
any command in the docker agent's args property or use environment
variables that are set in the environment globally in the pipeline, the
environment is globally configured to get the UID and GID of the user
which will then be passed to a stage's docker agent. In order to make
sure that the user where the UID and GID were gathered will be the same
as the one running the docker, the global agent needs to be docker
compatible and the stage's docker needs to reuseNode.
Note that archiveArtifacts on a symlink only adds the symlink and not
the target of the symlink, resulting in 0B files. Therefore, the
symlinks and their targets are added to the artifacts. It's done this
way because it is hard to have a regexp matching only the target and no
symlink. Symlinks are also much more explicit and easier to work with
that super long filenames as created by Yocto Project.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
https://github.com/siemens/kas allows to setup everything needed to
build a Yocto image so let's add a configuration file for making the
whole Yocto setup easier and document how to use it.
This also gives us a 100% reproducible setup with defined revisions for
layer dependencies to make sure everything is setup the way it was
tested by us and can be replicated by users.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
The originally imported defconfig had a very minimal support of Puma HW
components while enabling a huge amount of unnecessary drivers.
This is now fixed by removing most of unnecessary drivers and adding
most if not all HW components present on the Puma SoM and Haikou devkit.
Take this as a minimal defconfig as there still might be missing kernel
drivers and/or important subsystems/core features.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
By default, in Honister, 5.14 kernel is used which isn't an LTS. Let's
ask Yocto to use 5.10 kernel if available instead.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
version <= 5.14.11
From Linux kernel v5.14 to v5.14.11 (both included), the Ethernet MAC
controller found on RK3399 is not working.
A fix is available in v5.14.12 and later (available also in v5.15)
which is provided here and applied to linux-yocto source tree if
linux-yocto version is of the impacted ones.
This is unfortunately required because Honister 3.4 has linux-yocto
v5.14.9 and Honister 3.4.1 will have at least linux-yocto v5.14.14.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
kernel
Rockchip Android 4.4 vendor kernel requires some tinkering so let's
document it in the machine configuration file.
Ideally users should include this machine configuration file from
another configuration file in their own layer and define those
variables there.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
This recipe adds support for Rockchip Android 4.4 vendor kernel.
Note that this kernel does not work when bundled in a fitImage, please
act accordingly in your bootloader (e.g. for U-Boot, use booti instead
of bootm).
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
UBOOT_DEFAULT_FDT_FILE
Give the ability to define the default value of fdtfile environment
variable in U-Boot from Yocto via UBOOT_DEFAULT_FDT_FILE Bitbake
variable. It'll replace in the U-Boot defconfig specified in the
machine configuration file CONFIG_DEFAULT_FDT_FILE value with the one
defined in UBOOT_DEFAULT_FDT_FILE Bitbake variable.
If the variable is not defined, the CONFIG_DEFAULT_FDT_FILE is not
modified in U-Boot defconfig.
This patch prepares for Rockchip Android 4.4 vendor kernel which for
some reason does not work when packaged in a fitImage.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
This is the initial support for RK3399 Puma Haikou in Yocto.
Mid-term, most of the files and/or modifications required here will be
moved to upstream layers such as meta-rockchip for example.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|