Releases: tock/tockloader
1.16.0: Improve local-board and probe-rs
Two small fixes but that are important for usability.
- 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.
- Fix probe-rs support to actually pass
--chip
to probe-rs.
1.15.0: Add `local-board` feature, support probe.rs
The two major changes in 1.15.0 are:
-
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. -
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
Update the included default.nix configuration file.
1.14.0: Support choosing board with JLinkExe and OpenOCD
- 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
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
- 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
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
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
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
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.