mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
367b1bf2ce
Use external blob otpcmd.bin to replace the 0xff filled OTP programming command block to create a firmware image that provisions the OTP on first boot. This otpcmd.bin is generated from the customer keys using steps described in the meta-iot2050 integration layer for the device. Based on original patch by Baocheng Su. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
59 lines
1.2 KiB
Text
59 lines
1.2 KiB
Text
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) Siemens AG, 2018-2022
|
|
#
|
|
# Authors:
|
|
# Le Jin <le.jin@siemens.com>
|
|
# Jan Kiszka <jan.kiszka@siemens.com>
|
|
|
|
choice
|
|
prompt "Siemens SIMATIC IOT2050 boards"
|
|
optional
|
|
|
|
config TARGET_IOT2050_A53_PG1
|
|
bool "IOT2050 PG1 running on A53"
|
|
select IOT2050_A53_COMMON
|
|
help
|
|
This builds U-Boot for the Product Generation 1 (PG1) of the IOT2050
|
|
devices.
|
|
|
|
config TARGET_IOT2050_A53_PG2
|
|
bool "IOT2050 PG2 running on A53"
|
|
select IOT2050_A53_COMMON
|
|
help
|
|
This builds U-Boot for the Product Generation 2 (PG2) of the IOT2050
|
|
devices.
|
|
|
|
endchoice
|
|
|
|
config IOT2050_A53_COMMON
|
|
bool
|
|
select ARM64
|
|
select SOC_K3_AM654
|
|
select BOARD_LATE_INIT
|
|
select SYS_DISABLE_DCACHE_OPS
|
|
select BINMAN
|
|
|
|
if IOT2050_A53_COMMON
|
|
|
|
config SYS_BOARD
|
|
default "iot2050"
|
|
|
|
config SYS_VENDOR
|
|
default "siemens"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "iot2050"
|
|
|
|
config IOT2050_BOOT_SWITCH
|
|
bool "Disable eMMC boot via USER button (Advanced version only)"
|
|
default y
|
|
|
|
config IOT2050_EMBED_OTPCMD
|
|
bool "Embed OTP programming data"
|
|
help
|
|
Embed signed OTP programming data 'otpcmd.bin' into the firmware
|
|
image. This data will be evaluated and executed on first boot of the
|
|
device.
|
|
|
|
endif
|