Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-22 Thread Jagan Teki
Hi Simon, On 18 February 2016 at 00:30, Simon Glass wrote: > Hi Jagan, > > On 14 February 2016 at 13:46, Jagan Teki wrote: >> Compared to previous patch series this series adds spi-nor >> core with spi-nor controller drivers are of "mtd uclass" >> >> This is whole series for all spi-nor related

[U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-02-22 Thread Gong Qianyu
QSPI and IFC are pin-multiplexed on LS1043A. So if QSPI is enabled, IFC should be disabled. But just disable IFC driver in LS1043A Linux is not enough because mdio-mux will access IFC address space -- actually it accesses FPGA which is connected to IFC CS3. So disable the whole IFC node in Linux de

[U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-02-22 Thread Prabhakar Kushwaha
There is a requirement of u-boot dts fix-up before it is being consumed by u-boot. NXP's SoC LS2085A, LS2080A and LS2088A are almost same except variation in ARM core where LS2085A/LS2080A has A57 and LS2088A has A72. These SoCs will be placed on common LS2085ARDB platform. So instead of maintain

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-02-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Gong > Qianyu > Sent: Monday, February 22, 2016 3:35 PM > To: u-boot@lists.denx.de; york sun ; o...@buserror.net > Cc: Qianyu Gong ; Mingkai Hu > > Subject: [U-Boot] [PATCH] armv8/fsl-layerscape: add IF

[U-Boot] [PATCH v4 2/5] spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN

2016-02-22 Thread Jagan Teki
From: Christophe Ricard In some case wordlen may not be set. Use SPI_DEFAULT_WORDLEN as default. Signed-off-by: Christophe Ricard Reviewed-by: Simon Glass Reviewed-by: Jagan Teki --- drivers/spi/spi-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-uclass.c b/drive

[U-Boot] [PATCH v4 1/5] spi: omap3: Remove unused variable irqstatus in omap3_spi_txrx

2016-02-22 Thread Jagan Teki
From: Christophe Ricard Remove unused variable irqstatus in omap3_spi_txrx Signed-off-by: Christophe Ricard Reviewed-by: Simon Glass Reviewed-by: Jagan Teki --- drivers/spi/omap3_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c inde

[U-Boot] [PATCH v4 0/5] dm: omap3_spi: Convert to driver model

2016-02-22 Thread Jagan Teki
Changes for v4: - rebase to master Changes for v3: - Add DECLARE_GLOBAL_DATA_PTR Changes for v2: - Added dm pindir-d0-out-d1-in logic - Updated comment about 4-wire master mode as per Linux. Christophe Ricard (2): spi: omap3: Remove unused variable irqstatus in om

[U-Boot] [PATCH v4 3/5] spi: omap3: Move headers code inside the driver

2016-02-22 Thread Jagan Teki
Header file have macro's and register definition and some unneeded function proto types which becomes tunned further in future patches and entire driver code resides in one file for more readability. Cc: Tom Rini Cc: Simon Glass Cc: Christophe Ricard Signed-off-by: Jagan Teki --- drivers/spi/

[U-Boot] [PATCH v4 5/5] spi: omap3: Convert to driver model

2016-02-22 Thread Jagan Teki
After this conversion the driver will able to support both dm and non-dm and code is more extensible like we can remove the non-dm part simply without touching anycode if all the boards which are using this driver become dm driven. Cc: Tom Rini Reviewed-by: Simon Glass Acked-by: Christophe Ricar

[U-Boot] [PATCH v4 4/5] spi: omap3: Make local functions as static

2016-02-22 Thread Jagan Teki
Attach static on local defined functions. Cc: Tom Rini Cc: Simon Glass Cc: Christophe Ricard Signed-off-by: Jagan Teki --- drivers/spi/omap3_spi.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index 1

Re: [U-Boot] [PATCH v4 0/5] dm: omap3_spi: Convert to driver model

2016-02-22 Thread Jagan Teki
Christophe, Please test this series if you have hw. On 22 February 2016 at 18:09, Jagan Teki wrote: > Changes for v4: > - rebase to master > Changes for v3: > - Add DECLARE_GLOBAL_DATA_PTR > Changes for v2: > - Added dm pindir-d0-out-d1-in logic > - Updated commen

[U-Boot] [PATCH] test/py: Add option to skip SPL signature checking

2016-02-22 Thread Michal Simek
Provide user option to skip SPL signature verification for cases where u-boot is build with SPL support but full U-Boot is also verified without SPL. If you want to support this feature please add env__spl_skipped = True to your boardenv configuration file. For example Xilinx Zynq is using this fe

Re: [U-Boot] [PATCH] zynq-common: Fix usbboot env variable

2016-02-22 Thread Michal Simek
On 22.2.2016 13:07, Jason Wu wrote: > Remove the miss-placed \0 and add missing ; for usbboot env variable. > > Signed-off-by: Jason Wu > > diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h > index e8c3ef0..98c8313 100644 > --- a/include/configs/zynq-common.h > +++ b/inc

Re: [U-Boot] [PATCH 2/2] video: freetype: Fix a memory leak with a bad parameter

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:10:26 -0700 Simon Glass s...@chromium.org wrote: > Make sure to free memory used when the scale facture is incorrect. > > Reported-by: Coverity (CID: 24068) > Signed-off-by: Simon Glass > --- > > drivers/video/stb_truetype.h | 5 - > 1 file changed, 4 insertions(+),

Re: [U-Boot] [PATCH 1/2] video: truetype: Fix a memory leak on error

2016-02-22 Thread Anatolij Gustschin
Hi Simon, On Sun, 21 Feb 2016 21:10:25 -0700 Simon Glass s...@chromium.org wrote: > When the resolution is not supported we should free the memory we don't plan > to use. > > Reported-by: Coverity (CID: 135127) > > Signed-off-by: Simon Glass > --- > > drivers/video/console_truetype.c | 1 +

[U-Boot] [PATCH] zynq-common: Fix usbboot env variable

2016-02-22 Thread Jason Wu
Remove the miss-placed \0 and add missing ; for usbboot env variable. Signed-off-by: Jason Wu diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index e8c3ef0..98c8313 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -227,8 +227,7 @@

[U-Boot] [PATCH] armv8: fsl-layerscape: Updating entries in Serdes Table

2016-02-22 Thread Pratiyush Mohan Srivastava
The serdes protocol entries in Serdes table 1 for protocol 0x03, 0x33, 0x35 and in Serdes table 2 for protocols 0x45 and 0x47 are updated to reflect the entries in current Reference Manual. Signed-off-by: Pratiyush Mohan Srivastava --- arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c | 14 +++

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-22 Thread Tom Rini
On Mon, Feb 22, 2016 at 02:27:34PM +0530, Jagan Teki wrote: > Hi Simon, > > On 18 February 2016 at 00:30, Simon Glass wrote: > > Hi Jagan, > > > > On 14 February 2016 at 13:46, Jagan Teki wrote: > >> Compared to previous patch series this series adds spi-nor > >> core with spi-nor controller dri

Re: [U-Boot] [PATCH v2 01/25] exynos: video: Move driver files into their own directory

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:38 -0700 Simon Glass s...@chromium.org wrote: > Move all the exynos video drivers into one place for ease of maintenance. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH v2 02/25] exynos: video: Drop dead code

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:39 -0700 Simon Glass s...@chromium.org wrote: > We always use device tree with video, so can drop these #ifdefs. Some of the > hardware addresses are not needed either. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___

Re: [U-Boot] [PATCH v2 02/25] exynos: video: Drop dead code

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:39 -0700 Simon Glass s...@chromium.org wrote: > We always use device tree with video, so can drop these #ifdefs. Some of the > hardware addresses are not needed either. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___

Re: [U-Boot] [PATCH v2 03/25] exynos: video: Remove use of vidinfo_t typedef

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:40 -0700 Simon Glass s...@chromium.org wrote: > Use 'struct vidinfo' instead so that we can change this to a struct with a > different name in future. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot ma

Re: [U-Boot] [PATCH v2 04/25] exynos: video: Drop the static lcd_base_addr variable

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:41 -0700 Simon Glass s...@chromium.org wrote: > Drop this and use parameters instead. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/list

[U-Boot] Problem with attaching UBI partition

2016-02-22 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Dear U-Boot support, I have problems while running following commands in U-Boot: U-Boot => sf probe 0 0 0 SF: Detected S25FL512S with page size 512, total: 67108864 U-Boot => mtdparts device nor0 , # parts = 4 #: namesizeoffset mask_flags 0: boot

Re: [U-Boot] [PATCH v2 05/25] exynos: video: Drop static variables in exynos_fimd.c

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:42 -0700 Simon Glass s...@chromium.org wrote: > Drop these and use parameters instead. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH v2 06/25] exynos: video: Drop static variables in exynos_fb.c

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:43 -0700 Simon Glass s...@chromium.org wrote: > Drop these and use the existing variables instead. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH 3/6] net: phy: realtek: Use generic genphy_parse_link() for RTL8211E

2016-02-22 Thread Michal Simek
On 13.2.2016 11:39, Michal Simek wrote: > The problem with current implementation is that SPDDONE bit is 1 > but link bit is zero. That's why phydev->link is setup to 0 > which ending up in driver failure that link is not up. > > Log: > Zynq> dhcp > ethernet@e000b000 Waiting for PHY auto negotiati

Re: [U-Boot] [PATCH 4/6] ARM: zynq: Enable Realtek phys by default

2016-02-22 Thread Michal Simek
On 13.2.2016 11:39, Michal Simek wrote: > This phy is available at Zybo board. > > 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 e8c3ef0c3872..7b

Re: [U-Boot] [PATCH 6/6] ARM: zynq: Enable EDID for zybo

2016-02-22 Thread Michal Simek
On 13.2.2016 11:39, Michal Simek wrote: > Zybo contains on board HDMI that's why enable EDID. > Doing it via config because zynq i2c driver hasn't been moved to DM yet > and enabling via Kconfig requires DM_I2C. > This will be moved that driver is moved to DM. > > Signed-off-by: Michal Simek > --

Re: [U-Boot] [PATCH 5/6] ARM: zynq: Add reset-gpio property for USB on Zybo

2016-02-22 Thread Michal Simek
On 13.2.2016 11:39, Michal Simek wrote: > DTS syncup with Linux kernel. > Add missing reset-gpio property. > > Signed-off-by: Michal Simek > --- > > This patch is in queue to next kernel version > > --- > arch/arm/dts/zynq-zybo.dts | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >

Re: [U-Boot] [PATCH] ARM: zynq: Wire-up saving environment to QSPI

2016-02-22 Thread Michal Simek
On 15.2.2016 14:17, Jagan Teki wrote: > On 13 February 2016 at 16:32, Michal Simek wrote: >> Extend options for saving variables to QSPI. >> >> Signed-off-by: Michal Simek >> --- > > Applied to u-boot-spi/master > Are you going to send PR to this release? Thanks, Michal -- Michal Simek, Ing

Re: [U-Boot] [PATCH] ARM: zynq: Wire-up saving environment to QSPI

2016-02-22 Thread Jagan Teki
On Monday 22 February 2016 08:49 PM, Michal Simek wrote: On 15.2.2016 14:17, Jagan Teki wrote: On 13 February 2016 at 16:32, Michal Simek wrote: Extend options for saving variables to QSPI. Signed-off-by: Michal Simek --- Applied to u-boot-spi/master Are you going to send PR to this r

Re: [U-Boot] [PATCH] ARM: zynq: Wire-up saving environment to QSPI

2016-02-22 Thread Michal Simek
On 22.2.2016 16:20, Jagan Teki wrote: > > > On Monday 22 February 2016 08:49 PM, Michal Simek wrote: >> On 15.2.2016 14:17, Jagan Teki wrote: >>> On 13 February 2016 at 16:32, Michal Simek wrote: Extend options for saving variables to QSPI. Signed-off-by: Michal Simek --- >>

Re: [U-Boot] [PATCH 2/2] ARM: zynq: zynqmp: Enable DCC serial driver by default

2016-02-22 Thread Michal Simek
On 19.2.2016 21:55, Simon Glass wrote: > Hi Michal, > > On 18 February 2016 at 09:01, Michal Simek wrote: >> Compile DCC serial driver by default. >> >> Signed-off-by: Michal Simek >> --- >> >> include/configs/xilinx_zynqmp.h | 9 +++-- >> include/configs/zynq-common.h | 8 ++-- >> 2

[U-Boot] [GIT PULL] Xilinx fixes

2016-02-22 Thread Michal Simek
Hi Tom, please pull these fixes to your tree. Below is the log from buildman for zynq platform. Microblaze build is broken by one commit I have just replied in different thread. Thanks, Michal The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34: Merge branch 'master' o

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Michal Simek
Hi, On 8.2.2016 21:49, Tom Rini wrote: > On Fri, Feb 05, 2016 at 05:55:14PM +0900, Masahiro Yamada wrote: > >> The build command of u-boot-spl.dtb is not constant, but dependent >> on CONFIG_OF_SPL_REMOVE_PROPS. Use $(call if_changed,...) so that >> the change of CONFIG_OF_SPL_REMOVE_PROPS is de

Re: [U-Boot] [PATCH 1/2] serial: dcc: Move driver to DM

2016-02-22 Thread Michal Simek
On 19.2.2016 21:55, Simon Glass wrote: > Hi Michal, > > On 18 February 2016 at 09:01, Michal Simek wrote: >> Enabling this driver requires some DT changes. >> Adding DCC to root or main bus: >> dcc: dcc { >> compatible = "arm,dcc"; >> u-boot,dm-pre-reloc; >> }; >> >> Extend alias

Re: [U-Boot] [PATCH v2 08/25] exynos: video: Move dsim_config_dt into a function

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:45 -0700 Simon Glass s...@chromium.org wrote: > In preparation for making this a parameter, move it into the function > that sets it up. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH v2 07/25] exynos: video: Drop static variables in exynos_dp_lowlevel.c

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:44 -0700 Simon Glass s...@chromium.org wrote: > Drop these and use parameters instead. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH v2 09/25] exynos: video: Move struct exynos_platform_mipi_dsim into vidinfo

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:46 -0700 Simon Glass s...@chromium.org wrote: > Put the pointer to this structure in struct vidinfo so that we can > reference it without it being global. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boo

Re: [U-Boot] [PATCH v2 10/25] exynos: video: Move mipi_lcd_device_dt into a function

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:47 -0700 Simon Glass s...@chromium.org wrote: > In preparation for making this a parameter, move it into the function > that sets it up. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH v2 11/25] exynos: video: Combine LCD driver into one file

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:48 -0700 Simon Glass s...@chromium.org wrote: > At present exynos_fimd.c is the controller and exynos_fb.c is the U-Boot > LCD interface. With driver model we want these in one file, so join them > in preparation. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gusts

Re: [U-Boot] [PATCH v2 13/25] video: Add an enum for active low/high

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:50 -0700 Simon Glass s...@chromium.org wrote: > This is used for video signals in some drivers so provide a standard way > of representing it in an enum. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot

Re: [U-Boot] [PATCH v2 22/25] exynos: video: Rename edp_device_info to exynos_dp_priv

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:59 -0700 Simon Glass s...@chromium.org wrote: > Rename this function to better fit with driver model. It is the private data > for the exynos EDP driver. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Tom Rini
On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote: > Hi, > > On 8.2.2016 21:49, Tom Rini wrote: > > On Fri, Feb 05, 2016 at 05:55:14PM +0900, Masahiro Yamada wrote: > > > >> The build command of u-boot-spl.dtb is not constant, but dependent > >> on CONFIG_OF_SPL_REMOVE_PROPS. Use $(ca

[U-Boot] [PATCH 1/7] armv8: ls2080a: remove obsolete stream ID partitioning support

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder Remove stream ID partitioning support that has been made obsolete by upstream device tree bindings that specify how representing how PCI requester IDs are mapped to MSI specifiers and SMMU stream IDs. Signed-off-by: Stuart Yoder --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c |

[U-Boot] [PATCH 3/7] pci: make pci_get_hose_head() available to external users

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder put pci_get_hose_head() prototype in header so it is available to external users-- allowing them to find and iterate over all pci controllers Signed-off-by: Stuart Yoder --- include/pci.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/pci.h b/include/pci.h in

[U-Boot] [PATCH 6/7] pci/layerscape: fdt: function to set msi-map entries

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder msi-map properties are used to tell an OS how PCI requester IDs are mapped to ARM SMMU stream IDs. This patch defines a function to append a single msi-map entry to a given PCI controller device tree node. Signed-off-by: Stuart Yoder --- drivers/pci/pcie_layerscape.c | 43

[U-Boot] [PATCH 0/7] support mapping PCI device ids to stream ids for MSIs

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder A binding for PCI nodes has been finalized specifying how PCI device IDs can be mapped to MSI specifiers. See Documentation/devicetree/bindings/pci/pci-msi.txt in the kernel. For ls2080a and similar Layerscape SoCs, the MSI specifier is the stream id. A programmable table (L

[U-Boot] [PATCH 2/7] armv8: ls2080a: update stream ID partitioning info

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder -update comments around how stream IDs are partitioned -stream IDs allocated to PCI are no longer divided up by controller, but are instead a contiguous range Signed-off-by: Stuart Yoder --- .../asm/arch-fsl-layerscape/ls2080a_stream_id.h| 55 1

[U-Boot] [PATCH 5/7] pci/layerscape: add stream ID allocator

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder add a function to return the next available stream ID for PCI Signed-off-by: Stuart Yoder --- drivers/pci/pcie_layerscape.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pci/pcie_layerscape.c b/drivers/pci/pcie_layerscape.c index 6886488..f96a08c

[U-Boot] [PATCH 7/7] pci/layerscape: set LUT and msi-map for discovered PCI devices

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder for all PCI devices discovered in a system: -allocate a LUT (look-up-table) entry in that PCI controller -allocate a stream ID for the device -program and enable a LUT entry (maps PCI requester id to stream ID) -set the msi-map property on the controller reflecting the

[U-Boot] [PATCH 4/7] pci/layerscape: add support for LUT

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder The per-PCI controller LUT (Look-Up-Table) is a 32-entry table that maps PCI requester IDs (bus/dev/fun) to a stream ID. This patch implements infrastructure to enable LUT initialization: -define registers offsets -add an index to 'struct ls_pcie' to track next available s

Re: [U-Boot] [PATCH v2 23/25] exynos: video: Rename variables for driver model

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:09:00 -0700 Simon Glass s...@chromium.org wrote: > Use 'priv' for a private pointer and 'regs' for a register pointer. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de htt

Re: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-22 Thread Stephen Warren
On 02/12/2016 02:16 PM, Marek Vasut wrote: On 02/12/2016 10:15 PM, Joe Hershberger wrote: On Fri, Feb 12, 2016 at 2:56 PM, Stephen Warren wrote: From: Stephen Warren The alignment and size were swapped, leading to malloc heap corruption. On my system, this sometimes caused U-Boot to crash d

Re: [U-Boot] [PATCH v2 24/25] exynos: video: Convert several boards to driver model for video

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:09:01 -0700 Simon Glass s...@chromium.org wrote: > Update several boards to use driver model for video. This involves changes > to the EDP and FIMD (frame buffer) drivers. Existing PWM, simple-panel and > pwm-backlight drivers are used. These work without additional configur

Re: [U-Boot] [PATCH v2 25/25] exynos: video: Drop old unused code

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:09:02 -0700 Simon Glass s...@chromium.org wrote: > Now that we are using driver model, we can drop the weak functions and LCD > init in the board file. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mail

Re: [U-Boot] [PATCH 01/10] video: Add S3C24xx framebuffer support

2016-02-22 Thread Anatolij Gustschin
Hi Marek, On Sat, 11 Oct 2014 18:42:49 +0200 Marek Vasut ma...@denx.de wrote: > Add basic framebuffer driver for the S3C24xx family of CPUs. > > Signed-off-by: Marek Vasut > Cc: Anatolij Gustschin > Cc: Kyungmin Park > Cc: Lukasz Majewski > Cc: Minkyu Kang > Cc: Vladimir Zapolskiy > > V2:

[U-Boot] Pull request: u-boot-video/master

2016-02-22 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 07:56:16 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 703c

Re: [U-Boot] [RFC PATCH v1 2/2] arm: ls1021aqds: Enable driver model lpuart serial driver

2016-02-22 Thread york sun
On 02/21/2016 11:07 PM, Huan Wang wrote: > Hi, York, > >> On Tue, Feb 9, 2016 at 8:57 AM, York Sun wrote: >>> Convert ls1021aqds_nor_lpuart and ls1021aqds_ddr4_nor_lpuart to driver >>> model suport. Enable lpuart port driver. >>> >>> Signed-off-by: York Sun >>> CC: Alison Wang >>> CC: Bin Meng

Re: [U-Boot] [PATCH] test/py: Add option to skip SPL signature checking

2016-02-22 Thread Stephen Warren
On 02/22/2016 05:52 AM, Michal Simek wrote: Provide user option to skip SPL signature verification for cases where u-boot is build with SPL support but full U-Boot is also verified without SPL. If you want to support this feature please add env__spl_skipped = True to your boardenv configuration f

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/21/2016 05:57 PM, Alexander Graf wrote: > Howdy, > > Currently on arm64 there is a big pile of mess when it comes to MMU > support and page tables. Each board does its own little thing and the > generic code is pretty dumb and nobody actually uses it. > > This patch set tries to clean that

[U-Boot] [PATCH] mx6qarm2: Update maintainer's emails

2016-02-22 Thread Fabio Estevam
From: Fabio Estevam Use the new NXP emails. Signed-off-by: Fabio Estevam --- board/freescale/mx6qarm2/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/mx6qarm2/MAINTAINERS b/board/freescale/mx6qarm2/MAINTAINERS index 52cf7f9..fdbc7fa 100644 -

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-22 Thread Fabio Estevam
On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: > Hello, > I was hit by the same problem, where my USB SD card reader would timeout > in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK > to 32767 fixed the problem but I investigated a little more. > I was curious to see w

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
> Am 22.02.2016 um 18:37 schrieb york sun : > >> On 02/21/2016 05:57 PM, Alexander Graf wrote: >> Howdy, >> >> Currently on arm64 there is a big pile of mess when it comes to MMU >> support and page tables. Each board does its own little thing and the >> generic code is pretty dumb and nobody a

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 10:02 AM, Alexander Graf wrote: > > >> Am 22.02.2016 um 18:37 schrieb york sun : >> >>> On 02/21/2016 05:57 PM, Alexander Graf wrote: >>> Howdy, >>> >>> Currently on arm64 there is a big pile of mess when it comes to MMU >>> support and page tables. Each board does its own little th

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-22 Thread Jagan Teki
Hi York, On 15 February 2016 at 02:16, Jagan Teki wrote: > Compared to previous patch series this series adds spi-nor > core with spi-nor controller drivers are of "mtd uclass" > > This is whole series for all spi-nor related changes, and while > series tested on spansion spi-nor chip. > > Know i

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set c

Re: [U-Boot] [PATCH 4/9] tegra: Replace home grown mmu code with generic table approach

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: Now that we have nice table driven page table creating code that gives us everything we need, move to that. diff --git a/include/configs/tegra210-common.h b/include/configs/tegra210-common.h +#define CONFIG_SYS_FULL_VA +#define CONFIG_SYS_MEM_M

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
On Feb 22, 2016, at 7:12 PM, york sun wrote: > On 02/22/2016 10:02 AM, Alexander Graf wrote: >> >> >>> Am 22.02.2016 um 18:37 schrieb york sun : >>> On 02/21/2016 05:57 PM, Alexander Graf wrote: Howdy, Currently on arm64 there is a big pile of mess when it comes to MMU >>

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: Howdy, Currently on arm64 there is a big pile of mess when it comes to MMU support and page tables. Each board does its own little thing and the generic code is pretty dumb and nobody actually uses it. This patch set tries to clean that up. After th

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Alexander Graf
On Feb 22, 2016, at 7:18 PM, Stephen Warren wrote: > On 02/21/2016 06:57 PM, Alexander Graf wrote: >> The idea to generate our pages tables from an array of memory ranges >> is very sound. However, instead of hard coding the code to create up >> to 2 levels of 64k granule page tables, we really

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 10:31 AM, Alexander Graf wrote: > > On Feb 22, 2016, at 7:12 PM, york sun wrote: > >> On 02/22/2016 10:02 AM, Alexander Graf wrote: >>> >>> Am 22.02.2016 um 18:37 schrieb york sun : > On 02/21/2016 05:57 PM, Alexander Graf wrote: > Howdy, > > Currently on

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-22 Thread york sun
On 02/22/2016 10:18 AM, Jagan Teki wrote: > Hi York, > > On 15 February 2016 at 02:16, Jagan Teki wrote: >> Compared to previous patch series this series adds spi-nor >> core with spi-nor controller drivers are of "mtd uclass" >> >> This is whole series for all spi-nor related changes, and while

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set c

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Stephen Warren
On 02/22/2016 11:37 AM, Alexander Graf wrote: On Feb 22, 2016, at 7:18 PM, Stephen Warren wrote: On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-22 Thread Fabio Estevam
On Mon, Feb 22, 2016 at 3:17 PM, Jagan Teki wrote: > Can you pls- test the dataflash changes? use u-boot-spi/spi-nor Does not even build for me (mx6qsabresd_defconfig) : CC drivers/misc/mxc_ocotp.o drivers/dfu/dfu_sf.c: In function ‘dfu_read_medium_sf’: drivers/dfu/dfu_sf.c:23:2: warning

[U-Boot] [PATCH v2 0/2] Convert ls1021aqds to use driver model for serial ports

2016-02-22 Thread York Sun
Since a recent merge 5160def "dm: lpuart: Drop the legacy code", ls1021aqds_ddr4_nor_lpuart and ls1021aqds_nor_lpuart failed to compile because they are using legacy driver for lpuart. Following ls1021atwr, ls1021aqds should be converted as well. Changes in v2: Fix default device tree name for l

[U-Boot] [PATCH v2 2/2] arm: ls1021aqds: Enable driver model lpuart serial driver

2016-02-22 Thread York Sun
Convert ls1021aqds_nor_lpuart and ls1021aqds_ddr4_nor_lpuart to driver model suport. Enable lpuart port driver. Signed-off-by: York Sun CC: Alison Wang CC: Bin Meng --- Changes in v2: Fix default device tree name for ls1021aqds_ddr4_nor_lpuart_defconfig arch/arm/dts/Makefile

[U-Boot] [PATCH v2 1/2] arm: ls1021aqds: Convert to driver model and enable serial support

2016-02-22 Thread York Sun
Split duart configuration as device tree file. Move /chosen node out of board commone device tree. Convert ls1021aqds nor and SD configurations to driver model support (qspi already uses DM). Enable ns16550 DM serial driver for nor configurations. Signed-off-by: York Sun CC: Alison Wang CC: Bin

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
On 22.02.16 19:39, york sun wrote: > On 02/22/2016 10:31 AM, Alexander Graf wrote: >> >> On Feb 22, 2016, at 7:12 PM, york sun wrote: >> >>> On 02/22/2016 10:02 AM, Alexander Graf wrote: > Am 22.02.2016 um 18:37 schrieb york sun : > >> On 02/21/2016 05:57 PM, Alexander Graf

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 11:42 AM, Alexander Graf wrote: > > > On 22.02.16 19:39, york sun wrote: >> On 02/22/2016 10:31 AM, Alexander Graf wrote: >>> >>> On Feb 22, 2016, at 7:12 PM, york sun wrote: >>> On 02/22/2016 10:02 AM, Alexander Graf wrote: > > >> Am 22.02.2016 um 18:37 schrieb yo

[U-Boot] [PATCH] booti: Help text rework.

2016-02-22 Thread Karsten Merker
Fix spelling errors in the "booti" help text and bring it more in line with the bootm/bootz help texts. Signed-off-by: Karsten Merker --- cmd/bootm.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/bootm.c b/cmd/bootm.c index 48738ac..555ccbc 100644 --- a/c

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
On 22.02.16 20:52, york sun wrote: > On 02/22/2016 11:42 AM, Alexander Graf wrote: >> >> >> On 22.02.16 19:39, york sun wrote: >>> On 02/22/2016 10:31 AM, Alexander Graf wrote: On Feb 22, 2016, at 7:12 PM, york sun wrote: > On 02/22/2016 10:02 AM, Alexander Graf wrote: >>

[U-Boot] [PATCH] booti: Help text rework.

2016-02-22 Thread Karsten Merker
Hello, while experimenting with the arm64 support I have stumbled over two small spelling issues in the "booti" help text: s/specifying the size of RAW initrd/specifying the size of a RAW initrd/ s/a Linux kernelrequires/a Linux kernel requires/ While editing the help text I have ended up wi

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 12:09 PM, Alexander Graf wrote: > > > On 22.02.16 20:52, york sun wrote: >> On 02/22/2016 11:42 AM, Alexander Graf wrote: >>> >>> >>> On 22.02.16 19:39, york sun wrote: On 02/22/2016 10:31 AM, Alexander Graf wrote: > > On Feb 22, 2016, at 7:12 PM, york sun wrote: >

[U-Boot] [PATCH] rpi: set board serial number in environment

2016-02-22 Thread Lubomir Rintel
Gets propagated into the device tree and then into /proc/cpuinfo where users often expect it. Signed-off-by: Lubomir Rintel --- arch/arm/mach-bcm283x/include/mach/mbox.h | 11 +++ board/raspberrypi/rpi/rpi.c | 33 +++ 2 files changed, 44 insertio

[U-Boot] [PATCH] rpi: always scroll by 10 lines

2016-02-22 Thread Lubomir Rintel
Scrolling the simple framebuffer is really slow in Raspberry Pi to the point it delays the boot by a second or two and makes longer output inconvenient to follow (printenv, md). Signed-off-by: Lubomir Rintel --- include/configs/rpi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/inc

[U-Boot] [PATCH 1/2] mx7_common: Remove unexisting options

2016-02-22 Thread Fabio Estevam
From: Fabio Estevam CONFIG_IMX_FIXED_IVT_OFFSET and CONFIG_FSL_CLK are not used anywhere, so just remove them. Signed-off-by: Fabio Estevam --- include/configs/mx7_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index f

[U-Boot] [PATCH 2/2] mx7dsabresd: Define serial port locally

2016-02-22 Thread Fabio Estevam
From: Fabio Estevam CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as the console port can vary from board to board. Define CONFIG_MXC_UART_BASE locally instead. Signed-off-by: Fabio Estevam --- include/configs/mx7_common.h | 1 - include/configs/mx7dsabresd.h | 2 ++ 2 files cha

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-02-22 Thread Scott Wood
On Mon, 2016-02-22 at 18:05 +0800, Gong Qianyu wrote: > QSPI and IFC are pin-multiplexed on LS1043A. So if QSPI is enabled, > IFC should be disabled. > But just disable IFC driver in LS1043A Linux is not enough because > mdio-mux will access IFC address space -- actually it accesses FPGA > which is

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-02-22 Thread Scott Wood
On Mon, 2016-02-22 at 16:05 +0530, Prabhakar Kushwaha wrote: > There is a requirement of u-boot dts fix-up before it is being > consumed by u-boot. You might want to explain the reason *why* we have this requirement -- that the board takes a socketed SoC, and we don't want to have to reflash the b

Re: [U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2016-02-22 Thread Scott Wood
On Wed, 2016-02-10 at 05:20 +, york sun wrote: > On 02/09/2016 09:10 PM, Scott Wood wrote: > > On Wed, 2016-02-10 at 02:30 +, york sun wrote: > > > > > > > > > Aneesh and Scott, > > > > > > I need to revisit this patch. Would it be better to change it as below? > > > > > > +#if define

Re: [U-Boot] [PATCH v2 1/2] arm: ls1021aqds: Convert to driver model and enable serial support

2016-02-22 Thread Bin Meng
On Tue, Feb 23, 2016 at 3:01 AM, York Sun wrote: > Split duart configuration as device tree file. Move /chosen node > out of board commone device tree. Convert ls1021aqds nor and SD > configurations to driver model support (qspi already uses DM). > Enable ns16550 DM serial driver for nor configura

Re: [U-Boot] [PATCH v2 2/2] arm: ls1021aqds: Enable driver model lpuart serial driver

2016-02-22 Thread Bin Meng
On Tue, Feb 23, 2016 at 3:01 AM, York Sun wrote: > Convert ls1021aqds_nor_lpuart and ls1021aqds_ddr4_nor_lpuart > to driver model suport. Enable lpuart port driver. > > Signed-off-by: York Sun > CC: Alison Wang > CC: Bin Meng > > --- > > Changes in v2: > Fix default device tree name for ls102

Re: [U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2016-02-22 Thread york sun
On 02/22/2016 05:38 PM, Scott Wood wrote: > On Wed, 2016-02-10 at 05:20 +, york sun wrote: >> On 02/09/2016 09:10 PM, Scott Wood wrote: >>> On Wed, 2016-02-10 at 02:30 +, york sun wrote: >> >> >> Aneesh and Scott, I need to revisit this patch. Would it be better to chan

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Masahiro Yamada
Hi Michal, Tom, Simon 2016-02-23 1:16 GMT+09:00 Tom Rini : > On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote: >> Hi, >> >> On 8.2.2016 21:49, Tom Rini wrote: >> > On Fri, Feb 05, 2016 at 05:55:14PM +0900, Masahiro Yamada wrote: >> > >> >> The build command of u-boot-spl.dtb is not

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-02-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, February 23, 2016 6:52 AM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: york sun ; Priyanka Jain > Subject: Re: [RFC] armv8: layerscape: Add support of u-boot device tree fix- > up > > On Mon, 2

Re: [U-Boot] [PATCH] net: phy: atheros: Fix problem with phy_reset() clearing BMCR

2016-02-22 Thread Stefan Agner
On 2016-02-19 13:24, Fabio Estevam wrote: > On Fri, Feb 19, 2016 at 5:52 AM, Alison Wang wrote: >> In commit [net: phy: do not read configuration register on >> reset], phy_reset() will clear the BMCR register. Bit 12(AUTO_NEGOTIATION) >> is cleared too. It causes auto-negotiation timeout error o

[U-Boot] [PATCH] common: Add support for environment file in EXT4.

2016-02-22 Thread stuartl
From: Stuart Longland This is an enhancement that permits storing the environment file on an EXT4 partition such as the root filesystem. It is based on the existing FAT environment file code. --- common/Makefile | 2 + common/cmd_nvedit.c | 3 +- common/env_ext4.c | 127 ++

  1   2   >