106 lines
2.3 KiB
Plaintext
106 lines
2.3 KiB
Plaintext
|
/*
|
||
|
* Copyright (C) 2021 Fuzhou Rockchip Electronics Co., Ltd
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
/ {
|
||
|
description = "Rockchip AMP FIT Image";
|
||
|
#address-cells = <1>;
|
||
|
|
||
|
images {
|
||
|
/* ARM cortex-A core */
|
||
|
amp1 {
|
||
|
description = "bare-mental-core1";
|
||
|
data = /incbin/("./amp1.bin");
|
||
|
type = "firmware"; // must be "firmware"
|
||
|
compression = "none";
|
||
|
arch = "arm"; // "arm64" or "arm", the same as U-Boot state
|
||
|
cpu = <0x100>; // mpidr
|
||
|
thumb = <0>; // 0: arm or thumb2; 1: thumb
|
||
|
hyp = <0>; // 0: el1/svc; 1: el2/hyp
|
||
|
load = <0x01800000>;
|
||
|
udelay = <1000000>;
|
||
|
hash {
|
||
|
algo = "sha256";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
amp2 {
|
||
|
description = "bare-mental-core2";
|
||
|
data = /incbin/("./amp2.bin");
|
||
|
type = "firmware";
|
||
|
compression = "none";
|
||
|
arch = "arm";
|
||
|
cpu = <0x200>;
|
||
|
thumb = <0>;
|
||
|
hyp = <0>;
|
||
|
load = <0x03800000>;
|
||
|
udelay = <1000000>;
|
||
|
hash {
|
||
|
algo = "sha256";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
amp3 {
|
||
|
description = "bare-mental-core3";
|
||
|
data = /incbin/("./amp3.bin");
|
||
|
type = "firmware";
|
||
|
compression = "none";
|
||
|
arch = "arm";
|
||
|
cpu = <0x300>;
|
||
|
thumb = <0>;
|
||
|
hyp = <0>;
|
||
|
load = <0x05800000>;
|
||
|
udelay = <1000000>;
|
||
|
hash {
|
||
|
algo = "sha256";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
/* Other core */
|
||
|
amp4 {
|
||
|
description = "standalone-mcu1";
|
||
|
data = /incbin/("./mcu1.bin");
|
||
|
type = "standalone"; // must be "standalone"
|
||
|
compression = "none";
|
||
|
arch = "arm"; // "arm64" or "arm", the same as U-Boot state
|
||
|
load = <0x06800000>;
|
||
|
udelay = <1000000>;
|
||
|
hash {
|
||
|
algo = "sha256";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
configurations {
|
||
|
default = "conf";
|
||
|
conf {
|
||
|
description = "Rockchip AMP images";
|
||
|
rollback-index = <0x0>;
|
||
|
loadables = "amp1", "amp2", "amp3", "amp4";
|
||
|
|
||
|
signature {
|
||
|
algo = "sha256,rsa2048";
|
||
|
padding = "pss";
|
||
|
key-name-hint = "dev";
|
||
|
sign-images = "loadables";
|
||
|
};
|
||
|
|
||
|
/* - run linux on cpu0
|
||
|
* - it is brought up by amp(that run on U-Boot)
|
||
|
* - it is boot entry depends on U-Boot
|
||
|
*/
|
||
|
linux {
|
||
|
description = "linux-os";
|
||
|
arch = "arm64";
|
||
|
cpu = <0x000>;
|
||
|
thumb = <0>;
|
||
|
hyp = <0>;
|
||
|
udelay = <1000000>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|