Skip to content

Releases: tock/tockloader

1.16.0: Improve local-board and probe-rs

06 Oct 21:10
e308d92
Compare
Choose a tag to compare

Two small fixes but that are important for usability.

  1. Update bootloader-serial autodiscovery to only fine serial ports that have both a PID and VID. This ignores all serial ports that cannot be actual hardware boards. This makes defaulting to local-board more reliable.
  2. Fix probe-rs support to actually pass --chip to probe-rs.

1.15.0: Add `local-board` feature, support probe.rs

22 Sep 21:08
70d489e
Compare
Choose a tag to compare

The two major changes in 1.15.0 are:

  1. Add tockloader local-board support. This expands on the already existing flash-file support which enables using tockloader commands with a local binary file being treated as a board's flash, rather than an actual hardware board. This is very useful for emulated boards, where tockloader can flash the kernel and install apps to the binary file, and then the binary file can be treated as the board's flash in the emulator.

    The major change with the local-board support is the ability to configure tockloader to default to using the binary file, if no other actual board is found. This makes it so users don't have to include command line arguments each time to use tockloader this way.

  2. Add initial probe-rs support. This adds --probers as an option for flashing a board.

This release also includes support for the kernel version kernel attribute.

1.14.1: Update nix support

14 May 22:34
4671171
Compare
Choose a tag to compare

Update the included default.nix configuration file.

1.14.0: Support choosing board with JLinkExe and OpenOCD

02 Apr 22:06
b23bea3
Compare
Choose a tag to compare
  • Add --jlink-serial-number and --openocd-serial-number to specify which board to use if multiple are connected.
  • Add tockloader install --layout to enable specifying the location and padding when installing apps. This is useful for debugging different application layouts with the kernel.
  • Add boards:
    • opentitan_earlgrey_rom_ext
    • veer_el2_sim
  • Add tockloader list --map that shows a memory-map view of installed apps.
  • Add support for signing TBFs with ECDSA signatures.

1.13.0: Better Windows support, autodiscover improvements

16 Jul 03:17
f509c4b
Compare
Choose a tag to compare

This release improves Tockloader support on Windows.

Other improvements:

  • Autodiscover the nrf52840dk on openocd.
  • ShortId TBF header.
  • Autodiscover the VCOM0 port on the nrf52840dk for tockloader listen.

1.12.0: Various improvements

07 May 15:41
c7513bb
Compare
Choose a tag to compare
  • Improve command line help
  • Update STM boards
  • Add requirements.txt
  • Use nrf52840 for jlink rather than nrf52

1.11.0: Support kernel attributes, new prompts

05 Oct 14:54
e10c1f0
Compare
Choose a tag to compare

Changes in this release:

  • Support reading kernel attributes to detect where application RAM starts.
  • Skip sending empty pages in the serial bootloader connection.
  • Update menus for interactive options.
  • Better understand app RAM addresses when installing fixed address apps.

Credentials and TicKV Support

25 Jul 14:42
77f5162
Compare
Choose a tag to compare

This release includes general improvements to Tockloader. The two main changes are:

  • Add support for credentials. There is a new command tockloader tbf credential which allows for creating, viewing, verifying, and removing credentials for a TAB.
  • Add support for TicKV. Tockloader can now query a tickv key-value store, and add/remove objects.

New Boards, Display Class

05 Sep 15:29
a85821f
Compare
Choose a tag to compare

In this release:

  • Added SMA Q3 and QEMU RISC-V 32 bit "virt" boards
  • OpenOCD fixes and updates
  • Added Display class for doing machine readable output in JSON format
  • Added interactive selection menu instead of having to enter a number to choose the architecture to inspect

Better Support Board Differences

30 Aug 19:16
b46d47c
Compare
Choose a tag to compare

The main improvement of this release of Tockloader is board-specific operations are now more clearly separated between configurations that impact how applications are organized and installed on the board, and configurations that impact how Tockloader communicates with the board. The former are in tockloader.py, while the latter are in board_interface.py.

Other updates:

  • There is a new --flash-file option that allows writing apps to a local file.
  • There are new tbf-X commands that enable manipulating local TAB files.
  • There is support for the new kernel version TLV.
  • Uninstall now replaces removed apps with a padding app.
  • Minimum app sizes are no longer needed as tockloader respects writing entire flash pages.