1
1
openwrt/target/linux/stm32
Clemens Hopfer ca11c6b7e1 base-files: MAJOR/MINOR not sequential, use DISKSEQ instead
Export the unique, monotonic DISKSEQ sequence drive number instead of its
major/minor numbers to identify the boot disk and directly match the partition
in export_partdevice with PARTN.

The MINOR blockdevice numbers are not guaranteed sequential across disks, it
can happen that disks enumerate before their partitions are probed, resulting
in interleaved MINOR numbers breaking the partition offset calculation:

major minor  #blocks  name
 259        0  250059096 nvme0n1
 259        2       8192 nvme0n1p1
 259        3     491520 nvme0n1p2
 259        4        239 nvme0n1p128
 259        1  250059096 nvme1n1
 259        5  250057728 nvme1n1p1

Signed-off-by: Clemens Hopfer <openwrt@wireloss.net>
Link: https://github.com/openwrt/openwrt/pull/18962
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 63d0b5c243)
2026-04-03 20:49:12 +02:00
..
base-files base-files: MAJOR/MINOR not sequential, use DISKSEQ instead 2026-04-03 20:49:12 +02:00
image stm32: add STM32MP157C-DK2 support 2025-04-19 18:41:19 +02:00
patches-6.12 stm32: 6.12: refresh kernel patches 2025-06-21 14:28:42 +02:00
stm32mp1 stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00
Makefile stm32: use kernel 6.12 by default 2025-10-22 14:56:15 +02:00
modules.mk stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00