Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Moses Christopher
On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, < simon.k.r.goldschm...@gmail.com> wrote: > On Wed, Sep 11, 2019 at 11:44 AM Moses Christopher > wrote: > > > > > > > > On Wed, 11 Sep, 2019, 10:32 AM Simon Goldschmidt, < > simon.k.r.goldschm...@gmail.com> wrote: > >> > >> On Mon, Sep 9, 2019 at

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Moses Christopher
On Wed, 11 Sep, 2019, 9:12 PM Simon Goldschmidt, < simon.k.r.goldschm...@gmail.com> wrote: > > > On 11.09.19 20:59, Moses Christopher wrote: > > > > On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, > > > > wrote: > > > > On Wed, Sep 11, 2019 at 11:44

Re: [U-Boot] efi_loader: LoadOptions (bootargs)

2019-09-11 Thread Heinrich Schuchardt
On 9/11/19 8:14 AM, AKASHI Takahiro wrote: Heinrich, On Fri, Aug 23, 2019 at 08:42:27AM +0900, AKASHI Takahiro wrote: On Thu, Aug 22, 2019 at 07:53:46PM +0200, Heinrich Schuchardt wrote: On 8/22/19 11:03 AM, AKASHI Takahiro wrote: Heinrich, I'm now wondering whether LoadedImage's

[U-Boot] [PATCH] net: rtl8169: Support RTL-8168c/8111c

2019-09-11 Thread Thierry Reding
From: Thierry Reding This version of the RTL-8168 chip can be found on some add-in cards sold by CSL-Computer GmbH & Co. KG. The chip isn't special in any way, but it needs to have the ChipCmd register programmed after the DMA descriptors have been set up, so make sure that happens by adding an

Re: [U-Boot] [PATCH] efi_loader: disk: install file system protocol to a whole disk

2019-09-11 Thread Heinrich Schuchardt
On 9/11/19 8:16 AM, AKASHI Takahiro wrote: Heinrich, On Fri, Aug 23, 2019 at 09:04:21AM +0900, AKASHI Takahiro wrote: On Thu, Aug 22, 2019 at 12:52:41PM +0200, Heinrich Schuchardt wrote: On 8/22/19 11:11 AM, Mark Kettenis wrote: From: AKASHI Takahiro Date: Thu, 22 Aug 2019 17:06:25 +0900

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On 11.09.19 21:33, Moses Christopher wrote: On Wed, 11 Sep, 2019, 9:12 PM Simon Goldschmidt, > wrote: On 11.09.19 20:59, Moses Christopher wrote: > > On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, >

[U-Boot] [PATCH 1/1] efi_loader: check parameters EFI_FILE_PROTOCOL.GetInfo()

2019-09-11 Thread Heinrich Schuchardt
Check the parameters of EFI_FILE_PROTOCOL.GetInfo() to avoid possible NULL dereference. Check the buffer size for EFI_FILE_SYSTEM_INFO. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/efi_loader/efi_file.c

[U-Boot] [PATCH 1/1] efi_loader parameter checks EFI_FILE_PROTOCOL.SetInfo()

2019-09-11 Thread Heinrich Schuchardt
We do not support volume label changes. No parameter checks are needed here. When the info for as file is changed the buffer must always contain a file name. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff

Re: [U-Boot] [PATCH 2/2] efi_loader: device_path: support Sandbox's "host" devices

2019-09-11 Thread Heinrich Schuchardt
On 9/11/19 8:35 AM, AKASHI Takahiro wrote: Heinrich, Apologies for having not replied. On Fri, Aug 23, 2019 at 08:09:45PM +0200, Heinrich Schuchardt wrote: On 8/23/19 1:34 AM, AKASHI Takahiro wrote: On Thu, Aug 22, 2019 at 08:19:24PM +0200, Heinrich Schuchardt wrote: On 8/22/19 10:54 AM,

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On 11.09.19 20:59, Moses Christopher wrote: On Wed, 11 Sep, 2019, 4:43 PM Simon Goldschmidt, > wrote: On Wed, Sep 11, 2019 at 11:44 AM Moses Christopher mailto:moseschristoph...@gmail.com>> wrote: > > > > On Wed, 11

[U-Boot] Why do we need both MDIO and MII commands

2019-09-11 Thread Ramon Fried
Hi. Marek raised this issue in IRC several weeks ago and I was wondering the same. why do we support this two commands which accomplish basically the same ? Can we ditch the mii comand and move the missing functionality to the mdio command ? Thanks, Ramon.

Re: [U-Boot] [PATCH] efi_loader: disk: install file system protocol to a whole disk

2019-09-11 Thread AKASHI Takahiro
On Wed, Sep 11, 2019 at 07:31:31PM +0200, Heinrich Schuchardt wrote: > On 9/11/19 8:16 AM, AKASHI Takahiro wrote: > >Heinrich, > > > >On Fri, Aug 23, 2019 at 09:04:21AM +0900, AKASHI Takahiro wrote: > >>On Thu, Aug 22, 2019 at 12:52:41PM +0200, Heinrich Schuchardt wrote: > >>>On 8/22/19 11:11 AM,

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-11 Thread Ashish Kumar
> -Original Message- > From: Stefan Roese > Sent: Wednesday, September 11, 2019 11:17 AM > To: Schrempf Frieder ; Ashish Kumar > ; Ye Li ; > ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi:

[U-Boot] Pull request: u-boot-rockchip-20190912

2019-09-11 Thread Kever Yang
Hi Tom, Please pull the rockchip update: - add idbloader.img target for rockchip tpl+spl; - usb ehci/ohci: go on process if clock driver don't have clk_enable(); - remove clk_enable() for rockchip clock drivers; - add boot order for rockpro64 Gitlab CI:

[U-Boot] [PATCH v2 0/2] efi_loader: device_path: support Sandbox's host device

2019-09-11 Thread AKASHI Takahiro
Changes in v2 (Sept 12, 2019) * use "vendor device path" with dedicate guid instead of LUN * add patch#2 for pretty printing AKASHI Takahiro (2): efi_loader: device_path: support Sandbox's "host" devices efi_loader: device_path: show a host device in understandable form include/efi_loader.h

[U-Boot] [PATCH v2 1/2] efi_loader: device_path: support Sandbox's "host" devices

2019-09-11 Thread AKASHI Takahiro
Sandbox's "host" devices are currently described as UCLASS_ROOT udevice with DEV_IF_HOST block device. As the current implementation of efi_device_path doesn't support such a type, any "host" device on sandbox cannot be seen as a distinct object. For example, => host bind 0 /foo/disk.img =>

[U-Boot] [PATCH v2 2/2] efi_loader: device_path: show a host device in understandable form

2019-09-11 Thread AKASHI Takahiro
It would be better to give a user-friendly text to a host device on sandbox instead of just dumping its guid. => host bind 0 /opt/disk/uboot_sandbox_fat.img => efi devices Device Device Path 15c1f3a0

[U-Boot] [PATCH v2 0/3] efi_loader: disk: install FILE_SYSTEM_PROTOCOL to whole disk

2019-09-11 Thread AKASHI Takahiro
Changes in v2 (Sept 12, 2019) * add patch#1 and #2 * install the protocol only if a file system does exist AKASHI Takahiro (3): fs: export fs_close() efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available efi_loader: disk: install file system protocol to a whole disk fs/fs.c

[U-Boot] [PATCH v2 3/3] efi_loader: disk: install file system protocol to a whole disk

2019-09-11 Thread AKASHI Takahiro
Currently, a whole disk without any partitions is not associated with EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. So even if it houses FAT file system, there is a chance that we may not be able to access it, particularly, when accesses are to be attempted after searching that protocol against a device

[U-Boot] [PATCH v2 2/3] efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available

2019-09-11 Thread AKASHI Takahiro
In the current implementation, EFI_SIMPLEFILE_SYSTEM_PROTOCOL is always installed to all the partitions even if some of them may house no file system. With this patch, that protocol will be installed only if FAT file system exists. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_disk.c |

[U-Boot] [PATCH v2 1/3] fs: export fs_close()

2019-09-11 Thread AKASHI Takahiro
This function is always paired with either fs_set_blk_desc() or fs_set_blk_desc_with_part(). So just export it. Signed-off-by: AKASHI Takahiro --- fs/fs.c | 2 +- include/fs.h | 7 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index

Re: [U-Boot] [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets

2019-09-11 Thread Peng Fan
Hi Breno, > Subject: [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets I saw this patch in imx/master, not in Tom's tree. But this patch breaks build for other archs, such as arc and etc. Regards, Peng. > > Currently it's not possible to authenticate the U-Boot proper of >

[U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-11 Thread Jagan Teki
I have seen this even on v2019.07 release, and the only release that it got working with on v2019.01 (SPL, BROM_RETURN) Any idea? here is the log dump. U-Boot TPL 2019.10-rc3-00297-g5ba8b12543 (Sep 12 2019 - 08:50:36) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL

Re: [U-Boot] efi_loader: LoadOptions (bootargs)

2019-09-11 Thread AKASHI Takahiro
On Wed, Sep 11, 2019 at 07:39:07PM +0200, Heinrich Schuchardt wrote: > On 9/11/19 8:14 AM, AKASHI Takahiro wrote: > >Heinrich, > > > >On Fri, Aug 23, 2019 at 08:42:27AM +0900, AKASHI Takahiro wrote: > >>On Thu, Aug 22, 2019 at 07:53:46PM +0200, Heinrich Schuchardt wrote: > >>>On 8/22/19 11:03 AM,

[U-Boot] [PATCH] arm64: zynqmp: Define default SPL_TEXT_BASE address in Kconfig

2019-09-11 Thread Michal Simek
Define default address via Kconfig. There is no need to change this address for most of the boards but it is also possible. This one line save a lot of lines in defconfigs that's why make sense to do it. The similar change has been done by commit 9340d8fe8beb ("sunxi: move CONFIG_SPL_TEXT_BASE

[U-Boot] [PATCH] arm64: versal: Remove SPL_DM_SEQ_ALIAS for platforms which have no SPL

2019-09-11 Thread Michal Simek
It is defconfig synchronization caused by commit a074667d5203 ("Kconfig: Varios: Fix more SPL, TPL dependencies"). These platforms are not enabling SPL that's why SPL symbols shouldn't be the part of defconfig. Signed-off-by: Michal Simek --- configs/xilinx_versal_mini_emmc0_defconfig | 1 -

[U-Boot] [PATCH] arm64: zynqmp: Enable gpio hog support for zcu102

2019-09-11 Thread Michal Simek
Gpio hogs are used for GT mux setup after power up. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revA_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git

[U-Boot] [PATCH] xilinx: Add support for SBC

2019-09-11 Thread Michal Simek
There is a need to differentiate fit images for Zynq and ZynqMP U-Boot. Zynq is going to use u-boot-zynq.img and ZynqMP u-boot-zynqmp.img. Signed-off-by: Michal Simek --- include/configs/topic_miami.h | 1 + include/configs/xilinx_zynqmp.h | 2 +- include/configs/zynq-common.h | 2 +- 3

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-11 Thread Bin Meng
+devicetree On Wed, Sep 11, 2019 at 2:25 PM Anup Patel wrote: > > On Wed, Sep 11, 2019 at 7:28 AM Bin Meng wrote: > > > > Hi Marcus, > > > > On Tue, Sep 10, 2019 at 11:53 PM Marcus Comstedt wrote: > > > > > > > > > Hi Bin, > > > > > > Bin Meng writes: > > > > > > > So 4.14 definitely was an

[U-Boot] [PATCH 2/2] arm64: zynqmp: Provide a Kconfig option to disable OCM and TCM MMU mapping

2019-09-11 Thread Michal Simek
This patch provides an option to enable/disable OCM and TCM memory into MMU table with corresponding memory attributes. The same change was done for ZynqMP by commit 189bec47ab1f ("arm64: zynqmp: Provide a Kconfig option to define OCM and TCM in MMU") Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 1/2] arm64: versal: Enable memory mapping via DT

2019-09-11 Thread Michal Simek
Code reads DT and setup MMU table based on memory node. This will ensure that only DT needs to be changed. Signed-off-by: Michal Simek --- arch/arm/mach-versal/cpu.c| 36 +-- arch/arm/mach-versal/include/mach/sys_proto.h | 1 + board/xilinx/versal/board.c

Re: [U-Boot] [PATCH] arm64: versal: Also record versal name to versal fragment

2019-09-11 Thread Heinrich Schuchardt
On 9/11/19 9:21 AM, Michal Simek wrote: Just to make sure that also drivers with versal name are assigned to proper fragment. Signed-off-by: Michal Simek --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 08222fd56948..1e51a98924dd 100644

[U-Boot] [PATCH] zynqmp: firmware: Add Xilinx ZynqMP firmware driver

2019-09-11 Thread Michal Simek
From: Rajan Vaja Add simple ZynqMP firmware drive to populate child nodes under zynqmp_firmware DT node. Signed-off-by: Rajan Vaja Signed-off-by: Michal Simek --- drivers/clk/Kconfig| 1 + drivers/firmware/Kconfig | 10 ++ drivers/firmware/Makefile

[U-Boot] [PATCH 1/4] arm64: versal: Define configs related to USB DFU functionality

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch defines macros required for DFU functionality for Xilinx Versal platform. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/xilinx_versal.h | 25 - 1 file changed, 24 insertions(+), 1

[U-Boot] [PATCH] arm64: zynqmp: Update scriptaddr value to 512MB

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch updates scriptaddr value to 512MB as having it at 32MB has high chance of script corruption incase of bigger kernel. Be aware that 512MB is used for SPL malloc area that's why images should be loaded after SPL (the best after u-boot relocation).

Re: [U-Boot] [PATCH] efi_loader: disk: install file system protocol to a whole disk

2019-09-11 Thread AKASHI Takahiro
Heinrich, On Fri, Aug 23, 2019 at 09:04:21AM +0900, AKASHI Takahiro wrote: > On Thu, Aug 22, 2019 at 12:52:41PM +0200, Heinrich Schuchardt wrote: > > On 8/22/19 11:11 AM, Mark Kettenis wrote: > > >>From: AKASHI Takahiro > > >>Date: Thu, 22 Aug 2019 17:06:25 +0900 > > >> > > >>Currently, a whole

[U-Boot] [PATCH] arm64: zynqmp: Add u-boot, dm-pre-reloc to clk300 node

2019-09-11 Thread Michal Simek
This node is used by qspi driver for supporting qspi boot mode in SPL. Similar changes have beeen done by commit a9022b017a90 ("ARM64: zynqmp: Add u-boot,dm-pre-reloc to clk nodes") Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH] arm64: versal: fpga: Add PL bit stream load support

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds PL bitstream load support for Versal platform. The PL bitstream is loaded by making an SMC to ATF which in turn communicates with platform firmware which configures and loads PL bitstream on to PL. Signed-off-by: Siva Durga Prasad Paladugu

[U-Boot] [PATCH 0/4] arm64: versal: Extend distro boot

2019-09-11 Thread Michal Simek
Hi, these patches are extending current distribution boot for Xilinx Versal. USB DFU and jtag with one change for spi boot mode. Thanks, Michal Siva Durga Prasad Paladugu (2): arm64: versal: Define configs related to USB DFU functionality arm64: versal: Add new jtag distro boot command T

[U-Boot] [PATCH 4/4] arm64: versal: Change boot script offset address in versal

2019-09-11 Thread Michal Simek
From: T Karthik Reddy With the current boot script offset address in qspi is being overlaped by BOOT.BIN as it is over 90MB with fpga included. So moving the script offset address to end of flash after "bootenv" mtd partition. Here we are considering qspi flash size >= 128Mbytes on versal and

[U-Boot] [PATCH 2/4] arm64: versal: Add new jtag distro boot command

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds new jtag distro boot command to look for bootscript file in DDR and execute it first incase of jtag bootmode. This patch also updates scriptaddr to 512MB as there is high of script corruption incase of bigger kernel image. Signed-off-by: Siva

[U-Boot] [PATCH 3/4] arm64: versal: Add new dfu usb distro boot command

2019-09-11 Thread Michal Simek
From: T Karthik Reddy This patch adds new dfu usb distro boot command to look for bootscript from dfu-util and runs it. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 4 include/configs/xilinx_versal.h | 11 +++ 2 files

Re: [U-Boot] [PATCH] arm64: versal: Also record versal name to versal fragment

2019-09-11 Thread Michal Simek
On 11. 09. 19 9:46, Heinrich Schuchardt wrote: > On 9/11/19 9:21 AM, Michal Simek wrote: >> Just to make sure that also drivers with versal name are assigned to >> proper >> fragment. >> >> Signed-off-by: Michal Simek >> --- >> >>   MAINTAINERS | 1 + >>   1 file changed, 1 insertion(+) >> >> diff

[U-Boot] [PATCH] arm64: zynqmp: Add new jtag distro boot command

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds new jtag distro boot command to look for bootscript file in DDR and execute it first incase of jtag bootmode. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c| 2 +-

Re: [U-Boot] efi_loader: LoadOptions (bootargs)

2019-09-11 Thread AKASHI Takahiro
Heinrich, On Fri, Aug 23, 2019 at 08:42:27AM +0900, AKASHI Takahiro wrote: > On Thu, Aug 22, 2019 at 07:53:46PM +0200, Heinrich Schuchardt wrote: > > On 8/22/19 11:03 AM, AKASHI Takahiro wrote: > > >Heinrich, > > > > > >I'm now wondering whether LoadedImage's LoadOptions, which comes > > >from

[U-Boot] [PATCH 2/2] xilinx: Add sd boot command script for reference

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds sdboot command script for reference. This can be converetd into uboot script using mkimage and use for booting. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/bootscripts/sdboot.cmd | 10 ++ 1

[U-Boot] [PATCH] arm64: zynqmp: Enable SPI support in SPL for zcu104

2019-09-11 Thread Michal Simek
It is enabling this mode but full boot is not validated yet. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zcu104_revC_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/xilinx_zynqmp_zcu104_revC_defconfig b/configs/xilinx_zynqmp_zcu104_revC_defconfig index

[U-Boot] [PATCH] usb: musb_hcd: fix compilation error

2019-09-11 Thread Jean-Jacques Hiblot
commit 65c1f9820c8f79f "usb: Add nonblock argument to submit_int_msg" breaks the musb_hcd driver. Fixing it by adding the missing argument Signed-off-by: Jean-Jacques Hiblot --- This patch is intended only for the u-boot-usb tree. drivers/usb/musb/musb_hcd.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH] net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver

2019-09-11 Thread Michal Simek
GD is not used anywhere that's why there is no reason to have this macro in the driver. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 033efb819569..a2ed50fa1e55 100644 ---

[U-Boot] [PATCH] net: zynq_gem: Add new versal compatible string

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds new versal compatible string to GEM driver for Versal platform. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/zynq_gem.c

Re: [U-Boot] [PATCH 2/2] efi_loader: device_path: support Sandbox's "host" devices

2019-09-11 Thread AKASHI Takahiro
Heinrich, Apologies for having not replied. On Fri, Aug 23, 2019 at 08:09:45PM +0200, Heinrich Schuchardt wrote: > On 8/23/19 1:34 AM, AKASHI Takahiro wrote: > >On Thu, Aug 22, 2019 at 08:19:24PM +0200, Heinrich Schuchardt wrote: > >>On 8/22/19 10:54 AM, AKASHI Takahiro wrote: > >>>Sandbox's

[U-Boot] [PATCH 1/2] xilinx: Add qspi boot command script for reference

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Thsi patch adds qspiboot command script for reference. This can be converetd into uboot script using mkimage and use for booting. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/bootscripts/qspiboot.cmd | 10 ++

[U-Boot] [PATCH 0/2] xilinx: Add some example scripts for bootmodes

2019-09-11 Thread Michal Simek
Hi, mostly yocto guys asked us to provide default scripts for supporting distribution boot mode which is done by these 2 patches. Thanks, Michal Siva Durga Prasad Paladugu (2): xilinx: Add qspi boot command script for reference xilinx: Add sd boot command script for reference

Re: [U-Boot] [PATCH] ARM: dts: at91: sama5d27_wlsom1: add hlcdc node

2019-09-11 Thread Eugen.Hristev
On 26.08.2019 14:45, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > Add node for hlcld for u-boot logo display at boot. > This is compatible with the Precision Design Associates (PDA) TM5000 screen. > Timings are compatible with simple panel from Linux, panel name is > pda_91_00156_a0

Re: [U-Boot] [PATCH 1/4] ARM: dts: at91: sama5d2: add seq for qspi1

2019-09-11 Thread Eugen.Hristev
On 26.08.2019 09:47, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > qspi1 does not have an alias/seq number. This is required for > SPL default SF bus booting for the boards that have this SoC > > Signed-off-by: Eugen Hristev > --- Applied series to u-boot-atmel/next

[U-Boot] [PATCH] arm64: versal: Define board_late_init for versal

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define board_late_init which performs bootmode detection and prepares corresponding distro boot commaand sequence. Also disable it for mini platforms because simply there is no need to have it enabled. But also disable it for virtual platform because Qemu is not

[U-Boot] [PATCH 0/2] arm64: Setting up initrd_hi at run time

2019-09-11 Thread Michal Simek
Hi, we are running one u-boot configurations on various boards with different amount of memory that setting up initrd_high is problematic. There shouldn't be a problem to setup initrd_high at run time based on DDR size detection. The same changes are done for ZynqMP and Versal. Thanks, Michal

[U-Boot] [PATCH 1/2] arm64: versal: Set initrd_high to as high as possible

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch is setting up the initrd_high to as high as possible by leaving max stack size for u-boot so that bigger rootfs can also be loaded by u-boot for booting kernel. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 2/2] arm64: zynqmp: Set initrd_high to as high as possible

2019-09-11 Thread Michal Simek
From: T Karthik Reddy This patch is setting up the initrd_high to as high as possible by leaving max stack size for u-boot so that bigger rootfs can also be loaded by u-boot for booting kernel. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal

[U-Boot] [PATCH] arm64: versal: Add platform detection code to versal_virt

2019-09-11 Thread Michal Simek
Detect which platform U-Boot is running at and based on that choose DTS file which U-Boot uses for own configuration. Signed-off-by: Michal Simek --- arch/arm/mach-versal/cpu.c | 18 +--- arch/arm/mach-versal/include/mach/hardware.h | 9 board/xilinx/versal/board.c

[U-Boot] [PATCH] clk: versal: Add clock driver support

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds clock driver support for Versal platform. The clock driver queries and performs clock operations using PLM firmware by communicating with it using SMC calls. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- DT is using

Re: [U-Boot] [PATCH 0/3] Support distro boot in pico-imx7d BL33 case

2019-09-11 Thread Peng Fan
> -Original Message- > From: Jun Nie > Sent: 2019年9月9日 21:47 > To: Peng Fan > Cc: Stefano Babic ; Fabio Estevam ; > Otavio Salvador ; Vanessa Maegima > ; Bryan O'Donoghue > ; U-Boot Mailing List > Subject: Re: [PATCH 0/3] Support distro boot in pico-imx7d BL33 case > > Peng Fan

Re: [U-Boot] [PATCH] clk: sifive: Fix ethernet regression on HiFive Unleashed

2019-09-11 Thread Anup Patel
On Wed, Sep 11, 2019 at 7:28 AM Bin Meng wrote: > > Hi Marcus, > > On Tue, Sep 10, 2019 at 11:53 PM Marcus Comstedt wrote: > > > > > > Hi Bin, > > > > Bin Meng writes: > > > > > So 4.14 definitely was an out-of-tree kernel > > > > Everything before 5.2 was out-of-tree. > > > > > > > No one can

Re: [U-Boot] Add support for imxrt

2019-09-11 Thread Stefano Babic
Hi Giulio, On 10/09/19 20:32, Giulio Benetti wrote: > Hello everybody, > > I would like to port imxrt to u-boot and I would like to ask you: > - do you have the interest on upstreaming it? > if yes: > I've seen how they've dealt with 'stm32' and 'stm32mp' that is similar > to 'imxrt' and 'imx'.

Re: [U-Boot] [PATCH] configs: rockpro64-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE【请注意,邮件由u-boot-boun...@lists.denx.de代发】 CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE

2019-09-11 Thread Kever Yang
On 2019/9/10 上午4:48, Hugh Cole-Baker wrote: This enables reading the cpuid from e-fuse, and deriving a static MAC address from it. Without this, the ethernet interface on the rockpro64 can't be used to boot. Signed-off-by: Hugh Cole-Baker Cc: Philipp Tomsich Reviewed-by: Kever Yang

[U-Boot] [PATCH] arm64: versal: Also record versal name to versal fragment

2019-09-11 Thread Michal Simek
Just to make sure that also drivers with versal name are assigned to proper fragment. Signed-off-by: Michal Simek --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 08222fd56948..1e51a98924dd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -403,6

Re: [U-Boot] [PATCH 02/10] scsi: Add max_bytes to scsi_platdata

2019-09-11 Thread Faiz Abbas
Vignesh, On 10/09/19 9:16 AM, Vignesh Raghavendra wrote: > > > On 09/09/19 1:49 PM, Faiz Abbas wrote: >> diff --git a/include/scsi.h b/include/scsi.h >> index 81ab43c842..076bdbc6a0 100644 >> --- a/include/scsi.h >> +++ b/include/scsi.h >> @@ -168,6 +168,7 @@ struct scsi_platdata { >>

Re: [U-Boot] [PATCH 05/10] ufs: Add Initial Support for UFS subsystem

2019-09-11 Thread Faiz Abbas
Hi Vignesh, On 10/09/19 9:18 AM, Vignesh Raghavendra wrote: > > > On 09/09/19 1:49 PM, Faiz Abbas wrote: >> Add Support for UFS Host Controller Interface (UFSHCI) for communicating >> with Universal Flash Storage (UFS) devices. The steps to initialize the >> host controller interface are the

Re: [U-Boot] Issue in u-boot; TFTP error: trying to overwrite reserved memory...

2019-09-11 Thread Simon Goldschmidt
On Mon, Sep 9, 2019 at 11:29 AM Moses Christopher wrote: > > Hi Simon, > > > Thanks for the prompt reply. > > On Fri, 6 Sep, 2019, 8:13 AM Simon Goldschmidt, > wrote: > > Hi, > > On Thu, Sep 5, 2019 at 4:14 PM Moses Christopher > wrote: > > Hello together, > > > > I was trying to build u-boot

[U-Boot] [PATCH] ARM: zynq: Do not enable NETBSD support by default

2019-09-11 Thread Michal Simek
This option is disable in Xilinx tree for quite a long time that's why let's disable it in mainline. If there is anybody who requires this options then it should be moved to Kconfig first and should be removed from this config. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 2

Re: [U-Boot] [PATCH] zynqmp: firmware: Add Xilinx ZynqMP firmware driver

2019-09-11 Thread Lokesh Vutla
On 11/09/19 1:17 PM, Michal Simek wrote: > From: Rajan Vaja > > Add simple ZynqMP firmware drive to populate child nodes under > zynqmp_firmware DT node. > > Signed-off-by: Rajan Vaja > Signed-off-by: Michal Simek If this driver is only meant for populating child nodes, then simple-bus in

[U-Boot] [RFC PATCH v1 1/5] imx: gpmi: add defines for hw randominizer

2019-09-11 Thread Igor Opaniuk
From: Igor Opaniuk Extend GPMI Integrated ECC Control Register Description, include additional defines for enabling randomizer function and providing proper randomizer type. For additional details check i.MX7 APR, section 9.6.6.3 GPMI Integrated ECC Control Register Description (GPMI_ECCCTRLn)

[U-Boot] [RFC PATCH v1 0/5] imx: nandbcb: support for i.MX7 and bcb only updates

2019-09-11 Thread Igor Opaniuk
This introduces support for writing BCB(FCB/FDDT) for i.MX7 and additional subcommand for writing BCB only (without firmware). Igor Opaniuk (5): imx: gpmi: add defines for hw randominizer nand: mxs_nand: add API for switching different BCH layouts imx: nandbcb: add support for i.MX7 imx:

Re: [U-Boot] [EXT][xhci] XHCI Short Packet Issues

2019-09-11 Thread Bin Meng
Hi Aaron, On Tue, Sep 10, 2019 at 7:53 AM Aaron Williams wrote: > > Hi Bin, > > I have some more data. It looks like U-Boot is not properly handling the short > transfer case according to section 4.10.1.1.2 in the XHCI 3.1 specification. > In this case, when the data fits in the first TRB, two

[U-Boot] [PATCH v4 02/15] usb: dwc3: switch to peripheral mode when exiting

2019-09-11 Thread Jean-Jacques Hiblot
This allow the phy to enter idle and then suspend. the K2 platforms require the PHY to be suspended before the USB domain clock can be turned off. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/usb/dwc3/core.c | 13 + 1

[U-Boot] [PATCH] fpga: zynqmp: Fix second local variable declaration

2019-09-11 Thread Michal Simek
No reason to define new_buf again. Signed-off-by: Michal Simek --- drivers/fpga/zynqmppl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c index 22bfdd8dce61..f6d9d50ef15f 100644 --- a/drivers/fpga/zynqmppl.c +++

[U-Boot] [PATCH] mmc: sdhci: Move ZYNQ_HISPD_BROKEN to Kconfig

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch moves CONFIG_ZYNQ_HISPD_BROKEN to Kconfig Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- That config_whitelist.txt change doesn't need to be the part of commit but DP has done that and it should be ok to keep it there.

[U-Boot] [PATCH] arm64: zynqmp: Add idcodes for new RFSoC silicons ZU48DR and ZU49DR

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add zu48dr and zu49dr to the list of zynqmp devices. The zu48dr and zu49dr are the new RFSoC silicons with id values of 0x7b and 0x7e. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 8 1 file

[U-Boot] [PATCH] arm64: versal: Fix for OCM overwriting issue

2019-09-11 Thread Michal Simek
From: Ashok Reddy Soma This patch reduces the console buffer size from 2048 to 1024, thus fixes OCM overwriting issue. Differences are in bss section as is shown from output: xilinx_versal_mini: all -2056 bss -2048 text -8 u-boot: add: 0/0, grow: 0/-3 bytes: 0/-2056 (-2056) function

[U-Boot] [PATCH v4 01/15] usb: host: remove the xhci-zynqmp driver

2019-09-11 Thread Jean-Jacques Hiblot
This driver is not used anymore. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: None Changes in v2: None configs/avnet_ultra96_rev1_defconfig | 1 - .../xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 - .../xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1

[U-Boot] [PATCH v4 06/15] usb: dwc3-generic: factorize code

2019-09-11 Thread Jean-Jacques Hiblot
Factor code for re-usability. This is another step toward adding host support. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 55 + 1 file changed, 35 insertions(+), 20

[U-Boot] [PATCH v4 07/15] usb: dwc3-generic: add a new host driver that uses the dwc3 core

2019-09-11 Thread Jean-Jacques Hiblot
Currently the host driver used by dwc3-generic is "xhci-dwc3". This is a functional driver but it doesn't use the dwc3 core and, in particular, it lacks some bits that may be important. For example on the k2 platforms, it is important that the phy are properly suspended when the USB is not used

Re: [U-Boot] [PATCH] usb: musb_hcd: fix compilation error

2019-09-11 Thread Marek Vasut
On 9/11/19 9:44 AM, Jean-Jacques Hiblot wrote: > commit 65c1f9820c8f79f "usb: Add nonblock argument to submit_int_msg" > breaks the musb_hcd driver. > Fixing it by adding the missing argument > > Signed-off-by: Jean-Jacques Hiblot > --- > > This patch is intended only for the u-boot-usb tree.

[U-Boot] [PATCH] ARM: zynq: dts: Added alias for usb node

2019-09-11 Thread Michal Simek
From: Vipul Kumar This patch added alias for usb node in dts file. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek --- Vipul left Xilinx but he is origin author of this patch that's why I am keeping him here. --- arch/arm/dts/zynq-zc702.dts | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH] ARM: zynq: Align model name with DT

2019-09-11 Thread Michal Simek
Use model property to distinguish different configurations. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cse-qspi-single.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynq-cse-qspi-single.dts b/arch/arm/dts/zynq-cse-qspi-single.dts index

Re: [U-Boot] [PATCH] zynqmp: firmware: Add Xilinx ZynqMP firmware driver

2019-09-11 Thread Michal Simek
On 11. 09. 19 10:54, Lokesh Vutla wrote: > > > On 11/09/19 1:17 PM, Michal Simek wrote: >> From: Rajan Vaja >> >> Add simple ZynqMP firmware drive to populate child nodes under >> zynqmp_firmware DT node. >> >> Signed-off-by: Rajan Vaja >> Signed-off-by: Michal Simek > > If this driver is

[U-Boot] [PATCH v4 13/15] phy: keystone-usb: handle the transition of the USB power domain

2019-09-11 Thread Jean-Jacques Hiblot
There is no proper power domain support for the keystone platforms. However we need to turn off the USB domains before jumping to linux or it fail to boot (observed with k2e and k2l platforms). This can be done in the PHY driver as it is dedicated only to the keystone platforms and matches the

[U-Boot] [PATCH v4 05/15] usb: dwc3-generic: use platdata

2019-09-11 Thread Jean-Jacques Hiblot
Separate platform data from the private data. This is one step toward adding host support. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 37 - 1 file changed, 23

[U-Boot] [PATCH] net: zynq_gem: Remove check for Versal

2019-09-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch removes check for Versal platform in gem driver as it now supports clock setting through clock framework. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- This patch depends on

[U-Boot] [RFC PATCH v1 5/5] imx: nandbcb: add support for writing BCB only

2019-09-11 Thread Igor Opaniuk
From: Igor Opaniuk Add subcommand for add writing BCB only, where we provide appropriate offsets for firmware1 and firmware2 and size. Example of usage: > nandbcb bcbonly 0x0018 0x0008 0x0020 Writing 1024 bytes to 0x0: randomizing OK Writing 1024 bytes to 0x2: randomizing OK

[U-Boot] [RFC PATCH v1 2/5] nand: mxs_nand: add API for switching different BCH layouts

2019-09-11 Thread Igor Opaniuk
From: Igor Opaniuk On i.MX7 in a sake of reducing the disturbances caused by a neighboring cells in the FCB page in the NAND chip, a randomizer is enabled when reading the FCB page by ROM bootloader. Add API for setting BCH to specific layout (and restoring it back) used by ROM bootloader to be

[U-Boot] [RFC PATCH v1 3/5] imx: nandbcb: add support for i.MX7

2019-09-11 Thread Igor Opaniuk
From: Igor Opaniuk Add support for updating FCB/DBBT on i.MX7: - additional new fields in FCB structure - Leverage hardware BCH/randomizer for writing FCB Signed-off-by: Igor Opaniuk --- arch/arm/include/asm/mach-imx/imx-nandbcb.h | 12 ++ arch/arm/mach-imx/Kconfig | 2

[U-Boot] [RFC PATCH v1 4/5] imx: nandbcb: refactor update function

2019-09-11 Thread Igor Opaniuk
From: Igor Opaniuk Move code for writing FCB/DBBT pages to a separate function Signed-off-by: Igor Opaniuk --- arch/arm/mach-imx/cmd_nandbcb.c | 221 ++-- 1 file changed, 122 insertions(+), 99 deletions(-) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c

[U-Boot] [PATCH v4 10/15] usb: dwc3: Kconfig: get rid of obsolete mode selection

2019-09-11 Thread Jean-Jacques Hiblot
The mode selection for the DWC3 is kind of obsolete. The driver does not have to be host only or gadget only. This choice is confusing. All the remaining callers of dwc3_uboot_init() explicitly set dr_mode before calling the function, so none rely on a default behavior. Remove the choice menu and

[U-Boot] [PATCH v4 15/15] ARM: DTS: keystone: complete the description of the USB PHY devices

2019-09-11 Thread Jean-Jacques Hiblot
As the PHY driver now handles the transitions of USB power domain, we must add this information in the node of each PHY. Also, the phy are expected in the "phys" property, not "usb-phys". Also add the aliases for the USB ports on boards with more than a single port. Signed-off-by: Jean-Jacques

[U-Boot] [PATCH v4 08/15] usb: dwc3-generic: if no max speed is specified in DT, assume super speed

2019-09-11 Thread Jean-Jacques Hiblot
There is no need to fail if the maximum speed is not specified. If the speed is not specified, do the same as linux and assume super speed. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: - updated log message when defaulting to super speed Changes in v2: None

[U-Boot] [PATCH v4 11/15] ARM: keystone: increase PSC timeout

2019-09-11 Thread Jean-Jacques Hiblot
Turning off the USB clocks may take longer than 100us. Increase the timeout to 100ms. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/mach-keystone/include/mach/psc_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v4 04/15] usb: dwc3: always use the inlined version of dwc3_host_init/dwc3_host_exit

2019-09-11 Thread Jean-Jacques Hiblot
No one is actually implementing those functions. We could remove calls to these altogether, but it does not really hurt to keep the empty inlined version at the moment and it satisfies a symmetry with the gadget mode. Signed-off-by: Jean-Jacques Hiblot --- Changes in v4: None Changes in v3:

Re: [U-Boot] [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*

2019-09-11 Thread Vignesh Raghavendra
Hi Ashish, Simon, On 11/09/19 3:11 PM, Simon Goldschmidt wrote: > > > Ashish Kumar mailto:ashish.ku...@nxp.com>> > schrieb am Mi., 11. Sep. 2019, 10:49: > > > > > -Original Message- > > From: Vignesh Raghavendra mailto:vigne...@ti.com>> > > Sent: Tuesday, September 10,

[U-Boot] [PATCH] ARM: zynq: Increase input buffer console size to 2k

2019-09-11 Thread Michal Simek
ZynqMP and Versal is using 2k that's why aligned all platform together to be able to use the same scripts. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index

  1   2   >