mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
Merge changes from topic "marvell-a3k-separate-flash-and-uart" into integration
* changes: plat: marvell: armada: a3k: Do not use 'echo -e' in Makefile docs: marvell: Update info about BOOTDEV=SATA
This commit is contained in:
commit
6803d98945
2 changed files with 9 additions and 3 deletions
|
@ -174,6 +174,10 @@ There are several build options:
|
|||
|
||||
- SATA - SATA device boot
|
||||
|
||||
Image needs to be stored at disk LBA 0 or at disk partition with
|
||||
MBR type 0x4d (ASCII 'M' as in Marvell) or at disk partition with
|
||||
GPT name ``MARVELL BOOT PARTITION``.
|
||||
|
||||
- PARTNUM
|
||||
|
||||
For Armada37x0 only, the boot partition number, default is 0.
|
||||
|
|
|
@ -184,9 +184,11 @@ $(BUILD_PLAT)/$(FLASH_IMAGE): $(BUILD_PLAT)/$(BOOT_IMAGE) $(BUILD_PLAT)/wtmi.bin
|
|||
ifeq ($(MARVELL_SECURE_BOOT),1)
|
||||
$(Q)sed -i 's|WTMI_IMG|wtmi.bin|1' $(TIMNCFG)
|
||||
$(Q)sed -i 's|BOOT_IMAGE|$(BOOT_IMAGE)|1' $(TIMNCFG)
|
||||
@echo -e "\n\t=======================================================\n";
|
||||
@echo -e "\t Secure boot. Encrypting wtmi and boot-image \n";
|
||||
@echo -e "\t=======================================================\n";
|
||||
@$(ECHO_BLANK_LINE)
|
||||
@echo "=======================================================";
|
||||
@echo " Secure boot. Encrypting wtmi and boot-image";
|
||||
@echo "=======================================================";
|
||||
@$(ECHO_BLANK_LINE)
|
||||
$(Q)cp $(BUILD_PLAT)/wtmi.bin $(BUILD_PLAT)/wtmi-align.bin
|
||||
$(Q)truncate -s %16 $(BUILD_PLAT)/wtmi-align.bin
|
||||
$(Q)openssl enc -aes-256-cbc -e -in $(BUILD_PLAT)/wtmi-align.bin \
|
||||
|
|
Loading…
Add table
Reference in a new issue