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

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] 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 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 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] 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 >>

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] 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

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

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] [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] 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 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 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 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

[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 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

[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

[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 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 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

[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] [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 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.

[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] 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] 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

[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.

[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] [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

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

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 + >

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 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 >>>

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] [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 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

[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 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] 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 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/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 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 ---

[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 +++-

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 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 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 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 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 -

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

<    1   2