Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rockchip: Convert evb-rk3288 over to use binman
At present this board uses a custom script to produce the .its file. Update it to use binman instead. Binman can create all the images that are needed. Signed-off-by: Simon Glass <sjg@chromium.org>
- Loading branch information
Showing
5 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
*/ | ||
|
||
#include "rockchip-u-boot.dtsi" | ||
#include "rockchip-optee.dtsi" | ||
|
||
/ { | ||
chosen { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* Copyright 2020 Google LLC | ||
*/ | ||
|
||
#include <config.h> | ||
|
||
#if defined(CONFIG_HAS_ROM) && defined(CONFIG_FIT) | ||
&binman { | ||
itb { | ||
filename = "u-boot.itb"; | ||
fit { | ||
fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; | ||
description = "FIT image with OP-TEE support"; | ||
#address-cells = <1>; | ||
|
||
images { | ||
uboot { | ||
description = "U-Boot"; | ||
type = "standalone"; | ||
os = "U-Boot"; | ||
arch = "arm"; | ||
compression = "none"; | ||
load = <CONFIG_SYS_TEXT_BASE>; | ||
|
||
u-boot-nodtb { | ||
}; | ||
}; | ||
optee { | ||
description = "OP-TEE"; | ||
type = "firmware"; | ||
arch = "arm"; | ||
os = "tee"; | ||
compression = "none"; | ||
load = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>; | ||
entry = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>; | ||
|
||
blob-ext { | ||
filename = "tee.bin"; | ||
}; | ||
}; | ||
fdt { | ||
description = CONFIG_SYS_BOARD; | ||
type = "flat_dt"; | ||
compression = "none"; | ||
|
||
u-boot-dtb { | ||
}; | ||
}; | ||
}; | ||
|
||
configurations { | ||
default = "conf"; | ||
conf { | ||
description = CONFIG_SYS_BOARD; | ||
firmware = "optee"; | ||
loadables = "uboot"; | ||
fdt = "fdt"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters