* [PATCH v2] doc: add a section on flashing images
@ 2021-04-12 18:27 Henning Schild
2021-04-13 16:04 ` Jan Kiszka
2021-04-16 14:22 ` Anton Mikanovich
0 siblings, 2 replies; 3+ messages in thread
From: Henning Schild @ 2021-04-12 18:27 UTC (permalink / raw)
To: isar-users; +Cc: Jan Kiszka, Henning Schild
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
doc/user_manual.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/user_manual.md b/doc/user_manual.md
index 70cf20a74828..c3c9e977f3fb 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -232,6 +232,17 @@ qemu-system-x86_64 -m 256M -nographic -bios edk2/Build/OvmfX64/RELEASE_*/FV/OVMF
qemu-system-i386 -m 256M -nographic -hda tmp/deploy/images/qemui386/isar-image-base-debian-buster-qemui386.wic.img
```
+#### Flashing such images to a physical device
+
+wic images can be flashed in multiple ways. The most generic and easy way is probably with [ etcher ](https://etcher.io). That works on many operating systems and is relatively easy to use. On top it can decompress images on the fly, should they be compressed. It also offers some sort of protection so you do not write to the wrong device and maybe break your machine.
+
+If you have a unix shell there are other ways. Make sure to always double check the target device, those tools might not warn if you choose the wrong target.
+
+`bmaptool` would be the best choice on a Linux/Unix system. It offers skipping of empty space and will flash much faster than `dd`, it also has some protection so you do not flash over a mounted drive by accident. Unfortunately it is not yet available on all Linux distributions.
+https://github.com/intel/bmap-tools
+
+`dd` is the most generic option, available pretty much everywhere. But here you really need to make sure to not write to the wrong target.
+
### Generate container image with root filesystem
A runnable container image is generated if you set IMAGE_TYPE to
--
2.26.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] doc: add a section on flashing images
2021-04-12 18:27 [PATCH v2] doc: add a section on flashing images Henning Schild
@ 2021-04-13 16:04 ` Jan Kiszka
2021-04-16 14:22 ` Anton Mikanovich
1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2021-04-13 16:04 UTC (permalink / raw)
To: Henning Schild, isar-users
On 12.04.21 20:27, Henning Schild wrote:
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
> doc/user_manual.md | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/doc/user_manual.md b/doc/user_manual.md
> index 70cf20a74828..c3c9e977f3fb 100644
> --- a/doc/user_manual.md
> +++ b/doc/user_manual.md
> @@ -232,6 +232,17 @@ qemu-system-x86_64 -m 256M -nographic -bios edk2/Build/OvmfX64/RELEASE_*/FV/OVMF
> qemu-system-i386 -m 256M -nographic -hda tmp/deploy/images/qemui386/isar-image-base-debian-buster-qemui386.wic.img
> ```
>
> +#### Flashing such images to a physical device
> +
> +wic images can be flashed in multiple ways. The most generic and easy way is probably with [ etcher ](https://etcher.io). That works on many operating systems and is relatively easy to use. On top it can decompress images on the fly, should they be compressed. It also offers some sort of protection so you do not write to the wrong device and maybe break your machine.
> +
> +If you have a unix shell there are other ways. Make sure to always double check the target device, those tools might not warn if you choose the wrong target.
> +
> +`bmaptool` would be the best choice on a Linux/Unix system. It offers skipping of empty space and will flash much faster than `dd`, it also has some protection so you do not flash over a mounted drive by accident. Unfortunately it is not yet available on all Linux distributions.
> +https://github.com/intel/bmap-tools
> +
> +`dd` is the most generic option, available pretty much everywhere. But here you really need to make sure to not write to the wrong target.
> +
> ### Generate container image with root filesystem
>
> A runnable container image is generated if you set IMAGE_TYPE to
>
LGTM.
Thanks,
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] doc: add a section on flashing images
2021-04-12 18:27 [PATCH v2] doc: add a section on flashing images Henning Schild
2021-04-13 16:04 ` Jan Kiszka
@ 2021-04-16 14:22 ` Anton Mikanovich
1 sibling, 0 replies; 3+ messages in thread
From: Anton Mikanovich @ 2021-04-16 14:22 UTC (permalink / raw)
To: Henning Schild, isar-users; +Cc: Jan Kiszka
12.04.2021 21:27, Henning Schild wrote:
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
> doc/user_manual.md | 11 +++++++++++
> 1 file changed, 11 insertions(+)
Applied to next, thanks.
--
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-19 8:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 18:27 [PATCH v2] doc: add a section on flashing images Henning Schild
2021-04-13 16:04 ` Jan Kiszka
2021-04-16 14:22 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox