Re: [U-Boot] [ANN] U-Boot v2017.09-rc4 released

2017-09-06 Thread Paul Barker
On Tue, Sep 5, 2017 at 11:11 PM, Tuomas Tynkkynen wrote: > Hi, > > On 09/04/2017 10:55 PM, Paul Barker wrote: >> >> >> I looks like u-boot v2017.09-rc4 is still unable to boot Linux on >> Raspberry Pi devices. I've just tested this now on a Raspberry Pi >> (original Model

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-06 Thread Hannes Schmelzer
Hi Jagan, On 09/04/2017 08:22 AM, Hannes Schmelzer wrote: "U-Boot" schrieb am 01.09.2017 16:39:03: wrote: Hi Eldor, just found your post in the mailinglist. https://lists.denx.de/pipermail/u-boot/2016-December/276491.html Reason why

Re: [U-Boot] [PATCH] rockchip: pinctrl: use fdtdec_get_int_array() to get interrupt

2017-09-06 Thread Dr. Philipp Tomsich
> On 6 Sep 2017, at 10:36, Kever Yang wrote: > > Not all the udevice have a available DT node, eg. rksd...@ff50.blk > which add by mmc_bind(), if we use dev_read_u32_array(), the interface > will use the ofnode directly and end with: >

Re: [U-Boot] [PATCH v2 1/5] rockchip: rk322x: update dram bank size

2017-09-06 Thread Kever Yang
Hi Philipp, This patch is a bug fix for rk3229 ram size, and not relate to the dram driver, could you share why you still not take this patch? Thanks, - Kever On 08/17/2017 03:17 PM, Kever Yang wrote: The DRAM start address is not 0, so need to update the last bank size as: DRAM start

[U-Boot] [PATCH v3 2/4] block: ide: Fix block read/write with driver model

2017-09-06 Thread Bin Meng
This converts the IDE driver to driver model so that block read and write are fully functional. Fixes: b7c6baef ("x86: Convert MMC to driver model") Reported-by: Heinrich Schuchardt Signed-off-by: Bin Meng Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-06 Thread Marek Vasut
On 09/06/2017 07:06 AM, Chee, Tien Fong wrote: [...] > The BSP tool is used to describe internal FPGA in SOCFPGA. > Other > external FPGAs other than SOCFPGA itself, it can be programmed > through > U-boot. The BSP tool is broken if it generates broken DT, do I have to

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-06 Thread Chee, Tien Fong
On Rab, 2017-09-06 at 09:10 +0200, Marek Vasut wrote: > On 09/06/2017 07:06 AM, Chee, Tien Fong wrote: > [...] > > > > > > > > > > > > > > > > > > > > > > > > > > The BSP tool is used to describe internal FPGA in SOCFPGA. > > > > > > Other > > > > > > external FPGAs other than SOCFPGA itself,

[U-Boot] [PATCH v3 4/4] cmd: ide: Make the first device the default one

2017-09-06 Thread Bin Meng
At present the IDE device number is initialized to -1, which means we cannot type "ide read" command before setting the device number via "ide device #". For convenience, let's set the first device as the default one. Signed-off-by: Bin Meng Reviewed-by: Simon Glass

[U-Boot] [PATCH v3 1/4] blk: Use macros for block device vendor/product/rev string size

2017-09-06 Thread Bin Meng
So far these are using magic numbers. Replace them with macros. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: - Change BLK_XXX_SIZE to not count the ending NULL Changes in v2: None include/blk.h | 10 +++--- 1 file changed, 7

[U-Boot] [PATCH v3 3/4] block: ide: Don't bother to create BLK device if no CDROM inserted

2017-09-06 Thread Bin Meng
When there is no CDROM inserted, the block size is zero hence there is no need to create a BLK device for it. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/block/ide.c | 7 +++ 1 file changed, 7

[U-Boot] [PATCH] rockchip: rk3328: fix syscon id table

2017-09-06 Thread Kever Yang
syscon id table need a dummy member as NULL ending, or else system will panic while try to match a compatible in this table as a list. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3328/syscon_rk3328.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH] rockchip: pinctrl: use fdtdec_get_int_array() to get interrupt

2017-09-06 Thread Kever Yang
Not all the udevice have a available DT node, eg. rksd...@ff50.blk which add by mmc_bind(), if we use dev_read_u32_array(), the interface will use the ofnode directly and end with: assert(ofnode_valid(node)); Use fdtdec_get_int_array() instead. Signed-off-by: Kever Yang

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-06 Thread Ye Li
On 9/5/2017 6:33 PM, Eric Nelson wrote: > Hi Peng, > > Pardon the reference to an old update, but do you have a description > of the symptoms that brought about this patch? > > On 03/09/2016 01:07 AM, Peng Fan wrote: >> The CONFIG_IPUV3_CLK should be 26400, to i.MX6DL, it should be >>

[U-Boot] [PATCH 1/4] rockchip: rk3399: move sdram driver to driver/ram

2017-09-06 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3399/Makefile | 1 - drivers/ram/rockchip/Makefile | 1 +

[U-Boot] [PATCH 3/4] rockchip: rk3288: move sdram driver to driver/ram

2017-09-06 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3288/Makefile | 1 - drivers/ram/rockchip/Makefile | 1 +

[U-Boot] [PATCH 4/4] rockchip: rk3328: move sdram driver to driver/ram

2017-09-06 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3328/Makefile | 1 - drivers/ram/rockchip/Makefile | 1 +

[U-Boot] [PATCH 2/4] rockchip: rk3188: move sdram driver to driver/ram

2017-09-06 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3188/Makefile | 1 - drivers/ram/rockchip/Makefile | 1 +

[U-Boot] [PATCH v3 1/2] rockchip: rk322x: add sdram driver

2017-09-06 Thread Kever Yang
Add driver for rk322x to support sdram initialize in SPL. Signed-off-by: Kever Yang --- Changes in v3: - move rk332x sdram driver to driver/ram - do the ram init in TPL instad of SPL arch/arm/include/asm/arch-rockchip/sdram_rk322x.h | 581 +++

[U-Boot] [PATCH v3 0/2] rockchip: rk3229: add sdram support

2017-09-06 Thread Kever Yang
Add sdram driver for rk3229 Changes in v3: - move rk332x sdram driver to driver/ram - do the ram init in TPL instad of SPL Kever Yang (2): rockchip: rk322x: add sdram driver rockchip: dts: rk3229: remove dram channel info arch/arm/dts/rk3229-evb.dts | 1 -

[U-Boot] [PATCH v2 0/5] configs: at91: Remove value of CONFIG_SYS_EXTRA_OPTIONS option

2017-09-06 Thread Wenyou Yang
The CONFIG_SYS_EXTRA_OPTIONS option is deprecated, remove the value of this option from the board default config files. Changes in v2: - Rebase the uboot/master (84a42069f253). Wenyou Yang (5): ARM: at91: Move CONFIG_AT91FAMILY option to Kconfig ARM: at91: Add the SoC options to Kconfig

[U-Boot] [PATCH v2 1/5] ARM: at91: Move CONFIG_AT91FAMILY option to Kconfig

2017-09-06 Thread Wenyou Yang
From: Wenyou Yang Move the CONFIG_AT91FAMILY option from include/mach/.h header file to Kconfig. Signed-off-by: Wenyou Yang --- Changes in v2: None arch/arm/mach-at91/Kconfig| 3 +++

[U-Boot] [PATCH 0/4] move rockchip sdram driver to driver/ram

2017-09-06 Thread Kever Yang
move all the Rockchip sdram driver which support CONFIG_RAM into driver/ram folder Kever Yang (4): rockchip: rk3399: move sdram driver to driver/ram rockchip: rk3188: move sdram driver to driver/ram rockchip: rk3288: move sdram driver to driver/ram rockchip: rk3328: move sdram driver to

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-09-06 Thread Mingkai Hu
> -Original Message- > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > Sent: Tuesday, September 05, 2017 8:45 PM > To: Mingkai Hu ; Roy Zang ; > York Sun > Cc: u-boot@lists.denx.de > Subject: Re: setup of

[U-Boot] [PATCH v3 2/2] rockchip: dts: rk3229: remove dram channel info

2017-09-06 Thread Kever Yang
The dram channel info will be auto detect by the driver, we do not need it. Signed-off-by: Kever Yang --- Changes in v3: None arch/arm/dts/rk3229-evb.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-evb.dts

[U-Boot] [PATCH v2 2/5] ARM: at91: Add the SoC options to Kconfig

2017-09-06 Thread Wenyou Yang
From: Wenyou Yang To prepare to remove the SoCs options such as SAMA5D2, SAMA5D3 and SAMA5D4 from the CONFIG_SYS_EXTRA_OPTIONS option which is deprecated, add the SoC options to Kconfig. Signed-off-by: Wenyou Yang --- Changes in v2: None

[U-Boot] [PATCH v2 3/5] ARM: at91: Remove hardware.h included in configs

2017-09-06 Thread Wenyou Yang
From: Wenyou Yang As said in READRE.kconfig, include/configs/*.h will be removed after all options are switched to Kconfig. As the first step, remove the follow line from include/configs/*.h. #include Signed-off-by: Wenyou Yang --- Changes

[U-Boot] [PATCH v2 4/5] ARM: at91: spl: Add macro CONFIG_XXXX_BOOT support

2017-09-06 Thread Wenyou Yang
Use the CONFIG__BOOT to indicate the boot media, instead of the CONFIG_SYS_USE_ option, which is declared by CONFIG_SYS_EXTRA_OPTIONS option. Signed-off-by: Wenyou Yang --- Changes in v2: None arch/arm/mach-at91/spl.c | 16 ++-- 1 file changed,

[U-Boot] [PATCH] Revert "dm: arm: rpi: Drop CONFIG_OF_EMBED"

2017-09-06 Thread Paul Barker
This reverts commit 25877d4e4c45451c5398aec3de50e0d5befe0e9f. This is a workaround for Raspberry Pi boot failures seen when passing on the device tree provided by the Raspberry Pi firmware at boot. Without CONFIG_OF_EMBED, we just get stuck at "Starting kernel ..." when we try to boot Linux with

[U-Boot] [PATCH v2 5/5] configs: at91: Remove CONFIG_SYS_EXTRA_OPTIONS assignment

2017-09-06 Thread Wenyou Yang
To remove the assignment of CONFIG_SYS_EXTRA_OPTIONS option, which is deprecated, use the CONFIG__BOOT options to indicate the boot media, and the SoC is selected by the board. Signed-off-by: Wenyou Yang --- Changes in v2: - Rebase the uboot/master

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-09-06 Thread Joakim Tjernlund
On Wed, 2017-09-06 at 09:36 +, Mingkai Hu wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > Sent: Tuesday, September 05, 2017 8:45 PM > > To: Mingkai Hu ; Roy Zang ; > > York Sun

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-09-06 Thread Rob Clark
On Wed, Sep 6, 2017 at 12:18 AM, Heinrich Schuchardt wrote: > On 09/06/2017 01:48 AM, Rob Clark wrote: >> On Tue, Sep 5, 2017 at 4:55 AM, Simon Glass wrote: >>> Hi, >>> >>> On 1 September 2017 at 22:45, Tom Rini wrote: On Wed, Aug

Re: [U-Boot] [PATCH] Revert "dm: arm: rpi: Drop CONFIG_OF_EMBED"

2017-09-06 Thread Jonathan Gray
On Wed, Sep 06, 2017 at 08:35:19AM +0100, Paul Barker wrote: > This reverts commit 25877d4e4c45451c5398aec3de50e0d5befe0e9f. > > This is a workaround for Raspberry Pi boot failures seen when passing on > the device tree provided by the Raspberry Pi firmware at boot. Without > CONFIG_OF_EMBED, we

Re: [U-Boot] [PATCH v2 1/5] rockchip: rk322x: update dram bank size

2017-09-06 Thread Dr. Philipp Tomsich
Kever, I don’t have a problem with the below patch, but the entire series is held up by patch #2 (adding the SDRAM driver): https://patchwork.ozlabs.org/patch/802385/ I generally don’t attempt to apply parts of a series (and always apply the entire series), as this just increases the

[U-Boot] Starting u-boot in USB otg mode

2017-09-06 Thread rivael_il
Hello u-booters! I want to load u-boot-sunxi-with-spl.bin and make it operate the USB in otg mode. (Where the host can still be connected to the board). How can I achieve this? (I have attempted to use: "usb0:dr_mode=otg,phy_type=utmi\0" without success). Thank you, Michael

Re: [U-Boot] [PATCH] Revert "dm: arm: rpi: Drop CONFIG_OF_EMBED"

2017-09-06 Thread Simon Glass
+Tom On 6 September 2017 at 01:35, Paul Barker wrote: > This reverts commit 25877d4e4c45451c5398aec3de50e0d5befe0e9f. > > This is a workaround for Raspberry Pi boot failures seen when passing on > the device tree provided by the Raspberry Pi firmware at boot. Without >

[U-Boot] [RFC] ipu_common: Let the MX6 IPU clock be calculated in run-time

2017-09-06 Thread Fabio Estevam
From: Fabio Estevam MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz. When running a SPL target, which supports multiple MX6 variants we cannot properly setup the IPU clock frequency via CONFIG_IPUV3_CLK option as such decision is done in build-time currently.

Re: [U-Boot] [PATCH v2 13/19] ARM: dts: rockchip: prefer u-boot, dm-pre-reloc rather than u-boot, dm-spl

2017-09-06 Thread Heiko Stübner
Hi Pawel, Am Freitag, 11. August 2017, 22:57:29 CEST schrieb Paweł Jarosz: > rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl > but rk3066 needs it in tpl. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > >

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-06 Thread Fabio Estevam
Hi Eric/Stefano, On Tue, Sep 5, 2017 at 10:41 AM, Eric Nelson wrote: > > I don't think it should be reverted until we have a run-time decision > in place, or we'll re-introduce whatever problem the higher rate > caused, at least on SABRE boards with Solo or Dual-Lite

Re: [U-Boot] [PATCH 1/1] efi_loader: move efi_guid_t typedef to efi.h

2017-09-06 Thread Alexander Graf
On 06.09.17 16:49, Heinrich Schuchardt wrote: efi_guid_t is used both in efi_api.h and in part_efi.h. Both include efi.h. So we should move the typedef to the common include. This saves us from including part_efi.h in places where we don't need it. Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH v3 09/14] doc: Document how to apply fdt overlays

2017-09-06 Thread Łukasz Majewski
On 09/04/2017 10:12 PM, Pantelis Antoniou wrote: We have the capability to apply overlays on the command line but we didn't have a document explaining how. Signed-off-by: Pantelis Antoniou --- doc/README.fdt-overlays | 37 +

Re: [U-Boot] [PATCH v3 10/14] doc: overlays: Tweak documentation regarding overlays

2017-09-06 Thread Łukasz Majewski
On 09/04/2017 10:12 PM, Pantelis Antoniou wrote: From: Franklin S Cooper Jr Pull some information regarding overlays from commit messages and put them directly within the documentation. Also add some information regarding required dtc version to properly use overlays.

Re: [U-Boot] video: ipu_common: fix build error

2017-09-06 Thread Eric Nelson
Thanks Peng. On 09/05/2017 06:16 PM, Peng Fan wrote: On Mon, Sep 04, 2017 at 07:48:56PM -0700, Eric Nelson wrote: Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seeing a **very** intermittent regression between U-Boot versions 2015.07 and 2016.05 and happened to spot

Re: [U-Boot] [PATCH v3 08/14] fit: fdt overlays doc

2017-09-06 Thread Łukasz Majewski
On 09/04/2017 10:12 PM, Pantelis Antoniou wrote: Signed-off-by: Pantelis Antoniou --- doc/uImage.FIT/command_syntax_extensions.txt | 12 +- doc/uImage.FIT/overlay-fdt-boot.txt | 221 +++ doc/uImage.FIT/source_file_format.txt

Re: [U-Boot] [PATCH] ipu_common: Let the MX6 IPU clock be calculated in run-time

2017-09-06 Thread Eric Nelson
Thanks Fabio, On 09/06/2017 09:49 AM, Fabio Estevam wrote: From: Fabio Estevam MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz. When running a SPL target, which supports multiple MX6 variants we cannot properly setup the IPU clock frequency via CONFIG_IPUV3_CLK

Re: [U-Boot] [PATCH 0/5] vsprintf and short-wchar for EFI_LOADER

2017-09-06 Thread Tom Rini
On Wed, Sep 06, 2017 at 02:14:21PM -0400, Rob Clark wrote: > On Wed, Sep 6, 2017 at 12:45 PM, Tom Rini wrote: > > On Wed, Sep 06, 2017 at 05:31:52PM +0200, Heinrich Schuchardt wrote: > >> On 08/10/2017 01:14 AM, Rob Clark wrote: > >> > As requested, I've split this out of the

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-06 Thread Eric Nelson
Thanks Ye (and Peng). On 09/06/2017 02:37 AM, Ye Li wrote: On 9/5/2017 6:33 PM, Eric Nelson wrote: Hi Peng, Pardon the reference to an old update, but do you have a description of the symptoms that brought about this patch? On 03/09/2016 01:07 AM, Peng Fan wrote: The CONFIG_IPUV3_CLK should

Re: [U-Boot] [PATCH 0/5] vsprintf and short-wchar for EFI_LOADER

2017-09-06 Thread Rob Clark
On Wed, Sep 6, 2017 at 12:45 PM, Tom Rini wrote: > On Wed, Sep 06, 2017 at 05:31:52PM +0200, Heinrich Schuchardt wrote: >> On 08/10/2017 01:14 AM, Rob Clark wrote: >> > As requested, I've split this out of the larger EFI_LOADER patchset. >> > >> > This adds two things that the

[U-Boot] [PATCH V3 3/5] arm: da850-evm: Enable DM and device tree support for da850-evm

2017-09-06 Thread Adam Ford
With the device tree ported and DM compatible drivers, enable: OF_CONTROL, DM_SPI, DM_SPI_FLASH and DM_SERIAL Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V3: No Change configs/da850evm_defconfig | 9 +++-- include/configs/da850evm.h | 17

[U-Boot] [PATCH V3 5/5] ARM: da850-evm: Enable DM_I2C

2017-09-06 Thread Adam Ford
With DM now enabled with the device tree pulled from Linux, we can enable DM_I2C in U-Boot. Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V3: No Change V2: New to series arch/arm/dts/da850-evm-u-boot.dtsi | 1 + configs/da850evm_defconfig

[U-Boot] [PATCH V3 1/5] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-09-06 Thread Adam Ford
A few small additional items are needed to support DM_SPI and DM_SERIAL, so those were added to da850-evm-u-boot.dtsi Signed-off-by: Adam Ford --- V3: New to series. I forgot to generate this before. This is required before The rest of the files in the series.

[U-Boot] [PATCH V3 2/5] spi: davinci_spi: Add da830-spi support for DM

2017-09-06 Thread Adam Ford
The DM support is already in the driver, so add da830-spi to the compatible list. Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V3: No Change V2: This patch is new to the series drivers/spi/davinci_spi.c | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH V3 4/5] arm: da850-evm: Enable MTD Parts

2017-09-06 Thread Adam Ford
There is a discrepency between U-Boot and Linux on the partition map. This enabes the MTD parts to pass MTD partition information from U-Boot to Linux. Linux already has a pending patch to enable MTD PARTS in davinci_all_defconfig Reviewed-by: Jagan Teki Signed-off-by: Adam

Re: [U-Boot] [PATCH v2 00/16] dtoc: Add support for 64-bit addresses

2017-09-06 Thread Kever Yang
Hi Simon, Thanks for your patches, It works very good. I have test the patch set on firefly-rk3399, and the SPL works with OF_PLATDATA after I fix issue in clk(Philipp has point out) driver, sdram driver and sdhci driver, I will send out my fix later. Pls add my test tag for this

[U-Boot] [PATCH 2/2] rockchip: ram: rk3399: update reg map for of-platdata

2017-09-06 Thread Kever Yang
After Simon's patch, the dtoc can work with 64bit address, so we need to fix reg number for it. Depend on Simon's patch set: https://patchwork.ozlabs.org/cover/807266/ Signed-off-by: Kever Yang --- drivers/ram/rockchip/sdram_rk3399.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 1/2] rockchip: sdhci: update reg map for of-platdata

2017-09-06 Thread Kever Yang
After Simon's patch, the dtoc can work with 64bit address, so we need to fix reg number for it. Depend on Simon's patch set: https://patchwork.ozlabs.org/cover/807266/ Signed-off-by: Kever Yang --- drivers/mmc/rockchip_sdhci.c | 2 +- 1 file changed, 1 insertion(+),

Re: [U-Boot] Starting u-boot in USB otg mode

2017-09-06 Thread Kever Yang
Hi Michael, There is no 'otg_mode' in U-Boot, the driver framework is different with kernel. If you want to use usb device, you can use cmd like this: ums 0 mmc 0 If you want to use usb host, you can use: usb start this command will enumerate all the device connect to the host port.

[U-Boot] [PATCH] rockchip: firefly-rk3399: enable SPL_SYSRESET config

2017-09-06 Thread Kever Yang
After the patch below, we need to add SPL_SYSRESET for do_reset() in SPL: 87c16d4 drivers: spl: consistently use the $(SPL_TPL_) macro Signed-off-by: Kever Yang --- configs/firefly-rk3399_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [Patch v2] configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

2017-09-06 Thread Sumit Garg
> -Original Message- > From: York Sun > Sent: Wednesday, September 06, 2017 9:47 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; tr...@konsulko.com > Subject: Re: [Patch v2]

Re: [U-Boot] [PATCH 0/5] vsprintf and short-wchar for EFI_LOADER

2017-09-06 Thread Tom Rini
On Wed, Sep 06, 2017 at 05:31:52PM +0200, Heinrich Schuchardt wrote: > On 08/10/2017 01:14 AM, Rob Clark wrote: > > As requested, I've split this out of the larger EFI_LOADER patchset. > > > > This adds two things that the later EFI_LOADER patchset depends on: > > > > 1) UUID/GUID support > > 2)

[U-Boot] [PATCH] ipu_common: Let the MX6 IPU clock be calculated in run-time

2017-09-06 Thread Fabio Estevam
From: Fabio Estevam MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz. When running a SPL target, which supports multiple MX6 variants we cannot properly setup the IPU clock frequency via CONFIG_IPUV3_CLK option as such decision is done in build-time currently.

[U-Boot] [PATCH 1/1] efi_loader: move efi_guid_t typedef to efi.h

2017-09-06 Thread Heinrich Schuchardt
efi_guid_t is used both in efi_api.h and in part_efi.h. Both include efi.h. So we should move the typedef to the common include. This saves us from including part_efi.h in places where we don't need it. Signed-off-by: Heinrich Schuchardt --- download.suse.org seems to be

Re: [U-Boot] [PATCH] arm: am33xx: Make pin multiplexing functions optional

2017-09-06 Thread Felix Brack
On 01.09.2017 17:21, Tom Rini wrote: > On Thu, Aug 31, 2017 at 03:16:17PM +0200, Felix Brack wrote: > >> Boards using the single-register-pin-controller can configure all >> pins by means of the device tree. This renders the implementation of >> the two functions set_uart_mux_conf and

Re: [U-Boot] [PATCH 0/5] vsprintf and short-wchar for EFI_LOADER

2017-09-06 Thread Heinrich Schuchardt
On 08/10/2017 01:14 AM, Rob Clark wrote: > As requested, I've split this out of the larger EFI_LOADER patchset. > > This adds two things that the later EFI_LOADER patchset depends on: > > 1) UUID/GUID support > 2) %ls UTF string support, in particular UTF-16. In the UEFI API, >all strings

Re: [U-Boot] FSL PCIe LTSSM >= PCI_LTSSM_L0 equals link up

2017-09-06 Thread York Sun
On 09/05/2017 04:08 AM, Joakim Tjernlund wrote: > On Mon, 2017-08-28 at 17:14 +, York Sun wrote: >> +Xiaowei >> >> On 08/28/2017 10:09 AM, Joakim Tjernlund wrote: >>> On Mon, 2017-08-28 at 16:55 +, York Sun wrote: On 08/28/2017 09:48 AM, Joakim Tjernlund wrote: > FSL PCIe

Re: [U-Boot] [PATCH 1/1] efi_loader: move efi_guid_t typedef to efi.h

2017-09-06 Thread Heinrich Schuchardt
On 09/06/2017 05:22 PM, Alexander Graf wrote: > > > On 06.09.17 16:49, Heinrich Schuchardt wrote: >> efi_guid_t is used both in efi_api.h and in part_efi.h. >> Both include efi.h. So we should move the typedef to >> the common include. This saves us from including >> part_efi.h in places where

[U-Boot] [PATCH 1/1] vsprintf: vsprintf does not have parameter size

2017-09-06 Thread Heinrich Schuchardt
The inline documentation of vsprintf mentions a parameter size which does not exist in the function declaration. int vsprintf(char *buf, const char *fmt, va_list args); Signed-off-by: Heinrich Schuchardt --- include/vsprintf.h | 4 +--- 1 file changed, 1 insertion(+), 3

Re: [U-Boot] [Patch v2] configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

2017-09-06 Thread York Sun
On 08/25/2017 03:03 AM, Sumit Garg wrote: > As part of chain of trust with confidentiality along with distro > boot, linux kernel image needs to be stored in encrypted form on > ext4 boot partition. So enable CONFIG_CMD_EXT4_WRITE in case of > Secure boot. > > Signed-off-by: Sumit Garg

Re: [U-Boot] [PATCH 1/1] armv8: ls1012a: Memory Map modification of kernel, env

2017-09-06 Thread York Sun
On 09/01/2017 02:54 AM, Bhaskar Upadhaya wrote: > This patch adjusts memory map for images on LS1012A > as per below memory map: > Image Flash Offset > RCW+PBI 0x > Boot firmware (U-Boot) 0x0010

[U-Boot] SPI NAND Support

2017-09-06 Thread Suresh Gupta
Hi Jagan, Do we have NAND support in our SPI framework of u-boot. Please provide me some pointers if any so that I incorporate our controller with that driver. Thanks SuresH ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 1/1] linker_lists: remove incorrect comment

2017-09-06 Thread Heinrich Schuchardt
Remove a comment line refering to a non-existent file. Signed-off-by: Heinrich Schuchardt --- include/linker_lists.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linker_lists.h b/include/linker_lists.h index 76898ab702..6ef89a2090 100644 ---

[U-Boot] [PATCH v1] drivers: ahci: write upper 32 bits for clb and fis registers

2017-09-06 Thread Suneel Garapati
If 64-bit capability is supported, commandlistbase and fis base should be split as lower32 and upper32. upper32 should be written to PORT_(LST/FIS)_ADDR_HI. Signed-off-by: Suneel Garapati --- Changes v1: - add macro definitions for LOWER32, UPPER32 drivers/ata/ahci.c

[U-Boot] [PATCH v1] cmd: usb: add blk devices to ignore list in tree graph

2017-09-06 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v1: - add separate check on blk uclass - modify description - add separate