Re: [U-Boot] [PATCH][Boards Need to Switch DM] spi: atmel: Full dm conversion

2018-03-13 Thread Jagan Teki
On Tue, Mar 13, 2018 at 10:57 AM, Wenyou Yang wrote: > On 3/7/2018 1:51 PM, Jagan Teki wrote: >> >> atmel_spi now support dt along with platform data, >> respective boards need to switch into dm for the same. >> >> Signed-off-by: Jagan Teki >> ---

Re: [U-Boot] [uboot-snps-arc] Re: [PATCH 1/2] SPI Flash: add support of sst26wf* flash series

2018-03-13 Thread Eugeniy Paltsev
Hi Jagan, On Tue, 2018-03-13 at 22:11 +0530, Jagan Teki wrote: > On Tue, Feb 6, 2018 at 8:45 PM, Eugeniy Paltsev > wrote: > > sst26wf flash series block protection implementation differs > > from other SST series, so add implementation for sst26wf > >

Re: [U-Boot] [PATCH 1/1] configs: sunxi: enable BLK, DM_MMC for Bananapi

2018-03-13 Thread Maxime Ripard
Hi, On Tue, Mar 13, 2018 at 06:37:23PM +0100, Heinrich Schuchardt wrote: > doc/driver-model/MIGRATION.txt requires to move block drivers to the > the driver model by v2018.05 > > So make the switch for the Bananapi block drivers. > > Signed-off-by: Heinrich Schuchardt > ---

Re: [U-Boot] [PATCH 1/1] configs: sunxi: enable BLK, DM_MMC for Bananapi

2018-03-13 Thread Heinrich Schuchardt
On 03/13/2018 07:41 PM, Maxime Ripard wrote: > Hi, > > On Tue, Mar 13, 2018 at 06:37:23PM +0100, Heinrich Schuchardt wrote: >> doc/driver-model/MIGRATION.txt requires to move block drivers to the >> the driver model by v2018.05 >> >> So make the switch for the Bananapi block drivers. >> >>

Re: [U-Boot] [PATCH 1/1] MAINTAINERS: ARM TI: remove invalid paths

2018-03-13 Thread Heinrich Schuchardt
On 03/13/2018 06:31 AM, Lokesh Vutla wrote: > > > On Tuesday 13 March 2018 04:10 AM, Heinrich Schuchardt wrote: >> Remove non-existing paths. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> MAINTAINERS | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git

Re: [U-Boot] MAINTAINERS: PPC4XX

2018-03-13 Thread Stefan Roese
Hi Heinrich, On 12.03.2018 23:53, Heinrich Schuchardt wrote: the entry for PPC4XX seems to be outdated: POWERPC PPC4XX M: Stefan Roese S: Maintained T: git git://git.denx.de/u-boot-ppc4xx.git F: arch/powerpc/cpu/ppc4xx/ This path does not exist because the

[U-Boot] [PATCH 4/4] doc: ae250: Describe riscv-linux booting via u-boot

2018-03-13 Thread Andes
From: Rick Chen Simply record riscv-linux booting steps and messages from bbl via u-boot on QEMU in README.ae250. Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- doc/README.ae250 | 148

[U-Boot] [PATCH 4/5] riscv: checkpatch: Fix missing a blank line after declarations

2018-03-13 Thread Andes
From: Rick Chen It is reported by checkpatch.pl WARNING: Missing a blank line after declarations. Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- arch/riscv/lib/bootm.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH 1/4] riscv: bootm: Support to boot riscv-linux

2018-03-13 Thread Andes
From: Rick Chen riscv-linux should use BBL (Berkeley bootloader) for loading the Linux kernel. U-Boot can play as FSBL(first stage bootloader) to boot BBL and riscv-linux. In BBL's init_first_hart(), it will pass dtb with a1. So implement bootm to pass arguments to BBL

[U-Boot] [PATCH 5/5] riscv: checkpatch: Fix static const char * array declarations

2018-03-13 Thread Andes
From: Rick Chen It is reported by checkpatch.pl WARNING: static const char * array should probably be static const char * const Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- arch/riscv/lib/interrupts.c | 2 +- 1 file

[U-Boot] [PATCH 4/4] MAINTAINERS: Remove unused ppc4xx entry

2018-03-13 Thread Stefan Roese
ppc4xx support was removed some time ago. Lets remove the now unused entry in MAINTAINERS as well. Signed-off-by: Stefan Roese Cc: Heinrich Schuchardt --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[U-Boot] [PATCH 3/4] pci: Remove unused ppc4xx variable from struct pci_controller

2018-03-13 Thread Stefan Roese
ppc4xx support was removed some time ago. Lets remove the now unused "pci_fb" variable from "struct pci_controller" as well. Signed-off-by: Stefan Roese Cc: Bin Meng Cc: Simon Glass --- include/pci.h | 2 -- 1 file changed, 2 deletions(-)

[U-Boot] [PATCH 1/4] usb: Remove unused ppc4xx EHCI host driver

2018-03-13 Thread Stefan Roese
ppc4xx support was removed some time ago. Lets remove the now unused EHCI driver and all its references for this platform as well. Signed-off-by: Stefan Roese Cc: Heinrich Schuchardt Cc: Marek Vasut --- drivers/usb/host/Makefile | 1 -

[U-Boot] [PATCH 2/4] riscv: bootm: Remove ATAGS

2018-03-13 Thread Andes
From: Rick Chen ATAGS is not supported and will be replaced by DT in riscv-linux. So can be removed now. Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- arch/riscv/include/asm/bootm.h | 49 ---

[U-Boot] [PATCH 3/4] tools: mkimage: Support RISC-V arch

2018-03-13 Thread Andes
From: Rick Chen Add riscv uimage arch to support riscv-linux booting. It can Convert riscv-linux to image which can be booted by bootm command. Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- common/image.c | 1 + 1 file

[U-Boot] [PATCH 2/4] nand: Remove unused ppc4xx NAND driver and references

2018-03-13 Thread Stefan Roese
ppc4xx support was removed some time ago. Lets remove the now unused NAND driver and all its references for this platform as well. Signed-off-by: Stefan Roese Cc: Heinrich Schuchardt Cc: Scott Wood --- drivers/mtd/nand/Makefile| 1 -

[U-Boot] [PATCH 1/5] riscv: checkpatch: Fix Macro argument reuse

2018-03-13 Thread Andes
From: Rick Chen It is CHECK reported by checkpatch.pl CHECK: Macro argument reuse 'PTE' - possible side-effects? Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- arch/riscv/include/asm/encoding.h| 16 +++-

[U-Boot] [PATCH 3/5] riscv: checkpatch: Fix alignment should match open parenthesis

2018-03-13 Thread Andes
From: Rick Chen It is reported by checkpatch.pl. CHECK: Alignment should match open parenthesis Signed-off-by: Rick Chen Signed-off-by: Rick Chen --- arch/riscv/include/asm/io.h | 23 ++-

[U-Boot] [PATCH 2/5] riscv: checkpatch: Fix use of volatile

2018-03-13 Thread Andes
From: Rick Chen It is reported by checkpatch.pl WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst Signed-off-by: Rick Chen Signed-off-by: Rick Chen ---

Re: [U-Boot] [PATCH v2 04/10] video: add support of panel OTM8009A

2018-03-13 Thread Patrice CHOTARD
Hi Yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. > > Signed-off-by: yannick fertre > --- > drivers/video/Kconfig | 8 + > drivers/video/Makefile | 1 + >

Re: [U-Boot] MAINTAINERS ARM ZYNQ(MP)

2018-03-13 Thread Michal Simek
Hi, On 12.3.2018 23:35, Heinrich Schuchardt wrote: > Hello Michal, > > it seems that the entries for ZYNQ in the MAINTAINERS file of U-Boot are > out of date: > > ARM ZYNQ > M: Michal Simek > S: Maintained > F: arch/arm/cpu/armv7/zynq/ > F:

[U-Boot] [PATCH] ppc: Remove orphan xilinx_irq.h file

2018-03-13 Thread Michal Simek
This file is completely unused and it should be removed as the part of ppc405/ppc440 xilinx platform removal. Signed-off-by: Michal Simek --- arch/powerpc/include/asm/xilinx_irq.h | 25 - 1 file changed, 25 deletions(-) delete mode 100644

[U-Boot] [PATCH 1/2] warp7: usb: Introduce a get method for serial number

2018-03-13 Thread Bryan O'Donoghue
We want to be able to set the USB device descriptor number iSerial number or indeed a disk-label unique identifier based on a chip-specific piece of data for the purposes of differentiating between WaRP7 boards via lsusb when connected to a host machine. In order to do this we want to have a

[U-Boot] [PATCH 2/2] warp7: usb: Set u-boot serial# based on OTP value

2018-03-13 Thread Bryan O'Donoghue
u-boot has a standard "serial#" environment variable that is suitable for storing the iSerial number we will supply via the USB device descriptor. serial# is automatically picked up by the disk subsystem in u-boot - thus providing a handy unique identifier in /dev/disk/by-id as detailed below.

Re: [U-Boot] [PATCH v2 01/10] video: stm32: stm32_ltdc: add bridge to display controller

2018-03-13 Thread Patrice CHOTARD
Hi Yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Manage a bridge insert between the display controller & a panel. > > Signed-off-by: yannick fertre > --- > drivers/video/stm32/stm32_ltdc.c | 107 > ++- > 1 file changed, 71

Re: [U-Boot] [PATCH v2 10/10] board: Add STM32F769 SoC, discovery board support

2018-03-13 Thread Patrice CHOTARD
Hi Yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Signed-off-by: yannick fertre Can you add a commit message explaining why you add a specific defconfig for this board. FYI, previously, the same defconfig was used for all STM32F7 boards (ie

Re: [U-Boot] [PATCH v2 06/10] video: add support of STM32 MIPI DSI controller driver

2018-03-13 Thread Patrice CHOTARD
Hi yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Add the STM32 DSI controller driver that uses the Synopsys DesignWare > MIPI DSI host controller bridge. > > Signed-off-by: yannick fertre > --- > drivers/video/stm32/Kconfig | 10 + >

Re: [U-Boot] [PATCH 1/2] drivers: i2c: mxc: Update SYS_I2C_MXC_I2C support in Kconfig

2018-03-13 Thread Sriram Dash
>From: Sriram Dash >Subject: [PATCH 1/2] drivers: i2c: mxc: Update SYS_I2C_MXC_I2C support in >Kconfig > >NXP layerscape platforms like ls1088a, ls2088a uses MXC I2C Controller. >-Remove dependency of MX6 for the same. > >Update related configs to use Kconfig file. >-Add

[U-Boot] [PATCH] MAINTAINERS: Fix Zynq/ZynqMP and Microblaze fragments

2018-03-13 Thread Michal Simek
Fix my fragments to list all files in the repo. Also fix path to for Xilinx Zynq SoC (mach-zynq) It should be the part of "ARM: zynq: move SoC sources to mach-zynq" (sha1: 0107f2403669f764ab726d0d404e35bb9447bbcc) And cover dts files in board MAINTAINERS files. Reported-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH v2 07/10] video: add support of panel rm68200

2018-03-13 Thread Patrice CHOTARD
Hi yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Support for Raydium rm68200 720p dsi 2dl video mode panel. > > Signed-off-by: yannick fertre > --- > drivers/video/Kconfig | 8 + > drivers/video/Makefile | 1 + >

[U-Boot] [PATCH 0/2] NXP WaARP7 set serial# from OTP fuses for USB iSerial

2018-03-13 Thread Bryan O'Donoghue
Greetings. These two patches add support for automatic setting of the serial# environment variable based on OTP fuse settings. Once the serial# field is set then subsequent USB gadget mode instances of WaARP7 will export the serial number based on the OTP fuse settings. This feature gives a

Re: [U-Boot] [PATCH v2 02/10] video: stm32: stm32_ltdc: update debug log

2018-03-13 Thread Patrice CHOTARD
Hi Yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Replace macro debug by pr_error, pr_warn or pr_info. > > Signed-off-by: yannick fertre > --- > drivers/video/stm32/stm32_ltdc.c | 62 > > 1 file changed, 31

Re: [U-Boot] [PATCH 3/3] imx: hab: Convert DCD non-NULL error to warning

2018-03-13 Thread Stefano Babic
On 12/03/2018 21:51, Fabio Estevam wrote: > Hi Tom and Stefano, > > On Mon, Mar 12, 2018 at 1:07 PM, Tom Rini wrote: > >>> Anyway, I am facing what we should do with this patch for 2018.03. As I >>> said, I am not forcing anyone and I have just picked up 1/3 and 2/3. But >>>

[U-Boot] [PATCH] Serial port related patches

2018-03-13 Thread Yubo Zhi
Patch 1: drivers: serial: Fix serial_getc returns immediately when RX buffer enabled The command prompt calls serial_getc directly, without checking for data availability using serial_tstc. Therefore, it need to be checked in serial_getc too. Patch 2: drivers: serial: ns16550: Fix for

[U-Boot] Load different DeviceTree based on EEPROM

2018-03-13 Thread Chris Obbard
Hi experts, I want to run one Linux image on multiple boards that are very similar, each has a separate device tree. This works quite well, but device tree has to be loaded manually depending on which board. On the boards I have a read-only eeprom which contains serial number & board type.

Re: [U-Boot] [PATCH v3 00/20] Bring NAND support to Nintendo NES Classic

2018-03-13 Thread Maxime Ripard
On Mon, Mar 12, 2018 at 05:33:57PM -0500, Scott Wood wrote: > On Wed, 2018-03-07 at 08:57 +0100, Maxime Ripard wrote: > > Hi Scott, > > > > On Wed, Feb 28, 2018 at 08:51:42PM +0100, Miquel Raynal wrote: > > > This series first adds fixes and enhancements to sunxi NAND drivers (SPL > > > and

Re: [U-Boot] [PATCH v3 01/20] spl: fix binman_sym output check

2018-03-13 Thread Maxime Ripard
Hi Simon, On Wed, Feb 28, 2018 at 08:51:43PM +0100, Miquel Raynal wrote: > A previous commit introduced the use of binman in the SPL. > > After the binman_sym call over the 'pos' symbol, the output value is > checked against BINMAN_SYM_MISSING (-1UL). According to the > documentation

Re: [U-Boot] [PATCH v3 04/10] otm

2018-03-13 Thread Patrice CHOTARD
Hi Yannick There is a problem with patch 4. I received two patches 04/10, this one and [PATCH v3 04/10] video: add support of panel OTM8009A. Patrice On 03/13/2018 02:50 PM, yannick fertre wrote: > --- > drivers/video/orisetech_otm8009a.c | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [U-Boot] [U-Boot, 3/3] imx: hab: Convert DCD non-NULL error to warning

2018-03-13 Thread Tom Rini
On Fri, Mar 09, 2018 at 01:07:21PM +, Bryan O'Donoghue wrote: > commit 8c4037a09a5c ("imx: hab: Ensure the IVT DCD pointer is Null prior > to calling HAB authenticate function.") makes the DCD field being NULL a > dependency. > > This change though will break loading and executing of

[U-Boot] [PATCH] tools: Make kwboot build if HOST_TOOLS_ALL=y

2018-03-13 Thread Tuomas Tynkkynen
The kwboot tool for Marvell devices isn't currently being built even if HOST_TOOLS_ALL is set. It doesn't appear to depend on any CONFIG_ options, so it seems appropriate to enable building it here. Signed-off-by: Tuomas Tynkkynen --- tools/Makefile | 1 + 1 file changed, 1

Re: [U-Boot] [PATCH] omap3_logic: Enable DM_SPI

2018-03-13 Thread Jagan Teki
On Wed, Mar 7, 2018 at 5:06 PM, Jagan Teki wrote: > On Wed, Mar 7, 2018 at 4:53 PM, Adam Ford wrote: >> With the introduction of ("Boards,Need,to,Switch,DM] spi: omap3_spi: >> Full dm conversion"), Driver Model for McSPI is now available on the >>

[U-Boot] [PATCH v2 2/5] common: move board_init.c prototypes in init.h

2018-03-13 Thread Patrick Delaunay
Move function prototypes for common/init/board_init.c from common.h to init.h Signed-off-by: Patrick Delaunay --- Changes in v2: None include/common.h | 38 +- include/init.h | 39 +++ 2 files

[U-Boot] [PATCH v2 1/5] common: move board_f.c prototypes in init.h

2018-03-13 Thread Patrick Delaunay
Move prototypes for function used in common/board_f.c from common.h to init.h Remove weak for arch_reserve_stacks in prototype (checkpatch issue) Signed-off-by: Patrick Delaunay --- Changes in v2: - solve compilation error: add weak for arch_reserve_stacks in

[U-Boot] [PATCH v2 3/5] common: move board_r.c prototypes in init.h

2018-03-13 Thread Patrick Delaunay
Move function prototypes used in common/board_r.c from common.h to init.h Signed-off-by: Patrick Delaunay --- Changes in v2: None include/common.h | 17 + include/init.h | 14 ++ 2 files changed, 15 insertions(+), 16 deletions(-) diff

Re: [U-Boot] [PATCH 2/2] warp7: usb: Set u-boot serial# based on OTP value

2018-03-13 Thread Fabio Estevam
Hi Bryan, On Tue, Mar 13, 2018 at 9:00 AM, Bryan O'Donoghue wrote: > + /* Set serial# standard environment variable based on OTP settings */ > + ret = warp7_get_serialid(_id); > + if (ret) > + printf("error %d reading from serial# OTP

Re: [U-Boot] [PATCH 1/2] warp7: usb: Introduce a get method for serial number

2018-03-13 Thread Fabio Estevam
Hi Bryan, On Tue, Mar 13, 2018 at 9:00 AM, Bryan O'Donoghue wrote: > +static int warp7_get_serialid(u64 *id) Maybe you could turn place this function in a common location as it may be useful for others. > +{ > + u32 val; > + int ret; > + > + if

Re: [U-Boot] [PATCH v2 1/2] spi: omap3: Skip set_mode, set_speed from claim

2018-03-13 Thread Jagan Teki
On Wed, Mar 7, 2018 at 10:30 AM, Jagan Teki wrote: > set_mode, set_seed functions has separate function pointers > in dm_spi_ops, so use them in relevent one instead of > calling from claim_bus. > > Signed-off-by: Jagan Teki > --- Applied to

[U-Boot] [PATCH v2 0/5] common: move startup function prototypes in init.h

2018-03-13 Thread Patrick Delaunay
I push this serie after Masahiro Yamada's comment on patch "common: add a prototype for mach_cpu_init()" The serie depends on v3 of this patch for the added file init.h I just moved the function used in: common/board_f.c common/init/board_init.c common/board_r.c common/board_info.c and

[U-Boot] [PATCH v2 4/5] common: move board_info.c prototypes in init.h

2018-03-13 Thread Patrick Delaunay
Move function prototype for common/init/board_init.c from common.h to init.h Signed-off-by: Patrick Delaunay --- Changes in v2: None include/common.h | 3 +-- include/init.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/common.h

[U-Boot] [PATCH v2 5/5] common: move init_helpers.h prototypes in init.h

2018-03-13 Thread Patrick Delaunay
Merge init_helpers.h in the new file init.h with only prototypes for init_cache_f_r used in common/board_f.c Signed-off-by: Patrick Delaunay --- modification introduced after Tom Rimi review of V1 Changes in v2: None arch/x86/lib/spl.c | 1 - common/board_f.c

Re: [U-Boot] [PATCH] arm: sunxi: Move spl spi sunxi code to mach-sunxi

2018-03-13 Thread Jagan Teki
On Tue, Feb 6, 2018 at 10:42 PM, Jagan Teki wrote: > This SUNXI variant SPL SPI code doesn't use either SPI or > SPL_FLASG subsystems due to size constraints and also placing > this code in drivers/mtd/spi will unnecessary build SPI_FLASH > code(if defined) which never

[U-Boot] [ANN] U-Boot v2018.03 released

2018-03-13 Thread Tom Rini
Hey all, We're a day off schedule, but I wanted to see a final comment on one last bug fix. So, now, I've released v2018.03 and it's live on git and FTP and ACD (along with the PGP sig file). In terms of big new features, we now have limited support for determining at run-time where the

Re: [U-Boot] [PATCH] spi: atcspi200: Drop non-dm code

2018-03-13 Thread Jagan Teki
On Wed, Mar 7, 2018 at 10:33 AM, Jagan Teki wrote: > Boards adp-ae3xx_defconfig, nx25-ae250_defconfig > already enabled DM_SPI, so non-dm code make no use > of it hence droped. > > Signed-off-by: Jagan Teki Applied to u-boot-spi/master

Re: [U-Boot] [PATCH v3 10/10] board: Add STM32F769 SoC, discovery board support

2018-03-13 Thread Patrice CHOTARD
Hi Yannick You have forgotten the commit message Patrice On 03/13/2018 02:50 PM, yannick fertre wrote: > Signed-off-by: yannick fertre > --- > configs/stm32f769-disco_defconfig | 65 > +++ > 1 file changed, 65 insertions(+) >

Re: [U-Boot] [PATCH 1/2] warp7: usb: Introduce a get method for serial number

2018-03-13 Thread Bryan O'Donoghue
On 13/03/18 13:25, Fabio Estevam wrote: +static int warp7_get_serialid(u64 *id) Maybe you could turn place this function in a common location as it may be useful for others. Ah, looking for a place to stick this as shared code I've found something which already does what this patch does

Re: [U-Boot] [PATCH 1/1] mmc: sunxi: support cd-inverted

2018-03-13 Thread Jagan Teki
On Fri, Feb 2, 2018 at 7:20 PM, Maxime Ripard wrote: > On Thu, Feb 01, 2018 at 11:39:19PM +0100, Heinrich Schuchardt wrote: >> With CONFIG_DM_MMC the BananaPi does not detect SD cards. >> >> The sunxi device trees use the cd-inverted property to indicate that >> the

Re: [U-Boot] [PATCH v3 1/2] i.MX6: nand: add nandbcb update command

2018-03-13 Thread Fabio Estevam
Hi Jagan, On Tue, Mar 13, 2018 at 11:58 AM, Jagan Teki wrote: > Please post it on ML for further discussion. Who is this message for? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 02/10] video: add support of MIPI DSI interface

2018-03-13 Thread Simon Glass
Hi, On 13 March 2018 at 07:50, yannick fertre wrote: > > Mipi_display.c contains a set of dsi helpers. > This file is a copy of file drm_mipi_dsi.c (linux kernel). > > Signed-off-by: yannick fertre > --- > drivers/video/Kconfig| 7 + >

Re: [U-Boot] [PATCH] net: sun8i_emac: Fix PHY initialization

2018-03-13 Thread Jagan Teki
On Wed, Feb 28, 2018 at 3:47 AM, Joe Hershberger wrote: > On Sat, Jan 27, 2018 at 11:53 PM, Samuel Holland wrote: >> The previous code tried to update the PHY parameters without waiting for >> autonegotiation to complete. This caused wrong values to

Re: [U-Boot] [PATCH v2 1/3] imx: mx7: Fix CONFIG_SERIAL_TAG compilation

2018-03-13 Thread Fabio Estevam
On Tue, Mar 13, 2018 at 12:48 PM, Bryan O'Donoghue wrote: > Currently when we define CONFIG_SERIAL_TAG we will barf with a failure to > define "struct tag_serialnr". > > This structure is defined in , this patch includes > to fix. > > Signed-off-by: Bryan O'Donoghue

[U-Boot] [PATCH v3 05/10] video: add MIPI DSI host controller bridge

2018-03-13 Thread yannick fertre
Add a Synopsys Designware MIPI DSI host bridge driver, based on the Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 9 + drivers/video/Makefile | 1 + drivers/video/dw_mipi_dsi.c

[U-Boot] [PATCH v3 04/10] video: add support of panel OTM8009A

2018-03-13 Thread yannick fertre
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/orisetech_otm8009a.c | 327 + 3 files

Re: [U-Boot] [PATCH v3 1/2] i.MX6: nand: add nandbcb update command

2018-03-13 Thread Jagan Teki
On Thu, Feb 15, 2018 at 7:12 PM, Jagan Teki wrote: > On Fri, Feb 9, 2018 at 12:56 AM, Fabio Estevam wrote: >> Hi Stefan, >> >> On Wed, Feb 7, 2018 at 3:02 PM, wrote: >> >>> Thanks for working on that! We carry a similar command

Re: [U-Boot] [PATCH RFC 2/2] ARM: sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-13 Thread Jagan Teki
On Wed, Mar 7, 2018 at 7:51 AM, André Przywara wrote: > Hi, > > On 06/03/18 21:38, Tuomas Tynkkynen wrote: >> In README.sunxi64 we tell the user how to optionally create >> u-boot-sunxi-with-spl.bin by manually running cat. Instead, have the >> build system create the file

Re: [U-Boot] [PATCH RFC 0/2] sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-13 Thread Jagan Teki
On Wed, Mar 7, 2018 at 2:01 PM, Maxime Ripard wrote: > On Tue, Mar 06, 2018 at 11:38:20PM +0200, Tuomas Tynkkynen wrote: >> For some reason we seem to have documented how to build >> u-boot-sunxi-with-spl.bin manually with cat but not have a build system >> rule for it.

Re: [U-Boot] [PATCH v2 2/3] imx: mx7: Add comment to describe OTP TESTER registers

2018-03-13 Thread Fabio Estevam
On Tue, Mar 13, 2018 at 12:48 PM, Bryan O'Donoghue wrote: > The tester registers provide a unique chip-level identifier which > get_board_serial() returns in a "struct tag_serialnr". > > This patch documents the properties of the registers; in summary. > > 31:0

[U-Boot] [PATCH v3 03/10] video: add support of MIPI DSI interface

2018-03-13 Thread yannick fertre
Mipi_display.c contains a set of dsi helpers. This file is a copy of file drm_mipi_dsi.c (linux kernel). Signed-off-by: yannick fertre --- drivers/video/Kconfig| 7 + drivers/video/Makefile | 1 + drivers/video/mipi_display.c | 807

Re: [U-Boot] [PATCH v3 04/10] otm

2018-03-13 Thread Yannick FERTRE
Hi, Sorry, I send more than 10 patches. I will remove this dummy patches tomorrow with next version. On 03/13/2018 03:12 PM, Patrice CHOTARD wrote: > Hi Yannick > > There is a problem with patch 4. I received two patches 04/10, this one > and [PATCH v3 04/10] video: add support of panel

Re: [U-Boot] [PATCH v3 1/2] i.MX6: nand: add nandbcb update command

2018-03-13 Thread Fabio Estevam
Hi Jagan, On Tue, Mar 13, 2018 at 12:38 PM, Jagan Teki wrote: > Sorry, I'm just writing to Stefan to get his change on ML. Why don't you take his patch and submit it to the list? ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 1/2] i.MX6: nand: add nandbcb update command

2018-03-13 Thread Jagan Teki
On Tue, Mar 13, 2018 at 9:16 PM, Fabio Estevam wrote: > Hi Jagan, > > On Tue, Mar 13, 2018 at 12:38 PM, Jagan Teki wrote: > >> Sorry, I'm just writing to Stefan to get his change on ML. > > Why don't you take his patch and submit it to the list? I

Re: [U-Boot] Status of Altera Aria 10 in upstream

2018-03-13 Thread Jan Kiszka
Hi Dan, On 2018-03-12 22:29, Friedrich Daniel wrote: > Hello Jan, > > let me quote my mail to Claudio, who asked more or less the same on March > 7th(see mail below). > Personally, hoped that someone from Intel/Altera has the guts to answer this > question or at least the Maintainer of the

Re: [U-Boot] [PATCH RFC 1/2] ARM: sunxi: Move u-boot-sunxi-with-spl.bin rule to Makefile

2018-03-13 Thread Jagan Teki
On Wed, Mar 7, 2018 at 7:51 AM, André Przywara wrote: > Hi, > > On 06/03/18 21:38, Tuomas Tynkkynen wrote: >> We're going to need this logic for 64-bit builds as well, so move it >> out from under arch/arm/cpu/armv7. >> >> Signed-off-by: Tuomas Tynkkynen

[U-Boot] [PATCH v2 0/3] NXP WaARP7 set serial# from OTP fuses for USB iSerial

2018-03-13 Thread Bryan O'Donoghue
V2: - Fix compilation path for CONFIG_SERIAL_TAG Currently this is broken for imx7 - Add description of tester registers to arch/arm/mach-imx/mx7/soc.c - Utilise existing get_board_serial() instead of my previous patch ("warp7: usb: Introduce a get method for serial number") V1: Greetings.

[U-Boot] [PATCH v2 1/3] imx: mx7: Fix CONFIG_SERIAL_TAG compilation

2018-03-13 Thread Bryan O'Donoghue
Currently when we define CONFIG_SERIAL_TAG we will barf with a failure to define "struct tag_serialnr". This structure is defined in , this patch includes to fix. Signed-off-by: Bryan O'Donoghue Cc: Fabio Estevam Cc: Peng Fan

[U-Boot] [PATCH v2 3/3] warp7: Set u-boot serial# based on OTP value

2018-03-13 Thread Bryan O'Donoghue
u-boot has a standard "serial#" environment variable that is suitable for storing the iSerial number we will supply via the USB device descriptor. serial# is automatically picked up by the disk subsystem in u-boot - thus providing a handy unique identifier in /dev/disk/by-id as detailed below.

Re: [U-Boot] [PATCH v2 3/3] warp7: Set u-boot serial# based on OTP value

2018-03-13 Thread Fabio Estevam
On Tue, Mar 13, 2018 at 12:48 PM, Bryan O'Donoghue wrote: > u-boot has a standard "serial#" environment variable that is suitable > for storing the iSerial number we will supply via the USB device > descriptor. serial# is automatically picked up by the disk subsystem

[U-Boot] [PATCH v3 02/10] video: add support of MIPI DSI interface

2018-03-13 Thread yannick fertre
Mipi_display.c contains a set of dsi helpers. This file is a copy of file drm_mipi_dsi.c (linux kernel). Signed-off-by: yannick fertre --- drivers/video/Kconfig| 7 + drivers/video/Makefile | 1 + drivers/video/mipi_display.c | 807

Re: [U-Boot] [PATCH 0/5] DW SPI: fixes and improvements

2018-03-13 Thread Jagan Teki
On Mon, Mar 5, 2018 at 6:47 PM, Eugeniy Paltsev wrote: > Various fixes and improvements of designware spi driver. > > Eugeniy Paltsev (5): > DW SPI: fix tx data loss on FIFO flush > DW SPI: fix transmit only mode > DW SPI: refactor poll_transfer functions >

Re: [U-Boot] [PATCH v3 1/2] i.MX6: nand: add nandbcb update command

2018-03-13 Thread Jagan Teki
On Tue, Mar 13, 2018 at 9:06 PM, Fabio Estevam wrote: > Hi Jagan, > > On Tue, Mar 13, 2018 at 11:58 AM, Jagan Teki wrote: > >> Please post it on ML for further discussion. > > Who is this message for? Sorry, I'm just writing to Stefan to get his

[U-Boot] [PATCH v2 2/3] imx: mx7: Add comment to describe OTP TESTER registers

2018-03-13 Thread Bryan O'Donoghue
The tester registers provide a unique chip-level identifier which get_board_serial() returns in a "struct tag_serialnr". This patch documents the properties of the registers; in summary. 31:0 OCOTP_TESTER0 (most significant) - FSL-wide unique, encoded LOT ID STD II/SJC CHALLENGE/ Unique ID

[U-Boot] [PATCH v3 01/10] video: stm32: stm32_ltdc: add bridge to display controller

2018-03-13 Thread yannick fertre
Manage a bridge insert between the display controller & a panel. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 107 ++- 1 file changed, 71 insertions(+), 36 deletions(-) diff --git

[U-Boot] [PATCH v3 01/10] video: stm32: stm32_ltdc: update debug log

2018-03-13 Thread yannick fertre
Replace macro debug by pr_error, pr_warn or pr_info. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 67 ++-- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[U-Boot] [PATCH v3 03/10] video: add support of panel OTM8009A

2018-03-13 Thread yannick fertre
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/orisetech_otm8009a.c | 325 + 3 files

[U-Boot] [PATCH v3 07/10] video: add support of panel rm68200

2018-03-13 Thread yannick fertre
Support for Raydium rm68200 720p dsi 2dl video mode panel. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/raydium-rm68200.c | 326 3 files changed,

[U-Boot] [PATCH v3 10/10] board: Add STM32F769 SoC, discovery board support

2018-03-13 Thread yannick fertre
Signed-off-by: yannick fertre --- configs/stm32f769-disco_defconfig | 65 +++ 1 file changed, 65 insertions(+) create mode 100644 configs/stm32f769-disco_defconfig diff --git a/configs/stm32f769-disco_defconfig

[U-Boot] [PATCH v3 04/10] otm

2018-03-13 Thread yannick fertre
--- drivers/video/orisetech_otm8009a.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/orisetech_otm8009a.c b/drivers/video/orisetech_otm8009a.c index 81b11d7..aa8139a 100644 --- a/drivers/video/orisetech_otm8009a.c +++ b/drivers/video/orisetech_otm8009a.c @@

[U-Boot] [PATCH v6 00/10] Add new OPTEE bootm support to u-boot

2018-03-13 Thread Bryan O'Donoghue
v6: - Fix CONFIG_BOOTM_TEE Manually editing .config file meant this disparity was missed. "Those whom the gods wish to destroy they first make mad" v5: This patchset now works by making a bootable OPTEE image mkimage -A arm -T kernel -O tee -C none -d tee.bin uTee.optee The concept is the

[U-Boot] [PATCH v6 09/10] image: Add IH_OS_TEE for TEE chain-load boot

2018-03-13 Thread Bryan O'Donoghue
This patch adds a new type IH_OS_TEE. This new OS type will be used for chain-loading to Linux via a TEE. With this patch in-place you can generate a bootable OPTEE image like this: mkimage -A arm -T kernel -O tee -C none -d tee.bin uTee.optee where "tee.bin" is the input binary prefixed with

[U-Boot] [PATCH v6 08/10] optee: Add error printout

2018-03-13 Thread Bryan O'Donoghue
When encountering an error in OPTEE verification print out various details of the OPTEE header to aid in further debugging of encountered errors. Signed-off-by: Bryan O'Donoghue Cc: Harinarayan Bhatta Cc: Andrew F. Davis Cc: Tom Rini

[U-Boot] [PATCH v6 06/10] optee: Add optee_image_get_load_addr()

2018-03-13 Thread Bryan O'Donoghue
This patch adds optee_image_get_load_addr() a helper function used to calculate the load-address of an OPTEE image based on the lower entry-point address given in the OPTEE header. Signed-off-by: Bryan O'Donoghue Cc: Harinarayan Bhatta Cc: Andrew

[U-Boot] [PATCH v6 07/10] optee: Add optee_verify_bootm_image()

2018-03-13 Thread Bryan O'Donoghue
This patch adds optee_verify_bootm_image() which will be subsequently used to verify the parameters encoded in the OPTEE header match the memory allocated to the OPTEE region, OPTEE header magic and version prior to handing off control to the OPTEE image. Signed-off-by: Bryan O'Donoghue

[U-Boot] [PATCH v3 06/10] video: add support of STM32 MIPI DSI controller driver

2018-03-13 Thread yannick fertre
Add the STM32 DSI controller driver that uses the Synopsys DesignWare MIPI DSI host controller bridge. Signed-off-by: yannick fertre --- drivers/video/stm32/Kconfig | 10 + drivers/video/stm32/Makefile| 1 + drivers/video/stm32/stm32_dsi.c | 426

[U-Boot] [PATCH v3 09/10] arm: dts: stm32: add display for STM32F769 disco board

2018-03-13 Thread yannick fertre
Enable the display controller, mipi dsi bridge & panel. Set panel display timings. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f769-disco.dts | 71 1 file changed, 71 insertions(+) diff --git

Re: [U-Boot] [PATCH v3 00/10] splash screen on the stm32f769 disco board

2018-03-13 Thread Daniel Vetter
On Tue, Mar 13, 2018 at 02:49:59PM +0100, yannick fertre wrote: > Version 3: > - Replace some pr_error, pr_warn or pr_info by dev_error, dev_warn & dev_info. > - Refresh stm32f769-disco_defconfig with last modification done on > v2018.3-rc4. > - rework include files ordering. > > Version 2: > -

[U-Boot] [PATCH v3 02/10] video: stm32: stm32_ltdc: update debug log

2018-03-13 Thread yannick fertre
Replace macro debug by pr_error, pr_warn or pr_info. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 67 ++-- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[U-Boot] [PATCH v6 01/10] optee: Add lib entries for sharing OPTEE code across ports

2018-03-13 Thread Bryan O'Donoghue
This patch adds code to lib to enable sharing of useful OPTEE code between board-ports and architectures. The code on lib/optee/optee.c comes from the TI omap2 port. Eventually the OMAP2 code will be patched to include the shared code. The intention here is to add more useful OPTEE specific code

[U-Boot] [PATCH v6 10/10] bootm: optee: Add a bootm command for type IH_OS_TEE

2018-03-13 Thread Bryan O'Donoghue
This patch makes it possible to verify the contents and location of an OPTEE image in DRAM prior to handing off control to that image. If image verification fails we won't try to boot any further. Signed-off-by: Bryan O'Donoghue Suggested-by: Andrew F. Davis

[U-Boot] [PATCH v3 00/10] splash screen on the stm32f769 disco board

2018-03-13 Thread yannick fertre
Version 3: - Replace some pr_error, pr_warn or pr_info by dev_error, dev_warn & dev_info. - Refresh stm32f769-disco_defconfig with last modification done on v2018.3-rc4. - rework include files ordering. Version 2: - Replace debug log by pr_error, pr_warn or pr_info. - Rework bridge between ltdc &

[U-Boot] [PATCH v3 08/10] arm: dts: stm32: add dsi for STM32F746

2018-03-13 Thread yannick fertre
Add mipi dsi bridge node in device-tree. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f746.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index 8581df9..3b8af67 100644 ---

Re: [U-Boot] [PATCH 1/2] SPI Flash: add support of sst26wf* flash series

2018-03-13 Thread Jagan Teki
On Tue, Feb 6, 2018 at 8:45 PM, Eugeniy Paltsev wrote: > sst26wf flash series block protection implementation differs > from other SST series, so add implementation for sst26wf > lock/unlock/is_locked functions. How it is different from existing SST implementation,

  1   2   >