Re: [U-Boot] [PATCH v2 3/8] binman: Add a new "skip-at-start" property in Section class

2018-08-30 Thread Jagdish Gediya
Hi, > -Original Message- > From: s...@google.com On Behalf Of Simon Glass > Sent: Thursday, August 30, 2018 8:21 AM > To: Jagdish Gediya > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; York Sun ; Poonam > Aggrwal ; Bin Meng ; > Tom Rini > Subject: Re: [PATCH v2 3/8] binman: Add a

Re: [U-Boot] [PATCH v6 1/8] dm: mmc: use block layer in mmc driver

2018-08-30 Thread York Sun
Cannot merge at this moment. It has to wait for next merge window. York York From: Yinbo Zhu Sent: Thursday, August 30, 2018 19:44 To: York Sun; Y.b. Lu; u-boot@lists.denx.de Cc: Xiaobo Xie; Andy Tang; Peng Ma Subject: RE: [PATCH v6 1/8] dm: mmc: use block

Re: [U-Boot] [PATCH v6 1/8] dm: mmc: use block layer in mmc driver

2018-08-30 Thread Yinbo Zhu
Hi York, My v8 version patch could you give me some advice? Some sata patch need rely on it to upstream, so if no other issue, could you help me merge it to upstream code Thanks Best Regards, Yinbo Zhu -Original Message- From: Yinbo Zhu Sent: 2018年8月23日 11:10 To: York Sun ; Y.b. Lu ;

[U-Boot] [PATCH V3 3/3] Revert "Revert "efi_loader: efi_allocate_pages is too restrictive""

2018-08-30 Thread Stephen Warren
From: Stephen Warren This reverts commit ccfc78b820e5e431c5bd73b072e7536a972e1710. Now that the underlying issue is fixed, we can revert the revert and hence restore the original EFI code. Signed-off-by: Stephen Warren --- v3: No change. v2: No change. --- lib/efi_loader/efi_memory.c | 2 +-

[U-Boot] [PATCH V3 2/3] ARM: tegra: reserve unmapped RAM so EFI doesn't use it

2018-08-30 Thread Stephen Warren
From: Stephen Warren Tegra U-Boot ensures that board_get_usable_ram_top() never returns a value over 4GB, since some peripherals can't access such addresses. However, on systems with more than 2GB of RAM, RAM bank 1 does describe this extra RAM, so that Linux (or whatever OS) can use it, subject

[U-Boot] [PATCH V3 1/3] efi_loader: simplify ifdefs

2018-08-30 Thread Stephen Warren
From: Stephen Warren Use CONFIG_IS_ENABLED(EFI_LOADER) to avoid explicitly checking CONFIG_SPL too. This simplifies the conditional. Signed-off-by: Stephen Warren --- v3: New patch. --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +-

Re: [U-Boot] [PULL] u-boot-sh/master

2018-08-30 Thread Tom Rini
On Thu, Aug 30, 2018 at 04:11:36PM +0200, Marek Vasut wrote: > The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: > > configs: am57xx: change default board name to beagle_x15 (2018-08-26 > 12:26:16 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] u-boot-usb/master

2018-08-30 Thread Tom Rini
On Thu, Aug 30, 2018 at 03:35:19PM +0200, Marek Vasut wrote: > The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: > > configs: am57xx: change default board name to beagle_x15 (2018-08-26 > 12:26:16 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Please pull u-boot-x86

2018-08-30 Thread Tom Rini
On Thu, Aug 30, 2018 at 11:33:37AM +0800, Bin Meng wrote: > Hi Tom, > > This includes a small x86 efi payload enhancement to support booting > Linux, as well as a clean up on kernel boot protocol setup parameters > to match upstream and avoid confusion. > > The following changes since commit

Re: [U-Boot] [PATCH V2 1/2] ARM: tegra: reserve unmapped RAM so EFI doesn't use it

2018-08-30 Thread Alexander Graf
On 30.08.18 17:45, Stephen Warren wrote: > On 08/30/2018 12:43 AM, Alexander Graf wrote: >> >> >> On 29.08.18 23:52, Heinrich Schuchardt wrote: >>> On 08/29/2018 11:34 PM, Stephen Warren wrote: From: Stephen Warren Tegra U-Boot ensures that board_get_usable_ram_top() never

Re: [U-Boot] [U-Boot, 6/8] rockchip: rk3288: use ARM arch timer instead of rk_timer

2018-08-30 Thread Philipp Tomsich
On Wed, 18 Apr 2018, Kever Yang wrote: We prefer to use ARM arch timer instead of rockchip timer, so that we are using the same timer for SPL, U-Boot and Kernel, which will make things simple and easy to track to boot time. Signed-off-by: Kever Yang Same comments as for the other patches

Re: [U-Boot] [U-Boot, 5/8] rockchip: rk3036: use ARM arch timer instead of rk_timer

2018-08-30 Thread Philipp Tomsich
On Wed, 18 Apr 2018, Kever Yang wrote: We prefer to use ARM arch timer instead of rockchip timer, so that we are using the same timer for SPL, U-Boot and Kernel, which will make things simple and easy to track the boot time. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Makefile

[U-Boot] [PATCH 11/13] pico-imx6ul: Sync README with pico-imx7d

2018-08-30 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- board/technexion/pico-imx6ul/README | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/board/technexion/pico-imx6ul/README b/board/technexion/pico-imx6ul/README index a5415714ee..66dc977d49 100644 ---

[U-Boot] [PATCH 10/13] pico-imx6ul: Improve default DFU settings

2018-08-30 Thread Otavio Salvador
This rework the DFU settings so it supports the SPL and U-Boot image, as well as the single partition layout we are using by default. Signed-off-by: Otavio Salvador --- include/configs/pico-imx6ul.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 13/13] pico-imx6ul: Remove CONFIG_FSL_USDHC from .h

2018-08-30 Thread Otavio Salvador
The FSL_USDHC support is now handled by Kconfig and it is enabled on the respective `defconfig` so the setting in .h is pointless. Signed-off-by: Otavio Salvador --- include/configs/pico-imx6ul.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/pico-imx6ul.h

[U-Boot] [PATCH 08/13] pico-imx6ul: Sync defconfig with new changes

2018-08-30 Thread Otavio Salvador
Due the changes in previous commits, we need to resync the defconfig to reduce noise in next commits. Signed-off-by: Otavio Salvador --- configs/pico-imx6ul_defconfig | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/configs/pico-imx6ul_defconfig

[U-Boot] [PATCH 07/13] pico-imx6ul: Update the README file

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam Update the README file to take into accound the switch to SPL. Signed-off-by: Fabio Estevam Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- board/technexion/pico-imx6ul/README | 26 -- 1 file changed, 20 insertions(+), 6

[U-Boot] [PATCH 09/13] pico-imx6ul: Add bootmenu to choose the baseboard

2018-08-30 Thread Otavio Salvador
Currently the baseboards do not offer a way to autodetect which one is in use, so we ask the user if no value has been set. Signed-off-by: Otavio Salvador --- configs/pico-imx6ul_defconfig | 5 +++-- include/configs/pico-imx6ul.h | 10 ++ 2 files changed, 13 insertions(+), 2

[U-Boot] [PATCH 04/13] pico-imx6ul: Add bmode support

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam The 'bmode' command is helpful for switching the boot media. In the case of pico-imx6ul there are two possible boot media: eMMC or USB. To boot from eMMC: => bmode emmc To boot from USB (via Serial Download Protocol): => bmode usb Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 12/13] pico-imx6ul: Add new pico-hobbit config

2018-08-30 Thread Otavio Salvador
The new config skips the boot menu which asks which board is in use. This is useful to allow direct booting of image without user iteration. Signed-off-by: Otavio Salvador --- board/technexion/pico-imx6ul/MAINTAINERS | 5 +++ configs/pico-hobbit-imx6ul_defconfig | 53

[U-Boot] [PATCH 06/13] pico-imx7d: Update the README file

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam Update the README file to take into accound the switch to SPL. Signed-off-by: Fabio Estevam Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- board/technexion/pico-imx7d/README | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-)

[U-Boot] [PATCH 05/13] pico-imx6ul: Add support for the 512MB module

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam Currently only the module with 256MB of RAM is supported. Add support for the 512MB of RAM variant as well. Signed-off-by: Fabio Estevam Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- board/technexion/pico-imx6ul/spl.c | 27 ---

[U-Boot] [PATCH 02/13] pico-imx6ul: Convert to SPL

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam There are two versions of imx6ul pico SOMs: one with 256MB and another one with 512MB of RAM. Convert to SPL so that both versions can be supported. Currently only the 256MB is tested/supported. Signed-off-by: Fabio Estevam Signed-off-by: Fabio Berton Signed-off-by:

[U-Boot] [PATCH 03/13] pico-imx6ul: Add fastboot support

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam fastboot tool is a convenient way to flash the eMMC, so add support for it. Examples of usages: On the pico-imx6ul U-Boot prompt: => fastboot 0 On the Linux PC connected via USB: 1. Retrieving the U-Boot version $ sudo fastboot getvar bootloader-version -i 0x0525

[U-Boot] [PATCH 01/13] pico-imx6ul: Convert to distro config

2018-08-30 Thread Otavio Salvador
From: Fabio Estevam Instead of keeping a custom environment, use a more generic approach by switching to disto config. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- configs/pico-imx6ul_defconfig | 2 + include/configs/pico-imx6ul.h | 69 ++-

Re: [U-Boot] [PATCH V2 1/2] ARM: tegra: reserve unmapped RAM so EFI doesn't use it

2018-08-30 Thread Stephen Warren
On 08/30/2018 12:43 AM, Alexander Graf wrote: On 29.08.18 23:52, Heinrich Schuchardt wrote: On 08/29/2018 11:34 PM, Stephen Warren wrote: From: Stephen Warren Tegra U-Boot ensures that board_get_usable_ram_top() never returns a value over 4GB, since some peripherals can't access such

Re: [U-Boot] [PATCH v2 13/15] optee: support routing of rpmb data frames to mmc

2018-08-30 Thread Jens Wiklander
Hi Simon, On Wed, Aug 29, 2018 at 06:29:12PM -0600, Simon Glass wrote: > Hi Jens, > > On 23 August 2018 at 04:43, Jens Wiklander wrote: > > Adds support in optee supplicant to route signed (MACed) RPMB frames > > from OP-TEE Secure OS to MMC and vice versa to manipulate the RPMB > > partition.

[U-Boot] [PULL] u-boot-sh/master

2018-08-30 Thread Marek Vasut
The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: configs: am57xx: change default board name to beagle_x15 (2018-08-26 12:26:16 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to

[U-Boot] [PULL] u-boot-usb/master

2018-08-30 Thread Marek Vasut
The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: configs: am57xx: change default board name to beagle_x15 (2018-08-26 12:26:16 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH V2 1/2] pci: Support parsing PCI controller DT subnodes

2018-08-30 Thread Marek Vasut
On 08/30/2018 03:32 PM, Bin Meng wrote: > Hi Marek, > > On Thu, Aug 30, 2018 at 1:07 AM Marek Vasut wrote: >> >> On 08/29/2018 05:15 PM, Bin Meng wrote: >>> +Simon >>> >>> Hi Marek, >>> >>> On Wed, Aug 29, 2018 at 10:22 PM Marek Vasut wrote: On 08/24/2018 08:27 PM, Marek Vasut wrote:

[U-Boot] [PATCH 04/11] sh: tmu: Simplify the tmu_bit math

2018-08-30 Thread Marek Vasut
The tmu_bit value evaluates to (ffs(4) >> 1) - 1 = (3 >> 1) - 1 = 0. Just drop the tmu_bit completely as well as CONFIG_SYS_TMU_CLK_DIV. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/sh/lib/time.c

[U-Boot] [PATCH 10/11] sh: tmu: Zap get_tbclk and timer_read_counter

2018-08-30 Thread Marek Vasut
Replace those two functions with generic ones by defining the timer macros in include/config/*.h . Signed-off-by: Marek Vasut --- arch/sh/include/asm/config.h | 9 + arch/sh/lib/time.c | 16 include/configs/armadillo-800eva.h | 3 +++

[U-Boot] [PATCH 11/11] ARM: rmobile: Repair TMU clock on Gen2

2018-08-30 Thread Marek Vasut
The Gen2 TMU is fed with fixed 32.5 MHz signal from CP . This is then divided by 4 in TMU. Fix the timer clock setting in Gen2. Signed-off-by: Marek Vasut --- include/configs/rcar-gen2-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 09/11] sh: tmu: Clean up register usage

2018-08-30 Thread Marek Vasut
The code uses all in all three TMU registers, drop the massive register layout structures and just define the required timer registers and use them throughout the code. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 54 ++ 1 file changed, 11

[U-Boot] [PATCH 07/11] sh: tmu: Clean up CONFIG_SH_TMU_CLK_FREQ

2018-08-30 Thread Marek Vasut
The R-Car Gen2 feeds the TMU with CONFIG_SYS_CLK_FREQ / 2, while the old SH parts use CONFIG_SYS_CLK_FREQ directly. Just put this into the TMU implementation and drop the CONFIG_SH_TMU_CLK_FREQ config option. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 6 +-

[U-Boot] [PATCH 08/11] sh: tmu: Inline sh_tmu.h

2018-08-30 Thread Marek Vasut
The header contains only the TMU register layout, just inline it into the TMU timer implementation and drop the header completely. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 43 +++- include/sh_tmu.h | 70 -- 2 files

[U-Boot] [PATCH 06/11] sh: tmu: Inline get_tmu0_clk_rate()

2018-08-30 Thread Marek Vasut
This function just returns CONFIG_SH_TMU_CLK_FREQ, use the constant directly instead. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 2 +- include/sh_tmu.h | 5 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/sh/lib/time.c b/arch/sh/lib/time.c index

[U-Boot] [PATCH 05/11] sh: tmu: Inline tmu_timer_{start,stop}()

2018-08-30 Thread Marek Vasut
These functions are always called for timer = 0, so drop the timer check. Since these functions are called from one place only and they are reduced to one line of code, just inline them. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 20 +++- 1 file changed, 3

[U-Boot] [PATCH 02/11] sh: sh7724: Drop EDMR macro

2018-08-30 Thread Marek Vasut
Drop the macro as it is never used and it collides with sh_eth.h macros. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/sh/include/asm/cpu_sh7724.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sh/include/asm/cpu_sh7724.h b/arch/sh/include/asm/cpu_sh7724.h index

[U-Boot] [PATCH 03/11] sh: tmu: Clean up CONFIG_SYS_TMU_CLK_DIV

2018-08-30 Thread Marek Vasut
This constant is always 4 , for all boards that exist. Define it once in arch/sh/lib/time.c and remove it from the configs. Signed-off-by: Marek Vasut --- arch/sh/lib/time.c | 1 + include/configs/MigoR.h| 1 - include/configs/alt.h | 1 -

[U-Boot] [PATCH 01/11] sh: sh7723: ap325rxa: Drop duplicate HIZCRB macro

2018-08-30 Thread Marek Vasut
Drop the macro as it is defined in sh7723.h already. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/ap325rxa/cpld-ap325rxa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/renesas/ap325rxa/cpld-ap325rxa.c

Re: [U-Boot] [PATCH V2 1/2] pci: Support parsing PCI controller DT subnodes

2018-08-30 Thread Bin Meng
Hi Marek, On Thu, Aug 30, 2018 at 1:07 AM Marek Vasut wrote: > > On 08/29/2018 05:15 PM, Bin Meng wrote: > > +Simon > > > > Hi Marek, > > > > On Wed, Aug 29, 2018 at 10:22 PM Marek Vasut wrote: > >> > >> On 08/24/2018 08:27 PM, Marek Vasut wrote: > >>> The PCI controller can have DT subnodes

[U-Boot] [PATCH] mmc: renesas-sdhi: Use priv directly

2018-08-30 Thread Marek Vasut
The dev_get_priv(dev) is used twice in the probe function. Replace the second invocation with priv variable. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Nobuhiro Iwamatsu --- drivers/mmc/renesas-sdhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH v2 05/15] Add UCLASS_TEE for Trusted Execution Environment

2018-08-30 Thread Jens Wiklander
On Wed, Aug 29, 2018 at 06:28:48PM -0600, Simon Glass wrote: > Hi Jens, > > On 23 August 2018 at 04:43, Jens Wiklander wrote: > > Adds a uclass to interface with a TEE (Trusted Execution Environment). > > > > A TEE driver is a driver that interfaces with a trusted OS running in > > some secure

[U-Boot] [PATCH] travis: Use kernel.org pre-built toolchain for riscv

2018-08-30 Thread Bin Meng
This updates travis configuration to use kernel.org pre-built toolchain for riscv. Signed-off-by: Bin Meng --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4db629d..95cfa5b 100644 --- a/.travis.yml +++ b/.travis.yml @@

Re: [U-Boot] [PATCH v6 00/31] SPI-NAND support

2018-08-30 Thread Miquel Raynal
Hello, Miquel Raynal wrote on Fri, 17 Aug 2018 10:38:46 +0200: > Hi Tom, Jagan, > > Boris Brezillon wrote on Thu, 16 Aug 2018 > 18:58:58 +0200: > > > Tom, Jagan, > > > > On Thu, 16 Aug 2018 17:29:58 +0200 > > Miquel Raynal wrote: > > > > > During the last months, Boris Brezillon shared

Re: [U-Boot] [PATCH V2 2/2] pci: Update documentation to make 'compatible' string optional

2018-08-30 Thread Marek Vasut
On 08/30/2018 02:29 AM, Simon Glass wrote: > Hi Marek, Hi, > On 24 August 2018 at 12:27, Marek Vasut wrote: >> Reword the documentation to make it clear the compatible string is now >> optional, yet still matching on it takes precedence over PCI IDs and >> PCI classes. >> >> Signed-off-by:

Re: [U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-30 Thread Marek Vasut
On 08/30/2018 02:45 AM, Ley Foon Tan wrote: > On Wed, Aug 29, 2018 at 7:57 PM Marek Vasut wrote: >> >> On 08/29/2018 10:44 AM, Ley Foon Tan wrote: >>> Add code to reset all reset signals as in gpio DT node. A reset property >>> is an optional feature, so only print out a warning and do not fail

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-30 Thread Marek Vasut
On 08/30/2018 02:29 AM, Simon Glass wrote: > Hi Marek, Hi, [...] >>> If you have both EHCI and a xHCI controller which can occupy the same >>> BFD, then how would you supply in the DT options needed by the >>> controller itself? Don't you need two nodes in that case? >> >> For the PHY case,

Re: [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest

2018-08-30 Thread Tuomas Tynkkynen
Hi Heinrich, Takahiro On 08/30/2018 01:26 PM, AKASHI Takahiro wrote: On Thu, Aug 30, 2018 at 12:01:32PM +0200, Heinrich Schuchardt wrote: On 08/30/2018 08:52 AM, AKASHI Takahiro wrote: On Wed, Aug 29, 2018 at 11:36:51PM +0200, Heinrich Schuchardt wrote: On 08/23/2018 09:25 AM, AKASHI

Re: [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest

2018-08-30 Thread AKASHI Takahiro
On Thu, Aug 30, 2018 at 12:01:32PM +0200, Heinrich Schuchardt wrote: > On 08/30/2018 08:52 AM, AKASHI Takahiro wrote: > > On Wed, Aug 29, 2018 at 11:36:51PM +0200, Heinrich Schuchardt wrote: > >> On 08/23/2018 09:25 AM, AKASHI Takahiro wrote: > >>> In this commit, the same set of test cases as in

Re: [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest

2018-08-30 Thread Heinrich Schuchardt
On 08/30/2018 08:52 AM, AKASHI Takahiro wrote: > On Wed, Aug 29, 2018 at 11:36:51PM +0200, Heinrich Schuchardt wrote: >> On 08/23/2018 09:25 AM, AKASHI Takahiro wrote: >>> In this commit, the same set of test cases as in test/fs/fs-test.sh >>> is provided using pytest framework. >>> Actually,

Re: [U-Boot] [U-Boot, 3/8] rockchip: rk322x: use ARM arch timer instead of rk_timer

2018-08-30 Thread Philipp Tomsich
On Wed, 18 Apr 2018, Kever Yang wrote: We prefer to use ARM arch timer instead of rockchip timer, so that we are using the same timer for SPL, U-Boot and Kernel, which will make things simple and easy to track to boot time. Signed-off-by: Kever Yang See below for requested changes. ---

Re: [U-Boot] [U-Boot, 1/8] rockchip: add STIMER_BASE for Rockchip SoCs

2018-08-30 Thread Philipp Tomsich
On Wed, 18 Apr 2018, Kever Yang wrote: Most of Rockchip SoCs have ARM arch/generic timer whose clock source is from one of secure timer(if the soc supports Trust environment). STIMER can only access in secure mode, so it should be init before the proper U-Boot(usually in non-secure mode).

Re: [U-Boot] [U-Boot,8/8] rockchip: remove unused rk_timer.c

2018-08-30 Thread Philipp Tomsich
> All other SoCs have conver to use ARM arch timer or Rockchip DM timer, > so we can remove rk_timer.c now. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk_timer.c | 48 > --- > 1 file changed, 48 deletions(-) > delete mode 100644

Re: [U-Boot] [U-Boot, 7/8] rockchip: rk3128: use ARM arch timer instead of rk_timer

2018-08-30 Thread Philipp Tomsich
> We prefer to use ARM arch timer instead of rockchip timer, so that > we are using the same timer for SPL, U-Boot and Kernel, which will > make things simple and easy to track to boot time. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Makefile | 6 -- >

Re: [U-Boot] [U-Boot, 4/8] rockchip: rk3036: sdram: use udelay instead of rockchip_udelay

2018-08-30 Thread Philipp Tomsich
> Use system api for udelay instead of vendor defined api, > and rockchip_udelay() will be removed. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3036/sdram_rk3036.c | 19 +-- > 1 file changed, 9 insertions(+), 10 deletions(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 2/8] rockchip: rk322x: sdram: use udelay instead of rockchip_udelay

2018-08-30 Thread Philipp Tomsich
> Use system api for udelay instead of vendor defined api, > and rockchip_udelay() will be removed. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk322x.c | 29 ++--- > 1 file changed, 14 insertions(+), 15 deletions(-) > Reviewed-by: Philipp

[U-Boot] [PATCH 11/12] riscv: kconfig: Select DM and OF_CONTROL

2018-08-30 Thread Bin Meng
RISC-V is a pretty new architecture and should support DM and OF_CONTROL by default. Signed-off-by: Bin Meng --- arch/Kconfig | 3 +++ configs/ax25-ae350_defconfig | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index

[U-Boot] [PATCH 07/12] riscv: Explicitly pass -march and -mabi to the compiler

2018-08-30 Thread Bin Meng
At present the compiler flag against which architecture and abi variant the riscv image is built for is not explicitly indicated which means the default compiler configuration is used. But this does not work if we want to build a different target (eg: 32-bit riscv images using a toolchain

[U-Boot] [PATCH 09/12] riscv: Make start.S available for all targets

2018-08-30 Thread Bin Meng
Currently start.S is inside arch/riscv/cpu/ax25/, but it can be common for all RISC-V targets. Signed-off-by: Bin Meng --- arch/riscv/Makefile | 2 +- arch/riscv/cpu/Makefile | 2 ++ arch/riscv/cpu/ax25/Makefile | 2 -- arch/riscv/cpu/{ax25 => }/start.S | 0

[U-Boot] [PATCH 10/12] riscv: ae350: Clean up mixed tabs and spaces in the dts

2018-08-30 Thread Bin Meng
There are quite a lot of mixed tabs and spaces in the ae350.dts. Clean them up. Signed-off-by: Bin Meng --- arch/riscv/dts/ae350.dts | 177 --- 1 file changed, 90 insertions(+), 87 deletions(-) diff --git a/arch/riscv/dts/ae350.dts

[U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-08-30 Thread Bin Meng
This adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V. The QEMU virt machine models a generic RISC-V virtual machine with support for the VirtIO standard networking and block storage devices. It has CLINT, PLIC, 16550A UART devices in

[U-Boot] [PATCH 06/12] riscv: Fix coding style issues in the linker script

2018-08-30 Thread Bin Meng
There are several coding style issues in the linker script. Fix them. Signed-off-by: Bin Meng --- arch/riscv/cpu/u-boot.lds | 58 +++ 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/arch/riscv/cpu/u-boot.lds

[U-Boot] [PATCH 08/12] riscv: Add a helper routine to print CPU information

2018-08-30 Thread Bin Meng
This adds a helper routine to print CPU information. Currently it prints all the instruction set extensions that the processor core supports. Signed-off-by: Bin Meng --- arch/riscv/Makefile | 1 + arch/riscv/cpu/Makefile | 5 ++ arch/riscv/cpu/cpu.c | 49

[U-Boot] [PATCH 03/12] riscv: bootm: Correct the 1st kernel argument to hart id

2018-08-30 Thread Bin Meng
The first argument of Linux kernel is the risc-v core hart id, from which the kernel is booted from. It is not the mach_id, which seems to be copied from arm. Signed-off-by: Bin Meng --- arch/riscv/lib/bootm.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff

[U-Boot] [PATCH 05/12] riscv: Move the linker script to the CPU root directory

2018-08-30 Thread Bin Meng
The linker script can be shared by all RISC-V targets. Move it to a common place. Signed-off-by: Bin Meng --- arch/riscv/cpu/{ax25 => }/u-boot.lds | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename arch/riscv/cpu/{ax25 => }/u-boot.lds (100%) diff --git

[U-Boot] [PATCH 04/12] riscv: Remove mach type

2018-08-30 Thread Bin Meng
Since the mach_id is not used by RISC-V, remove it. Signed-off-by: Bin Meng --- arch/riscv/include/asm/mach-types.h | 29 - arch/riscv/include/asm/u-boot.h | 1 - board/AndesTech/ax25-ae350/ax25-ae350.c | 2 -- cmd/bdinfo.c|

[U-Boot] [PATCH 02/12] riscv: Remove setup.h

2018-08-30 Thread Bin Meng
This was copied from ARM, and does not apply to RISC-V. While we are here, bootm.h is eventually removed as its content is only the inclusion of setup.h. Signed-off-by: Bin Meng --- arch/riscv/include/asm/bootm.h | 13 --- arch/riscv/include/asm/setup.h | 194

[U-Boot] [PATCH 01/12] riscv: kconfig: Normalize architecture name spelling

2018-08-30 Thread Bin Meng
It's RISC-V that is the official name, not RISCV. Signed-off-by: Bin Meng --- arch/Kconfig | 2 +- arch/riscv/Kconfig | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index bf1b4a9..42c23b5 100644 --- a/arch/Kconfig +++ b/arch/Kconfig

[U-Boot] [PATCH 00/12] riscv: Add QEMU virt board support

2018-08-30 Thread Bin Meng
This series adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V. Some existing RISC-V codes have been changed to make it easily to support new targets. Some spotted coding style issues are fixed. This series is available at

Re: [U-Boot] [U-Boot, v5, 1/2] spl: add support to booting with OP-TEE

2018-08-30 Thread Philipp Tomsich
> OP-TEE is an open source trusted OS, in armv7, its loading and > running are like this: > loading: > - SPL load both OP-TEE and U-Boot > running: > - SPL run into OP-TEE in secure mode; > - OP-TEE run into U-Boot in non-secure mode; > > To make code simple, it would be fine to use IH_OS_TEE for

Re: [U-Boot] rockchip: dts: fix unnecessary '-cells' warning

2018-08-30 Thread Philipp Tomsich
> Fix warning below: > unnecessary #address-cells/#size-cells without "ranges" or child "reg" > property > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > arch/arm/dts/rk3288-evb.dtsi | 2 -- > arch/arm/dts/rk3288-firefly.dtsi | 2 -- >

Re: [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest

2018-08-30 Thread AKASHI Takahiro
On Wed, Aug 29, 2018 at 11:36:51PM +0200, Heinrich Schuchardt wrote: > On 08/23/2018 09:25 AM, AKASHI Takahiro wrote: > > In this commit, the same set of test cases as in test/fs/fs-test.sh > > is provided using pytest framework. > > Actually, fs-test.sh provides three variants:"sb" (sb command),

Re: [U-Boot] [PATCH V2 1/2] ARM: tegra: reserve unmapped RAM so EFI doesn't use it

2018-08-30 Thread Alexander Graf
On 29.08.18 23:52, Heinrich Schuchardt wrote: > On 08/29/2018 11:34 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> Tegra U-Boot ensures that board_get_usable_ram_top() never returns a value >> over 4GB, since some peripherals can't access such addresses. However, on >> systems with

Re: [U-Boot] [PATCH 11/15] efi_loader: capitalization table

2018-08-30 Thread Alexander Graf
On 30.08.18 04:51, Simon Glass wrote: > Hi, > > On 27 August 2018 at 02:37, Alexander Graf wrote: >> >> >>> Am 27.08.2018 um 10:30 schrieb Mike FABIAN : >>> >>> Alexander Graf さんは書きました: >>> > On 26.08.18 21:00, Heinrich Schuchardt wrote: >> On 08/26/2018 08:22 PM, Alexander Graf