util/mtkheader: Rename to util/mediatek
To allow adding more scripts to the util/mtkheader folder, rename it to util/mediatek. Also update description.md and regenerate Documentation/util.md and util/README.md by util_readme.sh. Change-Id: Ibc6ef9dddc541d2dd471898af431cadde231edca Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87225 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
149f0c750c
commit
38f1e758ff
14 changed files with 17 additions and 12 deletions
|
|
@ -87,9 +87,11 @@ image for testing purposes and for working on firmware. `Bash`
|
|||
* __marvell__ - Add U-Boot boot loader for Marvell ARMADA38X `C`
|
||||
* __[me_cleaner](https://github.com/corna/me_cleaner)__ - Tool for
|
||||
partial deblobbing of Intel ME/TXE firmware images `Python`
|
||||
* __mediatek__
|
||||
* gen-bl-img.py - Generate MediaTek bootloader header.
|
||||
`Python3`
|
||||
* __mma__ - Memory Margin Analysis automation tests `Bash`
|
||||
* __msrtool__ - Dumps chipset-specific MSR registers. `C`
|
||||
* __mtkheader__ - Generate MediaTek bootload header. `Python3`
|
||||
* __nvidia__ - nvidia blob parsers
|
||||
* __nvramtool__ - Reads and writes coreboot parameters and displaying
|
||||
information from the coreboot table in CMOS/NVRAM. `C`
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ BL31_MAKEARGS += PLAT=mt8173
|
|||
|
||||
# Generate the actual coreboot bootblock code
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8173 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8173 sf $< $@
|
||||
|
||||
CPPFLAGS_common += -Isrc/soc/mediatek/mt8173/include
|
||||
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
|
||||
|
|
|
|||
|
|
@ -96,6 +96,6 @@ CPPFLAGS_common += -Isrc/soc/mediatek/mt8183/include
|
|||
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8183 emmc $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8183 emmc $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -81,6 +81,6 @@ $(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
|||
cbfs-files-y += $(DRAM_CBFS)
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8183 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8183 sf $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -91,6 +91,6 @@ $(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
|||
cbfs-files-y += $(DRAM_CBFS)
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8183 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8183 sf $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -39,6 +39,6 @@ ifneq ($(wildcard $($(DRAM_CBFS)-file)),)
|
|||
cbfs-files-y += $(DRAM_CBFS)
|
||||
endif
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8189 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8189 sf $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -83,6 +83,6 @@ $(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
|||
cbfs-files-y += $(DRAM_CBFS)
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8183 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8183 sf $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -101,6 +101,6 @@ $(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
|||
cbfs-files-y += $(DRAM_CBFS)
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8183 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8183 sf $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -135,6 +135,6 @@ $(FSP_RAMSTAGE_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
|
|||
cbfs-files-y += $(FSP_RAMSTAGE_CBFS)
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8196 sf $< $@
|
||||
./util/mediatek/gen-bl-img.py mt8196 sf $< $@
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -78,9 +78,11 @@ image for testing purposes and for working on firmware. `Bash`
|
|||
* __marvell__ - Add U-Boot boot loader for Marvell ARMADA38X `C`
|
||||
* __[me_cleaner](https://github.com/corna/me_cleaner)__ - Tool for
|
||||
partial deblobbing of Intel ME/TXE firmware images `Python`
|
||||
* __mediatek__
|
||||
* gen-bl-img.py - Generate MediaTek bootloader header.
|
||||
`Python3`
|
||||
* __mma__ - Memory Margin Analysis automation tests `Bash`
|
||||
* __msrtool__ - Dumps chipset-specific MSR registers. `C`
|
||||
* __mtkheader__ - Generate MediaTek bootload header. `Python3`
|
||||
* __nvidia__ - nvidia blob parsers
|
||||
* __nvramtool__ - Reads and writes coreboot parameters and displaying
|
||||
information from the coreboot table in CMOS/NVRAM. `C`
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ static int qualcomm_fixup(struct buffer *buffer, size_t offset)
|
|||
}
|
||||
|
||||
/*
|
||||
* MediaTek bootblock.bin layout (see util/mtkheader/gen-bl-img.py):
|
||||
* MediaTek bootblock.bin layout (see util/mediatek/gen-bl-img.py):
|
||||
* header 2048 bytes
|
||||
* gfh info 176 bytes, where bytes 32-35 (in little endian) is the
|
||||
* total size excluding the header (gfh info + data + hash)
|
||||
|
|
|
|||
2
util/mediatek/description.md
Normal file
2
util/mediatek/description.md
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
__mediatek__
|
||||
* gen-bl-img.py - Generate MediaTek bootloader header. `Python3`
|
||||
|
|
@ -1 +0,0 @@
|
|||
Generate MediaTek bootload header. `Python3`
|
||||
Loading…
Add table
Add a link
Reference in a new issue