diff mbox series

[isar-cip-core] doc: Update the document for bullseye image

Message ID 20220718125235.1871420-1-Srinuvasan_A@mentor.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [isar-cip-core] doc: Update the document for bullseye image | expand

Commit Message

Srinuvasan Arjunan July 18, 2022, 12:52 p.m. UTC
From: Srinuvasan A <srinuvasan_a@mentor.com>

Now the default distro is bullseye, hence correct the document of
swupdate and secureboot w.r.t bullseye image.

Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
---
 doc/README.secureboot.md |  6 +++---
 doc/README.swupdate.md   | 16 ++++++++--------
 2 files changed, 11 insertions(+), 11 deletions(-)
diff mbox series

Patch

diff --git a/doc/README.secureboot.md b/doc/README.secureboot.md
index c1a0301..319b4db 100644
--- a/doc/README.secureboot.md
+++ b/doc/README.secureboot.md
@@ -204,10 +204,10 @@  OVMF_VARS=<path to the modified OVMF_VARS.fd> \
 
 For updating the image, the following steps are necessary:
 - [Build the image with snakeoil keys](### Build image)
-- save the generated swu `build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-buster-qemu-amd64.swu` to /tmp
+- save the generated swu `build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-bullseye-qemu-amd64.swu` to /tmp
 - modify the image for example add a new version to the image by adding `PV=2.0.0` to
   [cip-core-image.bb](recipes-core/images/cip-core-image.bb)
-- start the new target and copy the swu `cip-core-image-cip-core-buster-qemu-amd64.swu`
+- start the new target and copy the swu `cip-core-image-cip-core-bullseye-qemu-amd64.swu`
   to the running system, e.g.:
 ```
 SECURE=y ./start-qemu.sh amd64 -virtfs local,path=/tmp,mount_tag=host0,security_model=passthrough,id=host0
@@ -228,7 +228,7 @@  sda      8:0    0    2G  0 disk
 └─sda5   8:5    0 1000M  0 part
 ```
 
-- install with `swupdate -i /mnt/cip-core-image-cip-core-buster-qemu-amd64.swu`
+- install with `swupdate -i /mnt/cip-core-image-cip-core-bullseye-qemu-amd64.swu`
 - reboot
 - check which partition is booted, e.g. with `lsblk`. The rootfs should have changed:
 ```
diff --git a/doc/README.swupdate.md b/doc/README.swupdate.md
index e28db24..1b242a2 100644
--- a/doc/README.swupdate.md
+++ b/doc/README.swupdate.md
@@ -15,7 +15,7 @@  Then build the image which will later serve as update package:
 ```
 host$ ./kas-container build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml
 ```
-Save the generated swu `build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-buster-qemu-amd64.swu` into a separate folder (ex: /tmp).
+Save the generated swu `build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-bullseye-qemu-amd64.swu` into a separate folder (ex: /tmp).
 
 Next, rebuild the image, switching to the RT kernel as modification:
 ```
@@ -27,9 +27,9 @@  Now start the image which will contain the RT kernel:
 host$ SWUPDATE_BOOT=y ./start-qemu.sh amd64
 ```
 
-Copy `cip-core-image-cip-core-buster-qemu-amd64.swu` file from `tmp` folder into the running system:
+Copy `cip-core-image-cip-core-bullseye-qemu-amd64.swu` file from `tmp` folder into the running system:
 ```
-host$ scp -P 22222 /tmp/cip-core-image-cip-core-buster-qemu-amd64.swu root@localhost:
+host$ scp -P 22222 /tmp/cip-core-image-cip-core-bullseye-qemu-amd64.swu root@localhost:
 ```
 
 Check which partition is booted, e.g. with lsblk:
@@ -56,7 +56,7 @@  root@demo:~# cat /sys/kernel/realtime
 
 Now apply swupdate and reboot
 ```
-root@demo:~# swupdate -i cip-core-image-cip-core-buster-qemu-amd64.swu
+root@demo:~# swupdate -i cip-core-image-cip-core-bullseye-qemu-amd64.swu
 root@demo:~# reboot
 ```
 
@@ -123,7 +123,7 @@  Build the image for swupdate with a service which causes kernel panic during sys
 ```
 host$ ./kas-container build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml:kas/opt/kernel-panic.yml
 ```
-Save the generated swu `build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-buster-qemu-amd64.swu` in a separate folder.
+Save the generated swu `build/tmp/deploy/images/qemu-amd64/cip-core-image-cip-core-bullseye-qemu-amd64.swu` in a separate folder.
 Then build the image without `kernel-panic.yml` recipe using below command:
 ```
 host$ ./kas-container build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml
@@ -134,14 +134,14 @@  Start the target on QEMU:
 host$ SWUPDATE_BOOT=y ./start-qemu.sh amd64
 ```
 
-Copy `cip-core-image-cip-core-buster-qemu-amd64.swu` file from `tmp` folder into the running system:
+Copy `cip-core-image-cip-core-bullseye-qemu-amd64.swu` file from `tmp` folder into the running system:
 ```
-host$ scp -P 22222 /tmp/cip-core-image-cip-core-buster-qemu-amd64.swu root@localhost:
+host$ scp -P 22222 /tmp/cip-core-image-cip-core-bullseye-qemu-amd64.swu root@localhost:
 ```
 
 Apply swupdate as below:
 ```
-root@demo:~# swupdate -i cip-core-image-cip-core-buster-qemu-amd64.swu
+root@demo:~# swupdate -i cip-core-image-cip-core-bullseye-qemu-amd64.swu
 ```
 
 Check bootloader ustate after swupdate. If the swupdate is successful then **revision number** should be **3** and status should be changed to **INSTALLED** for Partition #1.