-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verbose option added to uefi dh log #246
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: gurrev01 <[email protected]>
rajatgoyal47
approved these changes
Dec 16, 2024
Looks Good to Me |
chetan-rathore
approved these changes
Dec 26, 2024
chetan-rathore
added a commit
that referenced
this pull request
Jan 24, 2025
* Update config to support fTPM This configuration allows the ACS to be built to support fTPM testing within the SIE Linux. This is in the interest of certifying the Socionext Synquacer Development Box. Changes include addition of Optee-client and Microsoft's fTPM driver. Signed-off-by: Sam Moss <[email protected]> * [IR Yocto] Added pingtest.nsh script to configure net and ping - configure ethernet using DHCP if available. - ping 8.8.8.8 and report network status. Signed-off-by: Amrathesh <[email protected]> * Remove standalone SIE build support - removed configurations and scripts for standalone SIE build. - Updated READMEs and common build scripts. Signed-off-by: Amrathesh <[email protected]> * noacs grub option "ACS completed" print issue Signed-off-by: Guru9902 <[email protected]> * SR ES ACS firmware upgrade Signed-off-by: gurrev01 <[email protected]> * dtschema updated to v2024.2 Signed-off-by: gurrev01 <[email protected]> * SCT tag updated for SR/ES ACS Signed-off-by: Guru9902 <[email protected]> * FWTS upadted to v24.01.00 for SE/ES ACS Signed-off-by: Guru9902 <[email protected]> * FWTS test update Signed-off-by: Guru9902 <[email protected]> * FWTS updated to v24.01.00 for IR ACS Signed-off-by: Guru9902 <[email protected]> * Linux kernel version updated to 6.7 for SR/ES ACS Signed-off-by: Guru9902 <[email protected]> * SCT version moved to 315e3a56a6d9261d4fad4c1950f2d01a052eeba4 * update edk2-test version - new tag 032822757792c5d4d0bfed1fd8524e69ef4f2d17 - patches are updated in bbr-acs Signed-off-by: Amrathesh <[email protected]> * Enable/disable psci checker through linux boot command Signed-off-by: gurrev01 <[email protected]> Change-Id: If4767b25a5dee22d530ad360663ea2bd818768f4 Signed-off-by: Guru9902 <[email protected]> * Implimented Kselftest for dt for IR Signed-off-by: Guru9902 <[email protected]> * python script for performing write check with checksum of last used block to maintain integrity Signed-off-by: Guru9902 <[email protected]> Co-authored-by: Ashish Sharma <[email protected]> * Corrected fwts patch directory Signed-off-by: Guru9902 <[email protected]> * Changes for bsa/sbsa common val pal and minor changes * bsa-acs-drv.bb directory path updated Signed-off-by: Guru9902 <[email protected]> * README updates - updated SIE ACS verification guide. - updated README.md wth SIE ACS instructions. - updated init_call debug instruction in IR README. Signed-off-by: Amrathesh <[email protected]> * Updated common_configs for SR_REL2.1.0 ES_REL1.4.0 IR_REL2.1.1 release Signed-off-by: Guru9902 <[email protected]> * Prebuilt images for release v24.03_SR_REL2.1.0_ES_REL1.4.0_IR_REL2.1.1 * IR/SR/ES ACS version updated in logs (#174) Signed-off-by: Guru9902 <[email protected]> * Corrected ACS version number of prebuilt images (#175) Co-authored-by: cherat01 <[email protected]> * CURL command added to IR ACS (#177) Signed-off-by: Guru9902 <[email protected]> * Changes to build latest SystemReady band images (#179) Co-authored-by: cherat01 <[email protected]> * Refactoring the Actions Jobs into Daily build and Build checker (#182) * Changes to build latest SystemReady band images * Refractoring github actions jobs * Update SystemReady_Images_Daily_Build.yml * Update SystemReady_Images_Daily_Build.yml Actions updated to use v4 * Update SystemReady_Images_Daily_Build.yml minor updates * Delete .github/workflows/SR_ACS_SBMR_Daily.yml Removing Duplicate job * Update SystemReady_Images_Daily_Build.yml SBMR Daily builds might be scheduled on sbmr branch --------- Co-authored-by: cherat01 <[email protected]> * Linux kernel version upgraded to v6.8 for SR and ES (#184) Signed-off-by: Guru9902 <[email protected]> Co-authored-by: Guru9902 <[email protected]> * changes to resume BBSR SCT if test in progress (#186) - running BBSR SCT if the test is already in progress - upgraded edk2-sct tag compatible with bbr patches. Change-Id: I53f6551b8d8eae18f5a73b201f0720c496dd9fd1 Signed-off-by: Amrathesh <[email protected]> * Add few more commands to debug_dump.nsh and make it independently runnable (#187) With this change, we will no longer to sync up debug_dump.nsh with https://gitlab.arm.com/systemready/systemready-es-sr-template#fwuefi-shell-cmds-logs Signed-off-by: Sunny Wang <[email protected]> * Increase 8250 serial ports for SR/ES (#190) To adapt to more devices, increase the number of 8250 serial ports instead of explicitly specifying console. Signed-off-by: Weizhao Ouyang <[email protected]> * Sync init.sh up with linux-distro-cmds.sh in systemready-es-sr-template and fix IR automation test issue with debug_dump.nsh (#188) * Add few more commands to debug_dump.nsh and make it independently runnable With this change, we will no longer to sync up debug_dump.nsh with https://gitlab.arm.com/systemready/systemready-es-sr-template#fwuefi-shell-cmds-logs Signed-off-by: Sunny Wang <[email protected]> * Sync init.sh up with linux-distro-cmds.sh in systemready-es-sr-template https://gitlab.arm.com/systemready/systemready-es-sr-template/-/blob/main/os-logs/linux-distro-cmds.sh So that we don't need to ask partner to run linux-distro-cmds.sh again to collect the commands' output that haven't been covered by init.sh Signed-off-by: Sunny Wang <[email protected]> * Fixed the issue that the uefi_dump folder gets created in an unexpected file system The issue was reported by IR ACS users on #187 (comment) Basically the change is just to move the "endfor" from line 88 to line 34 so that it won't change the FS number for the case where there is no acs_result folder. Signed-off-by: Sunny Wang [email protected] --------- Signed-off-by: Sunny Wang <[email protected]> Signed-off-by: Sunny Wang [email protected] * updated stable build image (#196) Co-authored-by: cherat01 <[email protected]> * Update buildroot_defconfig : Add acpica buildroot defconfig (#195) * Update buildroot_defconfig adding commands (#199) * Enabled the acpica related dumps in init,.sh (#198) * Update buildroot_defconfig : Add acpica buildroot defconfig * Update init.sh Enable the acpidump, acpixtract and iasl commands * Update init.sh : Enabled hwclock and date related commands * update edk2-test tag to edk2-test-stable202406 (#197) Fixes : #194 Signed-off-by: Amrathesh <[email protected]> * Update init.sh: minor correction and dump /proc/driver/rtc info (#200) * Update init.sh: minor correction and dump /proc/driver/rtc info * Update init.sh removed timedatectl * sync command added at the end of IR ACS execution. (#202) Signed-off-by: Guru9902 <[email protected]> * IR: (recipes-acs|recipes-images): Fix backdoor host tools leakage Adding /usr/bin to the PATH in an OpenEmbedded recipe is rather broken[1]. Fix this by adding proper dependencies and getting rid of the PATH hacks. This also fixes a problem where ACS fails to build if sbsigntool (which is not install via get_sources.sh) is not installed on the build host. [1] If ACS really needs to import tools from the host, and is willing to accept all the version skew risks that go along with that, then use https://docs.yoctoproject.org/ref-manual/variables.html#term-HOSTTOOLS to import the necessary tools safely. However, in this case everything we need is already packaged with native recipes so it is much better to use those! Signed-off-by: Daniel Thompson <[email protected]> * IR: recipes-acs: sie-keys: Avoid building efitools in the configure step efitools already has native package provided by the meta-efi-secure-boot layer. Adopt the packaged versions instead of building our own. Signed-off-by: Daniel Thompson <[email protected]> * IR: recipes-acs: ebbr-sct: Avoid "stealing" files from sie-keys workdir Currently ebbr-sct is hardcoded to borrow files from the sie-key workdir. This can lead to sstate-cache inconsistancy (e.g. problems with incremental builds) and makes useful features such as rm_work impossible to enable. Fix this by getting the keys from the deploy directory instead. Signed-off-by: Daniel Thompson <[email protected]> * IR: build-scripts: add some missing dependencies (#204) * IR: build-scripts: add some missing dependencies When attempting to build ACS in a relatively spartan environment (such as a container image) then get_source.sh does not install all the required prerequisites. cpio, gawk and wget are all listed in HOSTTOOLS so the fix for these is obvious. locales in a little more subtle. bitbake forcefully adopts the en_US.utf8 locale to ensure that locale-skew cannot cause different build results on different machine. That requires the US locale to exist. We can make that happen by installing locales (if needed) and then running locale-gen. Note that locale-gen will not change the user or system-wide locale preferences, it will just generates the required locale. See: https://www.unix.com/man-page/linux/8/locale-gen/ Signed-off-by: Daniel Thompson <[email protected]> * Partial revert "IR: build-scripts: add some missing dependencies" This partially reverts commit 958345f by removing the locales related changes. Signed-off-by: Daniel Thompson <[email protected]> --------- Signed-off-by: Daniel Thompson <[email protected]> * SR: Fix typo in README (#206) * R310_BBSR: Platform Reset Attack Mitigation thru PSCI (#207) - added a new test to check whether PSCI MEM_PROTECT function implemented in SUT. Signed-off-by: Amrathesh <[email protected]> * Update 0001-KSelfTest.patch (#208) Add executable permission to script * Added fwupd, udisks2 and fwupd-efi (#209) - updated init.sh to parse some system info related to FW update. Signed-off-by: Amrathesh <[email protected]> * IR Yocto version updated to scarthgap (#210) Signed-off-by: Guru9902 <[email protected]> * Copyright changes and minor changes (#211) Co-authored-by: cherat01 <[email protected]> * adding fwts 24.03 patch (#212) * Remove CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER (#214) Since commit e346bebbd36b1576a3335331fed61bb48c6d8823 always enable initrd command line loader, we no longer need this config. Fix IR image build warning: [INFO]: the following symbols were not found in the active configuration: - CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER Signed-off-by: Weizhao Ouyang <[email protected]> * edk2 build issue temp patch (#215) Co-authored-by: cherat01 <[email protected]> * DumpDiver- sniff device/hardware/driver issues feature added to init.sh (#205) * sniff device/hardware/driver issues feature added to init.sh * Fixed pr comments, added two levels of summarization * Automated TPM log review (#217) - enhanced PCR measurement comparison using YAML based parsing. - added TPM log check based on BBSR user guide. Change-Id: I390189ac248d69148cc32970a3c2dba355043a07 Signed-off-by: Amrathesh <[email protected]> * update fwts patches for IORT updates (#218) - CANWBS flag is added in IORT E.f specification, fwts test updated. Fixes : #216 Change-Id: I1b0d8b1548780495949293749bf08ba737d5e2a9 Signed-off-by: Amrathesh <[email protected]> * Enable psci checker by default, and skip based on initcall_blacklist (#219) * Enable psci checker by default, and skip based on initcall_blacklist * Update linux-yocto_6.4.bb * Update linux-yocto_6.6.bb --------- Co-authored-by: cherat01 <[email protected]> * Changes for SystemReady 3.0.0 beta0 ACS (#222) * Pivot and Hive changes - Part 1 * LS band is deprecated * IR 32-bit is deprecated * ES and SR band are merged into SystemReady band * IR band is replaced with SystemReady-devicetree band * Existing band pre-built images folder is preserved to ensure SystemReady guides URLs remain functional. * Existing band READMe's modified to reflect pivot and hive changes * Common Folder changes for pivot and hive 1. Addition of uefi_scripts folder 2. scripts and config related to uefi run enviroment moved to uefi_scripts 3. ramdisk changed to linux_script 4. scripts and config related to linux run enviroment moved to linux_scripts * SystemReady band addition * SystemReady-devicetree band addition * addition of log parser Addition of log parser script for processing acs suites raw logs into standard json output and html for presentation * enable device driver matching scripts for SystemReady band * addition of acs and system config acs_config is used by log parser to output acs specification version in acs_summary system_config is used for complaince run to genrate acs_summary with system related information * grub and doc changes for pivot * patches for linux and fwts upgrade and psci_checker enablement * Temp changes to build bbr acs from fork * Enabling jobs for new bands * executable permissions to build scripts * edk2 build fix * Update SystemReady-devicetree_band_Daily_Build.yml Correct Name of job * Update SystemReady-devicetree_band_BUILD.yml * Update SystemReady-devicetree_band_Daily_Build.yml * Update SystemReady_band_BUILD.yml * Update SystemReady_band_Daily_Build.yml * Updates of path and name in CI jobs * Update init.sh : In case multiple ACS images are present, mount the first image found. ACS recommends the boot the system with single ACS image, as both image have same partition and label, so saving logs to indented boot medium will lead to issue. Co-authored-by: Ajayswar <[email protected]> * Sync of build script name for both bands * Enable support of acs_run_config for sbsa run * dt build file rename * Add acs_run_config * Redirect acpixtract output to a log file * log parser feedback on SR image * Save /sys/firmware copy error to a file * log parser improvements * fixing sbsa run logic * execute permission to log parser script * Seperate acs_config for dt systems Co-authored-by: Ashish Sharma <[email protected]> * Correct the ktap_helpers path * Update init.sh if acs_run_config not present or SbsaRunEnabled not present ..not throw error * downgrade grub from 2.12 to 2.06 - 2.12 version causing secureboot failures, falling back to stable version. Signed-off-by: Amrathesh <[email protected]> Change-Id: Idb2a951061b9863c0ba7391e1b8e6f8d31ef1fae * Update systemready-band-source.cfg SR edk2 version kept to edk2-test-stable202406 * Update systemready-dt-band-source.cfg DT edk2 version kept to edk2-test-stable202406 * correcting subhook patch path + toolchain13.3 minor change * Update get_source.sh Increase initramfs size * Add more drivers related to storage and booting * unmount acs results partition once automated run is complete Co-authored-by: Ajayswar <[email protected]> * Delete old acs_summary results when re-running on same image * increase ramfs size and more linux configs * merge conflict resolve * log parser changes + python construct module * Update systemready-scripts.bb Add construct and requests * update fwts patches for IORT updates - CANWBS flag is added in IORT E.f specification, fwts test updated. Signed-off-by: Amrathesh <[email protected]> * add sleep after sync and unmount /mnt before reboot * gnu tar added to yocto Signed-off-by: gurrev01 <[email protected]> * init.sh changes * Add template folder for storing results as per DT template * revert to 13.2 toolchain, since path of 13.3 is moved on developer and its no longer accesible * capsule update test changes * update ACS version tags for SCT, BSA, SBSA and FWTS Signed-off-by: Amrathesh <[email protected]> Change-Id: I672108804cd42b6b8211304420ac31dd1078f8f4 * manual test parsing * add capsule update results parsing * updated systemready READMEs - fixed typos and README links. Signed-off-by: Amrathesh <[email protected]> Change-Id: I0fc20cb7b0ef3ceee565aa4129a05c4bd2cc2b44 * init and parser changes * capsule-update changes in parser * updated acs config for release * Path corrected * Capsule update logic changes * fixes around parser and sh files * init.sh change * Update ebbr-sct.bb : Use main branch of bbr-acs * Update get_source.sh : Use main branch of bbr acs --------- Signed-off-by: Amrathesh <[email protected]> Signed-off-by: gurrev01 <[email protected]> Co-authored-by: cherat01 <[email protected]> Co-authored-by: Ajayswar <[email protected]> Co-authored-by: Ashish Sharma <[email protected]> Co-authored-by: Amrathesh <[email protected]> Co-authored-by: gurrev01 <[email protected]> * updating source config with release tag (#223) Signed-off-by: Guru9902 <[email protected]> * extract capsule script (#224) Co-authored-by: cherat01 <[email protected]> * Updated README with ACS release tags (#225) Change-Id: Ia636ed903500f09e2cc272fbeead2789e79b3556 Signed-off-by: Amrathesh <[email protected]> * create fw (#227) * Capsule update log parser updates (#228) * extract capsule script * capsule update html --------- Co-authored-by: cherat01 <[email protected]> * Update prebuilt image path details (#229) * Update README.md with SystemReady band prebuilt image path * Update README.md with SystemReady devicetree band prebuilt image path * Update README.md: Format update * Update SystemReady devicetree band kernel config (#231) Enable CONFIG_USB_EHCI_HCD_PLATFORM so that we can use generic ehci usb platform. Signed-off-by: Weizhao Ouyang <[email protected]> * Fix broken doc links (#230) Signed-off-by: Weizhao Ouyang <[email protected]> * Do not quit path detection too early (#232) Signed-off-by: Weizhao Ouyang <[email protected]> * Automated TPM log review (#217) (#233) - enhanced PCR measurement comparison using YAML based parsing. - added TPM log check based on BBSR user guide. Change-Id: I390189ac248d69148cc32970a3c2dba355043a07 Change-Id: I3986a46e904a17dbab7991a4c67277b3380b4a8f Signed-off-by: Amrathesh <[email protected]> * Log parser changes-correcting script indentation (#235) * changes in apply_waivers.py bug fixes and indentation issues * main_log_parser.sh , suppressing number of verbose output using quiet command * Set time using NTP server (#237) Signed-off-by: gurrev01 <[email protected]> * waiver guide added along with example waiver.json to help apply waivers (#239) * Add files via upload * Rename waiver_template.md to waiver_guide.md * Create Automatic_Capsule_Update_guide.md (#240) * SystemReady-band README updates (#241) * Update README.md : Formatting for structured readme * Update README.md : Add sections for grub menu, log parser and image directory structure * Update README.md: Added details of acs config files * Bands Readme updates (#242) * Update README.md: Adding sub contents in table of contents * Update README.md: minor improvements * Update README.md: minor updates * Update README.md : added details of /EFI/BOOT files * Update README.md: add secure_init.sh file * Update README.md: Add link to waiver app process * Update README.md: Restructuring devicetree readme * Revert "updating source config with release tag (#223)" changes to build latest bsa/bbr/linux_acs * Verbose option added to uefi dh log (#246) Signed-off-by: gurrev01 <[email protected]> * Adding configuration guide for acs_run_config.ini (#249) * Adding configuration guide for acs_run_config.ini Signed-off-by: gurrev01 <[email protected]> * Update acs_run_configuration_guide.md --------- Signed-off-by: gurrev01 <[email protected]> --------- Signed-off-by: Sam Moss <[email protected]> Signed-off-by: Amrathesh <[email protected]> Signed-off-by: Guru9902 <[email protected]> Signed-off-by: gurrev01 <[email protected]> Signed-off-by: Sunny Wang <[email protected]> Signed-off-by: Weizhao Ouyang <[email protected]> Signed-off-by: Sunny Wang [email protected] Signed-off-by: Daniel Thompson <[email protected]> Co-authored-by: Sam Moss <[email protected]> Co-authored-by: G Edhaya Chandran <[email protected]> Co-authored-by: chetan singh rathore <[email protected]> Co-authored-by: Guru9902 <[email protected]> Co-authored-by: Gururaj <[email protected]> Co-authored-by: Ashish Sharma <[email protected]> Co-authored-by: cherat01 <[email protected]> Co-authored-by: Sunny Wang <[email protected]> Co-authored-by: Weizhao Ouyang <[email protected]> Co-authored-by: Ashish sharma <[email protected]> Co-authored-by: Daniel Thompson <[email protected]> Co-authored-by: Zhu Hengbo <[email protected]> Co-authored-by: Prachotan Reddy Bathi <[email protected]> Co-authored-by: Ajayswar <[email protected]> Co-authored-by: Ashish Sharma <[email protected]> Co-authored-by: sathishas89 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #244