2463 Commits
Author SHA1 Message Date
Wiktor MowinskiandFilip Gołaś 0e2bd44209 platform-configs/include/novacustom-nuc_box.robot: include capsule update info
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
2026-04-29 11:35:32 +02:00
Wiktor MowinskiandFilip Gołaś 7af55a6650 platform-configs/novacustom-nuc_box-125H.robot: update config
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
2026-04-29 11:35:32 +02:00
Wiktor MowinskiandFilip Gołaś c9613ce180 platform-configs/novacustom-nuc_box-125H.robot: update config
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
2026-04-29 11:35:32 +02:00
Michał IwanickiandDanil Klimuk e371d64e5e dts: add nuc_box update profile
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2026-04-28 15:06:04 +02:00
Michał IwanickiandDanil Klimuk 07f0543a9f dts: allow setting 'FW_STORE_URL_DEV' via cmdline arguments
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2026-04-28 15:06:04 +02:00
Michał IwanickiandDanil Klimuk bc80f6d727 dts: dts-gen-profile: add dasharo_ectool mock
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2026-04-28 15:06:04 +02:00
Michał IwanickiandDanil Klimuk 2e04920de2 dts: dts-gen-profile: add semiauto tag
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2026-04-28 15:06:04 +02:00
Michał IwanickiandDanil Klimuk 27fc28d4be platform_config: nuc box: add DTS update workflow
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2026-04-28 15:05:54 +02:00
Filip Gołaś 6af410d868 test_cases.json: Add CUP151
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-28 11:33:23 +02:00
Wiktor MowinskiandFilip Gołaś f232f7e383 test_cases.json: remove duplicate
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
2026-04-24 12:40:02 +02:00
Filip Gołaś d83388c6eb capsule-update.robot: Restore DUT connection method after reboot in CUP260
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:02 +02:00
Filip Gołaś 07f6ab0a12 capsule-update.robot: TEST_KEYS fw variant env vars
Assuming that the testing firmware will
alwyays trust production keys, and
that testing firmware will always be
available, contrary to signed
production firmware.

With that, the TEST_KEYS variants handling
can be removed.

We can use for the tests:
CUP002: test base, any capsule
  - we cant test if base is a test variant,
    but test should always be available, so
    it should be always used as base
CUP150: any base, test capsule
  - we can check if capsule is test/prod
CUP151: any base, prod capsule
  - same as CUP150
CUP001 and every other test: any base, any capsule

So we can assume that for V2 capsules
only a test variant will be used for base.
When that will be possible we can add a check
for whether RC0 is test or prod
and conditionally skip CUP002

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 9b347bd293 capsule-update.robot: Update prep instructions for Capsules V2
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 9c996ea305 capsule-update.robot: Remove setup&teardown flash in CUP002
If the Skip condition for CUP002 is not triggered, then
- option a) `CAPSULE_FW_FILE` contains test keys, so `CAPSULE_UPDATE_RC0_FW_FILE` must best test too, so BASE_FW_FILE is a testing firmware
- option b) Test RC0 and capsule were provided, and the `BASE_FW_FILE` is set to a testing firmware.

Either way the testing firmware is already flashed.

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 0a0389d399 capsule-update.robot: Remount /boot/efi and crop BOM when reading logs
Sometimes the logs file is read as empty.
After such issue happened ive checked manually
and it was not empty at all.
It must be some kind of a synchronization issue
which should be fixed by a quick remount of the
/boot FS.

Additionally the BOM bytes from UTF-8 encoding seem to break the Telnet
library and the file contents are interpreted as empty despite the
library reading the contents. Removing them using SED should help with
that.

recv b'\xbb\xbfCapsuleMax -
CapsuleFFFF\r\r\n\x1b[?2004hroot@3mdeb:/home/ubuntu#

but ${output} = ""

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 2c3096ab3c capsule-update.robot: Only HAP disable ME if ME is supported
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś d9bad6459f capsule-update.robot: Remove unused code
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 557c63b32b flash.robot: Flash Firmware: Do not verify file_size if flashing not supported
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 697385cba2 capsule-update.robot: Fix not flashing base firmware if not CUSTOM_LOGO_SUPPORT
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 1320132b3f capsule-update.robot: Fix UUID colliding on windows and Ubuntu
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 6a7ebfc3c9 capsule_update_tests.sh: Refactor the script to make it easier to understand
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 9dac52d08b capsule-update.robot: simplify choosing BASE_FW_FILE a bit
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś d4fc02731c capsule-update.robot: CUP260: Fix for pikvm
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:01 +02:00
Filip Gołaś 9e3fc963d5 capsule-update.robot: Show manual UI instruction BEFORE the UI appears
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:00 +02:00
Filip Gołaś a011b31cce capsule-update.robot: CUP250: Flash NO_LOGO fw only if supported
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-04-24 12:40:00 +02:00