2021-09-18 06:17:52 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
2023-02-28 18:19:09 +00:00
|
|
|
* Copyright (c) Siemens AG, 2020-2022
|
2021-09-18 06:17:52 +00:00
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Jan Kiszka <jan.kiszka@siemens.com>
|
|
|
|
* Chao Zeng <chao.zeng@siemens.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
binman {
|
|
|
|
filename = "flash.bin";
|
|
|
|
pad-byte = <0xff>;
|
|
|
|
size = <0x8c0000>;
|
2023-02-28 18:19:15 +00:00
|
|
|
allow-repack;
|
2021-09-18 06:17:52 +00:00
|
|
|
|
|
|
|
blob-ext@0x000000 {
|
|
|
|
offset = <0x000000>;
|
2023-02-28 18:19:09 +00:00
|
|
|
#ifdef CONFIG_TARGET_IOT2050_A53_PG1
|
|
|
|
filename = "seboot_pg1.bin";
|
|
|
|
#else
|
|
|
|
filename = "seboot_pg2.bin";
|
|
|
|
#endif
|
2021-12-09 16:10:53 +00:00
|
|
|
missing-msg = "iot2050-seboot";
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-28 18:19:11 +00:00
|
|
|
blob@0x180000 {
|
|
|
|
offset = <0x180000>;
|
2021-09-18 06:17:52 +00:00
|
|
|
filename = "tispl.bin";
|
|
|
|
};
|
|
|
|
|
2023-02-28 18:19:11 +00:00
|
|
|
fit@0x380000 {
|
2021-09-18 06:17:52 +00:00
|
|
|
description = "U-Boot for IOT2050";
|
2023-02-28 18:19:10 +00:00
|
|
|
fit,fdt-list = "of-list";
|
2023-02-28 18:19:11 +00:00
|
|
|
offset = <0x380000>;
|
2021-09-18 06:17:52 +00:00
|
|
|
images {
|
|
|
|
u-boot {
|
|
|
|
description = "U-Boot";
|
|
|
|
type = "standalone";
|
|
|
|
arch = "arm64";
|
|
|
|
os = "u-boot";
|
|
|
|
compression = "none";
|
|
|
|
load = <0x80800000>;
|
|
|
|
entry = <0x80800000>;
|
|
|
|
u-boot-nodtb {
|
|
|
|
};
|
2023-02-28 18:19:15 +00:00
|
|
|
hash {
|
|
|
|
algo = "sha256";
|
|
|
|
};
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-28 18:19:10 +00:00
|
|
|
@fdt-SEQ {
|
|
|
|
description = "fdt-NAME";
|
2021-09-18 06:17:52 +00:00
|
|
|
type = "flat_dt";
|
|
|
|
arch = "arm64";
|
|
|
|
compression = "none";
|
2023-02-28 18:19:15 +00:00
|
|
|
hash {
|
|
|
|
algo = "sha256";
|
|
|
|
};
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
2021-09-18 06:17:56 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_WDT_K3_RTI_FW_FILE
|
|
|
|
k3-rti-wdt-firmware {
|
|
|
|
type = "firmware";
|
|
|
|
load = <0x82000000>;
|
|
|
|
arch = "arm";
|
|
|
|
compression = "none";
|
|
|
|
blob-ext {
|
|
|
|
filename = CONFIG_WDT_K3_RTI_FW_FILE;
|
|
|
|
missing-msg = "k3-rti-wdt-firmware";
|
|
|
|
};
|
2023-02-28 18:19:15 +00:00
|
|
|
hash {
|
|
|
|
algo = "sha256";
|
|
|
|
};
|
2021-09-18 06:17:56 +00:00
|
|
|
};
|
|
|
|
#endif
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
2023-02-28 18:19:10 +00:00
|
|
|
default = "@config-DEFAULT-SEQ";
|
|
|
|
@config-SEQ {
|
|
|
|
description = "NAME";
|
2021-09-18 06:17:52 +00:00
|
|
|
firmware = "u-boot";
|
2023-02-28 18:19:10 +00:00
|
|
|
fdt = "fdt-SEQ";
|
2021-09-18 06:17:56 +00:00
|
|
|
#ifdef CONFIG_WDT_K3_RTI_FW_FILE
|
|
|
|
loadables = "k3-rti-wdt-firmware";
|
|
|
|
#endif
|
2023-02-28 18:19:15 +00:00
|
|
|
signature {
|
|
|
|
sign-images = "firmware", "fdt", "loadables";
|
|
|
|
};
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-02-28 18:19:15 +00:00
|
|
|
fdtmap {
|
|
|
|
};
|
|
|
|
|
2021-09-18 06:17:52 +00:00
|
|
|
/* primary env */
|
|
|
|
fill@0x680000 {
|
|
|
|
offset = <0x680000>;
|
|
|
|
size = <0x020000>;
|
|
|
|
fill-byte = [00];
|
|
|
|
};
|
|
|
|
/* secondary env */
|
|
|
|
fill@0x6a0000 {
|
|
|
|
offset = <0x6a0000>;
|
|
|
|
size = <0x020000>;
|
|
|
|
fill-byte = [00];
|
|
|
|
};
|
|
|
|
|
2023-02-28 18:19:11 +00:00
|
|
|
/* OTP update command block */
|
2023-02-28 18:19:18 +00:00
|
|
|
#if CONFIG_IOT2050_EMBED_OTPCMD
|
|
|
|
blob-ext@0x6c0000 {
|
|
|
|
offset = <0x6c0000>;
|
|
|
|
size = <0x010000>;
|
|
|
|
filename = "otpcmd.bin";
|
|
|
|
missing-msg = "iot2050-otpcmd";
|
|
|
|
};
|
|
|
|
#else
|
2023-02-28 18:19:11 +00:00
|
|
|
fill@0x6c0000 {
|
2021-09-18 06:17:52 +00:00
|
|
|
offset = <0x6c0000>;
|
2023-02-28 18:19:11 +00:00
|
|
|
size = <0x010000>;
|
|
|
|
fill-byte = [ff];
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
2023-02-28 18:19:18 +00:00
|
|
|
#endif
|
2021-09-18 06:17:52 +00:00
|
|
|
};
|
|
|
|
};
|