Re: [U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-06 Thread Luka Kovačič
On 2019-05-06 15:02, Stefan Roese wrote: On 03.05.19 23:52, Luka Kovacic wrote: CRS305-1G-4S has a switch chip with an integrated CPU (98DX3236) and like some of the other simillar boards requires bin_hdr. s/simillar/similar bin_hdr (DDR3 init stage) is currently retrieved from the stock

Re: [U-Boot] [PATCH v3 1/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-05-06 Thread Michal Simek
Hi, snip. >>> +$(obj)/pm_cfg_obj.o: $(obj)/pm_cfg_obj.bin >>> + >>> +CFLAGS_zynqmp.o += -DZYNQMP_LOAD_PM_CFG_OBJ >> >> I am no fan of passing another object. you have >> CONFIG_ZYNQMP_LOAD_PM_CFG_OBJ_FILE already and this can be used instead. > > Not sure I got your point here. I'm not passing

Re: [U-Boot] [PATCH v3 1/2] rockchip: add common header boot0.h and gpio.h for soc

2019-05-06 Thread Jagan Teki
On Mon, May 6, 2019 at 8:51 AM Kever Yang wrote: > > boot0.h and gpio.h will be used by system and include by > 'asm/arch/', each of them need of a copy from 'asm/arch-rockchip'. > > Signed-off-by: Kever Yang > Reviewed-by: Tom Rini > --- What is v3 changes here? I'm trying to test this along

Re: [U-Boot] [PATCH 1/1] efi_loader: signature of ExitBootServices()

2019-05-06 Thread Graf, Alexander
On 06.05.19 07:47, Heinrich Schuchardt wrote: Consistently use efi_uintn_t as type of memory keys. Signed-off-by: Heinrich Schuchardt Reviewed-by: Alexander Graf Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 1/1] efi_loader: LoadImage() parameter checks

2019-05-06 Thread Graf, Alexander
On 06.05.19 13:32, Heinrich Schuchardt wrote: On 5/6/19 10:39 AM, Graf, Alexander wrote: On 06.05.19 09:52, Heinrich Schuchardt wrote: On 5/6/19 9:24 AM, Graf, Alexander wrote: On 06.05.19 07:42, Heinrich Schuchardt wrote: If the file path is NULL, return EFI_INVALID_PARAMETER. There is a

Re: [U-Boot] [PATCH v5] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-06 Thread Tom Rini
On Mon, May 06, 2019 at 04:02:53PM +0200, Niel Fourie wrote: > Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec > phyBOARD-Wega AM335x. > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-WEGA > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP SD/MMC: 0 > eth0:

[U-Boot] [PATCH] ARM: mediatek: mt8516: use PSCI to reset the SoC

2019-05-06 Thread Fabien Parent
Instead of using the watchdog, let's use PSCI to perform the reset of the SoC. Signed-off-by: Fabien Parent --- arch/arm/mach-mediatek/mt8516/init.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm/mach-mediatek/mt8516/init.c

[U-Boot] [PATCH v5] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-06 Thread Niel Fourie
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a10 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device

Re: [U-Boot] [PATCH 3/3] dt: bcm63158: watchdog should use a 50Mhz clock

2019-05-06 Thread Philippe REYNES
Hi Stefan, > Hi Philippe, > > On 06.05.19 14:38, Philippe REYNES wrote: >> Hi Stefan, >> >>> On 03.05.19 19:43, Philippe Reynes wrote: The watchdog should use a clock at 50 Mhz, so instead of using the clock osc (200 Mhz), we define a reference clock at 50Mhz and use it for

Re: [U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

2019-05-06 Thread Niel Fourie
Hi Tom, On 5/3/19 4:07 PM, Tom Rini wrote: On Fri, May 03, 2019 at 01:28:02PM +0200, Niel Fourie wrote: [snip] diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi index 78f5e2c4d3..a58734e441 100644 --- a/arch/arm/dts/am33xx-u-boot.dtsi +++

Re: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-05-06 Thread Marcel Ziswiler
On Mon, 2019-05-06 at 10:40 -0300, Fabio Estevam wrote: > Hi Marcel and Igor, > > On Mon, May 6, 2019 at 10:30 AM Marcel Ziswiler > wrote: > > > No, I believe the gadget stack currently does not look at this at > > all while the host stack refuses to bind/load if it is not set to > > host.

Re: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-05-06 Thread Fabio Estevam
Hi Marcel and Igor, On Mon, May 6, 2019 at 10:30 AM Marcel Ziswiler wrote: > No, I believe the gadget stack currently does not look at this at all while > the host stack refuses to bind/load if it is not set to host. Whether or not > this is a good idea and/or would need fixing at various

Re: [U-Boot] [EXT] Re: [ARMv8] kernel entry point

2019-05-06 Thread Pankaj Bansal
> -Original Message- > From: Tom Rini > Sent: Monday, 6 May, 2019 06:59 PM > To: Pankaj Bansal > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha > ; Varun Sethi > Subject: [EXT] Re: [ARMv8] kernel entry point > > On Mon, May 06, 2019 at 01:06:45PM +, Pankaj Bansal wrote: > > > Hi

Re: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-05-06 Thread Marcel Ziswiler
Hi Fabio On Mon, 2019-05-06 at 10:20 -0300, Fabio Estevam wrote: > Hi Igor, > > On Wed, Apr 17, 2019 at 6:21 AM Igor Opaniuk < > igor.opan...@toradex.com> wrote: > > > +/* Colibri USBC */ > > + { > > + dr_mode = "host"; > > Since usbotg1 is used for UMS, this should be dr_mode = "otg" or

Re: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-05-06 Thread Igor Opaniuk
On Mon, May 6, 2019 at 4:20 PM Fabio Estevam wrote: > > Hi Igor, > > On Wed, Apr 17, 2019 at 6:21 AM Igor Opaniuk wrote: > > > +/* Colibri USBC */ > > + { > > + dr_mode = "host"; > > Since usbotg1 is used for UMS, this should be dr_mode = "otg" or > dr_mode="peripheral", right? >

Re: [U-Boot] [ARMv8] kernel entry point

2019-05-06 Thread Tom Rini
On Mon, May 06, 2019 at 01:06:45PM +, Pankaj Bansal wrote: > Hi Tom et. Al, > > I am facing an issue while booting linux on our ARMv8 based platform. > In our platform DDR address starts from 0x8000. > If I make the linux kernel entry point 0x8008 in mkimage, then linux > boots

[U-Boot] U-Boot PXA support

2019-05-06 Thread Tom Rini
Hey folks, I'm attempting, again, to see what we need to do in order to use gcc-8.x for U-Boot and ran into, again: https://patchwork.ozlabs.org/patch/920329/ which in short is that when using -mcpu=xscale gcc-8.x throws an odd error: cc1: error: switch -mcpu=xscale conflicts with -march=armv5te

Re: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-05-06 Thread Fabio Estevam
Hi Igor, On Wed, Apr 17, 2019 at 6:21 AM Igor Opaniuk wrote: > +/* Colibri USBC */ > + { > + dr_mode = "host"; Since usbotg1 is used for UMS, this should be dr_mode = "otg" or dr_mode="peripheral", right? ___ U-Boot mailing list

[U-Boot] [PATCH] ata: ahci: fix memory leak

2019-05-06 Thread Christian Gmeiner
malloc(..) and memalign(..) are both allocating memory and as a result we leak the memory allocated with malloc(..). Signed-off-by: Christian Gmeiner --- drivers/ata/ahci.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index

[U-Boot] [ARMv8] kernel entry point

2019-05-06 Thread Pankaj Bansal
Hi Tom et. Al, I am facing an issue while booting linux on our ARMv8 based platform. In our platform DDR address starts from 0x8000. If I make the linux kernel entry point 0x8008 in mkimage, then linux boots fine. BUT, if I make the linux image entry point as 0x8100 in mkimage, the

Re: [U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-06 Thread Stefan Roese
On 03.05.19 23:52, Luka Kovacic wrote: CRS305-1G-4S has a switch chip with an integrated CPU (98DX3236) and like some of the other simillar boards requires bin_hdr. s/simillar/similar bin_hdr (DDR3 init stage) is currently retrieved from the stock bootloader and compiled into the kwb image.

Re: [U-Boot] Booting MX6 via Serial Download after DM conversion

2019-05-06 Thread Peng Fan
> Subject: Re: Booting MX6 via Serial Download after DM conversion > > On Thu, Apr 25, 2019 at 3:53 AM Fabio Estevam > wrote: > > > > Hi Peng, > > > > On Tue, Apr 23, 2019 at 11:18 PM Peng Fan wrote: > > > > > Not try this. > > > uuu should support SPL file being loaded, then if SPL could runs

Re: [U-Boot] [PATCH] simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver

2019-05-06 Thread Heiko Schocher
Hello Lukas, Am 06.05.2019 um 13:25 schrieb Auer, Lukas: Hello Heiko, On Mon, 2019-04-29 at 16:11 +, Auer, Lukas wrote: Hello Heiko, On Mon, 2019-04-29 at 11:40 +0200, Heiko Schocher wrote: Hello Simon, Am 22.04.2019 um 04:38 schrieb s...@google.com: On Wed, Apr 10, 2019 at 8:46 PM

Re: [U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-06 Thread Heiko Schocher
Hello Fabio, Am 03.05.2019 um 19:05 schrieb Fabio Estevam: Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot probes the

Re: [U-Boot] [PATCH 3/3] dt: bcm63158: watchdog should use a 50Mhz clock

2019-05-06 Thread Stefan Roese
Hi Philippe, On 06.05.19 14:38, Philippe REYNES wrote: Hi Stefan, On 03.05.19 19:43, Philippe Reynes wrote: The watchdog should use a clock at 50 Mhz, so instead of using the clock osc (200 Mhz), we define a reference clock at 50Mhz and use it for both watchdog. Signed-off-by: Philippe

Re: [U-Boot] [PATCH 3/3] dt: bcm63158: watchdog should use a 50Mhz clock

2019-05-06 Thread Philippe REYNES
Hi Stefan, > On 03.05.19 19:43, Philippe Reynes wrote: >> The watchdog should use a clock at 50 Mhz, so >> instead of using the clock osc (200 Mhz), we >> define a reference clock at 50Mhz and use it >> for both watchdog. >> >> Signed-off-by: Philippe Reynes > > Just curious: Why is this the

Re: [U-Boot] Booting MX6 via Serial Download after DM conversion

2019-05-06 Thread Jagan Teki
On Thu, Apr 25, 2019 at 3:53 AM Fabio Estevam wrote: > > Hi Peng, > > On Tue, Apr 23, 2019 at 11:18 PM Peng Fan wrote: > > > Not try this. > > uuu should support SPL file being loaded, then if SPL could runs into > > fastboot mode > > to interactive with uuu, then u-boot-dtb.img could be loaded

Re: [U-Boot] DM for ci_udc

2019-05-06 Thread Lukasz Majewski
Hi Sven, Marek, Jean-Jacques, > On 5/6/19 12:12 PM, Sven Schwermer wrote: > > Hi, > > > > I’m running into linking issues when enabling CONFIG_DM_USB_GADGET > > with CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not > > available. That made me look into what’s required to port ci_udc

Re: [U-Boot] [PATCH v2 1/1] efi_loader: LoadImage() parameter checks

2019-05-06 Thread Heinrich Schuchardt
On 5/6/19 10:39 AM, Graf, Alexander wrote: > > On 06.05.19 09:52, Heinrich Schuchardt wrote: >> On 5/6/19 9:24 AM, Graf, Alexander wrote: >>> On 06.05.19 07:42, Heinrich Schuchardt wrote: If the file path is NULL, return EFI_INVALID_PARAMETER. There is a nice contradiction between UEFI

Re: [U-Boot] [PATCHv5 5/6] ARM: socfpga: use the pl310 driver to configure the cache

2019-05-06 Thread Tom Rini
On Tue, Apr 23, 2019 at 04:55:05PM -0500, Dinh Nguyen wrote: > Find the UCLASS_CACHE driver to configure the cache controller's > settings. > > Reviewed-by: Marek Vasut > Reviewed-by: Simon Glass > Signed-off-by: Dinh Nguyen Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH v2 1/3] lib: Add xxhash support

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 10:40:43PM +0200, Marek Behún wrote: > This adds the xxhash support from Linux. Files are almost identical to > those added to Linux in commit 5d240522 ("lib: Add xxhash module") (they > haven't been touched since in Linux). The only difference is to add some > includes to

Re: [U-Boot] [PATCH v2 6/6] board: ti: am43xx: Enable hardware leveling

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:59:33AM +0530, Keerthy wrote: > From: Brad Griffis > > Remove the RDLVL_MASK, RDLVLGATE_MASK, WRLVL_MASK & enable > PHY_INVERT_CLKOUT to enable Hardware leveling for am437x > as recommended by EMIF Tools app note: > > http://www.ti.com/lit/an/sprac70/sprac70.pdf > >

Re: [U-Boot] [PATCH 1/1] lib/display_options: avoid illegal memory access

2019-05-06 Thread Tom Rini
On Fri, Apr 26, 2019 at 06:39:00PM +0200, Heinrich Schuchardt wrote: > display_options_get_banner_priv() overwrites bytes before the start of the > buffer if the buffer size is less then 3. This case occurs in the Sandbox > when executing the `ut_print` command. > > Correctly handle small buffer

Re: [U-Boot] [PATCHv5 4/6] dm: cache: add the pl310 cache controller driver

2019-05-06 Thread Tom Rini
On Tue, Apr 23, 2019 at 04:55:04PM -0500, Dinh Nguyen wrote: > Add a PL310 cache controller driver that is usually found on > ARMv7(32-bit) devices. The driver configures the cache settings that can > be found in the device tree files. > > This initial revision only configures basic

Re: [U-Boot] [PATCH] simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver

2019-05-06 Thread Auer, Lukas
Hello Heiko, On Mon, 2019-04-29 at 16:11 +, Auer, Lukas wrote: > Hello Heiko, > > On Mon, 2019-04-29 at 11:40 +0200, Heiko Schocher wrote: > > Hello Simon, > > > > Am 22.04.2019 um 04:38 schrieb s...@google.com: > > > On Wed, Apr 10, 2019 at 8:46 PM Lukas Auer > > > wrote: > > > > Boards

Re: [U-Boot] [PATCH v2 2/3] lib: add Zstandard decompression support

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 10:40:44PM +0200, Marek Behún wrote: > Add the zstd library from Linux kernel (only decompression support). > There are minimal changes to build with U-Boot, otherwise the files are > identical to Linux commit dc35da16 from March 2018, the files had not > been touched

Re: [U-Boot] [PATCH] board: toradex: drop support.arm maintainer email

2019-05-06 Thread Tom Rini
On Thu, May 02, 2019 at 05:14:30PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Drop Toradex ARM Support from maintainer email > list as this just clogs our support ticketing system. > > Signed-off-by: Marcel Ziswiler > Acked-by: Stefan Agner Applied to u-boot/master, thanks!

Re: [U-Boot] [PATCH 2/2] ARM: da850evm: Enable da850-ohci USB host controller

2019-05-06 Thread Tom Rini
On Tue, Apr 30, 2019 at 05:21:42AM -0500, Adam Ford wrote: > The DA850 EVM has one USB 1.1 OHCI Host controller. With the > host controller now support DM_USB, this patch enables > the respective functions for the da850evm. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH v2 3/3] fs: btrfs: add zstd decompression support

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 10:40:45PM +0200, Marek Behún wrote: > This adds decompression support for Zstandard, which has been included > in Linux btrfs driver for some time. > > Signed-off-by: Marek Behún Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] cmd: pxe: add board specific PXE default path

2019-05-06 Thread Tom Rini
On Thu, May 02, 2019 at 03:29:12PM +0200, Marek Behún wrote: > The list of PXE default paths contains ARCH and SOC specific paths, but > one PXE server can serve different board with the same ARCH and SOC. > This is the case for Turris Omnia and Turris Mox, where ARCH=arm and > SOC=mvebu. > > If

Re: [U-Boot] [PATCH v1 2/2] configs: am335x_evm: enable SPL_FIT_IMAGE_TINY

2019-05-06 Thread Tom Rini
On Fri, Apr 26, 2019 at 03:21:26PM +0200, Jean-Jacques Hiblot wrote: > The size of the SPL for the am335x_evm is constrained. There is no need > to have advanced SPL FIT features, so keep the SPL FIT support tiny. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Lokesh Vutla Applied to

Re: [U-Boot] [PATCH v2 2/6] arm: mach-omap2: am33xx: ddr: Add 1ms delay to avoid L3 error

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:59:29AM +0530, Keerthy wrote: > From: Brad Griffis > > Add 1ms delay to avoid L3 timeout error during suspend resume. > > Signed-off-by: Brad Griffis > Signed-off-by: Keerthy Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH V2 1/2] usb: ohci: ohci-da8xx: Enable da850-ohci driver with DM support

2019-05-06 Thread Tom Rini
On Tue, Apr 30, 2019 at 05:21:41AM -0500, Adam Ford wrote: > This patch reuses some former code for the hawkboard, combines it > with some some similar DM_USB compatible code for the OHCI driver, > and enables the use of the da850's OHCI controller with DM_USB > compatibility. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 1/6] arm: mach-omap2: am33xx: ddr: programming of EXT_PHY_CTRL1 and EXT_PHY_CTRL1_SHADOW

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:59:28AM +0530, Keerthy wrote: > From: Brad Griffis > > Adjust DQS skew in case where invert_clkout=1 is used. > Match recommended values from EMIF Tools app note: > > http://www.ti.com/lit/an/sprac70/sprac70.pdf > > Signed-off-by: Brad Griffis > Signed-off-by:

Re: [U-Boot] [PATCH v2 2/2] board: ti: am654: select SYS_DISABLE_DCACHE_OPS for arm64 build

2019-05-06 Thread Tom Rini
On Mon, Apr 22, 2019 at 09:43:33PM +0530, Vignesh Raghavendra wrote: > AM654 SoC is IO coherent wrt A53 cores, therefore enable > SYS_DISABLE_DCACHE_OPS to avoid cache operations in A53 > SPL/U-Boot. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v2 5/6] arm: mach-omap2: am33xx: ddr: update value for ext_phy_ctrl_36

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:59:32AM +0530, Keerthy wrote: > From: Brad Griffis > > for suspend/resume robustness > > update value for ext_phy_ctrl_36 for suspend/resume robustness > with hardware leveling enabled. > > Match recommended values from EMIF Tools app note: > >

Re: [U-Boot] [PATCH v2 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:59:31AM +0530, Keerthy wrote: > From: Brad Griffis > > In case of RTC+DDR resume, need to restore EMIF context > before initiating hardware leveling. > > Signed-off-by: Brad Griffis > [j-keer...@ti.com Fixed the am335x build issues] > Signed-off-by: Keerthy

Re: [U-Boot] [PATCH v2 3/6] arm: mach-omap2: am33xx: Enable HW Leveling in the rtc+ddr path

2019-05-06 Thread Tom Rini
On Mon, Apr 29, 2019 at 09:59:30AM +0530, Keerthy wrote: > From: Brad Griffis > > Enable HW leveling in RTC+DDR path. The mandate is to enable > HW leveling bit and then wait for 1 ms before accessing any > register. > > Signed-off-by: Brad Griffis > Signed-off-by: Keerthy Applied to

Re: [U-Boot] [PATCH v5 1/2] spl: fix linker size check off-by-one errors

2019-05-06 Thread Tom Rini
On Thu, Apr 25, 2019 at 09:22:39PM +0200, Simon Goldschmidt wrote: > This fixes SPL linker script size checks for 3 lds files where the size > checks were implemented as "x < YYY_MAX_SIZE". > > Fix the size checks to be "x <= YYY_MAX_SIZE" instead. > > Signed-off-by: Simon Goldschmidt Applied

Re: [U-Boot] [PATCHv5 3/6] dm: cache: Create a uclass for cache

2019-05-06 Thread Tom Rini
On Tue, Apr 23, 2019 at 04:55:03PM -0500, Dinh Nguyen wrote: > The cache UCLASS will be used for configure settings that can be found > in a CPU's L2 cache controller. > > Add a uclass and a test for cache. > > Reviewed-by: Simon Glass > Signed-off-by: Dinh Nguyen Applied to u-boot/master,

Re: [U-Boot] [PATCH v2 1/2] arch: armv8: Provide a way to disable cache maintenance ops

2019-05-06 Thread Tom Rini
On Mon, Apr 22, 2019 at 09:43:32PM +0530, Vignesh Raghavendra wrote: > On AM654 SoC(arm64) which is IO coherent and has L3 Cache, cache > maintenance operations being done to support non-coherent platforms > causes issues. > > For example, here is how U-Boot prepares/handles a buffer to receive

Re: [U-Boot] [PATCH v1 1/2] spl: fit: Always enable tracking of os-type if SPL_OS_BOOT is enabled

2019-05-06 Thread Tom Rini
On Fri, Apr 26, 2019 at 03:21:25PM +0200, Jean-Jacques Hiblot wrote: > FIT_IMAGE_TINY is used to reduce the size of the SPL by removing os-type > tracking and recording the loadables into the loaded FDT. When this option > is enabled, it is assumed that the next stage firmware is u-boot. >

Re: [U-Boot] [PATCHv5 6/6] configs: socfpga: add imply pl310 cache controller

2019-05-06 Thread Tom Rini
On Tue, Apr 23, 2019 at 04:55:06PM -0500, Dinh Nguyen wrote: > Select the PL310 UCLASS_CACHE driver for SoCFPGA. > > Reviewed-by: Marek Vasut > Reviewed-by: Simon Glass > Signed-off-by: Dinh Nguyen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCHv5 2/6] ARM: pl310: Add macro's for handling tag and data latency mask

2019-05-06 Thread Tom Rini
On Tue, Apr 23, 2019 at 04:55:02PM -0500, Dinh Nguyen wrote: > Add the PL310 macros for latency control setup, read and write bits. > > Reviewed-by: Marek Vasut > Reviewed-by: Simon Glass > Signed-off-by: Dinh Nguyen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCHv5 1/6] Documentation: dts: Add pl310 cache controller dts documentation

2019-05-06 Thread Tom Rini
On Tue, Apr 23, 2019 at 04:55:01PM -0500, Dinh Nguyen wrote: > Linux commit 8ecd7f5970c5 ("ARM: 8483/1: Documentation: l2c: Rename > l2cc to l2c2x0") > > Linux docs: > Documentation/devicetree/bindings/arm/l2c2x0.txt > > Copied from Linux kernel v5.0. > > "The documentation in the l2cc.txt is

Re: [U-Boot] [PATCH] Refactor IMAGE_ENABLE_VERIFY to handle builds without SPL verification

2019-05-06 Thread Tom Rini
On Thu, Apr 18, 2019 at 08:34:55PM +, Alex Kiernan wrote: > If building with SPL_LOAD_FIT_FULL and FIT_SIGNATURE, but without > SPL_FIT_SIGNATURE then the build fails with: > > common/built-in.o: In function `fit_image_verify_with_data': > common/image-fit.c:1220: undefined reference to

Re: [U-Boot] [PATCH 1/1] env: add missing newline

2019-05-06 Thread Tom Rini
On Sun, Mar 31, 2019 at 03:44:57AM +, Philip Molloy wrote: > Signed-off-by: Philip Molloy Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 1/1] efi_loader: LoadImage() parameter checks

2019-05-06 Thread Graf, Alexander
On 06.05.19 09:52, Heinrich Schuchardt wrote: On 5/6/19 9:24 AM, Graf, Alexander wrote: On 06.05.19 07:42, Heinrich Schuchardt wrote: If the file path is NULL, return EFI_INVALID_PARAMETER. If the file path is invalid, return EFI_NOT_FOUND. These 2 are a documented

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-06 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年5月6日 15:03 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PATCH 2/5] dm: spi: Convert Freescale ESPI > driver to

Re: [U-Boot] [PATCH v2 1/1] efi_loader: LoadImage() parameter checks

2019-05-06 Thread Graf, Alexander
On 06.05.19 07:42, Heinrich Schuchardt wrote: If the file path is NULL, return EFI_INVALID_PARAMETER. If the file path is invalid, return EFI_NOT_FOUND. These 2 are a documented inEFI_LOAD_FILE_PROTOCOL.LoadFile(). It might be a good idea to indicate that for later reference. If the

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-06 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年4月26日 2:07 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PATCH 2/5] dm: spi: Convert Freescale ESPI > driver to

Re: [U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB

2019-05-06 Thread Marek Vasut
On 5/6/19 5:26 AM, Vagrant Cascadian wrote: > On 2019-05-06, Marek Vasut wrote: >> Enable DM USB support on iMX6Q Novena. > > Hrm. Not working so well: > > => load usb 0:1 $kernel_addr_r misc/Binaries/linux/Image > data abort > pc : [] lr : [] > reloc pc : [<17832f0e>]lr :

Re: [U-Boot] [PATCH v4 0/3] Move Stratix 10 SDRAM driver to DM

2019-05-06 Thread Marek Vasut
On 5/6/19 3:50 AM, Ley Foon Tan wrote: > On Fri, May 3, 2019 at 11:13 PM Marek Vasut wrote: >> >> On 5/3/19 8:27 AM, Ley Foon Tan wrote: >>> Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to >>> DM. >>> >>> v3 -> v4: >>> - Add CONFIG_SPL_ALTERA_SDRAM to

Re: [U-Boot] [PATCH v5 0/3] Move Stratix 10 SDRAM driver to DM

2019-05-06 Thread Marek Vasut
On 5/6/19 3:55 AM, Ley Foon Tan wrote: > Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to > DM. > > v4->v5: > - Rebase patches to u-boot/master branch. > > v3 -> v4: > - Add CONFIG_SPL_ALTERA_SDRAM to config_whitelist.txt in patch [1/3] and > remove it in patch [3/3]

Re: [U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-05-06 Thread Igor Opaniuk
On Wed, Apr 17, 2019 at 12:21 PM Igor Opaniuk wrote: > > Migrate USB to Driver Model (CONFIG_DM_USB=y). > > Acked-by: Marcel Ziswiler > Tested-by: Marcel Ziswiler > Signed-off-by: Igor Opaniuk > --- > > v3: > - re-order usb nodes and add additional comments, as suggested by Marcel > > v2: > -

Re: [U-Boot] [PATCH 6/6] ARM: imx: novena: Convert to DM VIDEO

2019-05-06 Thread Marek Vasut
On 5/6/19 5:31 AM, Vagrant Cascadian wrote: > On 2019-05-06, Marek Vasut wrote: >> Enable DM Video support on iMX6Q Novena and fix minor details >> to restore previous behavior of the system. > > Also required: > > "[U-Boot] video: ipuv3: Set max display bpp to 32" >

Re: [U-Boot] DM for ci_udc

2019-05-06 Thread Marek Vasut
On 5/6/19 12:12 PM, Sven Schwermer wrote: > Hi, > > I’m running into linking issues when enabling CONFIG_DM_USB_GADGET with > CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not available. That > made me look into what’s required to port ci_udc to driver model. I have a > few

[U-Boot] DM for ci_udc

2019-05-06 Thread Sven Schwermer
Hi, I’m running into linking issues when enabling CONFIG_DM_USB_GADGET with CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not available. That made me look into what’s required to port ci_udc to driver model. I have a few conceptual questions about this: 1. Some other USB gadget

Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF

2019-05-06 Thread Lukasz Majewski
On Mon, 6 May 2019 09:08:46 + Peng Fan wrote: > Hi Frieder, > > > Subject: Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF > > > > On 06.05.19 09:57, Frieder Schrempf wrote: > > > Hi Peng, > > > > > > I'm trying to add support for a board with i.MX8MM. First I > > > applied Lukasz's CCF

[U-Boot] [PATCH 12/12] configs: stm32f469-disco: Disable PINCTRL_FULL flag

2019-05-06 Thread Patrice Chotard
Disable unused PINCTRL_FULL flag. Signed-off-by: Patrice Chotard --- configs/stm32f469-discovery_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32f469-discovery_defconfig b/configs/stm32f469-discovery_defconfig index 174f807..dcd0697 100644 ---

[U-Boot] [PATCH 07/12] ARM: dts: stm32: Remove useless spi-nor compatible string

2019-05-06 Thread Patrice Chotard
Compatible string "micron,n25q128a13" is useless, remove it. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi

[U-Boot] [PATCH 11/12] configs: stm32f469-disco: Enable QSPI relative flags

2019-05-06 Thread Patrice Chotard
Enable CMD_SF, MTD, DM_SPI_FLASH, SPI_FLASH, SPI, DM_SPI and STM32_QSPI flags to be able to use the embedded n25q128a QSPI flash on stm32f469-disco board. Signed-off-by: Patrice Chotard --- configs/stm32f469-discovery_defconfig | 8 1 file changed, 8 insertions(+) diff --git

[U-Boot] [PATCH 10/12] spi: Kconfig: Add STM32F4 support for STM32_QSPI driver

2019-05-06 Thread Patrice Chotard
Allow to select STM32_QSPI driver on STM32F4 SoCs. Signed-off-by: Patrice Chotard --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index fb794ad..e9dadf0 100644 --- a/drivers/spi/Kconfig +++

[U-Boot] [PATCH 06/12] ARM: dts: stm32: Set spi-rx/tx-bus-width to 4 for stm32f746-disco

2019-05-06 Thread Patrice Chotard
As n25q128 qspi flash supports quad input fast program and quad input fast read, set spi-tx_bus-width and spi-rx_bus-width to 4. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 08/12] ARM: dts: stm32: Set spi-rx/tx-bus-width to 4 for stm32f769-disco

2019-05-06 Thread Patrice Chotard
As mx66l512 qspi flash supports quad input fast program and quad input fast read, set spi-tx_bus-width and spi-rx_bus-width to 4. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 01/12] mach-stm32: Add MPU region for spi-nor memory mapped region

2019-05-06 Thread Patrice Chotard
The Quad-SPI interface is able to manage up to 256Mbytes Flash memory starting from 0x9000 to 0x9FFF in the memory mapped mode. Add a dedicated MPU region into stm32_region_config. See application note AN4760 available at www.st.com Signed-off-by: Patrice Chotard ---

[U-Boot] [PATCH 09/12] ARM: dts: stm32: Add qspi support for stm32f469-disco board

2019-05-06 Thread Patrice Chotard
Add device tree nodes to support qspi for stm32f469-disco board. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f469-disco-u-boot.dtsi | 39 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/stm32f469-disco-u-boot.dtsi

[U-Boot] [PATCH 04/12] ARM: dts: stm32: add qspi flash compatible string for stm32f746-eval

2019-05-06 Thread Patrice Chotard
Add missing flash compatible string to be able to read/write into qspi flash. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32746g-eval-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32746g-eval-u-boot.dtsi b/arch/arm/dts/stm32746g-eval-u-boot.dtsi index

[U-Boot] [PATCH 05/12] ARM: dts: stm32: Set spi-rx/tx-bus-width to 4 for stm32f746-eval

2019-05-06 Thread Patrice Chotard
As n25q512a qspi flash supports quad input fast program and quad input fast read, set spi-tx_bus-width and spi-rx_bus-width to 4. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32746g-eval-u-boot.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 00/12] SPI flash STM32 MCU's fixes

2019-05-06 Thread Patrice Chotard
This series update MCU's DT in order to fix SPI flash configuration: - Adds MPU region dedicated for SPI flash used in memory mapped mode. - Fixes compatible string. - Fixes memory map size. - Updates spi-tx-bus-width and spi-rx-bus-width property values. - Adds QSPI flash support for

[U-Boot] [PATCH 02/12] ARM: dts: stm32: Fix qspi memory map size for stm32f7 boards

2019-05-06 Thread Patrice Chotard
stm32f746-disco embeds a 16Mb qspi flash, stm32f746-eval and stm32f769-disco embeds a 64Mb qspi flash. Update the reg property accordingly Remove deprecated memory-map property. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32746g-eval-u-boot.dtsi | 1 +

[U-Boot] [PATCH 03/12] ARM: dts: stm32: add qspi flash compatible string for stm32f769-disco

2019-05-06 Thread Patrice Chotard
Add missing flash compatible string to be able to read/write into qspi flash. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi

Re: [U-Boot] [BUG] test_avb_persistent_values() fails

2019-05-06 Thread Igor Opaniuk
On Tue, Apr 30, 2019 at 11:14 PM Heinrich Schuchardt wrote: > > Hello Igor, > > when I run `make tests` with current origin/master > commit a69120a0d7c8d4044cdaceea9eb03913ba4e49c7 > I get an error. I think your submitted this test recently: > commit fc1fe01b08ce ("avb: add support for named

Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF

2019-05-06 Thread Peng Fan
Hi Frieder, > Subject: Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF > > On 06.05.19 09:57, Frieder Schrempf wrote: > > Hi Peng, > > > > I'm trying to add support for a board with i.MX8MM. First I applied > > Lukasz's CCF patches and your patches to U-Boot 2019.04 and tried to > > build

[U-Boot] [PATCH 1/1] test/py: avb: fix test_avb_persistent_values fail

2019-05-06 Thread Igor Opaniuk
From: Igor Opaniuk Fix test_avb_persistent_values() pytest, which was failing because of wrong size value provided from tee sandbox driver. Reported-by: Heinrich Schuchardt Signed-off-by: Igor Opaniuk --- drivers/tee/sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] i2c: mxc: Hide kconfig based control in DM_I2C mode

2019-05-06 Thread Heiko Schocher
Hello Trent, Am 03.05.2019 um 22:16 schrieb Trent Piepho: On Thu, 2019-05-02 at 08:11 +0200, Anatolij Gustschin wrote: Hi Heiko, On Thu, 2 May 2019 07:39:06 +0200 Heiko Schocher h...@denx.de wrote: ... @Anatolij: Is this code needed anymore, as board is moved to DM ? ... dm_i2c_probe

Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF

2019-05-06 Thread Schrempf Frieder
On 06.05.19 09:57, Frieder Schrempf wrote: > Hi Peng, > > I'm trying to add support for a board with i.MX8MM. First I applied > Lukasz's CCF patches and your patches to U-Boot 2019.04 and tried to > build imx8mm_evk config. But I'm getting build errors (see below). The build works if I enable

Re: [U-Boot] [i.MX8MM+CCF 00/41] i.MX8MM + CCF

2019-05-06 Thread Schrempf Frieder
Hi Peng, I'm trying to add support for a board with i.MX8MM. First I applied Lukasz's CCF patches and your patches to U-Boot 2019.04 and tried to build imx8mm_evk config. But I'm getting build errors (see below). Are there any other patches needed? What things are still missing to get i.MX8MM

Re: [U-Boot] [PATCH v2 1/1] efi_loader: LoadImage() parameter checks

2019-05-06 Thread Heinrich Schuchardt
On 5/6/19 9:24 AM, Graf, Alexander wrote: > > On 06.05.19 07:42, Heinrich Schuchardt wrote: >> If the file path is NULL, return EFI_INVALID_PARAMETER. >> If the file path is invalid, return EFI_NOT_FOUND. > > > These 2 are a documented inEFI_LOAD_FILE_PROTOCOL.LoadFile(). It might > be a good

Re: [U-Boot] [PATCH 3/3] dt: bcm63158: watchdog should use a 50Mhz clock

2019-05-06 Thread Stefan Roese
On 03.05.19 19:43, Philippe Reynes wrote: The watchdog should use a clock at 50 Mhz, so instead of using the clock osc (200 Mhz), we define a reference clock at 50Mhz and use it for both watchdog. Signed-off-by: Philippe Reynes Just curious: Why is this the case? Is this also what's done in

Re: [U-Boot] [PATCH 2/3] dt: bcm6858: watchdog should use a 50Mhz clock

2019-05-06 Thread Stefan Roese
On 03.05.19 19:43, Philippe Reynes wrote: The watchdog should use a clock at 50 Mhz, so instead of using the clock osc (200 Mhz), we define a reference clock at 50Mhz and use it for both watchdog. Just curious: Why is this the case? Is this also what's done in the Linux DT version? Other than

Re: [U-Boot] [PATCH 1/3] watchdog: bcm6345: callback start use tick instead of ms

2019-05-06 Thread Stefan Roese
On 03.05.19 19:43, Philippe Reynes wrote: The function bcm6345_wdt_start use the argument timeout as tick but it should be used as milliseconds. A clock is added as requirement for this driver. The frequency of the clock is then used to convert the millisecond to ticks in the function

Re: [U-Boot] [PATCH v12 5/9] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-05-06 Thread Simon Goldschmidt
On Mon, May 6, 2019 at 5:36 AM Chee, Tien Fong wrote: > > On Fri, 2019-05-03 at 13:26 +0200, Simon Goldschmidt wrote: > > On Thu, May 2, 2019 at 9:49 AM Chee, Tien Fong > com> wrote: > > > > > > > > > On Tue, 2019-04-30 at 14:24 +0200, Simon Goldschmidt wrote: > > > > > > > > On Tue, Apr 30,

[U-Boot] [PATCH v1 4/4] armv8: ls1028a: enable DMA mode of SD in SPL

2019-05-06 Thread Yinbo Zhu
From: Yangbo Lu Mark BSS and Heap area of OCRAM as non-secure to perform DMA from non-secure SD controller. Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- include/configs/ls1028a_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ls1028a_common.h

[U-Boot] [PATCH v1 3/4] armv8: layerscape: enable DMA mode of SD in SPL boot

2019-05-06 Thread Yinbo Zhu
From: Meenakshi Aggarwal Mark BSS and Heap area of OCRAM as non-secure to perform DMA from non-secure SD controller. Signed-off-by: Meenakshi Aggarwal Signed-off-by: Yangbo Lu --- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 8

[U-Boot] [PATCH v1 2/4] armv8: fsl-lsch3: add clock support for the second eSDHC

2019-05-06 Thread Yinbo Zhu
From: Yangbo Lu Layerscape began to use two eSDHC controllers, for example, LS1028A. They were same IP block with same reference clock. This patch is to add clock support for the second eSDHC. Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu ---

[U-Boot] [PATCH v1 1/4] mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled

2019-05-06 Thread Yinbo Zhu
From: Yangbo Lu u-boot is trying to make CONFIG_BLK as a hard requirement for DM_MMC. But now it's still not. config BLK bool "Support block devices" depends on DM default y if DM_MMC When fsl_esdhc driver was reworked for DM_MMC support, DM_MMC without CONFIG_BLK

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-06 Thread Jagan Teki
On Mon, May 6, 2019 at 12:29 PM Chuanhua Han wrote: > > > > > -Original Message- > > From: Jagan Teki > > Sent: 2019年4月26日 2:07 > > To: Chuanhua Han > > Cc: Jagan Teki ; Wolfgang Denk ; > > Shengzhou Liu ; Ruchika Gupta > > ; U-Boot-Denx ; Jiafei Pan > > ; Yinbo Zhu > > Subject: Re:

Re: [U-Boot] [PATCH 00/18] autoboot: Tidy up autoboot code

2019-05-06 Thread Lukasz Majewski
On Sun, 5 May 2019 15:53:24 -0600 Simon Glass wrote: > This series cleans up autoboot.c a bit to: > > - Convert options to Kconfig > - Use C code instead of C preprocessor where possible > - Add a few comments > Reviewed-by: Lukasz Majewski > > Simon Glass (18): > main: Use conditional

Re: [U-Boot] [PATCH] net: fec_mxc: not access reserved register on i.MX8

2019-05-06 Thread Peng Fan
Hi Stefano, I do not see this patch applied to your tree, would you pick it up? Patchwork: https://patchwork.ozlabs.org/patch/1085432/ Thanks, Peng. > Subject: [PATCH] net: fec_mxc: not access reserved register on i.MX8 > > We should not access reserved register on i.MX8, otherwise met SERROR

<    1   2   3   >