[U-Boot] Exception Level switching seems broken on RK3399

2018-05-19 Thread Vicente Bergas
Hello, I am writing this from a standalone Sapphire board [1], that is, without the Excavator base board. The CPU is the Rockchip RK3399, which implements ARMv8.0-A. Currently the boot process is: 1.- Boot ROM 2.- SPL, provided as closed source binary blob [2] 3.- ATF, closed source binary

Re: [U-Boot] Exception Level switching seems broken on RK3399

2018-05-24 Thread Vicente Bergas
Hello Philipp, your answer is much appreciated. On Thu, May 24, 2018 at 1:07 PM, Dr. Philipp Tomsich <philipp.toms...@theobroma-systems.com> wrote: > Vincente, > >> On 19 May 2018, at 16:58, Vicente Bergas <vice...@gmail.com> wrote: >> >> Hello, >> I

Re: [U-Boot] [PATCH 0/4] rockchip: Reduce prerequisites from the host

2018-06-18 Thread Vicente Bergas
information" and because Philipp thought that it "looks worthwhile": On Fri, 1 Jun 2018 00:37:17 +0200, philipp.tomsich at theobroma-systems.com wrote: >(snip) >> On 1 Jun 2018, at 00:28, Vicente Bergas wrote: >(snip) >> SPL_FIT_GENERATOR and SPL_OF_PLATDATA re

Re: [U-Boot] Exception Level switching seems broken on RK3399

2018-06-01 Thread Vicente Bergas
On Thu, May 24, 2018 at 7:05 PM, Dr. Philipp Tomsich wrote: > Vincente, > > On 24 May 2018, at 18:48, Vicente Bergas wrote: > > Hello Philipp, > your answer is much appreciated. > > On Thu, May 24, 2018 at 1:07 PM, Dr. Philipp Tomsich > wrote: > > Vincente, >

[U-Boot] [PATCH 2/4] rockchip: rk3399: use make_fit_atf instead of make_fit_atf.py

2018-06-01 Thread Vicente Bergas
From: Vicente Bergas Signed-off-by: Vicente Bergas --- configs/evb-rk3399_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index 05ad0da336..69a4cc2239 100644 --- a/configs/evb-rk3399_defconfig +++ b

[U-Boot] [PATCH 3/4] rockchip: rk3399: disable CONFIG_SPL_OF_PLATDATA

2018-06-01 Thread Vicente Bergas
From: Vicente Bergas It has been tested with this option disabled and it works fine. The benefit of doing so is that this is the last dependency on python to build U-Boot for the Sapphire board. Signed-off-by: Vicente Bergas --- configs/evb-rk3399_defconfig | 1 - 1 file changed, 1 deletion

[U-Boot] [PATCH 4/4] rockchip: rk3399: set CONFIG_MKIMAGE_DTC_PATH

2018-06-01 Thread Vicente Bergas
From: Vicente Bergas U-Boot has a built-in dtc. Using it removes one dependency from the host. Signed-off-by: Vicente Bergas --- configs/evb-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index 3f87722866

[U-Boot] [PATCH 0/4] rockchip: Reduce prerequisites from the host

2018-06-01 Thread Vicente Bergas
From: Vicente Bergas This patch series remove the dependency on python and dtc from the host for the Sapphire board. It does not conform to the U-Boot coding style. It has been posted here for informational purposes only. If there is interest in merging it, feel free to modify

[U-Boot] [PATCH 1/4] add make_fit_atf in tools

2018-06-01 Thread Vicente Bergas
From: Vicente Bergas make_fit_atf generates an .its file based on U-Boot and ATF .elf files. It also extracts all loadable sections from ATF. It tries to somewhat mimic the behaviour of arch/arm/mach-rockchip/make_fit_atf.py Signed-off-by: Vicente Bergas --- tools/Makefile | 2