summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-06THIS BRANCH IS NOW UNMAINTAINED, PLEASE USE A MAINTAINED BRANCH INSTEAD.honisterQuentin Schulz
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>
2022-03-28Merge branch 'bmaptools' into 'honister'Quentin Schulz
Add support for bmaptools flashing process See merge request som/yocto-layers/meta-theobroma-systems-bsp!7
2022-03-15Jenkinsfile: archive bmap layout fileQuentin Schulz
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>
2022-03-15Merge branch 'honister-puma-usb-otg' into 'honister'Quentin Schulz
kernel: linux-yocto: add fix for USB OTG on Puma Haikou See merge request som/yocto-layers/meta-theobroma-systems-bsp!8
2022-03-14kernel: linux-yocto: add fix for USB OTG on Puma HaikouQuentin Schulz
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>
2022-03-09README: mention bmap-tools for faster flashingQuentin Schulz
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>
2022-03-09Merge branch 'honister-puma-emmc' into 'honister'Quentin Schulz
kernel: linux-yocto: add fix for eMMC HS400 See merge request som/yocto-layers/meta-theobroma-systems-bsp!5
2022-03-09Merge branch 'debug-tweaks-image-fatures' into 'honister'Quentin Schulz
kas-theobroma.yml: add debug-tweaks to EXTRA_IMAGE_FEATURES See merge request som/yocto-layers/meta-theobroma-systems-bsp!6
2022-03-09kas-theobroma.yml: add debug-tweaks to EXTRA_IMAGE_FEATURESQuentin Schulz
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>
2022-03-07kernel: linux-yocto: add fix for eMMC HS400Quentin Schulz
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>
2021-12-13Merge branch 'honister-kas' into 'honister'Quentin Schulz
Add build automation and setup configuration files See merge request som/yocto-layers/meta-theobroma-systems-bsp!2
2021-12-03add a Jenkinsfile for automating meta-theobroma-systems-bsp buildsQuentin Schulz
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>
2021-12-02add kas configuration fileQuentin Schulz
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>
2021-11-29kernel: linux: customize defconfigQuentin Schulz
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>
2021-11-19conf: machine: puma-haikou: prefer 5.10 LTS kernel versionQuentin Schulz
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>
2021-11-19kernel: linux-yocto: fix broken Ethernet MAC controller on RK3399 on 5.14 >= ↵Quentin Schulz
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>
2021-11-16conf: machine: puma-haikou: document how to use Rockchip Android 4.4 vendor ↵Quentin Schulz
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>
2021-11-16kernel: add recipe for Rockchip Android 4.4 vendor kernelQuentin Schulz
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>
2021-11-16bsp: u-boot: set default fdtfile environment variable with ↵Quentin Schulz
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>
2021-11-16add layer for RK3399 Puma HaikouQuentin Schulz
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>