include $(TOPDIR)/rules.mk
PKG_NAME:=mstflint
-PKG_VERSION:=4.34.1
-PKG_SUBVERSION:=4
+PKG_VERSION:=4.35.0
+PKG_SUBVERSION:=1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SUBVERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/Mellanox/$(PKG_NAME)/releases/download/v$(PKG_VERSION)-$(PKG_SUBVERSION)
-PKG_SOURCE_DATE:=2026-01-29
-PKG_HASH:=3316ccaca1942f3e012fd9c45aa4f904e3d5e8a6794a5b4a69a06ee08da85e89
+PKG_SOURCE_DATE:=2026-02-22
+PKG_HASH:=a138686f9298cd057371bc9bb2673e97b5b3e4b022b91ce1f6538533664c112d
PKG_MAINTAINER:=Til Kaiser <mail@tk154.de>
PKG_LICENSE:=GPL-2.0-only
ifeq ($(CONFIG_PACKAGE_MSTFLINT_INCLUDE_PYTHON),y)
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstfwreset $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstfwtrace $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstgenerate_pgcb_commands $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstprivhost $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstresourcedump $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mstresourceparse $(1)/usr/bin/
--- /dev/null
+From 630513e058a321b32d691a6a765a218bcc00b5fa Mon Sep 17 00:00:00 2001
+From: Til Kaiser <mail@tk154.de>
+Date: Thu, 26 Feb 2026 15:25:05 +0100
+Subject: [PATCH] fwctrl: replace __uint32_t with __u32
+
+musl doesn't provide __uint32_t, so compilation
+fails when building with musl.
+
+This header already uses Linux UAPI types, so use __u32 here too.
+
+Signed-off-by: Til Kaiser <mail@tk154.de>
+---
+ include/mtcr_ul/fwctrl_ioctl.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/include/mtcr_ul/fwctrl_ioctl.h
++++ b/include/mtcr_ul/fwctrl_ioctl.h
+@@ -153,9 +153,9 @@ struct fwctl_rpc {
+ struct mlx5_umem_buff {
+ void *buff;
+ size_t size;
+- __uint32_t umem_id;
+- __uint32_t umem_mkey;
+- __uint32_t rsc_id;
++ __u32 umem_id;
++ __u32 umem_mkey;
++ __u32 rsc_id;
+ };
+
+ struct fwctl_rsc_umem_reg {