Commit Graph

267 Commits (7434ef2b9d95462e06fc84b7c08093802d5798de)

Author SHA1 Message Date
JacobBarthelmeh 7434ef2b9d add wolfHSM recipe 2026-07-28 10:22:27 -06:00
JacobBarthelmeh 965c98d134 add option to use external wolfSSL source with wolfBOOT build 2026-07-28 10:14:03 -06:00
JacobBarthelmeh 5ed8935a9a
Merge pull request #173 from night1rider/wolfssl-py-fixes-for-tests
Wolfssl py fixes for runtime usage
2026-07-27 16:09:03 -06:00
Zackery 09e33a080b
Merge pull request #169 from ColtonWilley/fix-wolfprovider-fips
wolfprovider: fix cmd-test tooling and first-run FIPS detection
2026-07-24 18:50:36 -06:00
night1rider f5f38d5728 Gate wolfcrypt-py typing-extensions dependency to unpatched releases so legacy series without the package still build 2026-07-23 20:44:31 -06:00
night1rider c76704c3c0 Add typing-extensions compat patch and runtime dependency for wolfcrypt-py 2026-07-23 20:38:04 -06:00
night1rider 258de30963 Convert wolf-py-tests inc files to declarative syntax so test installs apply when included via wolfssl_conditional_require 2026-07-23 20:11:06 -06:00
JacobBarthelmeh 8c8628ca5d
Merge pull request #172 from night1rider/Fix-old-fips-method
Fix old fips/commerical package building method
2026-07-20 14:10:07 -06:00
night1rider 239acd51b3 Fix old fips/commerical package building method 2026-07-20 09:31:42 -06:00
JacobBarthelmeh cafa40f4b9
Merge pull request #171 from night1rider/Update-wolfSSL-5_9_2
Update wolfSSL and related recipes to latest releases
2026-07-20 09:27:20 -06:00
night1rider ca8c764cc8 wolfcrypt-py: apply PEP 621 license compat patch on setuptools 61-76 Yocto releases 2026-07-17 18:48:32 -06:00
night1rider 39b5f26e7b Update wolfssl python packages 2026-07-17 15:43:31 -06:00
night1rider 4c1ac71efc Add helper function to remove values associated with bitbake variables 2026-07-17 13:41:11 -06:00
night1rider 35c4c41f97 Upgrade wolftpm to v4.1.0 and add compile macro map for AES_BLOCK_SIZE 2026-07-17 11:41:47 -06:00
night1rider 43398082fa disable fwtpm server 2026-07-17 10:40:25 -06:00
night1rider f80ebaa522 Add needed hook to get mlkem fix for wolfSSH packages 2026-07-17 09:38:35 -06:00
night1rider cf7678d892 Update wolfSSL and related recipes to latest releases
- wolfssl:      5.9.1  -> 5.9.2
- wolfmqtt:     2.0.0  -> 2.1.0
- wolfssh:      1.4.22 -> 1.5.0
- wolftpm:      3.10.0 -> 4.0.0
- wolfclu:      0.1.8  -> 0.2.0
- wolfprovider: 1.1.1  -> 1.2.0
2026-07-06 12:06:14 -06:00
Colton Willey 36cae77751 wolfprovider: fix cmd-test tooling and first-run FIPS detection
- wolfprovidercmd: install scripts/utils-general.sh (cmd-test-common.sh sources
  it; the command-line suite aborts without it) and RDEPEND wolfproviderenv +
  openssl-bin so the package runs when installed
- wolfproviderenv.sh: detect FIPS by loading the module so the first run on a
  fresh image is correct before openssl.cnf is seeded
2026-06-16 14:18:30 -07:00
David Garske ae283efad3
Merge pull request #168 from JacobBarthelmeh/nightly
update wolfboot recipe for use with older Thud builds
2026-06-12 15:59:52 -07:00
JacobBarthelmeh 1f5a9bb273 update wolfboot recipe for use with older Thud builds 2026-06-12 11:39:58 -06:00
David Garske 85fea6de8c
Merge pull request #167 from night1rider/Wrynose
Add Wrynose LTS support
2026-06-08 13:25:40 -07:00
night1rider 85ec6fd27c Fix install issues with wolfengine/provider tests 2026-06-05 02:57:51 -06:00
night1rider 429eea37f2 Revise logic regarding version switching for specific syntax, and add needed updates to use Wrynose yocto lts release 2026-06-05 01:53:05 -06:00
JacobBarthelmeh a727d8674b
Merge pull request #164 from dgarske/wolfboot_bb
wolfBoot: add Yocto/OE secure bootloader recipes
2026-05-11 14:55:44 -06:00
Zackery 8217d908e7
Merge pull request #165 from kareem-wolfssl/zd21682
Ensure target directory exists for dummy autogen.sh file in do_configure_disable_autogen.
2026-05-07 09:54:00 -06:00
David Garske d592d2cff6 wolfboot: switch to upstream wolfssl/wolfBoot master after PR #763 merge 2026-05-05 10:21:45 -07:00
Kareem 1450a76899 Ensure target directory exists for dummy autogen.sh file in do_configure_disable_autogen. 2026-04-29 17:06:04 -07:00
David Garske c7c735d939 wolfboot: pin to fit_compressed branch for FIT ramdisk + gzip support
Bumps SRC_URI to dgarske/wolfBoot fit_compressed and updates SRCREVs to
pull in the FIT ramdisk extraction (RAMDISK build switch +
linux,initrd-{start,end} DTB fixup) and the gzip subimage decompression
work. Required by ZynqMP boards (e.g. Gilat ZCU102) that ship the
initramfs as a separate FIT ramdisk node rather than bundling it into
the kernel image.

wolfssl SRCREV pinned to v5.9.1-stable to match what fit_compressed
points at via lib/wolfssl.

Validated end-to-end on ZCU102: FSBL -> ATF -> wolfBoot loads kernel +
ramdisk to 0x40000000, patches /chosen/linux,initrd-{start,end}, signed
image (RSA4096+SHA3-384) verifies, kernel boots and unpacks initramfs.
2026-04-29 15:41:08 -07:00
David Garske 1b58000aa4 wolfBoot: add Yocto/OE secure bootloader recipes
Add wolfBoot secure boot support to meta-wolfssl. Four new recipes
cross-compile wolfboot.elf, build host-side signing/keygen tools,
and sign kernel FIT images with RSA4096+SHA3-384 for verified boot.

New recipes:
  wolfboot.inc                    - shared SRC_URI, LICENSE, SRCREVs
  wolfboot_git.bb                 - cross-compiles wolfboot.elf from a
                                    user-selected config/examples/ template;
                                    embeds a user-supplied RSA4096 public key
  wolfboot-keytools-native_git.bb - native wolfboot-keygen / wolfboot-sign
  wolfboot-signed-image.bb        - signs kernel FIT with RSA4096+SHA3-384

Supporting files:
  xilinx-bootbin_%.bbappend       - replaces U-Boot with wolfBoot in BOOT.BIN
                                    on ZynqMP (gated by WOLFBOOT_ENABLE="1");
                                    uses BBFILES_DYNAMIC for meta-xilinx-tools
  conf/layer.conf                 - registers wolfboot BBFILES globs and
                                    PREFERRED_PROVIDER
  README.md                       - usage guide, key provisioning, ZynqMP notes

Design decisions:
- Signing key is user-supplied out-of-band (WOLFBOOT_SIGNING_KEY) to
  avoid leaking private key material through sstate or DEPLOY_DIR_IMAGE.
- wolfboot_git.bb uses raw make (not oe_runmake) because wolfBoot is a
  bare-metal bootloader with its own -nostdlib/-ffreestanding toolchain
  flags that conflict with Yocto's CC/CFLAGS/LDFLAGS injection.
- SRCREVs use weak assignment (?=) so downstream users can override via
  local.conf to track unreleased upstream fixes.

Tested on AMD/Xilinx ZCU102 hardware with PetaLinux 2025.2:
  FSBL -> PMU FW -> ATF -> wolfBoot (EL2) -> signed FIT -> Linux
  WOLFBOOT_CONFIG="zynqmp_sdcard.config"
  WOLFBOOT_LINUX_BOOTARGS_ROOT="/dev/mmcblk0p4"
2026-04-28 11:37:27 -07:00
JacobBarthelmeh d3f7d6bba6
Merge pull request #161 from night1rider/fips-ready
Fips ready
2026-04-20 13:43:00 -06:00
Zackery Backman 916f6d3d8a Silence parse-time bb.note() dispatch logs by switching to bb.debug(2, ...) 2026-04-17 14:09:19 -06:00
Zackery Backman 1d05b59a8f Remove unneeded settings for fips ready build 2026-04-17 13:39:49 -06:00
night1rider 30ac6ef992 Fips ready readme and recipes for the linux kernel and standard library package 2026-04-17 09:27:29 -06:00
David Garske e710f093ac
Merge pull request #163 from night1rider/License-issue
Update license checksum
2026-04-15 14:52:22 -07:00
Zackery Backman dd8b9aacdc Update license checksum 2026-04-14 11:03:18 -06:00
JacobBarthelmeh 0fd659f2d9
Merge pull request #162 from night1rider/wolfssl-5.9.1-update
Update to latest packages wolfSSL 5.9.1, wolfMQTT 2.0.0, and wolfCLU
2026-04-13 13:38:29 -06:00
Zackery Backman 1593dfdda2 Update wolfCLU to point to master to resolve compile issues with MACROs 2026-04-13 10:38:53 -06:00
night1rider b3406dc185 Update to latest packages 2026-04-13 09:09:56 -06:00
David Garske 443e6f58cd
Merge pull request #160 from night1rider/update-packages
Update mqtt, ssh, tpm, and wolfssl py packages
2026-03-17 12:43:36 -07:00
night1rider 1bf91331a0 Update the md5 license checksum 2026-03-05 17:59:05 -07:00
night1rider ae17e51ace Update mqtt, ssh, tpm, and wolfssl py packages 2026-03-05 10:40:48 -07:00
Andrew Hutchings f1ef384800
Merge pull request #159 from night1rider/fips-update-config
Fix some issues related to using FIPs kernel module and userland configurations
2026-03-04 05:45:53 +00:00
night1rider b1c3277d13 update method for kernel signing to be handled by the makefile process 2026-03-03 10:14:45 -07:00
night1rider 56cfb5840c Prep for eventual update to pass a HOST CC to linux km fips auto hash process 2026-02-27 14:53:18 -07:00
night1rider 2a26716073 Auto hash for kernel module builds 2026-02-27 12:37:49 -07:00
night1rider 43e886b348 add kernel module signing step to install stage via .inc 2026-02-26 12:49:09 -07:00
night1rider 186bb07d83 Update the config 2026-02-25 15:06:40 -07:00
night1rider 0545779401 Update to remove kcapi setting 2026-02-23 11:07:41 -07:00
night1rider 135e920976 update configuration 2026-02-23 11:00:24 -07:00
Zackery 93afebb2d7
Merge pull request #157 from aidangarske/update-ref-wp
Add Latest WP 1.1.1 Release
2026-02-18 15:40:32 -07:00