Skip to content

tools, image: multi-board images with support for Cosmo #202

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

citrus-it
Copy link
Contributor

@citrus-it citrus-it commented May 21, 2025

This change generalises "gimlet" into "compute sled" in a number of places and extends the helios-build image command to produce multiple image phase 1 files (one per board) against a single phase 2.

May 21 20:10:24.993 INFO exec: ["cargo", "xtask", "build", "--release", "--cpioz", "/home/andy/out/cpio.z"], pwd: Some("/home/andy/helios/projects/phbl")
May 21 20:10:25.097 INFO E| Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
May 21 20:10:25.098 INFO E| Running `target/debug/xtask build --release --cpioz /home/andy/out/cpio.z`
May 21 20:10:25.252 INFO E| Compiling phbl v0.1.0 (/home/andy/helios/projects/phbl)
May 21 20:10:26.687 INFO E| Finished `release` profile [optimized] target(s) in 1.57s

May 21 20:10:26.700 INFO checking board: cosmo
May 21 20:10:26.700 INFO   efs: "/home/andy/helios/image/amd/turin-cosmo-a.efs.json5"
May 21 20:10:26.700 INFO   firmware: "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1"
May 21 20:10:26.700 INFO building host image for board cosmo...
May 21 20:10:26.700 INFO exec: ["/home/andy/helios/projects/amd-host-image-builder/target/debug/amd-host-image-builder", "--blobdir", "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1", "--config", "/home/andy/helios/image/amd/turin-cosmo-a.efs.json5", "--output-file", "/home/andy/out/rom.cosmo", "--reset-image", "/home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl"], pwd: Some("/home/andy/helios/projects/amd-host-image-builder")

May 21 20:10:27.296 INFO checking board: gimlet
May 21 20:10:27.296 INFO   efs: "/home/andy/helios/image/amd/milan-gimlet-b.efs.json5"
May 21 20:10:27.296 INFO   firmware: "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a"
May 21 20:10:27.296 INFO building host image for board gimlet...
May 21 20:10:27.296 INFO exec: ["/home/andy/helios/projects/amd-host-image-builder/target/debug/amd-host-image-builder", "--blobdir", "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a", "--config", "/home/andy/helios/image/amd/milan-gimlet-b.efs.json5", "--output-file", "/home/andy/out/rom.gimlet", "--reset-image", "/home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl"], pwd: Some("/home/andy/helios/projects/amd-host-image-builder")

May 21 20:10:27.736 INFO finishing image archive at "/home/andy/out/os.tar.gz"...
May 21 20:11:06.008 INFO image complete! materials are in "/home/andy/out/"
atrium:helios:cosmo% ls ~/out
cpio*       cpio.z      os.tar.gz   rom   rom.cosmo   rom.gimlet  unix.z      zfs.img

@citrus-it citrus-it self-assigned this May 21, 2025
@citrus-it citrus-it requested a review from dancrossnyc May 21, 2025 20:37
@citrus-it citrus-it marked this pull request as ready for review May 21, 2025 20:39
Copy link
Collaborator

@jclulow jclulow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking at this!

dancrossnyc
dancrossnyc previously approved these changes May 21, 2025
Copy link
Contributor

@dancrossnyc dancrossnyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG! Caveat that we'll want to change it at some point to use the AHIB app stuff, but good to go for now.

@jclulow jclulow changed the title helios-build image should be multi-image aware tools, image: multi-board images with support for Cosmo May 21, 2025
@citrus-it
Copy link
Contributor Author

In conjunction with oxidecomputer/amd-host-image-builder#245, this is working with ahib's xtask.

May 22 09:35:29.956 INFO checking rust toolchain is installed for "/home/andy/helios/projects/amd-host-image-builder"
May 22 09:35:30.015 INFO rust toolchain for "/home/andy/helios/projects/amd-host-image-builder": "stable-x86_64-unknown-illumos (overridden by '/home/andy/helios/projects/amd-host-image-builder/rust-toolchain.toml')"
May 22 09:35:30.015 INFO building ROM for cosmo
May 22 09:35:30.016 INFO exec: ["cargo", "xtask", "gen", "--amd-firmware", "/home/andy/helios/projects/amd-firmware", "--payload", "/home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl", "--config", "/home/andy/helios/image/amd/turin-cosmo-a.efs.json5", "--app", "/home/andy/helios/image/amd/turin-cosmo-1.0.0.3-p1.toml", "--image", "/home/andy/out/rom.cosmo"], pwd: Some("/home/andy/helios/projects/amd-host-image-builder")
May 22 09:35:30.167 INFO E| Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
May 22 09:35:30.170 INFO E| Running `target/debug/xtask gen --amd-firmware /home/andy/helios/projects/amd-firmware --payload /home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl --config /home/andy/helios/image/amd/turin-cosmo-a.efs.json5 --app /home/andy/helios/image/amd/turin-cosmo-1.0.0.3-p1.toml --image /home/andy/out/rom.cosmo`
May 22 09:35:30.180 INFO E| reading from "/home/andy/helios/image/amd/turin-cosmo-1.0.0.3-p1.toml"
May 22 09:35:30.282 INFO E| Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
May 22 09:35:30.285 INFO E| Running `target/debug/amd-host-image-builder generate -v -s 16MiB -r /home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl -c /home/andy/helios/image/amd/turin-cosmo-a.efs.json5 -B /home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1 -o /home/andy/out/rom.cosmo`
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x00_AmdPubKey_BRH.tkn"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x01_PspBl_BRH.esbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x08_SmuFirmware_breithorn.ecsbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x208_SmuFirmware_BRHDense.ecsbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x0A_PspAblPubKey_BRH.stkn"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x55_SPLTable_BRH.sbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x9D_AspSramFwExt_BRH.sbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x21_PspAmdIkek_BRH.bin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x13_SduFw_BRH.ecsbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x22_SecureEmptyToken.bin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x24_RegisterAccessPolicy_BRH.cesbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x224_RegisterAccessPolicy_BRHDense.cesbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x28_PspSystemDriver_BRH.ecsbin"
May 22 09:35:30.674 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x2A_SmuFirmware_breithorn.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x22A_SmuFirmware_BRHDense.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x2D_AblRt.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x30_AgesaBootLoaderU_BRH.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x42_PhyFw_BRH.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x44_USB_PHY_BRH.esbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x45_RegisterAccessPolicy_BRH.cesbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x245_RegisterAccessPolicy_BRHDense.cesbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x50_PspKeyDataBase_BRH.sbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x51_PspTosKeyDataBase_BRH.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x5DMpioFw_BRH.cesbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x64_RasDriver_BRH.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x65_ta_ras_prod_amdTEE.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x73_PspBl_BRH.ecsbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x76_DfRib_BRH.csbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x8C_MPDMATF_BRH.sbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x91_GmiPhyFw_BRH.esbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x92_Page_BRH.sbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0x9F_psp_tos_wl_bin_brh.sbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0xA0_S3Image_BRH_A0.sbin"
May 22 09:35:30.675 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0xA0_S3Image_BRHD_A0.sbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0xA0_S3Image_BRH_B0.sbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0xA0_S3Image_BRH_C0.sbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0xA0_S3Image_BRHD_B0.sbin"
May 22 09:35:30.676 INFO O| Info: ABL version: 0x1003f015
May 22 09:35:30.676 INFO O| Info: For sub_program 2: SMU firmware version: 99.115.0
May 22 09:35:30.676 INFO O| Info: For sub_program 0: SMU firmware version: 94.115.0
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/TypeId0xA0_S3Image_BRH_C1.sbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmImem3_BRH.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmImem3_BRH_C0.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmImem4_BRH.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmImem4_BRH_C0.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmPosttrainImem9_BRH.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmPosttrainImem9_BRH_C0.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmPosttrainImem10_BRH.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmPosttrainImem10_BRH_C0.ecsbin"
May 22 09:35:30.676 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x64_AppbDdr5RdimmQuickbootImem11_BRH_C0.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmDmem3_BRH.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmDmem3_BRH_C0.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmDmem4_BRH.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmDmem4_BRH_C0.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmPosttrainDmem9_BRH.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmPosttrainDmem9_BRH_C0.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmPosttrainDmem10_BRH.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmPosttrainDmem10_BRH_C0.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmQuickbootDmem11_BRH_C0.ecsbin"
May 22 09:35:30.677 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/BRH/1.0.0.3-p1/Type0x65_AppbDdr5RdimmQuickbootDmem12_BRH_C0.ecsbin"
May 22 09:35:30.770 INFO building ROM for gimlet
May 22 09:35:30.770 INFO exec: ["cargo", "xtask", "gen", "--amd-firmware", "/home/andy/helios/projects/amd-firmware", "--payload", "/home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl", "--config", "/home/andy/helios/image/amd/milan-gimlet-b.efs.json5", "--app", "/home/andy/helios/image/amd/milan-gimlet-b-1.0.0.a.toml", "--image", "/home/andy/out/rom.gimlet"], pwd: Some("/home/andy/helios/projects/amd-host-image-builder")
May 22 09:35:30.900 INFO E| Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
May 22 09:35:30.903 INFO E| Running `target/debug/xtask gen --amd-firmware /home/andy/helios/projects/amd-firmware --payload /home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl --config /home/andy/helios/image/amd/milan-gimlet-b.efs.json5 --app /home/andy/helios/image/amd/milan-gimlet-b-1.0.0.a.toml --image /home/andy/out/rom.gimlet`
May 22 09:35:30.912 INFO E| reading from "/home/andy/helios/image/amd/milan-gimlet-b-1.0.0.a.toml"
May 22 09:35:31.005 INFO E| Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
May 22 09:35:31.008 INFO E| Running `target/debug/amd-host-image-builder generate -v -s 32MiB -r /home/andy/helios/projects/phbl/target/x86_64-oxide-none-elf/release/phbl -c /home/andy/helios/image/amd/milan-gimlet-b.efs.json5 -B /home/andy/helios/projects/amd-firmware/GN/1.0.0.a -o /home/andy/out/rom.gimlet`
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/AmdPubKey_gn.tkn"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/PspBootLoader_gn.sbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/PspRecoveryBootLoader_gn.sbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/SmuFirmwareGn.csbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/SecureDebugToken_gn.stkn"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/PspABLFw_gn.stkn"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/SmuFirmware2Gn.csbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/SecureDebugUnlock_gn.sbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/PspIkek_gn.bin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/SecureEmptyToken.bin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/RsmuSecPolicy_gn.sbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Mp5Gn.csbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/AgesaBootloader_U_prod_GN.csbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/GnPhyFw.sbin"
May 22 09:35:31.359 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/PSP-Key-DB_gn.sbin"
May 22 09:35:31.359 INFO O| Info: ABL version: 0x100a5010
May 22 09:35:31.359 INFO O| Info: For sub_program 0: SMU firmware version: 45.93.0
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_1D_Ddr4_Udimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_1D_Ddr4_Udimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_1D_Ddr4_Rdimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_1D_Ddr4_Rdimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_1D_Ddr4_Lrdimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_1D_Ddr4_Lrdimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_2D_Ddr4_Udimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_2D_Ddr4_Udimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_2D_Ddr4_Rdimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_2D_Ddr4_Rdimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_2D_Ddr4_Lrdimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_2D_Ddr4_Lrdimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_BIST_Ddr4_Udimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_BIST_Ddr4_Udimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_BIST_Ddr4_Rdimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_BIST_Ddr4_Rdimm_Dmem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_BIST_Ddr4_Lrdimm_Imem.csbin"
May 22 09:35:31.360 INFO E| Info: Using blob "/home/andy/helios/projects/amd-firmware/GN/1.0.0.a/Appb_GN_BIST_Ddr4_Lrdimm_Dmem.csbin"
May 22 09:35:31.452 INFO finishing image archive at "/home/andy/out/os.tar.gz"...
May 22 09:36:10.106 INFO image complete! materials are in "/home/andy/out/"

@citrus-it citrus-it requested review from jclulow and dancrossnyc May 22, 2025 10:05
@citrus-it
Copy link
Contributor Author

Checking the contents of the generated tar file artefact:

atrium:helios:cosmo% gtar tvf ~/out/os.tar.gz
-r--r--r-- root/root       154 2025-05-22 10:10 oxide.json
drwxr-xr-x root/root         0 2025-05-22 10:10 image
-r--r--r-- root/root       262 2025-05-22 10:10 image/image-args.txt
-r--r--r-- root/root      1123 2025-05-22 10:10 image/git-status-mm.txt
-r--r--r-- root/root        79 2025-05-22 10:10 image/git-status-ooce.txt
-r--r--r-- root/root       225 2025-05-22 10:10 image/git-status-amd-host-image-builder.txt
-r--r--r-- root/root       121 2025-05-22 10:10 image/git-status-image-builder.txt
-r--r--r-- root/root       137 2025-05-22 10:10 image/git-status-phbl.txt
-r--r--r-- root/root       121 2025-05-22 10:10 image/git-status-pinprick.txt
-r--r--r-- root/root       121 2025-05-22 10:10 image/git-status-pilot.txt
-r--r--r-- root/root       182 2025-05-22 10:10 image/git-status-chelsio-t6-roms.txt
-r--r--r-- root/root       125 2025-05-22 10:10 image/git-status-nanobl-rs.txt
-r--r--r-- root/root       152 2025-05-22 10:10 image/git-status-omnios-build.txt
-r--r--r-- root/root       229 2025-05-22 10:10 image/git-status-illumos.txt
-r--r--r-- root/root       125 2025-05-22 10:10 image/git-status-amd-firmware.txt
-r--r--r-- root/root       131 2025-05-22 10:10 image/git-status-pkg5.txt
-r--r--r-- root/root      1123 2025-05-22 10:10 image/git-status-maghemite.txt
-r--r--r-- root/root       144 2025-05-22 10:10 image/git-status-bldb.txt
-r--r--r-- root/root      1123 2025-05-22 10:10 image/git-status-installinator.txt
-r--r--r-- root/root       131 2025-05-22 10:10 image/git-status-bootserver.txt
-r--r--r-- root/root        79 2025-05-22 10:10 image/git-status-ooce-extra.txt
-r--r--r-- root/root       139 2025-05-22 10:10 image/git-status-omnios-extra.txt
-r--r--r-- root/root       138 2025-05-22 10:10 image/pkg-publishers.txt
-r--r--r-- root/root     11202 2025-05-22 10:10 image/pkg-list.txt
-r--r--r-- root/root 1048580096 2025-05-22 10:10 image/zfs.img
-r--r--r-- root/root     853334 2025-05-22 10:10 image/unix.z
-r--r--r-- root/root    8632443 2025-05-22 10:10 image/cpio.z
-r--r--r-- root/root   33554432 2025-05-22 10:10 image/rom.cosmo
-r--r--r-- root/root   33554432 2025-05-22 10:10 image/rom.gimlet
-r--r--r-- root/root   33554432 2025-05-22 10:10 image/rom

@dancrossnyc
Copy link
Contributor

In conjunction with oxidecomputer/amd-host-image-builder#245, this is working with ahib's xtask.

[snip]

Very cool. The AHIB change you made is now in. It occurs to me somewhat belatedly that one could probably give the relative path to the config file in the app, which would be a nice centralization, but I think we can address that when we move to integrate the app thing directly into ahib itself.

Copy link
Contributor

@dancrossnyc dancrossnyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modulo Josh's comment about the anyhow::anyhow import, this LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants