Message ID | 1504664087-26473-9-git-send-email-kever.yang@rock-chips.com |
---|---|
State | Superseded |
Delegated to: | Philipp Tomsich |
Headers | show |
Series | rockchip: add tpl and OPTEE support for rk3229 | expand |
On 5 September 2017 at 20:14, Kever Yang <kever.yang@rock-chips.com> wrote: > We package U-Boot and OP-TEE into one itb file for SPL, > so that we can support OP-TEE in SPL. > > Signed-off-by: Kever Yang <kever.yang@rock-chips.com> > --- > > board/rockchip/evb_rk3229/fit_spl_optee.its | 48 +++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its > > diff --git a/board/rockchip/evb_rk3229/fit_spl_optee.its b/board/rockchip/evb_rk3229/fit_spl_optee.its > new file mode 100644 > index 0000000..ed93d44 > --- /dev/null > +++ b/board/rockchip/evb_rk3229/fit_spl_optee.its > @@ -0,0 +1,48 @@ > +/* > + * Copyright (C) 2017 Rockchip Electronic Co.,Ltd > + * > + * Simple U-boot fit source file containing U-Boot, dtb and optee U-Boot otherwise: Reviewed-by: Simon Glass <sjg@chromium.org> > + */ > + > +/dts-v1/; > + > +/ { > + description = "Simple image with OP-TEE support"; > + #address-cells = <1>; > + > + images { > + uboot@1 { > + description = "U-Boot"; > + data = /incbin/("../../../u-boot-nodtb.bin"); > + type = "standalone"; > + arch = "arm"; > + compression = "none"; > + load = <0x61000000>; > + }; > + optee@1 { > + description = "ARM Trusted Firmware"; > + data = /incbin/("../../../tee.bin"); > + type = "firmware"; > + arch = "arm"; > + compression = "none"; > + load = <0x68400000>; > + entry = <0x68400000>; > + }; > + fdt@1 { > + description = "rk3229 dtb"; > + data = /incbin/("../../../u-boot.dtb"); > + type = "flat_dt"; > + compression = "none"; > + }; > + }; > + > + configurations { > + default = "conf@1"; > + conf@1 { > + description = "RK3399 evb"; > + firmware = "uboot@1"; > + loadables = "optee@1"; > + fdt = "fdt@1"; > + }; > + }; > +}; > -- > 1.9.1 >
> We package U-Boot and OP-TEE into one itb file for SPL, > so that we can support OP-TEE in SPL. > > Signed-off-by: Kever Yang <kever.yang@rock-chips.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > --- > > board/rockchip/evb_rk3229/fit_spl_optee.its | 48 +++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its > Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> We package U-Boot and OP-TEE into one itb file for SPL, > so that we can support OP-TEE in SPL. > > Signed-off-by: Kever Yang <kever.yang@rock-chips.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > --- > > board/rockchip/evb_rk3229/fit_spl_optee.its | 48 +++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its > Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
diff --git a/board/rockchip/evb_rk3229/fit_spl_optee.its b/board/rockchip/evb_rk3229/fit_spl_optee.its new file mode 100644 index 0000000..ed93d44 --- /dev/null +++ b/board/rockchip/evb_rk3229/fit_spl_optee.its @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2017 Rockchip Electronic Co.,Ltd + * + * Simple U-boot fit source file containing U-Boot, dtb and optee + */ + +/dts-v1/; + +/ { + description = "Simple image with OP-TEE support"; + #address-cells = <1>; + + images { + uboot@1 { + description = "U-Boot"; + data = /incbin/("../../../u-boot-nodtb.bin"); + type = "standalone"; + arch = "arm"; + compression = "none"; + load = <0x61000000>; + }; + optee@1 { + description = "ARM Trusted Firmware"; + data = /incbin/("../../../tee.bin"); + type = "firmware"; + arch = "arm"; + compression = "none"; + load = <0x68400000>; + entry = <0x68400000>; + }; + fdt@1 { + description = "rk3229 dtb"; + data = /incbin/("../../../u-boot.dtb"); + type = "flat_dt"; + compression = "none"; + }; + }; + + configurations { + default = "conf@1"; + conf@1 { + description = "RK3399 evb"; + firmware = "uboot@1"; + loadables = "optee@1"; + fdt = "fdt@1"; + }; + }; +};
We package U-Boot and OP-TEE into one itb file for SPL, so that we can support OP-TEE in SPL. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> --- board/rockchip/evb_rk3229/fit_spl_optee.its | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its