From fd618f332541bc6631bc2ae0a166e34f92448d93 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Thu, 20 Oct 2022 09:46:27 +0100 Subject: Documentation/mb/starlabs: De-duplicate the building instructions Signed-off-by: Sean Rhodes Change-Id: I20301b3041a62eb416ed61a84544ec4e5cc66c1e Reviewed-on: https://review.coreboot.org/c/coreboot/+/68585 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- .../mainboard/starlabs/common/building.md | 30 ++++++++++++++++++++++ Documentation/mainboard/starlabs/labtop_cml.md | 22 +--------------- Documentation/mainboard/starlabs/labtop_kbl.md | 21 +-------------- Documentation/mainboard/starlabs/lite_glk.md | 22 +--------------- Documentation/mainboard/starlabs/lite_glkr.md | 21 +-------------- Documentation/mainboard/starlabs/starbook_adl.md | 2 ++ Documentation/mainboard/starlabs/starbook_tgl.md | 22 +--------------- 7 files changed, 37 insertions(+), 103 deletions(-) create mode 100644 Documentation/mainboard/starlabs/common/building.md diff --git a/Documentation/mainboard/starlabs/common/building.md b/Documentation/mainboard/starlabs/common/building.md new file mode 100644 index 0000000000..3b9b568b74 --- /dev/null +++ b/Documentation/mainboard/starlabs/common/building.md @@ -0,0 +1,30 @@ +## Building coreboot + +### Preliminaries + +Prior to building coreboot the following files are required: + +#### StarBook series: +* Intel Flash Descriptor file (descriptor.bin) +* Intel Management Engine firmware (me.bin) +* ITE Embedded Controller firmware (ec.bin) + +#### StarLite series: +* Intel Flash Descriptor file (descriptor.bin) +* IFWI Image (ifwi.rom) + +The files listed below are optional: +- Splash screen image in Windows 3.1 BMP format (Logo.bmp) + +These files exist in the correct location in the [StarLabsLtd/blobs](https://github.com/StarLabsLtd/blobs) repo on GitHub which is used in place of the standard 3rdparty/blobs repo. + +### Build + +The following commands will build a working image, where the last two words represent the +series and processor i.e. `lite_glkr`: + +```bash +make distclean +make defconfig KBUILD_DEFCONFIG=configs/config.starlabs_starbook_adl +make +``` diff --git a/Documentation/mainboard/starlabs/labtop_cml.md b/Documentation/mainboard/starlabs/labtop_cml.md index 2f70173bbb..0a493f83a2 100644 --- a/Documentation/mainboard/starlabs/labtop_cml.md +++ b/Documentation/mainboard/starlabs/labtop_cml.md @@ -41,27 +41,7 @@ ## Building coreboot -### Preliminaries - -Prior to building coreboot the following files are required: -* Intel Flash Descriptor file (descriptor.bin) -* Intel Management Engine firmware (me.bin) -* ITE Embedded Controller firmware (ec.bin) - -The files listed below are optional: -- Splash screen image in Windows 3.1 BMP format (Logo.bmp) - -These files exist in the correct location in the StarLabsLtd/blobs repo on GitHub which is used in place of the standard 3rdparty/blobs repo. - -### Build - -The following commands will build a working image: - -```bash -make distclean -make defconfig KBUILD_DEFCONFIG=configs/config.starlabs_labtop_cml -make -``` +Please follow the [Star Labs build instructions](../common/building.md) to build coreboot, using `config.starlabs_labtop_cml` as config file. ## Flashing coreboot diff --git a/Documentation/mainboard/starlabs/labtop_kbl.md b/Documentation/mainboard/starlabs/labtop_kbl.md index 35ff5e3592..f68b95e233 100644 --- a/Documentation/mainboard/starlabs/labtop_kbl.md +++ b/Documentation/mainboard/starlabs/labtop_kbl.md @@ -38,26 +38,7 @@ ## Building coreboot -### Preliminaries - -Prior to building coreboot the following files are required: -* Intel Flash Descriptor file (descriptor.bin) -* Intel Management Engine firmware (me.bin) - -The below are optional: -- Splash screen image in Windows 3.1 BMP format (Logo.bmp) - -These files exist in the correct location in the StarLabsLtd/blobs repo on GitHub which is used in place of the standard 3rdparty/blobs repo. - -### Build - -The following commands will build a working image: - -```bash -make distclean -make defconfig KBUILD_DEFCONFIG=configs/config.starlabs_labtop_kbl -make -``` +Please follow the [Star Labs build instructions](../common/building.md) to build coreboot, using `config.starlabs_labtop_kbl` as config file. ## Flashing coreboot diff --git a/Documentation/mainboard/starlabs/lite_glk.md b/Documentation/mainboard/starlabs/lite_glk.md index 2b475e58e6..6294b451f1 100644 --- a/Documentation/mainboard/starlabs/lite_glk.md +++ b/Documentation/mainboard/starlabs/lite_glk.md @@ -37,27 +37,7 @@ ## Building coreboot -### Preliminaries - -Prior to building coreboot the following files are required: -* Intel Flash Descriptor file (descriptor.bin) -* Intel Management Engine firmware (me.bin) -* ITE Embedded Controller firmware (ec.bin) - -The files listed below are optional: -- Splash screen image in Windows 3.1 BMP format (Logo.bmp) - -These files exist in the correct location in the StarLabsLtd/blobs repo on GitHub which is used in place of the standard 3rdparty/blobs repo. - -### Build - -The following commands will build a working image: - -```bash -make distclean -make defconfig KBUILD_DEFCONFIG=configs/config.starlabs_lite_glk -make -``` +Please follow the [Star Labs build instructions](../common/building.md) to build coreboot, using `config.starlabs_lite_glk` as config file. ## Flashing coreboot diff --git a/Documentation/mainboard/starlabs/lite_glkr.md b/Documentation/mainboard/starlabs/lite_glkr.md index 52e3898cf1..57749d9575 100644 --- a/Documentation/mainboard/starlabs/lite_glkr.md +++ b/Documentation/mainboard/starlabs/lite_glkr.md @@ -37,26 +37,7 @@ ## Building coreboot -### Preliminaries - -Prior to building coreboot the following files are required: -* Intel Flash Descriptor file (descriptor.bin) -* IFWI Image (ifwi.rom) - -The files listed below are optional: -- Splash screen image in Windows 3.1 BMP format (Logo.bmp) - -These files exist in the correct location in the StarLabsLtd/blobs repo on GitHub which is used in place of the standard 3rdparty/blobs repo. - -### Build - -The following commands will build a working image: - -```bash -make distclean -make defconfig KBUILD_DEFCONFIG=configs/config.starlabs_lite_glkr -make -``` +Please follow the [Star Labs build instructions](../common/building.md) to build coreboot, using `config.starlabs_lite_glkr` as config file. ## Flashing coreboot diff --git a/Documentation/mainboard/starlabs/starbook_adl.md b/Documentation/mainboard/starlabs/starbook_adl.md index 8e1a7c2309..814dfc6877 100644 --- a/Documentation/mainboard/starlabs/starbook_adl.md +++ b/Documentation/mainboard/starlabs/starbook_adl.md @@ -40,6 +40,8 @@ ## Building coreboot +Please follow the [Star Labs build instructions](../common/building.md) to build coreboot, using `config.starlabs_starbook_adl` as config file. + ### Preliminaries Prior to building coreboot the following files are required: diff --git a/Documentation/mainboard/starlabs/starbook_tgl.md b/Documentation/mainboard/starlabs/starbook_tgl.md index fe12edcda3..5992d6ca43 100644 --- a/Documentation/mainboard/starlabs/starbook_tgl.md +++ b/Documentation/mainboard/starlabs/starbook_tgl.md @@ -40,27 +40,7 @@ ## Building coreboot -### Preliminaries - -Prior to building coreboot the following files are required: -* Intel Flash Descriptor file (descriptor.bin) -* Intel Management Engine firmware (me.bin) -* ITE Embedded Controller firmware (ec.bin) - -The files listed below are optional: -- Splash screen image in Windows 3.1 BMP format (Logo.bmp) - -These files exist in the correct location in the StarLabsLtd/blobs repo on GitHub which is used in place of the standard 3rdparty/blobs repo. - -### Build - -The following commands will build a working image: - -```bash -make distclean -make defconfig KBUILD_DEFCONFIG=configs/config.starlabs_starbook_tgl -make -``` +Please follow the [Star Labs build instructions](../common/building.md) to build coreboot, using `config.starlabs_starbook_tgl` as config file. ## Flashing coreboot -- cgit v1.2.3