Re: [U-Boot] [PATCH 1/1] x86: qemu-x86 requires CONFIG_SYS_HZ=2000

2018-09-05 Thread Bin Meng
On Thu, Sep 6, 2018 at 2:49 PM Bin Meng wrote: > > Hi Heinrich, > > On Thu, Sep 6, 2018 at 2:06 PM Heinrich Schuchardt wrote: > > > > The sleep command only provides correct timings for > > CONFIG_SYS_HZ=2000 on qemu-x86_defconfig. > > > > This can be tested with > > > > date && sleep 4 && da

Re: [U-Boot] [PATCH 1/1] x86: qemu-x86 requires CONFIG_SYS_HZ=2000

2018-09-05 Thread Bin Meng
Hi Heinrich, On Thu, Sep 6, 2018 at 2:06 PM Heinrich Schuchardt wrote: > > The sleep command only provides correct timings for > CONFIG_SYS_HZ=2000 on qemu-x86_defconfig. > > This can be tested with > > date && sleep 4 && date With current u-boot/master, with the same test command you provid

[U-Boot] [PATCH] gpio: dwapb_gpio: Change to use devm_kcalloc()

2018-09-05 Thread Ley Foon Tan
Change to use managed resource function devm_kcalloc(), so it will auto free memory when driver is removed. Signed-off-by: Ley Foon Tan --- drivers/gpio/dwapb_gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c index

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

2018-09-05 Thread Kever Yang
Hi Philipp, ping... Could you reply this first before I send next patch set? Thanks, - Kever On 09/03/2018 11:21 AM, Kever Yang wrote: > Hi Philipp, > > > On 08/30/2018 05:11 PM, Philipp Tomsich wrote: >> >> On Wed, 18 Apr 2018, Kever Yang wrote: >> >>> Most of Rockchip SoCs have ARM arch/generic

[U-Boot] [PATCH] spi: designware_spi: Add reset ctrl to driver

2018-09-05 Thread Ley Foon Tan
Add code to reset all reset signals as in SPI DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Release reset when _remove

Re: [U-Boot] [PATCH v2 18/23] efi_loader: implement a pseudo "file delete"

2018-09-05 Thread Alexander Graf
> Am 06.09.2018 um 04:43 schrieb AKASHI Takahiro : > >> On Wed, Sep 05, 2018 at 10:22:07AM +0200, Alexander Graf wrote: >> >> >>> On 05.09.18 04:51, AKASHI Takahiro wrote: On Tue, Sep 04, 2018 at 11:16:38AM +0200, Alexander Graf wrote: > On 04.09.18 09:49, AKASHI Takahiro

[U-Boot] [PATCH 1/1] x86: qemu-x86 requires CONFIG_SYS_HZ=2000

2018-09-05 Thread Heinrich Schuchardt
The sleep command only provides correct timings for CONFIG_SYS_HZ=2000 on qemu-x86_defconfig. This can be tested with date && sleep 4 && date Make CONFIG_SYS_HZ editable. Set it in qemu-x86_defconfig to 2000. Signed-off-by: Heinrich Schuchardt --- configs/qemu-x86_defconfig | 1 + lib/Kco

Re: [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-05 Thread Simon Goldschmidt
On Thu, Sep 6, 2018 at 5:04 AM Dalon Westergreen wrote: > > Stratix10 requires a hex image of the spl for boot. The hex > image is added to the FPGA configuration image and loaded to > the processor memory by the configuration engine. Although not running a Stratix10, I also need a hex image for

[U-Boot] [PATCH] ARM: Specify aligned address for secure section instead of using attributes

2018-09-05 Thread Chen-Yu Tsai
In commit a1274cc94a20 ("ARM: Page align secure section only when it is executed in situ"), we used output section attributes (the "ALIGN" keyword after the colon) to specify the alignment requirements. Using the constant "COMMONPAGE" there was recently broken in binutils 2.31 [1]. Binutils mainta

[U-Boot] [EDK2] Implementing EFI_SIMPLE_TEXT_INPUT_PROTOCOL

2018-09-05 Thread Heinrich Schuchardt
Hello Ruiyu, currently I am struggling a bit with interpreting the UEFI spec concerning the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. In UEFI spec 2.7. chapter 12.1.2 ConsoleIn Definition there is this sentence: "Only the control characters defined in Table 100 have meaning in the Unicode input or output

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

2018-09-05 Thread Bin Meng
Hi Lukas, On Wed, Sep 5, 2018 at 5:37 PM Auer, Lukas wrote: > > On Wed, 2018-09-05 at 10:34 +0800, Bin Meng wrote: > > Hi Rick, > > > > On Wed, Sep 5, 2018 at 9:27 AM Rick Chen > > wrote: > > > > > > > > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > > > > > Sent: Wednesday, Septe

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

2018-09-05 Thread Bin Meng
Hi Lukas, On Wed, Sep 5, 2018 at 5:35 PM Auer, Lukas wrote: > > On Wed, 2018-09-05 at 09:28 +0800, Rick Chen wrote: > > > > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > > > > Sent: Wednesday, September 05, 2018 5:53 AM > > > > To: bmeng...@gmail.com > > > > Cc: Rick Jian-Zhi Ch

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

2018-09-05 Thread Bin Meng
Hi Lukas, On Tue, Sep 4, 2018 at 5:42 AM Auer, Lukas wrote: > > On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: > > 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 M

[U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image

2018-09-05 Thread Dalon Westergreen
Only the Cyclone5/Arria5 and Arria10 devices require the sfp formated image for booting. This path ensures that the file is only generated for those devices. Signed-off-by: Dalon Westergreen --- scripts/Makefile.spl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Ma

[U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image

2018-09-05 Thread Dalon Westergreen
Stratix10 requires a hex image of the spl for boot. The hex image is added to the FPGA configuration image and loaded to the processor memory by the configuration engine. v2: -> add CONFIG_OF_EMBED to include dtb in elf -> generate hex from elf source Signed-off-by: Dalon Westergreen --- c

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

2018-09-05 Thread Bin Meng
Hi Lukas, On Tue, Sep 4, 2018 at 5:41 AM Auer, Lukas wrote: > > On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: > > 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. > > > > Sig

Re: [U-Boot] [PATCH v2 18/23] efi_loader: implement a pseudo "file delete"

2018-09-05 Thread AKASHI Takahiro
On Wed, Sep 05, 2018 at 10:22:07AM +0200, Alexander Graf wrote: > > > On 05.09.18 04:51, AKASHI Takahiro wrote: > > On Tue, Sep 04, 2018 at 11:16:38AM +0200, Alexander Graf wrote: > >> > >> > >> On 04.09.18 09:49, AKASHI Takahiro wrote: > >>> This patch is necessary to run SCT.efi (UEFI Self-Cert

Re: [U-Boot] [PATCH v2 04/23] fs: fat: make directory iterator global for write use

2018-09-05 Thread AKASHI Takahiro
On Wed, Sep 05, 2018 at 10:16:32AM +0200, Alexander Graf wrote: > > > On 05.09.18 04:14, AKASHI Takahiro wrote: > > On Tue, Sep 04, 2018 at 12:57:54PM +0200, Alexander Graf wrote: > >> > >> > >>> Am 04.09.2018 um 12:50 schrieb Heinrich Schuchardt : > >>> > >>> > >>> > On 09/04/2018 11:01 AM,

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

2018-09-05 Thread Rick Chen
Bin Meng 於 2018年9月6日 週四 上午9:43寫道: > > Hi Rick, > > On Tue, Sep 4, 2018 at 4:56 PM Bin Meng wrote: > > > > Hi Rick, > > > > On Tue, Sep 4, 2018 at 1:36 PM Rick Chen wrote: > > > > > > > From: Tom Rini [mailto:tr...@konsulko.com] > > > > Sent: Tuesday, September 04, 2018 3:24 AM > > > > To: Bin

Re: [U-Boot] [PATCH] mtd: nand: denali_dt: Add reset support

2018-09-05 Thread Masahiro Yamada
2018-09-05 17:31 GMT+09:00 Marek Vasut : > On 08/24/2018 03:10 PM, Marek Vasut wrote: >> On 08/24/2018 03:05 PM, Masahiro Yamada wrote: >>> Hi Marek, >> >> Hi, >> >>> 2018-08-21 22:57 GMT+09:00 Marek Vasut : Add optional reset support into the Denali NAND driver. In case there is a valid

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

2018-09-05 Thread Bin Meng
Hi Rick, On Tue, Sep 4, 2018 at 4:56 PM Bin Meng wrote: > > Hi Rick, > > On Tue, Sep 4, 2018 at 1:36 PM Rick Chen wrote: > > > > > From: Tom Rini [mailto:tr...@konsulko.com] > > > Sent: Tuesday, September 04, 2018 3:24 AM > > > To: Bin Meng > > > Cc: U-Boot Mailing List; Rick Jian-Zhi Chen(陳

Re: [U-Boot] [BUG] efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properly

2018-09-05 Thread Alexander Graf
On 05.09.18 22:21, Heinrich Schuchardt wrote: > Hello Alex, > > in your efi-next tree you have merged > efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properly > https://github.com/agraf/u-boot/commit/3486573794a0809d987fd690b1bf6c9093124ce9 Sure, removed again. > The EFI_SIMPLE_TEXT_IN

[U-Boot] [BUG] efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properly

2018-09-05 Thread Heinrich Schuchardt
Hello Alex, in your efi-next tree you have merged efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properly https://github.com/agraf/u-boot/commit/3486573794a0809d987fd690b1bf6c9093124ce9 The EFI_SIMPLE_TEXT_INPUT_PROTOCOL can be tested with: setenv efi_selftest text input bootefi selftest

[U-Boot] [PATCH] fw_setenv: avoid writing environment when nothing has changed

2018-09-05 Thread Rasmus Villemoes
In the case where one deletes an already-non-existing variable, or sets a variable to the value it already has, there is no point in writing the environment back, thus reducing wear on the underlying storage device. Signed-off-by: Rasmus Villemoes --- tools/env/fw_env.c | 10 +- 1 file c

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

2018-09-05 Thread Otavio Salvador
Hello Tom and Stefano, This should be applied for release as it puts the README aligned with current use. Please consider it. On Tue, Sep 4, 2018 at 4:13 PM Otavio Salvador wrote: > On Tue, Sep 4, 2018 at 11:06 AM Michael Nazzareno Trimarchi > wrote: > ... > > Those change are about imx6ul and

Re: [U-Boot] Fwd: Parallel build is broken

2018-09-05 Thread Andy Shevchenko
On Wed, Sep 5, 2018 at 2:58 PM Adam Ford wrote: > > On Wed, Sep 5, 2018 at 3:46 AM Alex Kiernan wrote: > > > > On Tue, Sep 4, 2018 at 3:54 PM Andy Shevchenko > > wrote: > > > > > > On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko > > > wrote: > > > > > > > > On Tue, Sep 4, 2018 at 5:00 PM Tom Rin

Re: [U-Boot] Please pull last minute ARC fixes

2018-09-05 Thread Tom Rini
On Wed, Sep 05, 2018 at 03:19:13PM +, Alexey Brodkin wrote: > Hi Tom, > > The following changes since commit 3005162a43adcfd9cbb524960ad9ff44e809980c: > > Prepare v2018.09-rc3 (2018-09-03 15:36:33 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-arc.git t

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-05 Thread Tom Rini
On Tue, Sep 04, 2018 at 09:11:50AM +0200, Stefano Babic wrote: > Hi Tom, > > a new PR. I dropped the patches causing breakages on PowerPC boards, as > well as the issue on GE boards. It ran on travis successfully. > > > The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: pinmux: add API to configure protected pins

2018-09-05 Thread Georgii Staroselskii
On Wed, Sep 05, 2018 at 09:24:40AM -0600, Simon Glass wrote: > Hi Georgi, > > On 4 September 2018 at 07:34, Georgii Staroselskii > wrote: > > This API is going to be used to configure some pins that are protected > > for simple modification. > > > > It's not a comprehensive pinctrl driver but can

Re: [U-Boot] [PATCH] dm: Update README.txt to clarify device tree usage

2018-09-05 Thread Tom Rini
On Wed, Sep 05, 2018 at 09:24:44AM -0600, Simon Glass wrote: > Hi Tom, > > On 31 August 2018 at 09:59, Tom Rini wrote: > > In the section about Device Trees add a paragraph at the end that > > clarifies how we decide of a tree is valid or not. We say that all > > bindings must either be in the s

Re: [U-Boot] [PATCH] dm: Update README.txt to clarify device tree usage

2018-09-05 Thread Simon Glass
Hi Tom, On 31 August 2018 at 09:59, Tom Rini wrote: > In the section about Device Trees add a paragraph at the end that > clarifies how we decide of a tree is valid or not. We say that all > bindings must either be in the specification (link provided) or in our > device-tree-bindings directory.

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: pinmux: add API to configure protected pins

2018-09-05 Thread Simon Glass
Hi Georgi, On 4 September 2018 at 07:34, Georgii Staroselskii wrote: > This API is going to be used to configure some pins that are protected > for simple modification. > > It's not a comprehensive pinctrl driver but can be turned into one > when we need this in the future. Now it is planned to b

[U-Boot] Please pull last minute ARC fixes

2018-09-05 Thread Alexey Brodkin
Hi Tom, The following changes since commit 3005162a43adcfd9cbb524960ad9ff44e809980c: Prepare v2018.09-rc3 (2018-09-03 15:36:33 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-updates-for-2018.09 for you to fetch changes up to 13e57722fe7a96f23b09d34

Re: [U-Boot] [PATCH] x86: extend baudrate table with 57600

2018-09-05 Thread Tom Rini
On Wed, Sep 05, 2018 at 12:57:39PM +0800, Bin Meng wrote: > Hi Christian, > > On Tue, Sep 4, 2018 at 6:07 PM Christian Gmeiner > wrote: > > > > Hi all, > > > > I totally forgot to answer that mail - but as I need this change my > > motivation is back. > > > > Am Do., 22. Juni 2017 um 08:50 Uhr sc

Re: [U-Boot] [PATCH 1/4] imx: mx7: avoid some initialization if low level is skipped

2018-09-05 Thread Peng Fan
> -Original Message- > From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] > Sent: 2018年9月5日 18:56 > To: u-boot@lists.denx.de; Fabio Estevam > Cc: ryan.har...@linaro.org; Rui Miguel Silva ; Bryan > O'Donoghue ; Stefano Babic ; > Albert Aribaud ; Peng Fan > Subject: [PATCH 1/4] im

[U-Boot] [PATCH 1/6 v4] mips: Add basic MediaTek MT7620/88 support

2018-09-05 Thread Stefan Roese
This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of the code is copied from the MediaTek GitHub repository: https://github.com/MediaTek-Labs/linkit-smart-uboot.git The mt7628a.dtsi file is imported from Linux v4.17. Support for the LinkIt Smart 7688 module and the Gardena Sma

Re: [U-Boot] [PATCH] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Fix MMC Card Detect

2018-09-05 Thread Tuomas Tynkkynen
Hi Adam, On 09/03/2018 05:08 PM, Adam Ford wrote: When re-syncing the DTS files from the kernel, something caused the MMC driver to no longer detect the MMC card. Undoing the CD-invert appears to fix the issue. Fixes: e6ea2390cde3 ("ARM: DTS: Resync LogicPD-Torpedo-37xx-devkit with Linux 4.18-R

Re: [U-Boot] [PATCH 1/6 v3] mips: Add basic MediaTek MT7620/88 support

2018-09-05 Thread Stefan
Hi Daniel, On 05.09.2018 13:45, Daniel Schwierzeck wrote: On 16.08.2018 15:27, Stefan Roese wrote: This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of the code is copied from the MediaTek GitHub repository: https://github.com/MediaTek-Labs/linkit-smart-uboot.git The mt76

Re: [U-Boot] [PATCH 1/3] gpio: omap_gpio: Add xlate function to support GPIO_ACTIVE_LOW

2018-09-05 Thread Adam Ford
On Wed, Sep 5, 2018 at 7:29 AM Jean-Jacques Hiblot wrote: > > Adam, > > > On 05/09/2018 11:35, Adam Ford wrote: > > The gpio driver doesn't current support knowing whether or not > > GPIO is active low or high. It simply returns the value. The > > side effect of this, is that the MMC routines

Re: [U-Boot] [PATCH 3/3] ARM: DTS: various omap3: Remove cd-inverted from u-boot.dtsi

2018-09-05 Thread Adam Ford
On Wed, Sep 5, 2018 at 7:24 AM Jean-Jacques Hiblot wrote: > > Hi Adam, > > > On 05/09/2018 11:35, Adam Ford wrote: > > With the omap_mmc driver no longer supporting cd-inverted, this > > patch removes all these references since they are not needed. > > > > Signed-off-by: Adam Ford > > > > diff --

Re: [U-Boot] [PATCH] mtd: nand: denali_dt: Add reset support

2018-09-05 Thread Marek Vasut
On 08/24/2018 03:10 PM, Marek Vasut wrote: > On 08/24/2018 03:05 PM, Masahiro Yamada wrote: >> Hi Marek, > > Hi, > >> 2018-08-21 22:57 GMT+09:00 Marek Vasut : >>> Add optional reset support into the Denali NAND driver. In case there is >>> a valid reset entry in the DT, the reset gets deasserted

Re: [U-Boot] [PATCH 2/3] mmc: omap_mmc: Remove invert references with gpio xlate available

2018-09-05 Thread Jean-Jacques Hiblot
Adam, On 05/09/2018 11:35, Adam Ford wrote: With omap_gpio now translating GPIO_ACTIVE_LOW, any boards using the 'invert' option will no longer need to do this. This patch removes the support for 'invert' from the MMC driver. Signed-off-by: Adam Ford diff --git a/drivers/mmc/omap_hsmmc.c b/

Re: [U-Boot] [PATCH 1/3] gpio: omap_gpio: Add xlate function to support GPIO_ACTIVE_LOW

2018-09-05 Thread Jean-Jacques Hiblot
 Adam, On 05/09/2018 11:35, Adam Ford wrote: The gpio driver doesn't current support knowing whether or not GPIO is active low or high. It simply returns the value. The side effect of this, is that the MMC routines which check the status card detect or write protect must use a u-boot specific

Re: [U-Boot] [PATCH 3/3] ARM: DTS: various omap3: Remove cd-inverted from u-boot.dtsi

2018-09-05 Thread Jean-Jacques Hiblot
Hi Adam, On 05/09/2018 11:35, Adam Ford wrote: With the omap_mmc driver no longer supporting cd-inverted, this patch removes all these references since they are not needed. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm-u-boot.dtsi b/arch/arm/dts/am3517-evm-u-boot.dtsi index

Re: [U-Boot] Fwd: Parallel build is broken

2018-09-05 Thread Adam Ford
On Wed, Sep 5, 2018 at 3:46 AM Alex Kiernan wrote: > > On Tue, Sep 4, 2018 at 3:54 PM Andy Shevchenko > wrote: > > > > On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko > > wrote: > > > > > > On Tue, Sep 4, 2018 at 5:00 PM Tom Rini wrote: > > > > > > > > On Tue, Sep 04, 2018 at 03:42:05PM +0300, A

Re: [U-Boot] [PATCH 1/6 v3] mips: Add basic MediaTek MT7620/88 support

2018-09-05 Thread Daniel Schwierzeck
On 16.08.2018 15:27, Stefan Roese wrote: > This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of > the code is copied from the MediaTek GitHub repository: > > https://github.com/MediaTek-Labs/linkit-smart-uboot.git > > The mt7628a.dtsi file is imported from Linux v4.17. > > S

[U-Boot] [PATCH] ARC: HSDK: Fix timer frequency value

2018-09-05 Thread Eugeniy Paltsev
CPU (and hence cpu timers) on HSDK board runs at 500MHz after preloader so fix wrong CPU frequency value in hsdk.dts Signed-off-by: Eugeniy Paltsev --- arch/arc/dts/hsdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts index e4

Re: [U-Boot] [PATCH v2 0/5] Add a pinctrl driver for Merrifield to pinmux I2C#6

2018-09-05 Thread Andy Shevchenko
On Wed, Sep 5, 2018 at 7:41 AM Bin Meng wrote: > Somehow I did not receive all 5 patches in the v2. Only 2/3/5 is in my > inbox. It looks good and I will wait some comments from others (if > any) for another day or two before applying this. Hmm... At least now I can see your email address in the

[U-Boot] [PATCH 4/4] warp7: configs: add bl33 defconfig

2018-09-05 Thread Bryan O'Donoghue
From: Rui Miguel Silva Add default configuration to run u-boot as BL33 in the ARM Trusted Firmware boot flow for AArch32 case. Signed-off-by: Rui Miguel Silva Signed-off-by: Bryan O'Donoghue Cc: Fabio Estevam Cc: Simon Glass Cc: Maxime Ripard Cc: Lukasz Majewski Cc: Tuomas Tynkkynen Cc: u

[U-Boot] [PATCH 3/4] warp7: include: configs: set skip low level init

2018-09-05 Thread Bryan O'Donoghue
From: Rui Miguel Silva If we have defined the OPTEE ram size and not OPTEE means that we are in the case where OPTEE is loaded already (maybe by ARM Trusted Firmware) and that most of the low level initialization is already done and that we may/should skip it doing them here. Signed-off-by: Rui

[U-Boot] [PATCH 1/4] imx: mx7: avoid some initialization if low level is skipped

2018-09-05 Thread Bryan O'Donoghue
From: Rui Miguel Silva We can have the case where u-boot is launched after some other low level enabler, like for example when u-boot runs after arm-trusted-firmware and/or optee. So, because of that we may need to jump the initialization of some IP blocks even because we may no longer have the p

[U-Boot] [PATCH 2/4] optee: adjust dependencies and default values for dram

2018-09-05 Thread Bryan O'Donoghue
From: Rui Miguel Silva We may have, the not yet considered, scenario where OPTEE is loaded before u-boot and *not* by u-boot, e.g, the boot flow using the ARM Trusted Firmware (ATF), where in the 32bit flow is: BootRom->ATF(BL2)->Optee(BL32)->u-boot(BL33) In this case we need still to reserve th

[U-Boot] [PATCH 0/4] Add WaRP7 ATF chainloaded setup

2018-09-05 Thread Bryan O'Donoghue
This set of patches makes a version of u-boot that is bootable as BL33 in a chainloded set of images in the following sequence. BootROM -> ATF (loads a FIP) -> OPTEE -> u-boot -> Linux. Since the OPTEE image enables TrustZone u-boot no longer has access to certain low-level functions. In order to

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

2018-09-05 Thread Auer, Lukas
On Wed, 2018-09-05 at 10:34 +0800, Bin Meng wrote: > Hi Rick, > > On Wed, Sep 5, 2018 at 9:27 AM Rick Chen > wrote: > > > > > > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > > > > Sent: Wednesday, September 05, 2018 5:53 AM > > > > To: bmeng...@gmail.com > > > > Cc: Rick Jian-Z

[U-Boot] [PATCH 2/3] mmc: omap_mmc: Remove invert references with gpio xlate available

2018-09-05 Thread Adam Ford
With omap_gpio now translating GPIO_ACTIVE_LOW, any boards using the 'invert' option will no longer need to do this. This patch removes the support for 'invert' from the MMC driver. Signed-off-by: Adam Ford diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 8ab56d247d..e9786

[U-Boot] [PATCH 1/3] gpio: omap_gpio: Add xlate function to support GPIO_ACTIVE_LOW

2018-09-05 Thread Adam Ford
The gpio driver doesn't current support knowing whether or not GPIO is active low or high. It simply returns the value. The side effect of this, is that the MMC routines which check the status card detect or write protect must use a u-boot specific dts modification to enable inverting the pin val

[U-Boot] [PATCH 3/3] ARM: DTS: various omap3: Remove cd-inverted from u-boot.dtsi

2018-09-05 Thread Adam Ford
With the omap_mmc driver no longer supporting cd-inverted, this patch removes all these references since they are not needed. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm-u-boot.dtsi b/arch/arm/dts/am3517-evm-u-boot.dtsi index c02beaad77..59df819f9d 100644 --- a/arch/arm/dts/am

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

2018-09-05 Thread Auer, Lukas
On Wed, 2018-09-05 at 09:28 +0800, Rick Chen wrote: > > > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > > > Sent: Wednesday, September 05, 2018 5:53 AM > > > To: bmeng...@gmail.com > > > Cc: Rick Jian-Zhi Chen(陳建志); u-boot@lists.denx.de > > > Subject: Re: [U-Boot] [PATCH 12/12] r

[U-Boot] [PATCH] mmc: omap_hsmmc: Fix pbias for omap3_logic to enable CD pin

2018-09-05 Thread Adam Ford
The MMC card detect pin is connected to gpio127 on omap3_logic. When setting up the pbias register for MMC, let's also enable gpio_127 for the card detect. As part of the package deal, gpio_126 and gpio_129 are also enabled. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/arch-omap3/

Re: [U-Boot] Fwd: Parallel build is broken

2018-09-05 Thread Alex Kiernan
On Tue, Sep 4, 2018 at 3:54 PM Andy Shevchenko wrote: > > On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko > wrote: > > > > On Tue, Sep 4, 2018 at 5:00 PM Tom Rini wrote: > > > > > > On Tue, Sep 04, 2018 at 03:42:05PM +0300, Andy Shevchenko wrote: > > > > > > > -- Forwarded message ---

Re: [U-Boot] [PATCH v2 18/23] efi_loader: implement a pseudo "file delete"

2018-09-05 Thread Alexander Graf
On 05.09.18 04:51, AKASHI Takahiro wrote: > On Tue, Sep 04, 2018 at 11:16:38AM +0200, Alexander Graf wrote: >> >> >> On 04.09.18 09:49, AKASHI Takahiro wrote: >>> This patch is necessary to run SCT.efi (UEFI Self-Certification Test). >>> Returning EFI_SUCCESS can cheat SCT execution. >>> >>> Sign

Re: [U-Boot] [PATCH v2 04/23] fs: fat: make directory iterator global for write use

2018-09-05 Thread Alexander Graf
On 05.09.18 04:14, AKASHI Takahiro wrote: > On Tue, Sep 04, 2018 at 12:57:54PM +0200, Alexander Graf wrote: >> >> >>> Am 04.09.2018 um 12:50 schrieb Heinrich Schuchardt : >>> >>> >>> On 09/04/2018 11:01 AM, Alexander Graf wrote: > On 04.09.18 09:49, AKASHI Takahiro wrote: >

Re: [U-Boot] Fwd: Parallel build is broken

2018-09-05 Thread Joakim Tjernlund
On Tue, 2018-09-04 at 17:43 -0400, Tom Rini wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On Tue, Sep 04, 2018 at 09:05:55PM +0300, Andy Shevchenko wrote: >