DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v8a: tqma93: Add boot_disk
@ 2025-04-24 10:36 Fabian Pflug
  2025-04-29 12:16 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Pflug @ 2025-04-24 10:36 UTC (permalink / raw)
  To: distrokit; +Cc: Fabian Pflug

Boot disk was not set, which resulted in the rauc update not working,
because the symlink /disk/by-usage/ was not there.

Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
 projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules b/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules
index 1975b1c..f78c3e4 100644
--- a/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules
+++ b/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules
@@ -17,6 +17,7 @@ ENV{OF_BASE_COMPATIBLE}=="*raspberrypi,3-model-b*", ENV{ID_PATH}=="platform-3f20
 ENV{OF_BASE_COMPATIBLE}=="*riot,imx6s-riotboard*", ENV{ID_PATH}=="platform-2198000.mmc", TAG+="boot_disk"
 ENV{OF_BASE_COMPATIBLE}=="*radxa,rock3a*", ENV{ID_PATH}=="platform-fe2b0000.mmc", TAG+="boot_disk"
 ENV{OF_BASE_COMPATIBLE}=="*tq,imx8mp-tqma8mpql-mba8mpxl*" ENV{ID_PATH}=="platform-30b50000.mmc", TAG+="boot_disk"
+ENV{OF_BASE_COMPATIBLE}=="*tq,imx93-tqma9352-mba93xxca*" ENV{ID_PATH}=="platform-42860000.mmc", TAG+="boot_disk"
 
 # second part: create /dev/disk/by-usage/ symlinks
 ENV{DEVTYPE}!="partition", GOTO="rauc_partitions_end"
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [DistroKit] [PATCH] v8a: tqma93: Add boot_disk
  2025-04-24 10:36 [DistroKit] [PATCH] v8a: tqma93: Add boot_disk Fabian Pflug
@ 2025-04-29 12:16 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2025-04-29 12:16 UTC (permalink / raw)
  To: Fabian Pflug; +Cc: distrokit

On Thu, Apr 24, 2025 at 12:36:24PM +0200, Fabian Pflug wrote:
> Boot disk was not set, which resulted in the rauc update not working,
> because the symlink /disk/by-usage/ was not there.
> 
> Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
> ---
>  projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules b/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules
> index 1975b1c..f78c3e4 100644
> --- a/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules
> +++ b/projectroot/usr/lib/udev/rules.d/90-rauc-partitions.rules
> @@ -17,6 +17,7 @@ ENV{OF_BASE_COMPATIBLE}=="*raspberrypi,3-model-b*", ENV{ID_PATH}=="platform-3f20
>  ENV{OF_BASE_COMPATIBLE}=="*riot,imx6s-riotboard*", ENV{ID_PATH}=="platform-2198000.mmc", TAG+="boot_disk"
>  ENV{OF_BASE_COMPATIBLE}=="*radxa,rock3a*", ENV{ID_PATH}=="platform-fe2b0000.mmc", TAG+="boot_disk"
>  ENV{OF_BASE_COMPATIBLE}=="*tq,imx8mp-tqma8mpql-mba8mpxl*" ENV{ID_PATH}=="platform-30b50000.mmc", TAG+="boot_disk"
> +ENV{OF_BASE_COMPATIBLE}=="*tq,imx93-tqma9352-mba93xxca*" ENV{ID_PATH}=="platform-42860000.mmc", TAG+="boot_disk"
>  
>  # second part: create /dev/disk/by-usage/ symlinks
>  ENV{DEVTYPE}!="partition", GOTO="rauc_partitions_end"

Thx, is now in next.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-29 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-24 10:36 [DistroKit] [PATCH] v8a: tqma93: Add boot_disk Fabian Pflug
2025-04-29 12:16 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox