From 8dd1a24504ac438e9a8a0826b531976d9bc72067 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Thu, 25 Aug 2022 18:33:23 +0300 Subject: download/u-boot: Prepare files per board instead of per revision The U-Boot download script is designed to help with releasing u-boot-libre and it can only prepare a generic U-Boot v2021.07 tree. However, we will need to build board-specific versions of U-Boot to be able to use it as a coreboot payload effectively. As a first step toward that, make the download script prepare per-board copies of U-Boot v2021.07. Then, add a 'v2021.07' pseudo-board for the u-boot-libre release script to work on. The u-boot-libre deblob script hash ends up chaning due to copying my author attribution from the download script, update its hash. Signed-off-by: Alper Nebi Yasak --- resources/u-boot/v2021.07/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/u-boot/v2021.07/.gitkeep (limited to 'resources/u-boot/v2021.07') diff --git a/resources/u-boot/v2021.07/.gitkeep b/resources/u-boot/v2021.07/.gitkeep new file mode 100644 index 00000000..e69de29b -- cgit v1.2.1 From 7b552bd29992e423755e0306ea115f726854cbf0 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Thu, 25 Aug 2022 20:07:27 +0300 Subject: download/u-boot: Support reading tree and revision from board.cfg Boards may want to specify a board-specific U-Boot revision. At the very least, pseudo-boards for u-boot-libre releases will need to specify their U-Boot versions somehow. Copy the existing mechanism from download/coreboot for specifying build info with board.cfg files. Specify the commit hash for the 'v2021.07' pseudo-board, and 'master' as the default. Signed-off-by: Alper Nebi Yasak --- resources/u-boot/v2021.07/.gitkeep | 0 resources/u-boot/v2021.07/board.cfg | 2 ++ 2 files changed, 2 insertions(+) delete mode 100644 resources/u-boot/v2021.07/.gitkeep create mode 100644 resources/u-boot/v2021.07/board.cfg (limited to 'resources/u-boot/v2021.07') diff --git a/resources/u-boot/v2021.07/.gitkeep b/resources/u-boot/v2021.07/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/resources/u-boot/v2021.07/board.cfg b/resources/u-boot/v2021.07/board.cfg new file mode 100644 index 00000000..4bddc10c --- /dev/null +++ b/resources/u-boot/v2021.07/board.cfg @@ -0,0 +1,2 @@ +ubtree="v2021.07" +ubrevision="840658b093976390e9537724f802281c9c8439f5" # v2021.07 -- cgit v1.2.1