Skip to content

Releases: stfc-aeg/loki

v2.1.2

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 22 May 08:30
v2.1.2
31f3f44

Hotfix - Fixed SSH key generation for fresh SoMs (path)

What's Changed

Full Changelog: v2.1.1...v2.1.2

Version 2.1.1

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 24 Apr 11:26
v2.1.1

Version 2.1.1

Hotfix of default Branch for odin-control

The odin-control default branch has changed from master to main, and since in the Yocto 2023 toolchain the branch must be explicitly given, it breaks the clone.

This small change allows the build to complete again.

Full Changelog: v2.1.0...v2.1.1

Version 2.1.0

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 10 Feb 16:43
v2.1.0
51c87a3

Version 2.1.0

What's Changed

Full Changelog: v2.0.8...v2.1.0

Version 2.0.8

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 06 Feb 09:19
v2.0.8
436ef8d

Version 2.0.8

What's Changed

The FSBL and PMUFW are now built from within PetaLinux, making the Vitis project redundant. The FSBL being used is also now the stock one from PetaLinux with no modifications. Through testing this appears to operate perfectly, and in fact seems to have increased reliability of reboots (yet to be fully proven). If modifications are required, they can now be more simply made through Yocto layer recipes instead.

Full Changelog: v2.0.7...v2.0.8

Version 2.0.7

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 27 Jan 10:27
v2.0.7

Version 2.0.7

UIO has now been enabled in the base device tree so that application-specific Yocto layers don't have to bother modifying the device tree to enable it, making things far simpler. It might as well be enabled for all images, meaning that as long as your node has the compatible string generic-uio it should appear in /dev/uio/.

This simplifies the device tree modifications to adding a block like this matching the IP name:

&pulse_gen_pulse_generator_1 {
  compatible = "generic-uio";
};

For more information see the wiki.

Full Changelog: v2.0.6...v2.0.7

Version 2.0.6

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 27 Jan 09:18
v2.0.6

Version 2.0.6

Hotfix: re-enable debug-tweaks, as it was preventing su to the root account.

Version 2.0.5

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 22 Jan 09:31
v2.0.5

Version 2.0.5

Note

Also includes interim tag 2.0.4 for which there is no release.

General Tidying

  • Removed trailing slashes in recipes to avoid warnings reported on build
  • Fixes issues with dropbear; modifications had been compatible only before systemd unit. Also fixed host keys issue so that it does not change every boot.

LOKI core adapter class

  • Watchdog is better at killing threads, cleanup and nice exit improved

Build System

  • Added a prebuilt folder for software - this will speed up the build, but should not be used by default ideally since it could become out of step with souce. Including while the 2023 toolchain software build is not yet upgraded
  • Readme updated
  • Removed some generated files
  • Added a check for the toolchain version in the Makefile, as running the wrong one can disrupt the cache.

Version 2.0.3

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 03 Sep 14:42
v2.0.3
b59c77e

Version 2.0.3

Warning

Potentially easy-fix breaking changes

This release removes packages that might be required by your application- if they are not specified already, you should include them either in the overall layer.conf or in your application odin-control instance's Yocto recipe RDEPENDS.

Removed matplotlib and numpy by default

These two packages are very large and not required in the core (recovery) image.
This saves nearly 20M in the final image size, bringing it down to about 81M and giving comfortable headroom on the SoM (which has a total of only 100M in this partition).

The packages are both available via recipes python3-matplotlib and python3-numpy in the layers for 2023, meaning these can be included as Yocto dependencies either directly by adding them to the layer.conf variable IMAGE_INSTALL:append or in the RDEPENDS of a recipe that requires them.

What's Changed

Full Changelog: v2.0.2...v2.0.3

Version 2.0.2

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 03 Sep 12:45
v2.0.2
a126667

Version 2.0.2

Various tweaks and fixes.

Accompanying fixes for flash size change in U-boot Script

  • The offset configurations for this are now part of the u-boot menuconfig
  • The original modifications to the boot script variables is therefore no longer required, and so much of the bootscript .bbappend file has now been removed
  • The bootscript itself that is modified by the Yocto layer has been updated to use the new variable names defined by the menuconfig

Packages for core later moved from petalinuxbsp.conf to layer.conf

The layer.conf is properly managed as a configuration that is always included rather than completely being replaced if the same file is in higher priority layers.
This has led to far improved reliability and consistency in the packages being included in builds.
Ideally application layers should now use their own layer.conf in preference too.

Some packages have been removed from the core that are not required

The core image building the recovery is now about 98M, which is approaching the flash size of the SoM.
While this does not impact the application image (since this is installed in eMMC which has a far larger capacity) it would be nicer to have more headroom in case anything else in the core changes.

Packages removed:

  • pciutils
  • tcf-agent
  • hellopm (a Xilinx power management demo)

Better Error Propagation in Vivado batch script

The shell script that executes tcl scripts for building the hardware and software in batch mode previously ignored errors, meaning that on failure the next step would continue, which would hide error messages up in the logs.
This now terminates on errors that are fed back up to the Makefile to prevent the ongoing build, which makes debugging clearer and avoids wasting time.

Included zoneinfo

This is usually included in Python 3.10 as a core package, but in Yocto Langdale 4.1 was split out into a separate package.
This has now been included in the core build, as packages we build onto the system assume its presence.

What's Changed

Full Changelog: v2.0.0...v2.0.2

Version 2.0.1

Choose a tag to compare

@josephnobes-stfc josephnobes-stfc released this 28 Aug 13:34
v2.0.1

Version 2.0.1

Flash Boot partition Increased 4M -> 8M

The flash partition for the bootloader was no longer large enough to contain it; u-boot grew by about 20% between 2020-2023, and the original partition had been sized only just large enough to contain it.
Therefore, the size has been doubled for comfortable headroom.

Warning

This means that images using LOKI core v2.0.1 or newer will not be able to inspect images stored in the SoM flash that are older than this release, and vice versa.
This does not prevent any image from booting or being reprogrammed by either version; only inspection is affected.

As such I will aim to ensure that all systems have 2023-based images installed as their recovery.

Full Changelog: v2.0.0...v2.0.1